-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
49 lines (37 loc) · 1.65 KB
/
Makefile
File metadata and controls
49 lines (37 loc) · 1.65 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# NeoPostGraph is a PostgreSQL extension for graph database capabilities.
# Copyright (C) 2026 NeoPostGraph Contributors
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
MODULE_big = neopostgraph
OBJS = src/backend/neopostgraph.o \
src/backend/catalog/np_catalog.o \
src/backend/catalog/np_graph.o \
src/backend/utils/np_cache.o
EXTENSION = neopostgraph
DATA = neopostgraph--0.1.0.sql
REGRESS = graph \
neopostgraph
srcdir=`pwd`
.PHONY:all
all: neopostgraph--0.1.0.sql
ag_regress_dir = $(srcdir)/regress
REGRESS_OPTS = --load-extension=neopostgraph --inputdir=$(ag_regress_dir) --outputdir=$(ag_regress_dir) --temp-instance=$(ag_regress_dir)/instance --port=58254 --encoding=UTF-8
ag_regress_out = instance/ log/ results/ regression.*
EXTRA_CLEAN = $(addprefix $(ag_regress_dir)/, $(ag_regress_out))
ag_include_dir = $(srcdir)/src/include
PG_CPPFLAGS = -w -I$(ag_include_dir)
PG_CONFIG ?= pg_config
PGXS := $(shell $(PG_CONFIG) --pgxs)
include $(PGXS)
installcheck: export LC_COLLATE=C