2015-12-15 14:10:31 +00:00
|
|
|
SUBDIRS = hnbap rua ranap tests
|
|
|
|
|
|
|
|
ASN1_ROOT = $(top_builddir)/asn1/
|
|
|
|
ASN1TOSTRUCT = $(ASN1_ROOT)/utils/asn1tostruct.py
|
|
|
|
|
2015-12-22 22:59:24 +00:00
|
|
|
AM_CFLAGS = $(OSMOCORE_CFLAGS) $(OSMOVTY_CFLAGS) $(OSMOGSM_CFLAGS) $(ASN1C_CFLAGS) $(OSMOSIGTRAN_CFLAGS) -Ihnbap/
|
2015-12-15 14:10:31 +00:00
|
|
|
COMMON_LDADD = -lsctp
|
|
|
|
|
|
|
|
bin_PROGRAMS = hnbgw
|
|
|
|
|
2015-12-23 19:16:36 +00:00
|
|
|
hnbgw_SOURCES = hnbap_encoder.c hnbap_decoder.c rua_encoder.c rua_decoder.c ranap_common.c rua_common.c hnbap_common.c iu_helpers.c asn1helpers.c hnbgw.c hnbgw_hnbap.c hnbgw_rua.c hnbgw_ranap.c ranap_decoder.c ranap_encoder.c ranap_msg_factory.c context_map.c
|
2015-12-22 22:59:24 +00:00
|
|
|
hnbgw_LDADD = $(OSMOCORE_LIBS) $(OSMOVTY_LIBS) $(OSMOGSM_LIBS) $(ASN1C_LIBS) $(OSMOSIGTRAN_LIBS) $(COMMON_LDADD) hnbap/libosmo-asn1-hnbap.a rua/libosmo-asn1-rua.a ranap/libosmo-asn1-ranap.a
|
2015-12-15 14:10:31 +00:00
|
|
|
|
2015-12-22 11:21:16 +00:00
|
|
|
BUILT_SOURCES = hnbap_decoder.c hnbap_encoder.c rua_decoder.c rua_encoder.c ranap_decoder.c ranap_encoder.c
|
|
|
|
|
2015-12-18 16:33:49 +00:00
|
|
|
hnbap_encoder.c hnbap_decoder.c hnbap_ies_defs.h: $(ASN1_ROOT)/hnbap/HNBAP-PDU-Contents.asn
|
2015-12-15 14:10:31 +00:00
|
|
|
$(ASN1TOSTRUCT) -f $<
|
|
|
|
|
2015-12-18 16:33:49 +00:00
|
|
|
rua_encoder.c rua_decoder.c rua_ies_defs.h: $(ASN1_ROOT)/rua/RUA-PDU-Contents.asn
|
2015-12-15 14:10:31 +00:00
|
|
|
$(ASN1TOSTRUCT) -p RUA_ -f $<
|
|
|
|
|
2015-12-22 13:59:07 +00:00
|
|
|
ranap_encoder.c ranap_decoder.c ranap_ies_defs.h: $(ASN1_ROOT)/ranap/RANAP-PDU-Contents.asn
|
2015-12-15 14:10:31 +00:00
|
|
|
$(ASN1TOSTRUCT) -p RANAP_ -f $<
|