aboutsummaryrefslogtreecommitdiff
path: root/src/or/Makefile.am
blob: 8e2011017e1a653eae08ed98b96c7d5e40e83a47 (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
32
33
34
35
36
37
38
39
40
41
42
43
44
TESTS = test

noinst_PROGRAMS = test

bin_PROGRAMS = tor

tor_SOURCES = buffers.c circuitbuild.c circuitlist.c \
	circuituse.c command.c config.c \
	connection.c connection_edge.c connection_or.c control.c \
	cpuworker.c directory.c dirserv.c dns.c hibernate.c main.c \
	onion.c policies.c relay.c rendcommon.c rendclient.c rendmid.c \
	rendservice.c rephist.c router.c routerlist.c routerparse.c \
	eventdns.c \
	tor_main.c

tor_LDADD = ../common/libor.a ../common/libor-crypto.a

test_SOURCES = buffers.c circuitbuild.c circuitlist.c \
	circuituse.c command.c config.c \
	connection.c connection_edge.c connection_or.c control.c \
	cpuworker.c directory.c dirserv.c dns.c hibernate.c main.c \
	onion.c policies.c relay.c rendcommon.c rendclient.c rendmid.c \
	rendservice.c rephist.c router.c routerlist.c routerparse.c \
	eventdns.c \
	test.c

test_LDADD = ../common/libor.a ../common/libor-crypto.a

noinst_HEADERS = or.h eventdns.h eventdns_tor.h

tor_main.o: micro-revision.i

micro-revision.i: FORCE
	rm -f micro-revision.i;					\
	if test -d ../../.svn ; then 				\
	  svn info ../.. |              			\
	  sed -n 's/^Revision: \([0-9][0-9]*\).*/"\1"/p' > micro-revision.i \
	     || true; \
	fi;							\
	if test ! -f micro-revision.i; then			\
	  echo '""' > micro-revision.i;				\
	fi

FORCE: