| 1 |
# contrib/spi/Makefile |
| 2 |
|
| 3 |
MODULES = autoinc insert_username moddatetime refint |
| 4 |
|
| 5 |
EXTENSION = autoinc insert_username moddatetime refint |
| 6 |
|
| 7 |
DATA = autoinc--1.0.sql \ |
| 8 |
insert_username--1.0.sql \ |
| 9 |
moddatetime--1.0.sql \ |
| 10 |
refint--1.0.sql |
| 11 |
PGFILEDESC = "spi - examples of using SPI and triggers" |
| 12 |
|
| 13 |
REGRESS = autoinc refint |
| 14 |
|
| 15 |
DOCS = $(addsuffix .example, $(MODULES)) |
| 16 |
|
| 17 |
# this is needed for the regression tests; |
| 18 |
# comment out if you want a quieter refint package for other uses |
| 19 |
PG_CPPFLAGS = -DREFINT_VERBOSE |
| 20 |
|
| 21 |
ifdef USE_PGXS |
| 22 |
PG_CONFIG = pg_config |
| 23 |
PGXS := $(shell $(PG_CONFIG) --pgxs) |
| 24 |
include $(PGXS) |
| 25 |
else |
| 26 |
subdir = contrib/spi |
| 27 |
top_builddir = ../.. |
| 28 |
include $(top_builddir)/src/Makefile.global |
| 29 |
include $(top_srcdir)/contrib/contrib-global.mk |
| 30 |
endif |