3 noinst_PROGRAMS = test test-child bench
5 AM_CPPFLAGS = -DSHARE_DATADIR="\"$(datadir)\"" \
6 -DLOCALSTATEDIR="\"$(localstatedir)\"" \
7 -DBINDIR="\"$(bindir)\"" \
8 -I"$(top_srcdir)/src/or"
10 # -L flags need to go in LDFLAGS. -l flags need to go in LDADD.
11 # This seems to matter nowhere but on Windows, but I assure you that it
12 # matters a lot there, and is quite hard to debug if you forget to do it.
30 test_LDFLAGS = @TOR_LDFLAGS_zlib@ @TOR_LDFLAGS_openssl@ \
31 @TOR_LDFLAGS_libevent@
32 test_LDADD = ../or/libtor.a ../common/libor.a ../common/libor-crypto.a \
33 ../common/libor-event.a \
34 @TOR_ZLIB_LIBS@ @TOR_LIB_MATH@ @TOR_LIBEVENT_LIBS@ \
35 @TOR_OPENSSL_LIBS@ @TOR_LIB_WS32@ @TOR_LIB_GDI@
37 bench_LDFLAGS = @TOR_LDFLAGS_zlib@ @TOR_LDFLAGS_openssl@ \
38 @TOR_LDFLAGS_libevent@
39 bench_LDADD = ../or/libtor.a ../common/libor.a ../common/libor-crypto.a \
40 ../common/libor-event.a \
41 @TOR_ZLIB_LIBS@ @TOR_LIB_MATH@ @TOR_LIBEVENT_LIBS@ \
42 @TOR_OPENSSL_LIBS@ @TOR_LIB_WS32@ @TOR_LIB_GDI@