summary refs log tree commit diff
path: root/libevent/test/Makefile.am
diff options
context:
space:
mode:
authorRichard Nyberg <rnyberg@murmeldjur.se>2006-11-07 09:40:25 +0000
committerRichard Nyberg <rnyberg@murmeldjur.se>2006-11-07 09:40:25 +0000
commit5ccf414cbff49636a365a6bce2d2641be90ea412 (patch)
treea4305df50e7893cecb60822d6e1b50403e45e8be /libevent/test/Makefile.am
parent568d1163350f81be1f71b6c8b2c7b59fc4a4db86 (diff)
downloadbtpd-5ccf414cbff49636a365a6bce2d2641be90ea412.tar.gz
btpd-5ccf414cbff49636a365a6bce2d2641be90ea412.zip
Include libevent 1.2 in btpd.
Diffstat (limited to 'libevent/test/Makefile.am')
-rw-r--r--libevent/test/Makefile.am31
1 files changed, 31 insertions, 0 deletions
diff --git a/libevent/test/Makefile.am b/libevent/test/Makefile.am
new file mode 100644
index 0000000..66f0e31
--- /dev/null
+++ b/libevent/test/Makefile.am
@@ -0,0 +1,31 @@
+AUTOMAKE_OPTIONS = foreign no-dependencies
+
+LDADD = ../libevent.la
+CPPFPLAGS = -I.. 
+CFLAGS = -I../compat @CFLAGS@
+
+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.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