Browse Source

fixed asn.1 Makefile weirdness - meh

add_key_notification
parent
commit
b70b128c86
2 changed files with 7 additions and 2 deletions
  1. +1
    -1
      Makefile
  2. +6
    -1
      asn.1/Makefile

+ 1
- 1
Makefile View File

@ -52,8 +52,8 @@ clean:
$(MAKE) -C src clean
$(MAKE) -C test clean
$(MAKE) -C db clean
$(MAKE) -C sync clean
$(MAKE) -C asn.1 clean
$(MAKE) -C sync clean
tags:
$(MAKE) -C asn.1 tags


+ 6
- 1
asn.1/Makefile View File

@ -5,6 +5,11 @@ include ../Makefile.conf
ALL_SOURCE=$(subst $(NO_SOURCE),,$(wildcard *.c))
ALL_OBJECTS=$(subst .c,.o,$(ALL_SOURCE))
CPPFLAGS+=$(CFLAGS_GENERATED)
ASN1_INCL_LIST=-I.
#ifdef ASN1C_INC
#ASN1_INCL_LIST+= -I$(ASN1C_INC)
#endif
.PHONY: all clean install uninstall
@ -15,7 +20,7 @@ libasn1.a: $(ALL_OBJECTS)
$(AR) -rc $@ $(ALL_OBJECTS)
%.o: %.c %.h
$(CC) $(CFLAGS) $(OPTIMIZE) -I. $(ASN1C_INC) -c $< -o $@
$(CC) $(CPPFLAGS) $(CFLAGS) $(OPTIMIZE) $(ASN1_INC_LIST) -c $< -o $@
Sync.c: sync.asn1 keysync.asn1 pEp.asn1
$(ASN1C) -gen-PER -fincludes-quoted -fcompound-names -pdu=auto pEp.asn1 keysync.asn1 $<


Loading…
Cancel
Save