|
|
|
@ -57,12 +57,12 @@ override PG_CPPFLAGS += @tde_CPPFLAGS@ |
|
|
|
|
ifdef USE_PGXS |
|
|
|
|
PG_CONFIG = pg_config
|
|
|
|
|
PGXS := $(shell $(PG_CONFIG) --pgxs)
|
|
|
|
|
override PG_CPPFLAGS += -I$(CURDIR)/src/include
|
|
|
|
|
override PG_CPPFLAGS += -I$(CURDIR)/src/include -I$(CURDIR)/src$(MAJORVERSION)/include
|
|
|
|
|
include $(PGXS) |
|
|
|
|
else |
|
|
|
|
subdir = contrib/pg_tde
|
|
|
|
|
top_builddir = ../..
|
|
|
|
|
override PG_CPPFLAGS += -I$(top_srcdir)/$(subdir)/src/include
|
|
|
|
|
override PG_CPPFLAGS += -I$(top_srcdir)/$(subdir)/src/include -I$(top_srcdir)/$(subdir)/src$(MAJORVERSION)/include
|
|
|
|
|
include $(top_builddir)/src/Makefile.global |
|
|
|
|
include $(top_srcdir)/contrib/contrib-global.mk |
|
|
|
|
endif |
|
|
|
|