3 CFLAGS
+= -DSOCKETS_NAMESPACE
=sockets
4 CFLAGS
+= -DSOCKETS_NAMESPACE_STR
='"sockets"'
7 CCFLAGS
+= -DSOCKETS_NAMESPACE
=sockets
8 CCFLAGS
+= -DSOCKETS_NAMESPACE_STR
='"sockets"'
10 LDFLAGS
= -g
-Wall
-O2
-ldl
-lpthread
-lgcrypt
-lssl
-lboost_serialization
12 OPENVPNDEPS
= openvpn
/tun.o \
36 SOCKETDEPS
= Sockets
/libSockets.a
38 #Sockets/TcpSocket.o \
41 # Sockets/SocketHandler.o \
42 # Sockets/Ipv4Address.o \
44 # Sockets/SSLInitializer.o
76 $(LD
) $(OBJS
) -o
$@
$(LDFLAGS
)
78 tunDevice.o
: tunDevice.
cpp tunDevice.h
79 $(C
++) $(CCFLAGS
) $< -c
81 packetSource.o
: packetSource.
cpp packetSource.h
82 $(C
++) $(CCFLAGS
) $< -c
84 buffer.o
: buffer.
cpp buffer.h
85 $(C
++) $(CCFLAGS
) $< -c
87 syncBuffer.o
: syncBuffer.
cpp syncBuffer.h
88 $(C
++) $(CCFLAGS
) $< -c
90 packet.o
: packet.
cpp packet.h buffer.h
91 $(C
++) $(CCFLAGS
) $< -c
93 cypher.o
: cypher.
cpp cypher.h buffer.h
94 $(C
++) $(CCFLAGS
) $< -c
96 authAlgo.o
: authAlgo.
cpp authAlgo.h buffer.h
97 $(C
++) $(CCFLAGS
) $< -c
99 authTag.o
: authTag.
cpp authTag.h buffer.h
100 $(C
++) $(CCFLAGS
) $< -c
102 keyDerivation.o
: keyDerivation.
cpp keyDerivation.h
103 $(C
++) $(CCFLAGS
) $< -c
106 $(C
++) $(CCFLAGS
) $< -c
108 syncSocket.o
: syncSocket.
cpp syncSocket.h
109 $(C
++) $(CCFLAGS
) $< -c
111 signalController.o
: signalController.
cpp signalController.h
112 $(C
++) $(CCFLAGS
) $< -c
114 PracticalSocket.o
: PracticalSocket.
cpp PracticalSocket.h
115 $(C
++) $(CCFLAGS
) $< -c
118 $(C
++) $(CCFLAGS
) $< -c
120 options.o
: options.
cpp options.h
121 $(C
++) $(CCFLAGS
) $< -c
123 seqWindow.o
: seqWindow.
cpp seqWindow.h
124 $(C
++) $(CCFLAGS
) $< -c
126 connectionList.o
: connectionList.
cpp connectionList.h
127 $(C
++) $(CCFLAGS
) $< -c
129 connectionParam.o
: connectionParam.
cpp connectionParam.h
130 $(C
++) $(CCFLAGS
) $< -c
132 networkAddress.o
: networkAddress.
cpp networkAddress.h
133 $(C
++) $(CCFLAGS
) $< -c
135 router.o
: router.
cpp router.h
136 $(C
++) $(CCFLAGS
) $< -c
139 $(C
++) $(CCFLAGS
) $< -c
151 ctags
-R
--c
++-kinds
=+p
--fields
=+iaS
--extra
=+q .