diff options
author | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2016-08-27 00:03:44 +0200 |
---|---|---|
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2016-08-27 14:19:14 +0200 |
commit | 7e6b9aaf4ceb3625940219e2e1aaee38f5f1c2d2 (patch) | |
tree | ba2c311efc5362a1f820ea97d48867542078560a | |
parent | dc386c4689dc0b8b9fe973f4a7b21d1c76133daa (diff) |
build: cosmetic: hnbap: undup asn1 src path
Change-Id: I0507277995302261c87db1b0c48105065cf13ae4
-rw-r--r-- | src/hnbap/Makefile.am | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/hnbap/Makefile.am b/src/hnbap/Makefile.am index 131bef1..8a2c56a 100644 --- a/src/hnbap/Makefile.am +++ b/src/hnbap/Makefile.am @@ -234,6 +234,8 @@ ASN_MODULE_INC= \ AM_CFLAGS = -I$(top_srcdir)/include $(ASN1C_CFLAGS) $(OSMOCORE_CFLAGS) +HNBAP_ASN1 = $(top_srcdir)/asn1/hnbap + noinst_LIBRARIES=libosmo-asn1-hnbap.a libosmo_asn1_hnbap_a_SOURCES=$(ASN_MODULE_SOURCES) libosmo_asn1_hnbap_a_LIBADD=$(ASN1C_LDADD) @@ -241,7 +243,7 @@ libosmo_asn1_hnbap_a_LIBADD=$(ASN1C_LDADD) regen: regenerate-from-asn1-source regenerate-from-asn1-source: - asn1c -gen-PER -fnative-types $(top_srcdir)/asn1/hnbap/HNBAP-CommonDataTypes.asn $(top_srcdir)/asn1/hnbap/HNBAP-Constants.asn $(top_srcdir)/asn1/hnbap/HNBAP-IEs.asn $(top_srcdir)/asn1/hnbap/HNBAP-PDU.asn + asn1c -gen-PER -fnative-types $(HNBAP_ASN1)/HNBAP-CommonDataTypes.asn $(HNBAP_ASN1)/HNBAP-Constants.asn $(HNBAP_ASN1)/HNBAP-IEs.asn $(HNBAP_ASN1)/HNBAP-PDU.asn # remove the local copy of the runtime code -rm ANY.* BOOLEAN.* INTEGER.* NativeEnumerated.* NativeInteger.* OBJECT_IDENTIFIER.* asn_* OCTET_STRING.* converter-sample.c per_* xer_* constr* der_* ber_* BIT_STRING.* # change include style to `#include <dir/foo.h>' |