]> git.ipfire.org Git - people/ms/strongswan.git/blob - programs/charon/lib/crypto/hashers/Makefile.hashers
- import of strongswan-2.7.0
[people/ms/strongswan.git] / programs / charon / lib / crypto / hashers / Makefile.hashers
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 HASHERS_DIR= $(CRYPTO_DIR)hashers/
16
17 LIB_OBJS+= $(BUILD_DIR)hasher.o
18 $(BUILD_DIR)hasher.o : $(HASHERS_DIR)hasher.c $(HASHERS_DIR)hasher.h
19 $(CC) $(CFLAGS) -c -o $@ $<
20
21 LIB_OBJS+= $(BUILD_DIR)sha1_hasher.o
22 $(BUILD_DIR)sha1_hasher.o : $(HASHERS_DIR)sha1_hasher.c $(HASHERS_DIR)sha1_hasher.h
23 $(CC) $(CFLAGS) -c -o $@ $<
24
25 LIB_OBJS+= $(BUILD_DIR)md5_hasher.o
26 $(BUILD_DIR)md5_hasher.o : $(HASHERS_DIR)md5_hasher.c $(HASHERS_DIR)md5_hasher.h
27 $(CC) $(CFLAGS) -c -o $@ $<