2 # pg_hint_plan: Makefile
4 # Copyright (c) 2012, NIPPON TELEGRAPH AND TELEPHONE CORPORATION
8 REGRESS = init base_plan pg_hint_plan prepare fdw ut-init ut-A ut-S ut-J ut-L ut-G ut-fini
9 #REGRESS = ut-init ut-J ut-fini
11 EXTRA_CLEAN = sql/fdw.sql expected/base_plan.out expected/prepare.out expected/fdw.out
14 PGXS := $(shell $(PG_CONFIG) --pgxs)
17 expected/base_plan.out: expected/base_plan-$(MAJORVERSION).out
18 cp expected/base_plan-$(MAJORVERSION).out expected/base_plan.out
19 expected/prepare.out: expected/prepare-$(MAJORVERSION).out
20 cp expected/prepare-$(MAJORVERSION).out expected/prepare.out
22 installcheck: expected/base_plan.out expected/prepare.out
24 # pg_hint_plan.c includes core.c and make_join_rel.c
25 pg_hint_plan.o: core.c make_join_rel.c