2003-03-08 05:24:26 +00:00
|
|
|
AUTOMAKE_OPTIONS = foreign no-dependencies
|
|
|
|
|
2008-05-07 20:29:11 +00:00
|
|
|
AM_CFLAGS = -I$(top_srcdir) -I$(top_srcdir)/compat -I$(top_srcdir)/include
|
2003-03-08 05:24:26 +00:00
|
|
|
|
2008-02-17 01:15:36 +00:00
|
|
|
EXTRA_DIST = regress.rpc regress.gen.h regress.gen.c
|
2005-08-22 01:34:34 +00:00
|
|
|
|
2007-11-30 02:21:33 +00:00
|
|
|
noinst_PROGRAMS = test-init test-eof test-weof test-time regress \
|
|
|
|
bench bench_cascade
|
2003-03-08 05:24:26 +00:00
|
|
|
|
2005-08-22 01:34:34 +00:00
|
|
|
BUILT_SOURCES = regress.gen.c regress.gen.h
|
|
|
|
test_init_SOURCES = test-init.c
|
2007-11-03 23:45:38 +00:00
|
|
|
test_init_LDADD = ../libevent_core.la
|
2005-08-22 01:34:34 +00:00
|
|
|
test_eof_SOURCES = test-eof.c
|
2007-11-03 23:45:38 +00:00
|
|
|
test_eof_LDADD = ../libevent_core.la
|
2005-08-22 01:34:34 +00:00
|
|
|
test_weof_SOURCES = test-weof.c
|
2007-11-03 23:45:38 +00:00
|
|
|
test_weof_LDADD = ../libevent_core.la
|
2005-08-22 01:34:34 +00:00
|
|
|
test_time_SOURCES = test-time.c
|
2007-11-03 23:45:38 +00:00
|
|
|
test_time_LDADD = ../libevent_core.la
|
2006-08-27 20:04:20 +00:00
|
|
|
regress_SOURCES = regress.c regress.h regress_http.c regress_dns.c \
|
2008-03-02 21:18:33 +00:00
|
|
|
regress_rpc.c regress.gen.c regress.gen.h
|
|
|
|
if PTHREAD_REGRESS
|
|
|
|
regress_SOURCES += regress_pthread.c
|
|
|
|
endif
|
2008-04-30 04:31:10 +00:00
|
|
|
if ZLIB_REGRESS
|
|
|
|
regress_SOURCES += regress_zlib.c
|
|
|
|
endif
|
|
|
|
regress_LDADD = ../libevent.la $(PTHREAD_LIBS) $(ZLIB_LIBS)
|
2008-03-02 21:18:33 +00:00
|
|
|
regress_CFLAGS = -I$(top_srcdir) -I$(top_srcdir)/compat \
|
2008-04-30 04:31:10 +00:00
|
|
|
-I$(top_srcdir)/include $(PTHREAD_CFLAGS) $(ZLIB_CFLAGS)
|
2005-08-22 01:34:34 +00:00
|
|
|
bench_SOURCES = bench.c
|
2007-11-03 23:45:38 +00:00
|
|
|
bench_LDADD = ../libevent.la
|
2007-11-30 02:21:33 +00:00
|
|
|
bench_cascade_SOURCES = bench_cascade.c
|
|
|
|
bench_cascade_LDADD = ../libevent.la
|
2005-08-22 01:34:34 +00:00
|
|
|
|
2007-12-31 20:47:12 +00:00
|
|
|
regress.gen.c regress.gen.h: regress.rpc $(top_srcdir)/event_rpcgen.py
|
2007-09-18 15:11:53 +00:00
|
|
|
$(top_srcdir)/event_rpcgen.py $(srcdir)/regress.rpc || echo "No Python installed"
|
2003-03-08 05:24:26 +00:00
|
|
|
|
|
|
|
DISTCLEANFILES = *~
|
|
|
|
|
2003-09-25 17:55:17 +00:00
|
|
|
test: test-init test-eof test-weof test-time regress
|
2004-12-01 19:59:00 +00:00
|
|
|
|
|
|
|
verify: test
|
2007-11-12 05:34:10 +00:00
|
|
|
@$(srcdir)/test.sh
|
2003-03-08 05:24:26 +00:00
|
|
|
|
2005-08-22 01:34:34 +00:00
|
|
|
bench test-init test-eof test-weof test-time: ../libevent.la
|