standard specificity

This commit is contained in:
Lev Walkin 2017-08-05 23:01:38 -07:00
parent 09ba88d58a
commit d3cc9de01a
4 changed files with 16 additions and 14 deletions

View File

@ -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="" \

View File

@ -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)

View File

@ -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

View File

@ -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