| 1 |
# src/test/modules/test_escape/Makefile |
| 2 |
|
| 3 |
PGFILEDESC = "test escape program" |
| 4 |
PGAPPICON = win32 |
| 5 |
|
| 6 |
PROGRAM = test_escape |
| 7 |
OBJS = $(WIN32RES) test_escape.o |
| 8 |
|
| 9 |
PG_CPPFLAGS = -I$(libpq_srcdir) |
| 10 |
PG_LIBS_INTERNAL += -L$(top_builddir)/src/fe_utils -lpgfeutils $(libpq_pgport) |
| 11 |
|
| 12 |
NO_INSTALL = 1 |
| 13 |
TAP_TESTS = 1 |
| 14 |
|
| 15 |
ifdef USE_PGXS |
| 16 |
PG_CONFIG = pg_config |
| 17 |
PGXS := $(shell $(PG_CONFIG) --pgxs) |
| 18 |
include $(PGXS) |
| 19 |
else |
| 20 |
subdir = src/test/modules/test_escape |
| 21 |
top_builddir = ../../../.. |
| 22 |
include $(top_builddir)/src/Makefile.global |
| 23 |
include $(top_srcdir)/contrib/contrib-global.mk |
| 24 |
endif |
| 25 |
|
| 26 |
test_escape$(X): | submake-libpgfeutils |
| 27 |
check: test_escape$(X) |