diff --git a/examples/sample.source.J2735/Makefile b/examples/sample.source.J2735/Makefile index 6f5f8326..2c7166d0 100644 --- a/examples/sample.source.J2735/Makefile +++ b/examples/sample.source.J2735/Makefile @@ -1053,7 +1053,7 @@ OBJS=${ASN_MODULE_SOURCES:.c=.o} ${ASN_CONVERTER_SOURCES:.c=.o} all: MessageFrame.c $(TARGET) $(TARGET): ${OBJS} - $(CC) $(CPPFLAGS) -o $(TARGET) ${OBJS} $(LDFLAGS) $(LIBS) + $(CC) $(CFLAGS) $(CPPFLAGS) -o $(TARGET) ${OBJS} $(LDFLAGS) $(LIBS) .SUFFIXES: .SUFFIXES: .c .o @@ -1068,10 +1068,10 @@ clean: regen: regenerate-from-asn1-source regenerate-from-asn1-source: - ../../asn1c/asn1c -S ../../skeletons -pdu=MessageFrame -fcompound-names -gen-PER ../j2735.asn1 + ../../asn1c/asn1c -S ../../skeletons -pdu=MessageFrame -fcompound-names -gen-PER ../J2735_201603.asn1 -MessageFrame.c: ../sample.makefile.regen ../j2735.asn1 +MessageFrame.c: ../sample.makefile.regen ../J2735_201603.asn1 make regen-makefile @touch MessageFrame.c make @@ -1079,7 +1079,7 @@ MessageFrame.c: ../sample.makefile.regen ../j2735.asn1 regen-makefile: TITLE="J2735 DSRC decoder" \ ASN1CMDOPTS="-fcompound-names -gen-PER" \ - ASN1MODULES="../j2735.asn1" \ + ASN1MODULES="../J2735_201603.asn1" \ ASN1PDU=MessageFrame \ PROGNAME=j2735-dump \ CPPFLAGS="" \ diff --git a/examples/sample.source.J2735/README b/examples/sample.source.J2735/README index d7583106..1e0697fc 100644 --- a/examples/sample.source.J2735/README +++ b/examples/sample.source.J2735/README @@ -5,9 +5,9 @@ GENERAL INFORMATION The SAE J2735-201603 Dedicated Short Range Communications (DSRC) Message Set Dictionary decoder. Invoking `make` will compile the ASN.1 specifications from the -../j2735.asn1 file. +../J2735_201603.asn1 file. -THERE IS NO j2735.asn1 FILE THERE YET! +THERE IS NO J2735_201603.asn1 FILE THERE YET! OBTAINING THE J2735 SPECIFICATION ================================= @@ -15,20 +15,22 @@ OBTAINING THE J2735 SPECIFICATION Go to http://standards.sae.org/j2735_201603/ and download the files. You should extract the ASN.1 module from there and save it -as the ../j2735.asn1 file. The ../j2735.asn1 file should start with +as the ../J2735_201603.asn1 file. This file should start with the following line - "DSRC DEFINITIONS AUTOMATIC TAGS ::=" + + DSRC DEFINITIONS AUTOMATIC TAGS ::= + and end with the "END" token. Be careful not to copy any non-ASN.1 preambles from that .DOC file. -After obtaining the j2735.asn1, type `make` in the directory containing -this README file. +After obtaining the J2735_201603.asn1, type `make` in the directory +containing this README file. j2735-dump USAGE ================ -The j2735-dump utility may be used to dump the contents of the UPER-encoded -DSRC message record file: +The j2735-dump utility may be used to dump the contents of the +UPER-encoded DSRC message record file: ./j2735-dump j2735file.per # Print as XML (BASIC-XER) diff --git a/examples/sample.source.LDAP3/Makefile b/examples/sample.source.LDAP3/Makefile index 21ee0003..a1b88470 100644 --- a/examples/sample.source.LDAP3/Makefile +++ b/examples/sample.source.LDAP3/Makefile @@ -175,7 +175,7 @@ OBJS=${ASN_MODULE_SOURCES:.c=.o} ${ASN_CONVERTER_SOURCES:.c=.o} all: LDAPMessage.c $(TARGET) $(TARGET): ${OBJS} - $(CC) $(CPPFLAGS) -o $(TARGET) ${OBJS} $(LDFLAGS) $(LIBS) + $(CC) $(CFLAGS) $(CPPFLAGS) -o $(TARGET) ${OBJS} $(LDFLAGS) $(LIBS) .SUFFIXES: .SUFFIXES: .c .o diff --git a/examples/sample.source.RRC/Makefile b/examples/sample.source.RRC/Makefile index ed5b9675..7d628435 100644 --- a/examples/sample.source.RRC/Makefile +++ b/examples/sample.source.RRC/Makefile @@ -4752,7 +4752,7 @@ OBJS=${ASN_MODULE_SOURCES:.c=.o} ${ASN_CONVERTER_SOURCES:.c=.o} all: DL-DCCH-Message.c $(TARGET) $(TARGET): ${OBJS} - $(CC) $(CPPFLAGS) -o $(TARGET) ${OBJS} $(LDFLAGS) $(LIBS) + $(CC) $(CFLAGS) $(CPPFLAGS) -o $(TARGET) ${OBJS} $(LDFLAGS) $(LIBS) .SUFFIXES: .SUFFIXES: .c .o