Cosmetic: put asn1c parameters in separate lines

Change-Id: Id1425753f9b4cbce172a1b875a680aa189bb5737
changes/18/26218/1
Oliver Smith 1 year ago
parent e321f0f77f
commit f8ed10a323
  1. 9
      src/hnbap/Makefile.am
  2. 9
      src/ranap/Makefile.am
  3. 9
      src/rua/Makefile.am
  4. 9
      src/sabp/Makefile.am

@ -243,7 +243,14 @@ libosmo_asn1_hnbap_la_LIBADD=$(ASN1C_LDADD)
regen: regenerate-from-asn1-source
regenerate-from-asn1-source:
ASN1C_PREFIX="HNBAP_" asn1c -R -fcompound-names -gen-PER $(HNBAP_ASN1)/HNBAP-CommonDataTypes.asn $(HNBAP_ASN1)/HNBAP-Constants.asn $(HNBAP_ASN1)/HNBAP-IEs.asn $(HNBAP_ASN1)/HNBAP-PDU.asn
ASN1C_PREFIX="HNBAP_" asn1c \
-R \
-fcompound-names \
-gen-PER \
$(HNBAP_ASN1)/HNBAP-CommonDataTypes.asn \
$(HNBAP_ASN1)/HNBAP-Constants.asn \
$(HNBAP_ASN1)/HNBAP-IEs.asn \
$(HNBAP_ASN1)/HNBAP-PDU.asn
# change include style to `#include <dir/foo.h>'
$(top_srcdir)/move-asn1-header-files.sh osmocom/hnbap $(ASN_MODULE_INC)
# Finally copy *.c from buildir to srcdir:

@ -1169,7 +1169,14 @@ libosmo_asn1_ranap_la_LIBADD=$(ASN1C_LDADD)
regen: regenerate-from-asn1-source
regenerate-from-asn1-source:
ASN1C_PREFIX="RANAP_" asn1c -fcompound-names -R -gen-PER $(top_srcdir)/asn1/ranap/RANAP-CommonDataTypes.asn $(top_srcdir)/asn1/ranap/RANAP-Constants.asn $(top_srcdir)/asn1/ranap/RANAP-IEs.asn $(top_srcdir)/asn1/ranap/RANAP-PDU.asn
ASN1C_PREFIX="RANAP_" asn1c \
-fcompound-names \
-R \
-gen-PER \
$(top_srcdir)/asn1/ranap/RANAP-CommonDataTypes.asn \
$(top_srcdir)/asn1/ranap/RANAP-Constants.asn \
$(top_srcdir)/asn1/ranap/RANAP-IEs.asn \
$(top_srcdir)/asn1/ranap/RANAP-PDU.asn
sed -i '7i#include <constr_CHOICE.h>' RANAP_ChosenEncryptionAlgorithm.h RANAP_ChosenIntegrityProtectionAlgorithm.h RANAP_IMSI.h RANAP_PLMNidentity.h RANAP_RAB-ReleaseFailedList.c RANAP_RAB-ReleaseList.c RANAP_RAB-SetupOrModifyList.c RANAP_ResetResourceList.c RANAP_ResetResourceAckList.c
# change include style to `#include <dir/foo.h>'
$(top_srcdir)/move-asn1-header-files.sh osmocom/ranap $(ASN_MODULE_INC)

@ -81,7 +81,14 @@ libosmo_asn1_rua_la_LIBADD=$(ASN1C_LDADD)
regen: regenerate-from-asn1-source
regenerate-from-asn1-source:
ASN1C_PREFIX="RUA_" asn1c -R -fcompound-names -gen-PER $(top_srcdir)/asn1/rua/RUA-CommonDataTypes.asn $(top_srcdir)/asn1/rua/RUA-Constants.asn $(top_srcdir)/asn1/rua/RUA-IEs.asn $(top_srcdir)/asn1/rua/RUA-PDU.asn
ASN1C_PREFIX="RUA_" asn1c \
-R \
-fcompound-names \
-gen-PER \
$(top_srcdir)/asn1/rua/RUA-CommonDataTypes.asn \
$(top_srcdir)/asn1/rua/RUA-Constants.asn \
$(top_srcdir)/asn1/rua/RUA-IEs.asn \
$(top_srcdir)/asn1/rua/RUA-PDU.asn
# change include style to `#include <dir/foo.h>'
$(top_srcdir)/move-asn1-header-files.sh osmocom/rua $(ASN_MODULE_INC)
# Finally copy *.c from buildir to srcdir:

@ -135,7 +135,14 @@ libosmo_asn1_sabp_la_LIBADD=$(ASN1C_LDADD)
regen: regenerate-from-asn1-source
regenerate-from-asn1-source:
ASN1C_PREFIX="SABP_" asn1c -R -fcompound-names -gen-PER $(top_srcdir)/asn1/sabp/SABP-CommonDataTypes.asn $(top_srcdir)/asn1/sabp/SABP-Constants.asn $(top_srcdir)/asn1/sabp/SABP-IEs.asn $(top_srcdir)/asn1/sabp/SABP-PDU.asn
ASN1C_PREFIX="SABP_" asn1c \
-R \
-fcompound-names \
-gen-PER \
$(top_srcdir)/asn1/sabp/SABP-CommonDataTypes.asn \
$(top_srcdir)/asn1/sabp/SABP-Constants.asn \
$(top_srcdir)/asn1/sabp/SABP-IEs.asn \
$(top_srcdir)/asn1/sabp/SABP-PDU.asn
# add missing includes
sed -i '/#include "SABP_Serial-Number.h"/a #include <constr_CHOICE.h>' SABP_Old-Serial-Number.h SABP_New-Serial-Number.h
# change include style to `#include <dir/foo.h>'

Loading…
Cancel
Save