- configuration_manager replaced by configuration_t interface
[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= $(MAIN_DIR)config/
16
17
18                                                 
19 OBJS+= $(BUILD_DIR)init_config.o
20 $(BUILD_DIR)init_config.o :                                     $(CONFIG_DIR)init_config.c $(CONFIG_DIR)init_config.h
21                                                                                         $(CC) $(CFLAGS) -c -o $@ $<
22                                                                                         
23 OBJS+= $(BUILD_DIR)sa_config.o
24 $(BUILD_DIR)sa_config.o :                                       $(CONFIG_DIR)sa_config.c $(CONFIG_DIR)sa_config.h
25                                                                                         $(CC) $(CFLAGS) -c -o $@ $<
26
27 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 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 OBJS+= $(BUILD_DIR)static_configuration.o
36 $(BUILD_DIR)static_configuration.o :            $(CONFIG_DIR)static_configuration.c $(CONFIG_DIR)static_configuration.h
37                                                                                         $(CC) $(CFLAGS) -c -o $@ $<
38
39 OBJS+= $(BUILD_DIR)starter_configuration.o
40 $(BUILD_DIR)starter_configuration.o :           $(CONFIG_DIR)starter_configuration.c $(CONFIG_DIR)starter_configuration.h
41                                                                                         $(CC) $(CFLAGS) -c -o $@ $<