Fix nbtree "deduce NOT NULL" scan key comment.
[pgsql.git] / contrib / bool_plperl / Makefile
blobefe1de986b285c68c6edf4a25b76e7b5e7f0e31d
1 # contrib/bool_plperl/Makefile
3 MODULE_big = bool_plperl
4 OBJS = \
5 $(WIN32RES) \
6 bool_plperl.o
7 PGFILEDESC = "bool_plperl - bool transform for plperl"
9 PG_CPPFLAGS = -I$(top_srcdir)/src/pl/plperl
11 EXTENSION = bool_plperlu bool_plperl
12 DATA = bool_plperlu--1.0.sql bool_plperl--1.0.sql
14 REGRESS = bool_plperl bool_plperlu
16 ifdef USE_PGXS
17 PG_CONFIG = pg_config
18 PGXS := $(shell $(PG_CONFIG) --pgxs)
19 include $(PGXS)
20 else
21 subdir = contrib/bool_plperl
22 top_builddir = ../..
23 include $(top_builddir)/src/Makefile.global
24 include $(top_srcdir)/contrib/contrib-global.mk
25 endif
27 # We must link libperl explicitly
28 ifeq ($(PORTNAME), win32)
29 # these settings are the same as for plperl
30 override CPPFLAGS += -DPLPERL_HAVE_UID_GID -Wno-comment
31 # ... see silliness in plperl Makefile ...
32 SHLIB_LINK_INTERNAL += $(sort $(wildcard ../../src/pl/plperl/libperl*.a))
33 else
34 rpathdir = $(perl_archlibexp)/CORE
35 SHLIB_LINK += $(perl_embed_ldflags)
36 endif
38 # As with plperl we need to include the perl_includespec directory last.
39 override CPPFLAGS := $(CPPFLAGS) $(perl_embed_ccflags) $(perl_includespec)