summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2008-05-08 20:21:27 +0000
committerChristian Pointner <equinox@anytun.org>2008-05-08 20:21:27 +0000
commit70268b03c27052c7560df3a8ad0744c53dd41fb6 (patch)
tree29f224cc9192d5bd7ccbfd93464f066157fb99e9 /src/Makefile
parentnew internet draft released (diff)
added own tun device implementation for linux
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index a1f102e..8046245 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -18,7 +18,7 @@ ifeq ($(TARGET),OpenBSD)
LDFLAGS += -L/usr/local/lib
endif
-
+ifndef NOOVPN
OPENVPNDEPS = openvpn/tun.o \
openvpn/error.o \
openvpn/socket.o \
@@ -42,6 +42,7 @@ OPENVPNDEPS = openvpn/tun.o \
openvpn/base64.o \
openvpn/shaper.o \
openvpn/fragment.o
+endif
SOCKETDEPS = Sockets/libSockets.a
@@ -287,14 +288,19 @@ anyrtpproxy: anytun
@cd anyrtpproxy ; $(MAKE)
distclean: cleanall
+ifndef NOOVPN
$(MAKE) --directory=$(CURDIR)/openvpn distclean
+endif
find . -name *.o -exec rm -f {} \;
rm -f config.sub config.guess
+ rm -f tunDevice.cpp tunDevice.h
cleanall: clean
$(MAKE) --directory=$(CURDIR)/man clean
$(MAKE) --directory=$(CURDIR)/Sockets clean
+ifndef NOOVPN
$(MAKE) --directory=$(CURDIR)/openvpn clean
+endif
rm -f Sockets/libSockets.a Sockets/Sockets-config
clean: