2aedd384073db7813670c4edb8802b4e9b20bbb7
[strongswan.git] / Source / charon / encoding / payloads / Makefile.payloads
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 PAYLOADS_DIR= $(ENCODING_DIR)payloads/
16
17 OBJS+= $(BUILD_DIR)encodings.o
18 $(BUILD_DIR)encodings.o :                               $(PAYLOADS_DIR)encodings.c $(PAYLOADS_DIR)encodings.h
19                                                                                 $(CC) $(CFLAGS) -c -o $@ $<
20
21 OBJS+= $(BUILD_DIR)ike_header.o
22 $(BUILD_DIR)ike_header.o :                              $(PAYLOADS_DIR)ike_header.c $(PAYLOADS_DIR)ike_header.h
23                                                                                 $(CC) $(CFLAGS) -c -o $@ $<
24
25 OBJS+= $(BUILD_DIR)ke_payload.o
26 $(BUILD_DIR)ke_payload.o :                              $(PAYLOADS_DIR)ke_payload.c $(PAYLOADS_DIR)ke_payload.h
27                                                                                 $(CC) $(CFLAGS) -c -o $@ $<
28
29 OBJS+= $(BUILD_DIR)nonce_payload.o
30 $(BUILD_DIR)nonce_payload.o :                   $(PAYLOADS_DIR)nonce_payload.c $(PAYLOADS_DIR)nonce_payload.h
31                                                                                 $(CC) $(CFLAGS) -c -o $@ $<
32
33 OBJS+= $(BUILD_DIR)notify_payload.o
34 $(BUILD_DIR)notify_payload.o :                  $(PAYLOADS_DIR)notify_payload.c $(PAYLOADS_DIR)notify_payload.h
35                                                                                 $(CC) $(CFLAGS) -c -o $@ $<
36
37 OBJS+= $(BUILD_DIR)payload.o
38 $(BUILD_DIR)payload.o :                                 $(PAYLOADS_DIR)payload.c $(PAYLOADS_DIR)payload.h
39                                                                                 $(CC) $(CFLAGS) -c -o $@ $<
40
41 OBJS+= $(BUILD_DIR)proposal_substructure.o
42 $(BUILD_DIR)proposal_substructure.o :   $(PAYLOADS_DIR)proposal_substructure.c $(PAYLOADS_DIR)proposal_substructure.h
43                                                                                 $(CC) $(CFLAGS) -c -o $@ $<
44
45 OBJS+= $(BUILD_DIR)sa_payload.o
46 $(BUILD_DIR)sa_payload.o :                              $(PAYLOADS_DIR)sa_payload.c $(PAYLOADS_DIR)sa_payload.h
47                                                                                 $(CC) $(CFLAGS) -c -o $@ $<
48
49 OBJS+= $(BUILD_DIR)transform_attribute.o
50 $(BUILD_DIR)transform_attribute.o :             $(PAYLOADS_DIR)transform_attribute.c $(PAYLOADS_DIR)transform_attribute.h
51                                                                                 $(CC) $(CFLAGS) -c -o $@ $<
52
53 OBJS+= $(BUILD_DIR)transform_substructure.o
54 $(BUILD_DIR)transform_substructure.o :  $(PAYLOADS_DIR)transform_substructure.c $(PAYLOADS_DIR)transform_substructure.h
55                                                                                 $(CC) $(CFLAGS) -c -o $@ $<
56