| 1 |
# contrib/tablefunc/Makefile |
| 2 |
|
| 3 |
MODULES = tablefunc |
| 4 |
|
| 5 |
EXTENSION = tablefunc |
| 6 |
DATA = tablefunc--1.0.sql |
| 7 |
PGFILEDESC = "tablefunc - various functions that return tables" |
| 8 |
|
| 9 |
REGRESS = tablefunc |
| 10 |
|
| 11 |
LDFLAGS_SL += $(filter -lm, $(LIBS)) |
| 12 |
|
| 13 |
ifdef USE_PGXS |
| 14 |
PG_CONFIG = pg_config |
| 15 |
PGXS := $(shell $(PG_CONFIG) --pgxs) |
| 16 |
include $(PGXS) |
| 17 |
else |
| 18 |
subdir = contrib/tablefunc |
| 19 |
top_builddir = ../.. |
| 20 |
include $(top_builddir)/src/Makefile.global |
| 21 |
include $(top_srcdir)/contrib/contrib-global.mk |
| 22 |
endif |