]> git.ipfire.org Git - people/ms/strongswan.git/blob - Source/lib/crypto/Makefile.transforms
- renamed get_block_size of hasher
[people/ms/strongswan.git] / Source / lib / crypto / Makefile.transforms
1 # Copyright (C) 2005 Jan Hutter, Martin Willi
2 # Hochschule fuer Technik Rapperswil
3 #
4 # This program is free software; you can redistribute it and/or modify it
5 # under the terms of the GNU General Public License as published by the
6 # Free Software Foundation; either version 2 of the License, or (at your
7 # option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>.
8 #
9 # This program is distributed in the hope that it will be useful, but
10 # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
11 # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 # for more details.
13 #
14
15 CRYPTO_DIR= $(LIB_DIR)crypto/
16
17 include $(CRYPTO_DIR)crypters/Makefile.crypters
18 include $(CRYPTO_DIR)hashers/Makefile.hashers
19 include $(CRYPTO_DIR)prfs/Makefile.prfs
20 include $(CRYPTO_DIR)signers/Makefile.signers
21 include $(CRYPTO_DIR)rsa/Makefile.rsa
22
23 LIB_OBJS+= $(BUILD_DIR)diffie_hellman.o
24 $(BUILD_DIR)diffie_hellman.o : $(CRYPTO_DIR)diffie_hellman.c $(CRYPTO_DIR)diffie_hellman.h
25 $(CC) $(CFLAGS) -c -o $@ $<
26
27 LIB_OBJS+= $(BUILD_DIR)hmac.o
28 $(BUILD_DIR)hmac.o : $(CRYPTO_DIR)hmac.c $(CRYPTO_DIR)hmac.h
29 $(CC) $(CFLAGS) -c -o $@ $<
30
31 LIB_OBJS+= $(BUILD_DIR)prf_plus.o
32 $(BUILD_DIR)prf_plus.o : $(CRYPTO_DIR)prf_plus.c $(CRYPTO_DIR)prf_plus.h
33 $(CC) $(CFLAGS) -c -o $@ $<
34
35 LIB_OBJS+= $(BUILD_DIR)x509.o
36 $(BUILD_DIR)x509.o : $(CRYPTO_DIR)x509.c $(CRYPTO_DIR)x509.h
37 $(CC) $(CFLAGS) -c -o $@ $<