1# contrib/adminpack/Makefile
2
3MODULE_big = adminpack
4OBJS = adminpack.o $(WIN32RES)
5PG_CPPFLAGS = -I$(libpq_srcdir)
6
7EXTENSION = adminpack
8DATA = adminpack--1.0.sql adminpack--1.0--1.1.sql adminpack--1.1--2.0.sql
9PGFILEDESC = "adminpack - support functions for pgAdmin"
10
11REGRESS = adminpack
12
13ifdef USE_PGXS
14PG_CONFIG = pg_config
15PGXS := $(shell $(PG_CONFIG) --pgxs)
16include $(PGXS)
17else
18subdir = contrib/adminpack
19top_builddir = ../..
20include $(top_builddir)/src/Makefile.global
21include $(top_srcdir)/contrib/contrib-global.mk
22endif
23