3b61e57f3c
From first pass of testing. Notably, there seems to be no need for adminpack--unpackaged--1.0.sql because none of the objects that the old module creates would ever be dumped by pg_dump anyway (they are all in pg_catalog).
19 lines
395 B
Makefile
19 lines
395 B
Makefile
# contrib/adminpack/Makefile
|
|
|
|
MODULE_big = adminpack
|
|
OBJS = adminpack.o
|
|
PG_CPPFLAGS = -I$(libpq_srcdir)
|
|
|
|
EXTENSION = adminpack
|
|
DATA = adminpack--1.0.sql
|
|
|
|
ifdef USE_PGXS
|
|
PG_CONFIG = pg_config
|
|
PGXS := $(shell $(PG_CONFIG) --pgxs)
|
|
include $(PGXS)
|
|
else
|
|
subdir = contrib/adminpack
|
|
top_builddir = ../..
|
|
include $(top_builddir)/src/Makefile.global
|
|
include $(top_srcdir)/contrib/contrib-global.mk
|
|
endif
|