summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorOthmar Gsenger <otti@anytun.org>2008-04-11 12:46:21 +0000
committerOthmar Gsenger <otti@anytun.org>2008-04-11 12:46:21 +0000
commit027a94bda27724154370e9e363cd8e4eb84383bc (patch)
tree0bc02a255ea91e5a91542dd5c99fdfa21b7ef551 /Makefile
parentfixed wireshark lua script with ethernet tunneling (diff)
fixed makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile20
1 files changed, 19 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 6b4478b..4ba2eed 100644
--- a/Makefile
+++ b/Makefile
@@ -119,7 +119,7 @@ ANYCTROBJS = log.o \
EXECUTABLE = anytun anytun-config anytun-controld anytun-showtables
-all: $(EXECUTABLE) libAnysync.a
+all: $(EXECUTABLE) libAnysync.a anyrtpproxy
anytun: $(OBJS) anytun.o
$(LD) $(OBJS) anytun.o -o $@ $(LDFLAGS)
@@ -136,6 +136,9 @@ anytun-controld: $(ANYMUXOBJS) anytun-controld.o
tunDevice.o: tunDevice.cpp tunDevice.h
$(C++) $(CCFLAGS) $< -c
+Sockets/libSockets.a:
+ make --directory=./Sockets
+
packetSource.o: packetSource.cpp packetSource.h
$(C++) $(CCFLAGS) $< -c
@@ -263,11 +266,26 @@ libAnysync.a: $(OBJS)
ar cru $@ $(OBJS)
ranlib $@
+anyrtpproxy: anytun
+ @cd anyrtpproxy ; make
+
+distclean: clean
+ make --directory=$(CURDIR)/openvpn distclean
+ find -name *.o | xargs rm -f
+ rm -f config.sub config.guess
+
+cleanall: clean
+ make --directory=$(CURDIR)/Sockets clean
+ make --directory=$(CURDIR)/openvpn clean
+ rm -f Sockets/libSockets.a Sockets/Sockets-config
+
clean:
rm -f *.o
rm -f $(EXECUTABLE)
rm -f -r doc/html/*
rm -f -r doc/latex/*
+ rm -f libAnysync.a
+ make --directory=$(CURDIR)/anyrtpproxy clean
doxygen:
doxygen Doxyfile