aboutsummaryrefslogtreecommitdiffstats
path: root/src/hnbap
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-08-27 00:03:44 +0200
committerHarald Welte <laforge@gnumonks.org>2016-09-09 06:43:32 +0000
commit30e08f5b8e9ed4dbc12983d61eb1f1661eb91dd0 (patch)
treee8524f599d7da6363066dfd65ead10385b63e320 /src/hnbap
parent2f1b1189da3e720e46e7c411c042997710ef3c5d (diff)
build: cosmetic: hnbap: undup asn1 src path
Diffstat (limited to 'src/hnbap')
-rw-r--r--src/hnbap/Makefile.am4
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>'