Debian Codegraph @

src/interfaces/libpq/test/Makefile

raw
1 # src/interfaces/libpq/test/Makefile
2
3 PGFILEDESC = "libpq test program"
4 PGAPPICON = win32
5
6 subdir = src/interfaces/libpq/test
7 top_builddir = ../../../..
8 include $(top_builddir)/src/Makefile.global
9
10 ifeq ($(PORTNAME), win32)
11 LDFLAGS += -lws2_32
12 endif
13
14 override CPPFLAGS := -I$(libpq_srcdir) $(CPPFLAGS)
15 LDFLAGS_INTERNAL += $(libpq_pgport)
16
17 PROGS = libpq_testclient libpq_uri_regress
18
19 all: $(PROGS)
20
21 $(PROGS): $(WIN32RES)
22
23 clean distclean:
24 rm -f $(PROGS) *.o