libevent/test/Makefile.am
Nick Mathewson 68fecb7ab6 r19633@catbus: nickm | 2008-05-07 16:10:00 -0400
Fix bug 1958901: stop overriding CPPFLAGS in test directory.


svn:r783
2008-05-07 20:29:11 +00:00

46 lines
1.4 KiB
Makefile

AUTOMAKE_OPTIONS = foreign no-dependencies
AM_CFLAGS = -I$(top_srcdir) -I$(top_srcdir)/compat -I$(top_srcdir)/include
EXTRA_DIST = regress.rpc regress.gen.h regress.gen.c
noinst_PROGRAMS = test-init test-eof test-weof test-time regress \
bench bench_cascade
BUILT_SOURCES = regress.gen.c regress.gen.h
test_init_SOURCES = test-init.c
test_init_LDADD = ../libevent_core.la
test_eof_SOURCES = test-eof.c
test_eof_LDADD = ../libevent_core.la
test_weof_SOURCES = test-weof.c
test_weof_LDADD = ../libevent_core.la
test_time_SOURCES = test-time.c
test_time_LDADD = ../libevent_core.la
regress_SOURCES = regress.c regress.h regress_http.c regress_dns.c \
regress_rpc.c regress.gen.c regress.gen.h
if PTHREAD_REGRESS
regress_SOURCES += regress_pthread.c
endif
if ZLIB_REGRESS
regress_SOURCES += regress_zlib.c
endif
regress_LDADD = ../libevent.la $(PTHREAD_LIBS) $(ZLIB_LIBS)
regress_CFLAGS = -I$(top_srcdir) -I$(top_srcdir)/compat \
-I$(top_srcdir)/include $(PTHREAD_CFLAGS) $(ZLIB_CFLAGS)
bench_SOURCES = bench.c
bench_LDADD = ../libevent.la
bench_cascade_SOURCES = bench_cascade.c
bench_cascade_LDADD = ../libevent.la
regress.gen.c regress.gen.h: regress.rpc $(top_srcdir)/event_rpcgen.py
$(top_srcdir)/event_rpcgen.py $(srcdir)/regress.rpc || echo "No Python installed"
DISTCLEANFILES = *~
test: test-init test-eof test-weof test-time regress
verify: test
@$(srcdir)/test.sh
bench test-init test-eof test-weof test-time: ../libevent.la