1 # This file is under GNU General Public License 3.0
4 include ../default.conf
6 ALL_SOURCE=$(subst $(NO_SOURCE),,$(wildcard *.c))
7 ALL_OBJECTS=$(subst .c,.o,$(ALL_SOURCE))
12 libasn1.a: $(ALL_OBJECTS)
13 ar -rc $@ $(ALL_OBJECTS)
16 rm -f converter-sample.c
19 $(CC) $(CFLAGS) $(OPTIMIZE) -I. -I$(ASN1C_INC) -c $< -o $@
21 Sync.c: sync.asn1 keysync.asn1 pEp.asn1
22 $(ASN1C) -gen-PER -fincludes-quoted -fcompound-names -pdu=PEP.Message pEp.asn1 keysync.asn1 $<
24 sync.asn1 keysync.asn1 pEp.asn1:
25 cp -f ../sync/generated/*.asn1 ../asn.1
27 .PHONY: clean install uninstall tags
30 rm -f *.a *.o *.c *.h *.sample sync.asn1 keysync.asn1