- import of strongswan-2.7.0

- applied patch for charon
This commit is contained in:
Martin Willi
2006-04-28 07:14:48 +00:00
parent 52923c9acb
commit 997358a6c4
2043 changed files with 346842 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
MOD_TWOFISH := ipsec_twofish.o
ALG_MODULES += $(MOD_TWOFISH)
ALG_SUBDIRS += libtwofish
obj-$(CONFIG_IPSEC_ALG_TWOFISH) += $(MOD_TWOFISH)
static_init-func-$(CONFIG_IPSEC_ALG_TWOFISH)+= ipsec_twofish_init
alg_obj-$(CONFIG_IPSEC_ALG_TWOFISH) += ipsec_alg_twofish.o
TWOFISH_OBJS := ipsec_alg_twofish.o libtwofish/libtwofish.a
$(MOD_TWOFISH): libtwofish $(TWOFISH_OBJS)
$(LD) -r $(TWOFISH_OBJS) -o $@
libtwofish : $(LIBCRYPTO)/libtwofish
test -d $@ || mkdir $@ ;exit 0
test -d $@/asm || mkdir $@/asm;exit 0
cd $@ && ln -sf $?/Makefile $?/*.[chS] .
libtwofish/libtwofish.a:
( cd libtwofish && \
$(MAKE) CC='$(CC)' CFLAGS='$(CFLAGS) $(EXTRA_CFLAGS)' EXTRA_CFLAGS='$(EXTRA_CFLAGS)' libtwofish.a ;)