forked from postgrespro/sr_plan
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
30 lines (24 loc) · 670 Bytes
/
Makefile
File metadata and controls
30 lines (24 loc) · 670 Bytes
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
# contrib/sr_plan/Makefile
MODULE_big = sr_plan
OBJS = sr_plan.o $(WIN32RES)
PGFILEDESC = "sr_plan - save and read plan"
EXTENSION = sr_plan
EXTVERSION = 1.2
DATA_built = sr_plan--$(EXTVERSION).sql
DATA = sr_plan--1.0--1.1.sql sr_plan--1.1--1.2.sql
EXTRA_CLEAN = sr_plan--$(EXTVERSION).sql
#REGRESS = security sr_plan sr_plan_schema joins explain
ifdef USE_PGXS
ifndef PG_CONFIG
PG_CONFIG = pg_config
endif
PGXS := $(shell $(PG_CONFIG) --pgxs)
include $(PGXS)
else
subdir = contrib/sr_plan
top_builddir = ../..
include $(top_builddir)/src/Makefile.global
include $(top_srcdir)/contrib/contrib-global.mk
endif
$(EXTENSION)--$(EXTVERSION).sql: init.sql
cat $^ > $@