summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2009-01-03 00:19:31 +0000
committerChristian Pointner <equinox@anytun.org>2009-01-03 00:19:31 +0000
commitb51c4d11e1d4d09a51b004856e8854a29cddc6c7 (patch)
tree4a608a6276ddeecb19bb10b64ab1cf5772c8128f /src/Makefile
parentadded define for anytun compat (diff)
added auth algo
tested with anytun an ANYTUN_02_COMPAT set switched defaults for kd-prf, cipher and auth algo to use crypto
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/Makefile b/src/Makefile
index 3c0edba..1431568 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -34,7 +34,7 @@
TARGET=$(shell uname -s)
CC = gcc
-CCFLAGS = -g -O2 # -DANYTUN_02_COMPAT
+CCFLAGS = -g -O2 #-DANYTUN_02_COMPAT
LD = gcc
LDFLAGS = -g -Wall -O2 -lgcrypt -lgpg-error -lgmp
@@ -54,8 +54,9 @@ OBJS = log.o \
plain_packet.o \
encrypted_packet.o \
seq_window.o \
- cipher.o \
key_derivation.o \
+ cipher.o \
+ auth_algo.o \
uanytun.o
EXECUTABLE = uanytun
@@ -92,10 +93,13 @@ encrypted_packet.o: encrypted_packet.c encrypted_packet.h
seq_window.o: seq_window.c seq_window.h
$(CC) $(CCFLAGS) $< -c
+key_derivation.o: key_derivation.c key_derivation.h
+ $(CC) $(CCFLAGS) $< -c
+
cipher.o: cipher.c cipher.h
$(CC) $(CCFLAGS) $< -c
-key_derivation.o: key_derivation.c key_derivation.h
+auth_algo.o: auth_algo.c auth_algo.h
$(CC) $(CCFLAGS) $< -c
distclean: clean