forked from pgbouncer/pgbouncer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
41 lines (30 loc) · 1.07 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
PG_CPPFLAGS = -I$(shell pg_config --includedir)
PG_LIBS = -lpq
PG_LDFLAGS = -L$(shell pg_config --libdir)
USUAL_DIR = ../lib
SUBLOC = test
DIST_SUBDIRS = ssl
EXTRA_DIST = conntest.sh ctest6000.ini ctest7000.ini run-conntest.sh \
hba_test.eval hba_test.rules Makefile \
test.ini stress.py userlist.txt \
__init__.py conftest.py utils.py \
test_admin.py test_auth.py test_cancel.py test_limits.py \
test_misc.py test_no_database.py test_no_user.py test_operations.py \
test_ssl.py test_timeouts.py
noinst_PROGRAMS = hba_test
hba_test_CPPFLAGS = -I../include $(LIBEVENT_CFLAGS)
hba_test_LDADD = $(LIBEVENT_LIBS)
hba_test_CFLAGS = -O0
hba_test_SOURCES = hba_test.c ../src/hba.c ../src/util.c
hba_test_EMBED_LIBUSUAL = 1
EXTRA_PROGRAMS = asynctest
asynctest_CPPFLAGS = -I../include $(PG_CPPFLAGS) $(LIBEVENT_CFLAGS)
asynctest_LDFLAGS = $(PG_LDFLAGS)
asynctest_LDADD = $(PG_LIBS) $(LIBEVENT_LIBS)
asynctest_SOURCES = asynctest.c
asynctest_EMBED_LIBUSUAL = 1
AM_FEATURES = libusual
include ../config.mak
include ../lib/mk/antimake.mk
check: all
./hba_test