blob: 9b3ccd3cdc8d1903cd7ea8bb56ff92bff08ff0fb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
|
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
|