OSDN Git Service

Get rid of support for building in contrib directory.
[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 PG_CONFIG = pg_config
11 PGXS := $(shell $(PG_CONFIG) --pgxs)
12 include $(PGXS)
13
14 expected/base_plan.out: expected/base_plan-$(MAJORVERSION).out
15         cp expected/base_plan-$(MAJORVERSION).out expected/base_plan.out
16
17 .PHONY: subclean
18 clean: subclean
19 subclean:
20         rm -f expected/base_plan.out
21
22 installcheck: expected/base_plan.out