libevent/test/Makefile.am
Nick Mathewson 21a7e7ed67 r14498@catbus: nickm | 2007-08-10 11:58:32 -0400
Fix compilation warnings in trunk on linux with gcc 4.1.2.  In time-test.c, always include time.h, so that time() is defined.  In test/Makefile.am, put -I../compat in CPPFLAGS, and fix a typo.  In test/regress.c, cast unsigned char pointers to char* before passing them to str[n]cmp.


svn:r385
2007-08-10 15:59:31 +00:00

32 lines
811 B
Makefile

AUTOMAKE_OPTIONS = foreign no-dependencies
LDADD = ../libevent.la
CPPFLAGS = -I.. -I../compat
EXTRA_DIST = regress.rpc
noinst_PROGRAMS = test-init test-eof test-weof test-time regress bench
BUILT_SOURCES = regress.gen.c regress.gen.h
test_init_SOURCES = test-init.c
test_eof_SOURCES = test-eof.c
test_weof_SOURCES = test-weof.c
test_time_SOURCES = test-time.c
regress_SOURCES = regress.c regress.h regress_http.c regress_dns.c \
regress_rpc.c \
regress.gen.c regress.gen.h
bench_SOURCES = bench.c
regress.gen.c regress.gen.h: regress.rpc
../event_rpcgen.py regress.rpc || echo "No Python installed"
DISTCLEANFILES = *~
CLEANFILES = regress.gen.h regress.gen.c
test: test-init test-eof test-weof test-time regress
verify: test
@./test.sh
bench test-init test-eof test-weof test-time: ../libevent.la