Debian Codegraph @

src/test/modules/typcache/Makefile

raw
1 # src/test/modules/typcache/Makefile
2
3 EXTRA_INSTALL = src/test/modules/injection_points
4
5 REGRESS = typcache_rel_type_cache
6
7 ifdef USE_PGXS
8 PG_CONFIG = pg_config
9 PGXS := $(shell $(PG_CONFIG) --pgxs)
10 include $(PGXS)
11 else
12 subdir = src/test/modules/typcache
13 top_builddir = ../../../..
14 include $(top_builddir)/src/Makefile.global
15
16 # XXX: This test is conditional on enable_injection_points in the
17 # parent Makefile, so we should never get here in the first place if
18 # injection points are not enabled. But the buildfarm 'misc-check'
19 # step doesn't pay attention to the if-condition in the parent
20 # Makefile. To work around that, disable running the test here too.
21 ifeq ($(enable_injection_points),yes)
22 include $(top_srcdir)/contrib/contrib-global.mk
23 else
24 check:
25 @echo "injection points are disabled in this build"
26 endif
27
28 endif