Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
asn1c
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
asn1c
Commits
7871abf7
Commit
7871abf7
authored
Nov 13, 2017
by
Jon Ringle
Committed by
Lev Walkin
Nov 17, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename ASN_MODULE_{SOURCES,HEADERS} => ASN_MODULE_{SRCS,HDRS}
parent
07f8c3ea
Changes
14
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
188 additions
and
188 deletions
+188
-188
examples/sample.makefile.regen
examples/sample.makefile.regen
+3
-3
examples/sample.source.1609.2/Makefile
examples/sample.source.1609.2/Makefile
+3
-3
examples/sample.source.J2735/Makefile
examples/sample.source.J2735/Makefile
+3
-3
examples/sample.source.LDAP3/Makefile
examples/sample.source.LDAP3/Makefile
+3
-3
examples/sample.source.LTE-RRC/Makefile
examples/sample.source.LTE-RRC/Makefile
+64
-64
examples/sample.source.MEGACO/Makefile
examples/sample.source.MEGACO/Makefile
+3
-3
examples/sample.source.MHEG5/Makefile
examples/sample.source.MHEG5/Makefile
+66
-66
examples/sample.source.PKIX1/Makefile
examples/sample.source.PKIX1/Makefile
+3
-3
examples/sample.source.RRC/Makefile
examples/sample.source.RRC/Makefile
+3
-3
examples/sample.source.TAP3/Makefile
examples/sample.source.TAP3/Makefile
+3
-3
examples/sample.source.ULP/Makefile
examples/sample.source.ULP/Makefile
+3
-3
libasn1compiler/asn1c_save.c
libasn1compiler/asn1c_save.c
+28
-28
tests/tests-c-compiler/check-assembly.sh
tests/tests-c-compiler/check-assembly.sh
+1
-1
tests/tests-randomized/check-bundles.sh
tests/tests-randomized/check-bundles.sh
+2
-2
No files found.
examples/sample.makefile.regen
View file @
7871abf7
...
...
@@ -144,9 +144,9 @@ test -n "$TITLE" && EXTRA_CFLAGS="-DASN_CONVERTER_TITLE=\"$TITLE\" ${EXTRA_CFLAG
echo
" @if [ -f WIP ]; then cat WIP; sleep 2; fi"
echo
echo
"distclean: clean"
echo
' rm -f $(ASN_MODULE_S
OURCE
S)'
echo
' rm -f $(ASN_MODULE_H
EADE
RS)'
echo
' rm -f $(ASN_PROGRAM_S
OURCES) $(ASN_PROGRAM_HEADE
RS)'
echo
' rm -f $(ASN_MODULE_S
RC
S)'
echo
' rm -f $(ASN_MODULE_H
D
RS)'
echo
' rm -f $(ASN_PROGRAM_S
RCS) $(ASN_PROGRAM_HD
RS)'
echo
" rm -f Makefile.am.example"
}
>
Makefile
...
...
examples/sample.source.1609.2/Makefile
View file @
7871abf7
...
...
@@ -101,7 +101,7 @@ maybe-wip-pause:
@
if
[
-f
WIP
]
;
then
cat
WIP
;
sleep
2
;
fi
distclean
:
clean
rm
-f
$(ASN_MODULE_S
OURCE
S)
rm
-f
$(ASN_MODULE_H
EADE
RS)
rm
-f
$(ASN_PROGRAM_S
OURCES)
$(ASN_PROGRAM_HEADE
RS)
rm
-f
$(ASN_MODULE_S
RC
S)
rm
-f
$(ASN_MODULE_H
D
RS)
rm
-f
$(ASN_PROGRAM_S
RCS)
$(ASN_PROGRAM_HD
RS)
rm
-f
Makefile.am.example
examples/sample.source.J2735/Makefile
View file @
7871abf7
...
...
@@ -101,7 +101,7 @@ maybe-wip-pause:
@
if
[
-f
WIP
]
;
then
cat
WIP
;
sleep
2
;
fi
distclean
:
clean
rm
-f
$(ASN_MODULE_S
OURCE
S)
rm
-f
$(ASN_MODULE_H
EADE
RS)
rm
-f
$(ASN_PROGRAM_S
OURCES)
$(ASN_PROGRAM_HEADE
RS)
rm
-f
$(ASN_MODULE_S
RC
S)
rm
-f
$(ASN_MODULE_H
D
RS)
rm
-f
$(ASN_PROGRAM_S
RCS)
$(ASN_PROGRAM_HD
RS)
rm
-f
Makefile.am.example
examples/sample.source.LDAP3/Makefile
View file @
7871abf7
...
...
@@ -101,7 +101,7 @@ maybe-wip-pause:
@
if
[
-f
WIP
]
;
then
cat
WIP
;
sleep
2
;
fi
distclean
:
clean
rm
-f
$(ASN_MODULE_S
OURCE
S)
rm
-f
$(ASN_MODULE_H
EADE
RS)
rm
-f
$(ASN_PROGRAM_S
OURCES)
$(ASN_PROGRAM_HEADE
RS)
rm
-f
$(ASN_MODULE_S
RC
S)
rm
-f
$(ASN_MODULE_H
D
RS)
rm
-f
$(ASN_PROGRAM_S
RCS)
$(ASN_PROGRAM_HD
RS)
rm
-f
Makefile.am.example
examples/sample.source.LTE-RRC/Makefile
View file @
7871abf7
ASN_MODULE_S
OURCE
S
=
\
ASN_MODULE_S
RC
S
=
\
BCCH-BCH-Message.c
\
BCCH-BCH-MessageType.c
\
BCCH-BCH-Message-MBMS.c
\
...
...
@@ -1754,7 +1754,7 @@ ASN_MODULE_SOURCES= \
ReestablishmentInfo-NB.c
\
RRM-Config-NB.c
ASN_MODULE_H
EADE
RS
=
\
ASN_MODULE_H
D
RS
=
\
BCCH-BCH-Message.h
\
BCCH-BCH-MessageType.h
\
BCCH-BCH-Message-MBMS.h
\
...
...
@@ -3510,76 +3510,76 @@ ASN_MODULE_HEADERS= \
ReestablishmentInfo-NB.h
\
RRM-Config-NB.h
ASN_MODULE_H
EADE
RS
+=
BOOLEAN.h
ASN_MODULE_S
OURCE
S
+=
BOOLEAN.c
ASN_MODULE_H
EADE
RS
+=
INTEGER.h
ASN_MODULE_H
EADE
RS
+=
NativeEnumerated.h
ASN_MODULE_S
OURCE
S
+=
INTEGER.c
ASN_MODULE_H
EADE
RS
+=
NULL.h
ASN_MODULE_S
OURCE
S
+=
NULL.c
ASN_MODULE_S
OURCE
S
+=
NativeEnumerated.c
ASN_MODULE_H
EADE
RS
+=
NativeInteger.h
ASN_MODULE_S
OURCE
S
+=
NativeInteger.c
ASN_MODULE_H
EADE
RS
+=
asn_SEQUENCE_OF.h
ASN_MODULE_S
OURCE
S
+=
asn_SEQUENCE_OF.c
ASN_MODULE_H
EADE
RS
+=
asn_SET_OF.h
ASN_MODULE_S
OURCE
S
+=
asn_SET_OF.c
ASN_MODULE_H
EADE
RS
+=
constr_CHOICE.h
ASN_MODULE_S
OURCE
S
+=
constr_CHOICE.c
ASN_MODULE_H
EADE
RS
+=
constr_SEQUENCE.h
ASN_MODULE_S
OURCE
S
+=
constr_SEQUENCE.c
ASN_MODULE_H
EADE
RS
+=
constr_SEQUENCE_OF.h
ASN_MODULE_S
OURCE
S
+=
constr_SEQUENCE_OF.c
ASN_MODULE_H
EADE
RS
+=
constr_SET_OF.h
ASN_MODULE_S
OURCE
S
+=
constr_SET_OF.c
ASN_MODULE_H
EADE
RS
+=
asn_application.h
ASN_MODULE_H
EADE
RS
+=
asn_system.h
ASN_MODULE_H
EADE
RS
+=
asn_codecs.h
ASN_MODULE_H
EADE
RS
+=
asn_internal.h
ASN_MODULE_H
EADE
RS
+=
OCTET_STRING.h
ASN_MODULE_S
OURCE
S
+=
OCTET_STRING.c
ASN_MODULE_H
EADE
RS
+=
BIT_STRING.h
ASN_MODULE_S
OURCE
S
+=
BIT_STRING.c
ASN_MODULE_S
OURCE
S
+=
asn_codecs_prim.c
ASN_MODULE_H
EADE
RS
+=
asn_codecs_prim.h
ASN_MODULE_H
EADE
RS
+=
ber_tlv_length.h
ASN_MODULE_S
OURCE
S
+=
ber_tlv_length.c
ASN_MODULE_H
EADE
RS
+=
ber_tlv_tag.h
ASN_MODULE_S
OURCE
S
+=
ber_tlv_tag.c
ASN_MODULE_H
EADE
RS
+=
ber_decoder.h
ASN_MODULE_S
OURCE
S
+=
ber_decoder.c
ASN_MODULE_H
EADE
RS
+=
der_encoder.h
ASN_MODULE_S
OURCE
S
+=
der_encoder.c
ASN_MODULE_H
EADE
RS
+=
constr_TYPE.h
ASN_MODULE_S
OURCE
S
+=
constr_TYPE.c
ASN_MODULE_H
EADE
RS
+=
constraints.h
ASN_MODULE_S
OURCE
S
+=
constraints.c
ASN_MODULE_H
EADE
RS
+=
xer_support.h
ASN_MODULE_S
OURCE
S
+=
xer_support.c
ASN_MODULE_H
EADE
RS
+=
xer_decoder.h
ASN_MODULE_S
OURCE
S
+=
xer_decoder.c
ASN_MODULE_H
EADE
RS
+=
xer_encoder.h
ASN_MODULE_S
OURCE
S
+=
xer_encoder.c
ASN_MODULE_H
EADE
RS
+=
per_support.h
ASN_MODULE_S
OURCE
S
+=
per_support.c
ASN_MODULE_H
EADE
RS
+=
per_decoder.h
ASN_MODULE_S
OURCE
S
+=
per_decoder.c
ASN_MODULE_H
EADE
RS
+=
per_encoder.h
ASN_MODULE_S
OURCE
S
+=
per_encoder.c
ASN_MODULE_H
EADE
RS
+=
per_opentype.h
ASN_MODULE_S
OURCE
S
+=
per_opentype.c
ASN_MODULE_H
D
RS
+=
BOOLEAN.h
ASN_MODULE_S
RC
S
+=
BOOLEAN.c
ASN_MODULE_H
D
RS
+=
INTEGER.h
ASN_MODULE_H
D
RS
+=
NativeEnumerated.h
ASN_MODULE_S
RC
S
+=
INTEGER.c
ASN_MODULE_H
D
RS
+=
NULL.h
ASN_MODULE_S
RC
S
+=
NULL.c
ASN_MODULE_S
RC
S
+=
NativeEnumerated.c
ASN_MODULE_H
D
RS
+=
NativeInteger.h
ASN_MODULE_S
RC
S
+=
NativeInteger.c
ASN_MODULE_H
D
RS
+=
asn_SEQUENCE_OF.h
ASN_MODULE_S
RC
S
+=
asn_SEQUENCE_OF.c
ASN_MODULE_H
D
RS
+=
asn_SET_OF.h
ASN_MODULE_S
RC
S
+=
asn_SET_OF.c
ASN_MODULE_H
D
RS
+=
constr_CHOICE.h
ASN_MODULE_S
RC
S
+=
constr_CHOICE.c
ASN_MODULE_H
D
RS
+=
constr_SEQUENCE.h
ASN_MODULE_S
RC
S
+=
constr_SEQUENCE.c
ASN_MODULE_H
D
RS
+=
constr_SEQUENCE_OF.h
ASN_MODULE_S
RC
S
+=
constr_SEQUENCE_OF.c
ASN_MODULE_H
D
RS
+=
constr_SET_OF.h
ASN_MODULE_S
RC
S
+=
constr_SET_OF.c
ASN_MODULE_H
D
RS
+=
asn_application.h
ASN_MODULE_H
D
RS
+=
asn_system.h
ASN_MODULE_H
D
RS
+=
asn_codecs.h
ASN_MODULE_H
D
RS
+=
asn_internal.h
ASN_MODULE_H
D
RS
+=
OCTET_STRING.h
ASN_MODULE_S
RC
S
+=
OCTET_STRING.c
ASN_MODULE_H
D
RS
+=
BIT_STRING.h
ASN_MODULE_S
RC
S
+=
BIT_STRING.c
ASN_MODULE_S
RC
S
+=
asn_codecs_prim.c
ASN_MODULE_H
D
RS
+=
asn_codecs_prim.h
ASN_MODULE_H
D
RS
+=
ber_tlv_length.h
ASN_MODULE_S
RC
S
+=
ber_tlv_length.c
ASN_MODULE_H
D
RS
+=
ber_tlv_tag.h
ASN_MODULE_S
RC
S
+=
ber_tlv_tag.c
ASN_MODULE_H
D
RS
+=
ber_decoder.h
ASN_MODULE_S
RC
S
+=
ber_decoder.c
ASN_MODULE_H
D
RS
+=
der_encoder.h
ASN_MODULE_S
RC
S
+=
der_encoder.c
ASN_MODULE_H
D
RS
+=
constr_TYPE.h
ASN_MODULE_S
RC
S
+=
constr_TYPE.c
ASN_MODULE_H
D
RS
+=
constraints.h
ASN_MODULE_S
RC
S
+=
constraints.c
ASN_MODULE_H
D
RS
+=
xer_support.h
ASN_MODULE_S
RC
S
+=
xer_support.c
ASN_MODULE_H
D
RS
+=
xer_decoder.h
ASN_MODULE_S
RC
S
+=
xer_decoder.c
ASN_MODULE_H
D
RS
+=
xer_encoder.h
ASN_MODULE_S
RC
S
+=
xer_encoder.c
ASN_MODULE_H
D
RS
+=
per_support.h
ASN_MODULE_S
RC
S
+=
per_support.c
ASN_MODULE_H
D
RS
+=
per_decoder.h
ASN_MODULE_S
RC
S
+=
per_decoder.c
ASN_MODULE_H
D
RS
+=
per_encoder.h
ASN_MODULE_S
RC
S
+=
per_encoder.c
ASN_MODULE_H
D
RS
+=
per_opentype.h
ASN_MODULE_S
RC
S
+=
per_opentype.c
ASN_CONVERTER_SOURCES
+=
converter-sample.c
ASN_CONVERTER_SOURCES
+=
pdu_collection.c
lib_LTLIBRARIES
=
libsomething.la
libsomething_la_SOURCES
=
$(ASN_MODULE_S
OURCES)
$(ASN_MODULE_HEADE
RS)
libsomething_la_SOURCES
=
$(ASN_MODULE_S
RCS)
$(ASN_MODULE_HD
RS)
# This file may be used as an input for make(3)
# Remove the lines below to convert it into a pure .am file
TARGET
=
lte-rrc-dump
CFLAGS
+=
-DHAVE_CONFIG_H
-DJUNKTEST
-D_DEFAULT_SOURCE
-DPDU
=
DL_DCCH_Message
-DASN_PDU_COLLECTION
-I
.
OBJS
=
${ASN_MODULE_S
OURCE
S:.c=.o}
${ASN_CONVERTER_SOURCES:.c=.o}
OBJS
=
${ASN_MODULE_S
RC
S:.c=.o}
${ASN_CONVERTER_SOURCES:.c=.o}
all
:
DL-DCCH-Message.c $(TARGET)
...
...
@@ -3678,7 +3678,7 @@ check-per:
done
;
done
;
fi
distclean
:
clean
rm
-f
$(ASN_MODULE_S
OURCE
S)
rm
-f
$(ASN_MODULE_H
EADE
RS)
rm
-f
$(ASN_MODULE_S
RC
S)
rm
-f
$(ASN_MODULE_H
D
RS)
rm
-f
$(ASN_CONVERTER_SOURCES)
$(ASN_CONVERTER_HEADERS)
rm
-f
Makefile.am.sample
examples/sample.source.MEGACO/Makefile
View file @
7871abf7
...
...
@@ -100,7 +100,7 @@ maybe-wip-pause:
@
if
[
-f
WIP
]
;
then
cat
WIP
;
sleep
2
;
fi
distclean
:
clean
rm
-f
$(ASN_MODULE_S
OURCE
S)
rm
-f
$(ASN_MODULE_H
EADE
RS)
rm
-f
$(ASN_PROGRAM_S
OURCES)
$(ASN_PROGRAM_HEADE
RS)
rm
-f
$(ASN_MODULE_S
RC
S)
rm
-f
$(ASN_MODULE_H
D
RS)
rm
-f
$(ASN_PROGRAM_S
RCS)
$(ASN_PROGRAM_HD
RS)
rm
-f
Makefile.am.example
examples/sample.source.MHEG5/Makefile
View file @
7871abf7
ASN_MODULE_S
OURCE
S
=
\
ASN_MODULE_S
RC
S
=
\
InterchangedObject.c
\
RootClass.c
\
GroupClass.c
\
...
...
@@ -188,7 +188,7 @@ ASN_MODULE_SOURCES= \
Colour.c
\
XYPosition.c
ASN_MODULE_H
EADE
RS
=
\
ASN_MODULE_H
D
RS
=
\
InterchangedObject.h
\
RootClass.h
\
GroupClass.h
\
...
...
@@ -378,77 +378,77 @@ ASN_MODULE_HEADERS= \
Colour.h
\
XYPosition.h
ASN_MODULE_H
EADE
RS
+=
BOOLEAN.h
ASN_MODULE_S
OURCE
S
+=
BOOLEAN.c
ASN_MODULE_H
EADE
RS
+=
INTEGER.h
ASN_MODULE_H
EADE
RS
+=
NativeEnumerated.h
ASN_MODULE_S
OURCE
S
+=
INTEGER.c
ASN_MODULE_H
EADE
RS
+=
NULL.h
ASN_MODULE_S
OURCE
S
+=
NULL.c
ASN_MODULE_S
OURCE
S
+=
NativeEnumerated.c
ASN_MODULE_H
EADE
RS
+=
NativeInteger.h
ASN_MODULE_S
OURCE
S
+=
NativeInteger.c
ASN_MODULE_H
EADE
RS
+=
asn_SEQUENCE_OF.h
ASN_MODULE_S
OURCE
S
+=
asn_SEQUENCE_OF.c
ASN_MODULE_H
EADE
RS
+=
asn_SET_OF.h
ASN_MODULE_S
OURCE
S
+=
asn_SET_OF.c
ASN_MODULE_H
EADE
RS
+=
constr_CHOICE.h
ASN_MODULE_S
OURCE
S
+=
constr_CHOICE.c
ASN_MODULE_H
EADE
RS
+=
constr_SEQUENCE.h
ASN_MODULE_S
OURCE
S
+=
constr_SEQUENCE.c
ASN_MODULE_H
EADE
RS
+=
constr_SEQUENCE_OF.h
ASN_MODULE_S
OURCE
S
+=
constr_SEQUENCE_OF.c
ASN_MODULE_H
EADE
RS
+=
constr_SET_OF.h
ASN_MODULE_H
EADE
RS
+=
constr_SET.h
ASN_MODULE_S
OURCE
S
+=
constr_SET.c
ASN_MODULE_S
OURCE
S
+=
constr_SET_OF.c
ASN_MODULE_H
EADE
RS
+=
asn_application.h
ASN_MODULE_H
EADE
RS
+=
asn_system.h
ASN_MODULE_H
EADE
RS
+=
asn_codecs.h
ASN_MODULE_H
EADE
RS
+=
asn_internal.h
ASN_MODULE_H
EADE
RS
+=
OCTET_STRING.h
ASN_MODULE_S
OURCE
S
+=
OCTET_STRING.c
ASN_MODULE_H
EADE
RS
+=
BIT_STRING.h
ASN_MODULE_S
OURCE
S
+=
BIT_STRING.c
ASN_MODULE_S
OURCE
S
+=
asn_codecs_prim.c
ASN_MODULE_H
EADE
RS
+=
asn_codecs_prim.h
ASN_MODULE_H
EADE
RS
+=
ber_tlv_length.h
ASN_MODULE_S
OURCE
S
+=
ber_tlv_length.c
ASN_MODULE_H
EADE
RS
+=
ber_tlv_tag.h
ASN_MODULE_S
OURCE
S
+=
ber_tlv_tag.c
ASN_MODULE_H
EADE
RS
+=
ber_decoder.h
ASN_MODULE_S
OURCE
S
+=
ber_decoder.c
ASN_MODULE_H
EADE
RS
+=
der_encoder.h
ASN_MODULE_S
OURCE
S
+=
der_encoder.c
ASN_MODULE_H
EADE
RS
+=
constr_TYPE.h
ASN_MODULE_S
OURCE
S
+=
constr_TYPE.c
ASN_MODULE_H
EADE
RS
+=
constraints.h
ASN_MODULE_S
OURCE
S
+=
constraints.c
ASN_MODULE_H
EADE
RS
+=
xer_support.h
ASN_MODULE_S
OURCE
S
+=
xer_support.c
ASN_MODULE_H
EADE
RS
+=
xer_decoder.h
ASN_MODULE_S
OURCE
S
+=
xer_decoder.c
ASN_MODULE_H
EADE
RS
+=
xer_encoder.h
ASN_MODULE_S
OURCE
S
+=
xer_encoder.c
ASN_MODULE_H
EADE
RS
+=
per_support.h
ASN_MODULE_S
OURCE
S
+=
per_support.c
ASN_MODULE_H
EADE
RS
+=
per_decoder.h
ASN_MODULE_S
OURCE
S
+=
per_decoder.c
ASN_MODULE_H
EADE
RS
+=
per_encoder.h
ASN_MODULE_S
OURCE
S
+=
per_encoder.c
ASN_MODULE_H
EADE
RS
+=
per_opentype.h
ASN_MODULE_S
OURCE
S
+=
per_opentype.c
ASN_MODULE_H
D
RS
+=
BOOLEAN.h
ASN_MODULE_S
RC
S
+=
BOOLEAN.c
ASN_MODULE_H
D
RS
+=
INTEGER.h
ASN_MODULE_H
D
RS
+=
NativeEnumerated.h
ASN_MODULE_S
RC
S
+=
INTEGER.c
ASN_MODULE_H
D
RS
+=
NULL.h
ASN_MODULE_S
RC
S
+=
NULL.c
ASN_MODULE_S
RC
S
+=
NativeEnumerated.c
ASN_MODULE_H
D
RS
+=
NativeInteger.h
ASN_MODULE_S
RC
S
+=
NativeInteger.c
ASN_MODULE_H
D
RS
+=
asn_SEQUENCE_OF.h
ASN_MODULE_S
RC
S
+=
asn_SEQUENCE_OF.c
ASN_MODULE_H
D
RS
+=
asn_SET_OF.h
ASN_MODULE_S
RC
S
+=
asn_SET_OF.c
ASN_MODULE_H
D
RS
+=
constr_CHOICE.h
ASN_MODULE_S
RC
S
+=
constr_CHOICE.c
ASN_MODULE_H
D
RS
+=
constr_SEQUENCE.h
ASN_MODULE_S
RC
S
+=
constr_SEQUENCE.c
ASN_MODULE_H
D
RS
+=
constr_SEQUENCE_OF.h
ASN_MODULE_S
RC
S
+=
constr_SEQUENCE_OF.c
ASN_MODULE_H
D
RS
+=
constr_SET_OF.h
ASN_MODULE_H
D
RS
+=
constr_SET.h
ASN_MODULE_S
RC
S
+=
constr_SET.c
ASN_MODULE_S
RC
S
+=
constr_SET_OF.c
ASN_MODULE_H
D
RS
+=
asn_application.h
ASN_MODULE_H
D
RS
+=
asn_system.h
ASN_MODULE_H
D
RS
+=
asn_codecs.h
ASN_MODULE_H
D
RS
+=
asn_internal.h
ASN_MODULE_H
D
RS
+=
OCTET_STRING.h
ASN_MODULE_S
RC
S
+=
OCTET_STRING.c
ASN_MODULE_H
D
RS
+=
BIT_STRING.h
ASN_MODULE_S
RC
S
+=
BIT_STRING.c
ASN_MODULE_S
RC
S
+=
asn_codecs_prim.c
ASN_MODULE_H
D
RS
+=
asn_codecs_prim.h
ASN_MODULE_H
D
RS
+=
ber_tlv_length.h
ASN_MODULE_S
RC
S
+=
ber_tlv_length.c
ASN_MODULE_H
D
RS
+=
ber_tlv_tag.h
ASN_MODULE_S
RC
S
+=
ber_tlv_tag.c
ASN_MODULE_H
D
RS
+=
ber_decoder.h
ASN_MODULE_S
RC
S
+=
ber_decoder.c
ASN_MODULE_H
D
RS
+=
der_encoder.h
ASN_MODULE_S
RC
S
+=
der_encoder.c
ASN_MODULE_H
D
RS
+=
constr_TYPE.h
ASN_MODULE_S
RC
S
+=
constr_TYPE.c
ASN_MODULE_H
D
RS
+=
constraints.h
ASN_MODULE_S
RC
S
+=
constraints.c
ASN_MODULE_H
D
RS
+=
xer_support.h
ASN_MODULE_S
RC
S
+=
xer_support.c
ASN_MODULE_H
D
RS
+=
xer_decoder.h
ASN_MODULE_S
RC
S
+=
xer_decoder.c
ASN_MODULE_H
D
RS
+=
xer_encoder.h
ASN_MODULE_S
RC
S
+=
xer_encoder.c
ASN_MODULE_H
D
RS
+=
per_support.h
ASN_MODULE_S
RC
S
+=
per_support.c
ASN_MODULE_H
D
RS
+=
per_decoder.h
ASN_MODULE_S
RC
S
+=
per_decoder.c
ASN_MODULE_H
D
RS
+=
per_encoder.h
ASN_MODULE_S
RC
S
+=
per_encoder.c
ASN_MODULE_H
D
RS
+=
per_opentype.h
ASN_MODULE_S
RC
S
+=
per_opentype.c
ASN_CONVERTER_SOURCES
+=
converter-sample.c
lib_LTLIBRARIES
=
libsomething.la
libsomething_la_SOURCES
=
$(ASN_MODULE_S
OURCES)
$(ASN_MODULE_HEADE
RS)
libsomething_la_SOURCES
=
$(ASN_MODULE_S
RCS)
$(ASN_MODULE_HD
RS)
# This file may be used as an input for make(3)
# Remove the lines below to convert it into a pure .am file
TARGET
=
mheg5dump
CFLAGS
+=
-DHAVE_CONFIG_H
-DJUNKTEST
-D_DEFAULT_SOURCE
-DPDU
=
InterchangedObject
-I
.
OBJS
=
${ASN_MODULE_S
OURCE
S:.c=.o}
${ASN_CONVERTER_SOURCES:.c=.o}
OBJS
=
${ASN_MODULE_S
RC
S:.c=.o}
${ASN_CONVERTER_SOURCES:.c=.o}
all
:
InterchangedObject.c $(TARGET)
...
...
@@ -547,7 +547,7 @@ check-per:
done
;
done
;
fi
distclean
:
clean
rm
-f
$(ASN_MODULE_S
OURCE
S)
rm
-f
$(ASN_MODULE_H
EADE
RS)
rm
-f
$(ASN_MODULE_S
RC
S)
rm
-f
$(ASN_MODULE_H
D
RS)
rm
-f
$(ASN_CONVERTER_SOURCES)
$(ASN_CONVERTER_HEADERS)
rm
-f
Makefile.am.sample
examples/sample.source.PKIX1/Makefile
View file @
7871abf7
...
...
@@ -100,7 +100,7 @@ maybe-wip-pause:
@
if
[
-f
WIP
]
;
then
cat
WIP
;
sleep
2
;
fi
distclean
:
clean
rm
-f
$(ASN_MODULE_S
OURCE
S)
rm
-f
$(ASN_MODULE_H
EADE
RS)
rm
-f
$(ASN_PROGRAM_S
OURCES)
$(ASN_PROGRAM_HEADE
RS)
rm
-f
$(ASN_MODULE_S
RC
S)
rm
-f
$(ASN_MODULE_H
D
RS)
rm
-f
$(ASN_PROGRAM_S
RCS)
$(ASN_PROGRAM_HD
RS)
rm
-f
Makefile.am.example
examples/sample.source.RRC/Makefile
View file @
7871abf7
...
...
@@ -100,7 +100,7 @@ maybe-wip-pause:
@
if
[
-f
WIP
]
;
then
cat
WIP
;
sleep
2
;
fi
distclean
:
clean
rm
-f
$(ASN_MODULE_S
OURCE
S)
rm
-f
$(ASN_MODULE_H
EADE
RS)
rm
-f
$(ASN_PROGRAM_S
OURCES)
$(ASN_PROGRAM_HEADE
RS)
rm
-f
$(ASN_MODULE_S
RC
S)
rm
-f
$(ASN_MODULE_H
D
RS)
rm
-f
$(ASN_PROGRAM_S
RCS)
$(ASN_PROGRAM_HD
RS)
rm
-f
Makefile.am.example
examples/sample.source.TAP3/Makefile
View file @
7871abf7
...
...
@@ -101,7 +101,7 @@ maybe-wip-pause:
@
if
[
-f
WIP
]
;
then
cat
WIP
;
sleep
2
;
fi
distclean
:
clean
rm
-f
$(ASN_MODULE_S
OURCE
S)
rm
-f
$(ASN_MODULE_H
EADE
RS)
rm
-f
$(ASN_PROGRAM_S
OURCES)
$(ASN_PROGRAM_HEADE
RS)
rm
-f
$(ASN_MODULE_S
RC
S)
rm
-f
$(ASN_MODULE_H
D
RS)
rm
-f
$(ASN_PROGRAM_S
RCS)
$(ASN_PROGRAM_HD
RS)
rm
-f
Makefile.am.example
examples/sample.source.ULP/Makefile
View file @
7871abf7
...
...
@@ -101,7 +101,7 @@ maybe-wip-pause:
@
if
[
-f
WIP
]
;
then
cat
WIP
;
sleep
2
;
fi
distclean
:
clean
rm
-f
$(ASN_MODULE_S
OURCE
S)
rm
-f
$(ASN_MODULE_H
EADE
RS)
rm
-f
$(ASN_PROGRAM_S
OURCES)
$(ASN_PROGRAM_HEADE
RS)
rm
-f
$(ASN_MODULE_S
RC
S)
rm
-f
$(ASN_MODULE_H
D
RS)
rm
-f
$(ASN_PROGRAM_S
RCS)
$(ASN_PROGRAM_HD
RS)
rm
-f
Makefile.am.example
libasn1compiler/asn1c_save.c
View file @
7871abf7
...
...
@@ -65,7 +65,7 @@ asn1c__save_library_makefile(arg_t *arg, const asn1c_dep_chainset *deps,
return
-
1
;
}
safe_fprintf
(
mkf
,
"ASN_MODULE_S
OURCE
S="
);
safe_fprintf
(
mkf
,
"ASN_MODULE_S
RC
S="
);
TQ_FOR
(
mod
,
&
(
arg
->
asn
->
modules
),
mod_next
)
{
TQ_FOR
(
arg
->
expr
,
&
(
mod
->
members
),
next
)
{
if
(
asn1_lang_map
[
arg
->
expr
->
meta_type
]
...
...
@@ -75,7 +75,7 @@ asn1c__save_library_makefile(arg_t *arg, const asn1c_dep_chainset *deps,
}
}
}
safe_fprintf
(
mkf
,
"
\n\n
ASN_MODULE_H
EADE
RS="
);
safe_fprintf
(
mkf
,
"
\n\n
ASN_MODULE_H
D
RS="
);
TQ_FOR
(
mod
,
&
(
arg
->
asn
->
modules
),
mod_next
)
{
TQ_FOR
(
arg
->
expr
,
&
(
mod
->
members
),
next
)
{
if
(
asn1_lang_map
[
arg
->
expr
->
meta_type
]
...
...
@@ -101,37 +101,37 @@ asn1c__save_library_makefile(arg_t *arg, const asn1c_dep_chainset *deps,
dir_end
=
dstpath
+
dlen
;
*
dir_end
++
=
'/'
;
for
(
size_t
i
=
0
;
i
<
dlist
->
deps_count
;
i
++
)
{
char
where
[
32
];
/* Location of the */
char
*
what_kind
;
/* H
EADERS or SOURCE
S */
const
asn1c_dep_filename
*
dep_file
=
dlist
->
deps
[
i
];
for
(
size_t
i
=
0
;
i
<
dlist
->
deps_count
;
i
++
)
{
char
where
[
32
];
/* Location of the */
char
*
what_kind
;
/* H
DRS or SRC
S */
const
asn1c_dep_filename
*
dep_file
=
dlist
->
deps
[
i
];
char
*
fname
=
dep_file
->
filename
;
char
*
dotH
;
assert
(
strlen
(
fname
)
<
(
sizeof
(
dstpath
)
/
2
));
strcpy
(
dir_end
,
fname
);
if
(
arg
->
flags
&
A1C_DEBUG
)
{
snprintf
(
where
,
sizeof
(
where
),
"(line %d col %d)"
,
dep_file
->
lineno
,
dep_file
->
column
);
}
else
{
where
[
0
]
=
'\0'
;
}
if
(
arg
->
flags
&
A1C_DEBUG
)
{
snprintf
(
where
,
sizeof
(
where
),
"(line %d col %d)"
,
dep_file
->
lineno
,
dep_file
->
column
);
}
else
{
where
[
0
]
=
'\0'
;
}
if
(
asn1c_copy_over
(
arg
,
dstpath
,
where
)
==
-
1
)
{
if
(
asn1c_copy_over
(
arg
,
dstpath
,
where
)
==
-
1
)
{
safe_fprintf
(
mkf
,
">>>ABORTED<<<"
);
fclose
(
mkf
);
return
-
1
;
}
/* HEADERS versus SOURCE
S */
dotH
=
strrchr
(
fname
,
'h'
);
if
(
dotH
&&
fname
<
dotH
&&
dotH
[
-
1
]
==
'.'
&&
!
dotH
[
1
])
{
what_kind
=
"HEADE
RS"
;
}
else
{
what_kind
=
"SOURCE
S"
;
}
safe_fprintf
(
mkf
,
"ASN_MODULE_%s+=%s
\n
"
,
what_kind
,
fname
);
/* HDRS versus SRC
S */
dotH
=
strrchr
(
fname
,
'h'
);
if
(
dotH
&&
fname
<
dotH
&&
dotH
[
-
1
]
==
'.'
&&
!
dotH
[
1
])
{
what_kind
=
"HD
RS"
;
}
else
{
what_kind
=
"SRC
S"
;
}
safe_fprintf
(
mkf
,
"ASN_MODULE_%s+=%s
\n
"
,
what_kind
,
fname
);
}
asn1c_dep_chain_free
(
dlist
);
...
...
@@ -149,7 +149,7 @@ asn1c__save_library_makefile(arg_t *arg, const asn1c_dep_chainset *deps,
"
\n\n
"
"lib_LTLIBRARIES=libasncodec.la
\n
"
"libasncodec_la_SOURCES="
"$(ASN_MODULE_S
OURCES) $(ASN_MODULE_HEADE
RS)
\n
"
"$(ASN_MODULE_S
RCS) $(ASN_MODULE_HD
RS)
\n
"
"libasncodec_la_CFLAGS=$(ASN_MODULE_CFLAGS)
\n
"
);
fclose
(
mkf
);
safe_fprintf
(
stderr
,
"Generated Makefile.am.targets
\n
"
);
...
...
@@ -176,7 +176,7 @@ asn1c__save_example_makefile(arg_t *arg, const asn1c_dep_chainset *deps,
"CFLAGS += $(ASN_MODULE_CFLAGS) %s%s-I.
\n
"
"ASN_LIBRARY ?= libasncodec.a
\n
"
"ASN_PROGRAM ?= converter-example
\n
"
"ASN_PROGRAM_S
OURCE
S ?= "
,
"ASN_PROGRAM_S
RC
S ?= "
,
library_makefile_name
,
(
arg
->
flags
&
A1C_PDU_TYPE
)
?
generate_pdu_C_definition
()
:
""
,
need_to_generate_pdu_collection
(
arg
)
?
"-DASN_PDU_COLLECTION "
:
""
);
...
...
@@ -209,17 +209,17 @@ asn1c__save_example_makefile(arg_t *arg, const asn1c_dep_chainset *deps,
safe_fprintf
(
mkf
,
"
\n\n
all: $(ASN_PROGRAM)
\n
"
"
\n
$(ASN_PROGRAM): $(ASN_LIBRARY) $(ASN_PROGRAM_S
OURCE
S:.c=.o)"
"
\n\t
$(CC) $(CFLAGS) $(CPPFLAGS) -o $(ASN_PROGRAM) $(ASN_PROGRAM_S
OURCE
S:.c=.o) $(LDFLAGS) $(ASN_LIBRARY) $(LIBS)
\n
"
"
\n
$(ASN_LIBRARY): $(ASN_MODULE_S
OURCE
S:.c=.o)"
"
\n\t
$(AR) rcs $@ $(ASN_MODULE_S
OURCE
S:.c=.o)
\n
"
"
\n
$(ASN_PROGRAM): $(ASN_LIBRARY) $(ASN_PROGRAM_S
RC
S:.c=.o)"
"
\n\t
$(CC) $(CFLAGS) $(CPPFLAGS) -o $(ASN_PROGRAM) $(ASN_PROGRAM_S
RC
S:.c=.o) $(LDFLAGS) $(ASN_LIBRARY) $(LIBS)
\n
"
"
\n
$(ASN_LIBRARY): $(ASN_MODULE_S
RC
S:.c=.o)"
"
\n\t
$(AR) rcs $@ $(ASN_MODULE_S
RC
S:.c=.o)
\n
"
"
\n
.SUFFIXES:"
"
\n
.SUFFIXES: .c .o
\n
"
"
\n
.c.o:"
"
\n\t
$(CC) $(CFLAGS) -o $@ -c $<
\n
"
"
\n
clean:"
"
\n\t
rm -f $(ASN_PROGRAM) $(ASN_LIBRARY)"
"
\n\t
rm -f $(ASN_MODULE_S
OURCES:.c=.o) $(ASN_PROGRAM_SOURCE
S:.c=.o)
\n
"
"
\n\t
rm -f $(ASN_MODULE_S
RCS:.c=.o) $(ASN_PROGRAM_SRC
S:.c=.o)
\n
"
"
\n
regen: regenerate-from-asn1-source
\n
"
"
\n
regenerate-from-asn1-source:
\n\t
"
);
...
...
tests/tests-c-compiler/check-assembly.sh
View file @
7871abf7
...
...
@@ -79,7 +79,7 @@ LDFLAGS = ${LDFLAGS:-}
ASAN_ENV_FLAGS =
${
ASAN_ENV_FLAGS
:-}
ASN_PROGRAM = check-program
ASN_PROGRAM_S
OURCE
S =
${
source_short
}
ASN_PROGRAM_S
RC
S =
${
source_short
}
CC ?=
${
CC
}
CXX ?=
${
CXX
}
...
...
tests/tests-randomized/check-bundles.sh
View file @
7871abf7
...
...
@@ -284,11 +284,11 @@ asn_compile() {
{
echo
"CFLAGS+= -DASN1_TEXT='
$short_asn
'"
;
echo
"ASN_PROGRAM = random-test-driver"
echo
"ASN_PROGRAM_S
OURCE
S = random-test-driver.c"
echo
"ASN_PROGRAM_S
RC
S = random-test-driver.c"
echo
echo
"include Makefile.am.example"
echo
echo
"all-tests-succeeded:
${
abs_top_builddir
}
/asn1c/asn1c
\$
(ASN_PROGRAM_S
OURCES)
\$
(ASN_MODULE_SOURCES)
\$
(ASN_MODULE_HEADE
RS)"
echo
"all-tests-succeeded:
${
abs_top_builddir
}
/asn1c/asn1c
\$
(ASN_PROGRAM_S
RCS)
\$
(ASN_MODULE_SRCS)
\$
(ASN_MODULE_HD
RS)"
echo
" @rm -f
\$
@"
echo
" @echo Previous try did not go correctly. To reproduce:"
echo
" @cat .test-reproduce"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment