summaryrefslogtreecommitdiffstats
path: root/src/interfaces/libpq/test/Makefile
blob: 75ac08f943d9a4a13289b739307fd971f010eb5e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# src/interfaces/libpq/test/Makefile

PGFILEDESC = "libpq test program"
PGAPPICON = win32

subdir = src/interfaces/libpq/test
top_builddir = ../../../..
include $(top_builddir)/src/Makefile.global

ifeq ($(PORTNAME), win32)
LDFLAGS += -lws2_32
endif

override CPPFLAGS := -I$(libpq_srcdir) $(CPPFLAGS)
LDFLAGS_INTERNAL += $(libpq_pgport)

PROGS = libpq_testclient libpq_uri_regress

all: $(PROGS)

$(PROGS): $(WIN32RES)

clean distclean maintainer-clean:
	rm -f $(PROGS) *.o