diff options
Diffstat (limited to 'contrib/intagg')
| -rw-r--r-- | contrib/intagg/Makefile | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/contrib/intagg/Makefile b/contrib/intagg/Makefile index 304e1af88b..c3b22d93b9 100644 --- a/contrib/intagg/Makefile +++ b/contrib/intagg/Makefile @@ -2,14 +2,18 @@ # Makefile for integer aggregator # Copyright (C) 2001 Digital Music Network. # by Mark L. Woodward -# $PostgreSQL: pgsql/contrib/intagg/Makefile,v 1.4 2003/11/29 19:51:35 pgsql Exp $ - -subdir = contrib/intagg -top_builddir = ../.. -include $(top_builddir)/src/Makefile.global +# $PostgreSQL: pgsql/contrib/intagg/Makefile,v 1.5 2004/08/20 20:13:04 momjian Exp $ MODULES = int_aggregate DATA_built = int_aggregate.sql DOCS = README.int_aggregate +ifdef USE_PGXS +PGXS = $(shell pg_config --pgxs) +include $(PGXS) +else +subdir = contrib/intagg +top_builddir = ../.. +include $(top_builddir)/src/Makefile.global include $(top_srcdir)/contrib/contrib-global.mk +endif |
