c95bccb8dfbc9ed1f45c9e79656fbdc0a55d7ead
[strongswan.git] / Source / charon / config / Makefile.config
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 CONFIG_DIR= $(CHARON_DIR)config/
16
17
18                                                 
19 CHARON_OBJS+= $(BUILD_DIR)connection.o
20 $(BUILD_DIR)connection.o :                                      $(CONFIG_DIR)connection.c $(CONFIG_DIR)connection.h
21                                                                                         $(CC) $(CFLAGS) -c -o $@ $<
22                                                                                         
23 CHARON_OBJS+= $(BUILD_DIR)policy.o
24 $(BUILD_DIR)policy.o :                                          $(CONFIG_DIR)policy.c $(CONFIG_DIR)policy.h
25                                                                                         $(CC) $(CFLAGS) -c -o $@ $<
26
27 CHARON_OBJS+= $(BUILD_DIR)traffic_selector.o
28 $(BUILD_DIR)traffic_selector.o :                        $(CONFIG_DIR)traffic_selector.c $(CONFIG_DIR)traffic_selector.h
29                                                                                         $(CC) $(CFLAGS) -c -o $@ $<
30
31 CHARON_OBJS+= $(BUILD_DIR)proposal.o
32 $(BUILD_DIR)proposal.o :                                        $(CONFIG_DIR)proposal.c $(CONFIG_DIR)proposal.h
33                                                                                         $(CC) $(CFLAGS) -c -o $@ $<
34
35 CHARON_OBJS+= $(BUILD_DIR)configuration.o
36 $(BUILD_DIR)configuration.o :                           $(CONFIG_DIR)configuration.c $(CONFIG_DIR)configuration.h
37                                                                                         $(CC) $(CFLAGS) -c -o $@ $<