From f17a38ab04636235e672ccbf7e96742a8e3f79f5 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Thu, 6 Sep 2007 17:42:05 +0000 Subject: 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 --- src/or/Makefile.am | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'src/or/Makefile.am') 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 \ -- cgit v1.2.3