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