diff options
author | Lev Walkin <vlm@lionet.info> | 2006-09-17 04:52:50 +0000 |
---|---|---|
committer | Lev Walkin <vlm@lionet.info> | 2006-09-17 04:52:50 +0000 |
commit | a9532f4d2bad200422ffacae45342c73f7cb40cb (patch) | |
tree | 07a38fc49e3ffb8293361d4e3347c89e9b94766b /libasn1compiler | |
parent | cc7c94efce47bc02ce5bd60a93f25d32b1b23b50 (diff) |
moved -DASN_PDU_COLLECTION into compiler
Diffstat (limited to 'libasn1compiler')
-rw-r--r-- | libasn1compiler/asn1c_save.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libasn1compiler/asn1c_save.c b/libasn1compiler/asn1c_save.c index 3e467afe..06fc97dd 100644 --- a/libasn1compiler/asn1c_save.c +++ b/libasn1compiler/asn1c_save.c @@ -135,7 +135,7 @@ asn1c_save_compiled_output(arg_t *arg, const char *datadir, "# This file may be used as an input for make(3)\n" "# Remove the lines below to convert it into a pure .am file\n" "TARGET = progname\n" - "CFLAGS += -I.\n" + "CFLAGS +=%s -I.\n" "OBJS=${ASN_MODULE_SOURCES:.c=.o}" " ${ASN_CONVERTER_SOURCES:.c=.o}\n" "\nall: $(TARGET)\n" @@ -150,6 +150,7 @@ asn1c_save_compiled_output(arg_t *arg, const char *datadir, "\n\trm -f $(OBJS)\n" "\nregen: regenerate-from-asn1-source\n" "\nregenerate-from-asn1-source:\n\t" + , (arg->flags & A1C_PDU_AUTO) ? " -DASN_PDU_COLLECTION" : "" ); for(i = 0; i < argc; i++) |