libevent/test/Makefile.am
Nick Mathewson c895ee4618 r15094@catbus: nickm | 2007-09-18 10:52:11 -0400
Patch from Christopher Lane: Make regress.gen.* buildable from outside source directory.


svn:r434
2007-09-18 15:11:53 +00:00

32 lines
854 B
Makefile

AUTOMAKE_OPTIONS = foreign no-dependencies
LDADD = ../libevent.la
CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/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
$(top_srcdir)/event_rpcgen.py $(srcdir)/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