-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
19 lines (15 loc) · 534 Bytes
/
Makefile
File metadata and controls
19 lines (15 loc) · 534 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# pgclone Makefile
# Uses PGXS (PostgreSQL Extension Build Infrastructure)
EXTENSION = pgclone
MODULE_big = pgclone
OBJS = src/pgclone.o src/pgclone_bgw.o src/pgclone_diff.o src/pgclone_preflight.o
DATA = $(wildcard sql/pgclone--*.sql)
PG_CPPFLAGS = -I$(shell $(PG_CONFIG) --includedir) -Isrc
SHLIB_LINK += -lpq
# PostgreSQL Extension build system
PG_CONFIG ?= pg_config
PGXS := $(shell $(PG_CONFIG) --pgxs)
include $(PGXS)
#old variant, Silersen
#PG_CPPFLAGS = -I$(libpq_srcdir)
#SHLIB_LINK = $(libpq)