1 AUTOMAKE_OPTIONS = foreign no-dependencies 2 3 AM_CFLAGS = -I$(top_srcdir) -I$(top_srcdir)/compat 4 5 EXTRA_DIST = regress.rpc regress.gen.h regress.gen.c 6 7 noinst_PROGRAMS = test-init test-eof test-weof test-time regress bench 8 9 BUILT_SOURCES = regress.gen.c regress.gen.h 10 test_init_SOURCES = test-init.c 11 test_init_LDADD = ../libevent_core.la 12 test_eof_SOURCES = test-eof.c 13 test_eof_LDADD = ../libevent_core.la 14 test_weof_SOURCES = test-weof.c 15 test_weof_LDADD = ../libevent_core.la 16 test_time_SOURCES = test-time.c 17 test_time_LDADD = ../libevent_core.la 18 regress_SOURCES = regress.c regress.h regress_http.c regress_dns.c \ 19 regress_rpc.c \ 20 regress.gen.c regress.gen.h 21 regress_LDADD = ../libevent.la 22 bench_SOURCES = bench.c 23 bench_LDADD = ../libevent.la 24 25 regress.gen.c regress.gen.h: regress.rpc $(top_srcdir)/event_rpcgen.py 26 $(top_srcdir)/event_rpcgen.py $(srcdir)/regress.rpc || echo "No Python installed" 27 28 DISTCLEANFILES = *~ 29 30 test: test-init test-eof test-weof test-time regress 31 32 verify: test 33 @$(srcdir)/test.sh 34 35 bench test-init test-eof test-weof test-time: ../libevent.la 36