OSDN Git Service

3fa0bf373c5283a786832b7348381bc512c0ed1f
[pghintplan/pg_hint_plan.git] / Makefile
1 #
2 # pg_hint_plan: Makefile
3 #
4 # Copyright (c) 2012, NIPPON TELEGRAPH AND TELEPHONE CORPORATION
5 #
6
7 MODULES = pg_hint_plan
8 REGRESS = init base_plan pg_hint_plan
9
10 ifdef USE_PGXS
11 PG_CONFIG = pg_config
12 PGXS := $(shell $(PG_CONFIG) --pgxs)
13 include $(PGXS)
14 else
15 subdir = contrib/pg_hint_plan
16 top_builddir = ../..
17 include $(top_builddir)/src/Makefile.global
18 include $(top_srcdir)/contrib/contrib-global.mk
19 endif
20
21 expected/base_plan.out: expected/base_plan-$(MAJORVERSION).out
22         cp expected/base_plan-$(MAJORVERSION).out expected/base_plan.out
23
24 .PHONY: subclean
25 clean: subclean
26 subclean:
27         rm -f expected/base_plan.out
28
29 installcheck: expected/base_plan.out