- created new makefiles
[strongswan.git] / Source / charon / sa / states / Makefile.states
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 STATES_DIR= $(SA_DIR)states/
16
17 OBJS+= $(BUILD_DIR)ike_auth_requested.o
18 $(BUILD_DIR)ike_auth_requested.o :              $(STATES_DIR)ike_auth_requested.c $(STATES_DIR)ike_auth_requested.h
19                                                                                 $(CC) $(CFLAGS) -c -o $@ $<
20
21 OBJS+= $(BUILD_DIR)ike_sa_established.o
22 $(BUILD_DIR)ike_sa_established.o :              $(STATES_DIR)ike_sa_established.c $(STATES_DIR)ike_sa_established.h
23                                                                                 $(CC) $(CFLAGS) -c -o $@ $<
24
25 OBJS+= $(BUILD_DIR)ike_sa_init_requested.o
26 $(BUILD_DIR)ike_sa_init_requested.o :   $(STATES_DIR)ike_sa_init_requested.c $(STATES_DIR)ike_sa_init_requested.h
27                                                                                 $(CC) $(CFLAGS) -c -o $@ $<
28
29 OBJS+= $(BUILD_DIR)ike_sa_init_responded.o
30 $(BUILD_DIR)ike_sa_init_responded.o :   $(STATES_DIR)ike_sa_init_responded.c $(STATES_DIR)ike_sa_init_responded.h
31                                                                                 $(CC) $(CFLAGS) -c -o $@ $<
32
33 OBJS+= $(BUILD_DIR)initiator_init.o
34 $(BUILD_DIR)initiator_init.o :                  $(STATES_DIR)initiator_init.c $(STATES_DIR)initiator_init.h
35                                                                                 $(CC) $(CFLAGS) -c -o $@ $<
36                                                                                 
37 OBJS+= $(BUILD_DIR)responder_init.o
38 $(BUILD_DIR)responder_init.o :                  $(STATES_DIR)responder_init.c $(STATES_DIR)responder_init.h
39                                                                                 $(CC) $(CFLAGS) -c -o $@ $<
40                                                                                 
41 OBJS+= $(BUILD_DIR)state.o
42 $(BUILD_DIR)state.o :                                   $(STATES_DIR)state.c $(STATES_DIR)state.h
43                                                                                 $(CC) $(CFLAGS) -c -o $@ $<