diff options
Diffstat (limited to 'src/Makefile')
-rw-r--r-- | src/Makefile | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/src/Makefile b/src/Makefile index 34863b8..b402912 100644 --- a/src/Makefile +++ b/src/Makefile @@ -34,9 +34,7 @@ ifneq ($(MAKECMDGOALS),distclean) include include.mk endif - -ANYTUNOBJS := tunDevice.o \ - packetSource.o \ +ANYTUNOBJS := packetSource.o \ authAlgo.o \ authAlgoFactory.o \ cipher.o \ @@ -45,7 +43,6 @@ ANYTUNOBJS := tunDevice.o \ encryptedPacket.o \ options.o \ signalController.o \ - daemonService.o \ sysExec.o \ resolver.o \ buffer.o \ @@ -63,6 +60,17 @@ ANYTUNOBJS := tunDevice.o \ anytunError.o \ seqWindow.o +ifneq ($(TARGET),mingw) +ANYTUNOBJS := $(ANYTUNOBJS) \ + tunDevice.o \ + daemonService.o +else +ANYTUNOBJS := $(ANYTUNOBJS) \ + win32/tunDevice.o \ + win32/winService.o \ + win32/registryKey.o +endif + ANYSHOWOBJS := buffer.o \ syncBuffer.o \ keyDerivation.o \ |