100 lines
2.6 KiB
Makefile
100 lines
2.6 KiB
Makefile
ASN_MODULE_SOURCES= \
|
|
RUA_Criticality.c \
|
|
RUA_Presence.c \
|
|
RUA_ProcedureCode.c \
|
|
RUA_PrivateIE-ID.c \
|
|
RUA_ProtocolIE-ID.c \
|
|
RUA_TriggeringMessage.c \
|
|
RUA_IE-Extensions.c \
|
|
RUA_CN-DomainIndicator.c \
|
|
RUA_CSGMembershipStatus.c \
|
|
RUA_Establishment-Cause.c \
|
|
RUA_Context-ID.c \
|
|
RUA_IntraDomainNasNodeSelector.c \
|
|
RUA_Gsm-map-IDNNS.c \
|
|
RUA_Ansi-41-IDNNS.c \
|
|
RUA_RANAP-Message.c \
|
|
RUA_RoutingParameter.c \
|
|
RUA_Cause.c \
|
|
RUA_CauseRadioNetwork.c \
|
|
RUA_CauseTransport.c \
|
|
RUA_CauseProtocol.c \
|
|
RUA_CauseMisc.c \
|
|
RUA_CriticalityDiagnostics.c \
|
|
RUA_CriticalityDiagnostics-IE-List.c \
|
|
RUA_CriticalityDiagnostics-IE-List-Value.c \
|
|
RUA_TypeOfError.c \
|
|
RUA_RUA-PDU.c \
|
|
RUA_InitiatingMessage.c \
|
|
RUA_SuccessfulOutcome.c \
|
|
RUA_UnsuccessfulOutcome.c \
|
|
RUA_Connect.c \
|
|
RUA_DirectTransfer.c \
|
|
RUA_Disconnect.c \
|
|
RUA_ConnectionlessTransfer.c \
|
|
RUA_ErrorIndication.c \
|
|
RUA_PrivateMessage.c \
|
|
RUA_IE.c
|
|
|
|
ASN_MODULE_INC= \
|
|
RUA_Criticality.h \
|
|
RUA_Presence.h \
|
|
RUA_ProcedureCode.h \
|
|
RUA_PrivateIE-ID.h \
|
|
RUA_ProtocolIE-ID.h \
|
|
RUA_TriggeringMessage.h \
|
|
RUA_IE-Extensions.h \
|
|
RUA_CN-DomainIndicator.h \
|
|
RUA_CSGMembershipStatus.h \
|
|
RUA_Establishment-Cause.h \
|
|
RUA_Context-ID.h \
|
|
RUA_IntraDomainNasNodeSelector.h \
|
|
RUA_Gsm-map-IDNNS.h \
|
|
RUA_Ansi-41-IDNNS.h \
|
|
RUA_RANAP-Message.h \
|
|
RUA_RoutingParameter.h \
|
|
RUA_Cause.h \
|
|
RUA_CauseRadioNetwork.h \
|
|
RUA_CauseTransport.h \
|
|
RUA_CauseProtocol.h \
|
|
RUA_CauseMisc.h \
|
|
RUA_CriticalityDiagnostics.h \
|
|
RUA_CriticalityDiagnostics-IE-List.h \
|
|
RUA_CriticalityDiagnostics-IE-List-Value.h \
|
|
RUA_TypeOfError.h \
|
|
RUA_RUA-PDU.h \
|
|
RUA_InitiatingMessage.h \
|
|
RUA_SuccessfulOutcome.h \
|
|
RUA_UnsuccessfulOutcome.h \
|
|
RUA_Connect.h \
|
|
RUA_DirectTransfer.h \
|
|
RUA_Disconnect.h \
|
|
RUA_ConnectionlessTransfer.h \
|
|
RUA_ErrorIndication.h \
|
|
RUA_PrivateMessage.h \
|
|
RUA_IE.h
|
|
|
|
AM_CFLAGS = -I$(top_srcdir)/include $(ASN1C_CFLAGS) $(OSMOCORE_CFLAGS)
|
|
|
|
noinst_LTLIBRARIES=libosmo-asn1-rua.la
|
|
libosmo_asn1_rua_la_SOURCES=$(ASN_MODULE_SOURCES)
|
|
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
|
|
# 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:
|
|
if test "$(realpath $(CURDIR))" != "$(realpath $(top_srcdir)/src/rua)"; then \
|
|
cp *.c $(top_srcdir)/src/rua/; \
|
|
fi
|