diff options
author | Martin Willi <martin@strongswan.org> | 2005-11-23 13:34:45 +0000 |
---|---|---|
committer | Martin Willi <martin@strongswan.org> | 2005-11-23 13:34:45 +0000 |
commit | face0be4c2f7d89ffe0b4facdf8e30c9dbf53a73 (patch) | |
tree | 0c74c94881f300664dc2fe03465e12d3c56201d0 /Source/charon/transforms | |
parent | 543c1db0eae1df7fbe554f7798b545aa771b1545 (diff) | |
download | strongswan-face0be4c2f7d89ffe0b4facdf8e30c9dbf53a73.tar.bz2 strongswan-face0be4c2f7d89ffe0b4facdf8e30c9dbf53a73.tar.xz |
-
Diffstat (limited to 'Source/charon/transforms')
-rw-r--r-- | Source/charon/transforms/Makefile.transforms | 32 | ||||
-rw-r--r-- | Source/charon/transforms/crypters/Makefile.crypters | 19 | ||||
-rw-r--r-- | Source/charon/transforms/hashers/Makefile.hashers | 27 | ||||
-rw-r--r-- | Source/charon/transforms/prfs/Makefile.prfs | 23 | ||||
-rw-r--r-- | Source/charon/transforms/signers/Makefile.signers | 19 |
5 files changed, 120 insertions, 0 deletions
diff --git a/Source/charon/transforms/Makefile.transforms b/Source/charon/transforms/Makefile.transforms new file mode 100644 index 000000000..9bc807672 --- /dev/null +++ b/Source/charon/transforms/Makefile.transforms @@ -0,0 +1,32 @@ +# Copyright (C) 2005 Jan Hutter, Martin Willi +# Hochschule fuer Technik Rapperswil +# +# This program is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by the +# Free Software Foundation; either version 2 of the License, or (at your +# option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY +# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +# for more details. +# + +TRANSFORMS_DIR= $(MAIN_DIR)transforms/ + +include $(TRANSFORMS_DIR)crypters/Makefile.crypters +include $(TRANSFORMS_DIR)hashers/Makefile.hashers +include $(TRANSFORMS_DIR)prfs/Makefile.prfs +include $(TRANSFORMS_DIR)signers/Makefile.signers + +OBJS+= $(BUILD_DIR)diffie_hellman.o +$(BUILD_DIR)diffie_hellman.o : $(TRANSFORMS_DIR)diffie_hellman.c $(TRANSFORMS_DIR)diffie_hellman.h + $(CC) $(CFLAGS) -c -o $@ $< + +OBJS+= $(BUILD_DIR)hmac.o +$(BUILD_DIR)hmac.o : $(TRANSFORMS_DIR)hmac.c $(TRANSFORMS_DIR)hmac.h + $(CC) $(CFLAGS) -c -o $@ $< + +OBJS+= $(BUILD_DIR)prf_plus.o +$(BUILD_DIR)prf_plus.o : $(TRANSFORMS_DIR)prf_plus.c $(TRANSFORMS_DIR)prf_plus.h + $(CC) $(CFLAGS) -c -o $@ $< diff --git a/Source/charon/transforms/crypters/Makefile.crypters b/Source/charon/transforms/crypters/Makefile.crypters new file mode 100644 index 000000000..e4ce023dd --- /dev/null +++ b/Source/charon/transforms/crypters/Makefile.crypters @@ -0,0 +1,19 @@ +# Copyright (C) 2005 Jan Hutter, Martin Willi +# Hochschule fuer Technik Rapperswil +# +# This program is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by the +# Free Software Foundation; either version 2 of the License, or (at your +# option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY +# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +# for more details. +# + +CRYPTERS_DIR= $(TRANSFORMS_DIR)crypters/ + +OBJS+= $(BUILD_DIR)crypter.o +$(BUILD_DIR)crypter.o : $(CRYPTERS_DIR)crypter.c $(CRYPTERS_DIR)crypter.h + $(CC) $(CFLAGS) -c -o $@ $< diff --git a/Source/charon/transforms/hashers/Makefile.hashers b/Source/charon/transforms/hashers/Makefile.hashers new file mode 100644 index 000000000..36a5b4cdb --- /dev/null +++ b/Source/charon/transforms/hashers/Makefile.hashers @@ -0,0 +1,27 @@ +# Copyright (C) 2005 Jan Hutter, Martin Willi +# Hochschule fuer Technik Rapperswil +# +# This program is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by the +# Free Software Foundation; either version 2 of the License, or (at your +# option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY +# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +# for more details. +# + +HASHERS_DIR= $(TRANSFORMS_DIR)hashers/ + +OBJS+= $(BUILD_DIR)hasher.o +$(BUILD_DIR)hasher.o : $(HASHERS_DIR)hasher.c $(HASHERS_DIR)hasher.h + $(CC) $(CFLAGS) -c -o $@ $< + +OBJS+= $(BUILD_DIR)hasher_sha1.o +$(BUILD_DIR)hasher_sha1.o : $(HASHERS_DIR)hasher_sha1.c $(HASHERS_DIR)hasher_sha1.h + $(CC) $(CFLAGS) -c -o $@ $< + +OBJS+= $(BUILD_DIR)hasher_md5.o +$(BUILD_DIR)hasher_md5.o : $(HASHERS_DIR)hasher_md5.c $(HASHERS_DIR)hasher_md5.h + $(CC) $(CFLAGS) -c -o $@ $< diff --git a/Source/charon/transforms/prfs/Makefile.prfs b/Source/charon/transforms/prfs/Makefile.prfs new file mode 100644 index 000000000..1934361ce --- /dev/null +++ b/Source/charon/transforms/prfs/Makefile.prfs @@ -0,0 +1,23 @@ +# Copyright (C) 2005 Jan Hutter, Martin Willi +# Hochschule fuer Technik Rapperswil +# +# This program is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by the +# Free Software Foundation; either version 2 of the License, or (at your +# option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY +# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +# for more details. +# + +PRFS_DIR= $(TRANSFORMS_DIR)prfs/ + +OBJS+= $(BUILD_DIR)prf.o +$(BUILD_DIR)prf.o : $(PRFS_DIR)prf.c $(PRFS_DIR)prf.h + $(CC) $(CFLAGS) -c -o $@ $< + +OBJS+= $(BUILD_DIR)prf_hmac.o +$(BUILD_DIR)prf_hmac.o : $(PRFS_DIR)prf_hmac.c $(PRFS_DIR)prf_hmac.h + $(CC) $(CFLAGS) -c -o $@ $< diff --git a/Source/charon/transforms/signers/Makefile.signers b/Source/charon/transforms/signers/Makefile.signers new file mode 100644 index 000000000..823f82896 --- /dev/null +++ b/Source/charon/transforms/signers/Makefile.signers @@ -0,0 +1,19 @@ +# Copyright (C) 2005 Jan Hutter, Martin Willi +# Hochschule fuer Technik Rapperswil +# +# This program is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by the +# Free Software Foundation; either version 2 of the License, or (at your +# option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY +# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +# for more details. +# + +SIGNERS_DIR= $(TRANSFORMS_DIR)signers/ + +OBJS+= $(BUILD_DIR)signer.o +$(BUILD_DIR)signer.o : $(SIGNERS_DIR)signer.c $(SIGNERS_DIR)signer.h + $(CC) $(CFLAGS) -c -o $@ $< |