aboutsummaryrefslogtreecommitdiff
path: root/src/or/Makefile.am
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-09-06 17:42:05 +0000
committerNick Mathewson <nickm@torproject.org>2007-09-06 17:42:05 +0000
commitf17a38ab04636235e672ccbf7e96742a8e3f79f5 (patch)
treef365c36e1b9bd413bf680ffa3b746f2509ea9ff1 /src/or/Makefile.am
parentc5b4f779eca4769ec8d59ebdc6e179731d5075ed (diff)
downloadtor-f17a38ab04636235e672ccbf7e96742a8e3f79f5.tar
tor-f17a38ab04636235e672ccbf7e96742a8e3f79f5.tar.gz
r14940@catbus: nickm | 2007-09-06 13:22:26 -0400
Move NT services code into its own C file. Probably will not build happily on win32 yet; more hacking needed. svn:r11388
Diffstat (limited to 'src/or/Makefile.am')
-rw-r--r--src/or/Makefile.am12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/or/Makefile.am b/src/or/Makefile.am
index fd86aa21e..dd6c85b89 100644
--- a/src/or/Makefile.am
+++ b/src/or/Makefile.am
@@ -4,11 +4,19 @@ noinst_PROGRAMS = test
bin_PROGRAMS = tor
+if BUILD_NT_SERVICES
+PLATFORM_SOURCES=ntmain.c
+else
+PLATFORM_SOURCES=
+endif
+
+EXTRA_DIST=ntmain.c
+
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 dirvote.c \
- dns.c dnsserv.c hibernate.c main.c \
+ dns.c dnsserv.c hibernate.c main.c $(PLATFORM_SOURCES) \
onion.c policies.c relay.c rendcommon.c rendclient.c rendmid.c \
rendservice.c rephist.c router.c routerlist.c routerparse.c \
eventdns.c \
@@ -25,7 +33,7 @@ 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 dirvote.c \
- dns.c dnsserv.c hibernate.c main.c \
+ dns.c dnsserv.c hibernate.c main.c $(PLATFORM_SOURCES) \
onion.c policies.c relay.c rendcommon.c rendclient.c rendmid.c \
rendservice.c rephist.c router.c routerlist.c routerparse.c \
eventdns.c \