]> git.ipfire.org Git - thirdparty/strongswan.git/blob - programs/charon/lib/Makefile.lib
- renamed get_block_size of hasher
[thirdparty/strongswan.git] / programs / charon / lib / Makefile.lib
1 # Copyright (C) 2006 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 LIB_DIR= $(MAIN_DIR)lib/
16
17 include $(MAIN_DIR)lib/utils/Makefile.utils
18 include $(MAIN_DIR)lib/crypto/Makefile.transforms
19 include $(MAIN_DIR)lib/asn1/Makefile.asn1
20
21 LIB_OBJS+= $(BUILD_DIR)types.o
22 $(BUILD_DIR)types.o : $(LIB_DIR)types.c $(LIB_DIR)types.h
23 $(CC) $(CFLAGS) -c -o $@ $<
24
25 LIB_OBJS+= $(BUILD_DIR)definitions.o
26 $(BUILD_DIR)definitions.o : $(LIB_DIR)definitions.c $(LIB_DIR)definitions.h
27 $(CC) $(CFLAGS) -c -o $@ $<
28
29 LIB_OBJS+= $(BUILD_DIR)library.o
30 $(BUILD_DIR)library.o : $(LIB_DIR)library.c $(LIB_DIR)library.h
31 $(CC) $(CFLAGS) -c -o $@ $<