Debian Codegraph @

contrib/sepgsql/Makefile

raw
1 # contrib/sepgsql/Makefile
2
3 MODULE_big = sepgsql
4 OBJS = \
5 $(WIN32RES) \
6 database.o \
7 dml.o \
8 hooks.o \
9 label.o \
10 proc.o \
11 relation.o \
12 schema.o \
13 selinux.o \
14 uavc.o
15 DATA_built = sepgsql.sql
16 PGFILEDESC = "sepgsql - SELinux integration"
17
18 TAP_TESTS = 1
19
20 # Note: because we don't tell the Makefile there are any regression tests,
21 # we have to clean those result files explicitly
22 EXTRA_CLEAN = -r $(pg_regress_clean_files) tmp/ *.pp sepgsql-regtest.if sepgsql-regtest.fc
23
24 ifdef USE_PGXS
25 PG_CONFIG = pg_config
26 PGXS := $(shell $(PG_CONFIG) --pgxs)
27 include $(PGXS)
28 else
29 subdir = contrib/sepgsql
30 top_builddir = ../..
31 include $(top_builddir)/src/Makefile.global
32 include $(top_srcdir)/contrib/contrib-global.mk
33 endif
34
35 SHLIB_LINK += -lselinux