- startet importing pluto ASN1 stuff
[strongswan.git] / Source / lib / asn1-pluto / Makefile.asn1
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 ASN1_DIR= $(LIB_DIR)asn1-pluto/
16
17
18 LIB_OBJS+= $(BUILD_DIR)oid.o
19 $(BUILD_DIR)oid.o :                                                     $(ASN1_DIR)oid.c $(ASN1_DIR)oid.h
20                                                                                         $(CC) $(CFLAGS) -c -o $@ $<
21 LIB_OBJS+= $(BUILD_DIR)asn1-pluto.o
22 $(BUILD_DIR)asn1-pluto.o :                                      $(ASN1_DIR)asn1-pluto.c $(ASN1_DIR)asn1-pluto.h
23                                                                                         $(CC) $(CFLAGS) -c -o $@ $<
24 LIB_OBJS+= $(BUILD_DIR)pem.o
25 $(BUILD_DIR)pem.o :                                                     $(ASN1_DIR)pem.c $(ASN1_DIR)pem.h
26                                                                                         $(CC) $(CFLAGS) -c -o $@ $<
27 LIB_OBJS+= $(BUILD_DIR)ttodata.o
28 $(BUILD_DIR)ttodata.o :                                         $(ASN1_DIR)ttodata.c $(ASN1_DIR)ttodata.h
29                                                                                         $(CC) $(CFLAGS) -c -o $@ $<