| 1 |
# contrib/oid2name/Makefile |
| 2 |
|
| 3 |
PGFILEDESC = "oid2name - examine the file structure" |
| 4 |
PGAPPICON = win32 |
| 5 |
|
| 6 |
PROGRAM = oid2name |
| 7 |
OBJS = \ |
| 8 |
$(WIN32RES) \ |
| 9 |
oid2name.o |
| 10 |
|
| 11 |
TAP_TESTS = 1 |
| 12 |
|
| 13 |
PG_CPPFLAGS = -I$(libpq_srcdir) |
| 14 |
PG_LIBS_INTERNAL = $(libpq_pgport) |
| 15 |
|
| 16 |
ifdef USE_PGXS |
| 17 |
PG_CONFIG = pg_config |
| 18 |
PGXS := $(shell $(PG_CONFIG) --pgxs) |
| 19 |
include $(PGXS) |
| 20 |
else |
| 21 |
subdir = contrib/oid2name |
| 22 |
top_builddir = ../.. |
| 23 |
include $(top_builddir)/src/Makefile.global |
| 24 |
include $(top_srcdir)/contrib/contrib-global.mk |
| 25 |
endif |