diff options
Diffstat (limited to 'src/test/modules/test_rls_hooks/Makefile')
-rw-r--r-- | src/test/modules/test_rls_hooks/Makefile | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/test/modules/test_rls_hooks/Makefile b/src/test/modules/test_rls_hooks/Makefile new file mode 100644 index 0000000..a4f7d85 --- /dev/null +++ b/src/test/modules/test_rls_hooks/Makefile @@ -0,0 +1,27 @@ +# src/test/modules/test_rls_hooks/Makefile + +MODULE_big = test_rls_hooks +OBJS = \ + $(WIN32RES) \ + test_rls_hooks.o +PGFILEDESC = "test_rls_hooks - example use of RLS hooks" + +EXTENSION = test_rls_hooks +# DATA = test_rls_hooks--1.0.sql + +REGRESS = test_rls_hooks +REGRESS_OPTS = --temp-config=$(top_srcdir)/src/test/modules/test_rls_hooks/rls_hooks.conf +# Disabled because these tests require "shared_preload_libraries=test_rls_hooks", +# which typical installcheck users do not have (e.g. buildfarm clients). +NO_INSTALLCHECK = 1 + +ifdef USE_PGXS +PG_CONFIG = pg_config +PGXS := $(shell $(PG_CONFIG) --pgxs) +include $(PGXS) +else +subdir = src/test/modules/test_rls_hooks +top_builddir = ../../../.. +include $(top_builddir)/src/Makefile.global +include $(top_srcdir)/contrib/contrib-global.mk +endif |