about summary refs log tree commit diff
path: root/libevent/test/Makefile.am
blob: 66f0e311a9cc8a7ad1d0563b799781ab79165066 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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