summaryrefslogtreecommitdiffstats
path: root/src/test/modules/test_rls_hooks/Makefile
blob: a4f7d855c0c4a5fb65ef0655e624d6e1a418db38 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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