blob: 8a2c56aa788b2d09ec150c69a1381fa5585ed654 [file] [log] [blame]
Harald Welte3297dba2015-12-16 12:53:53 +01001ASN_MODULE_SOURCES= \
Harald Welte4d425512015-08-30 23:04:23 +02002 Criticality.c \
3 Presence.c \
4 PrivateIE-ID.c \
5 ProcedureCode.c \
6 ProtocolIE-ID.c \
7 TriggeringMessage.c \
8 IE-Extensions.c \
9 Access-stratum-release-indicator.c \
10 AccessResult.c \
11 AltitudeAndDirection.c \
12 BackoffTimer.c \
13 BindingID.c \
14 Cause.c \
15 CauseRadioNetwork.c \
16 CauseTransport.c \
17 CauseProtocol.c \
18 CauseMisc.c \
19 CellIdentity.c \
20 CELL-FACHMobilitySupport.c \
21 Context-ID.c \
22 CriticalityDiagnostics.c \
23 CriticalityDiagnostics-IE-List.c \
24 CSG-ID.c \
25 CSG-Capability.c \
26 CSGMembershipStatus.c \
27 CGI.c \
28 CI.c \
29 CN-DomainIndicator.c \
30 ESN.c \
31 GeographicalLocation.c \
32 GeographicalCoordinates.c \
33 GTP-TEI.c \
34 HNBCapacity.c \
35 HNB-Cell-Access-Mode.c \
36 HNB-Cell-Identifier.c \
37 HNB-GWResponse.c \
38 HNB-RNL-Identity.c \
39 HNBConfigInfo.c \
40 ConfigurationInformation.c \
41 HNBConfigurationInformationProvided.c \
42 HNBConfigurationInformationMissing.c \
43 HNB-Location-Information.c \
44 HNB-Identity.c \
45 HNB-Identity-Info.c \
46 IMEI.c \
47 IMSI.c \
48 IMSIDS41.c \
49 IMSIESN.c \
50 IP-Address.c \
51 Ipv4Address.c \
52 Ipv6Address.c \
53 Iurh-Signalling-TNL-AddressList.c \
54 LAC.c \
55 LAI.c \
56 MacroCoverageInformation.c \
57 MacroCellID.c \
58 MuxPortNumber.c \
59 NeighbourCellIdentityList.c \
60 NeighbourIdentity.c \
61 NeighbourInfoList.c \
62 AdditionalNeighbourInfoList.c \
63 NeighbourInfoRequestList.c \
64 NeighbourInfoRequestItem.c \
65 PLMNidentity.c \
66 PSC.c \
67 PTMSI.c \
68 PTMSIRAI.c \
69 RAB-ID.c \
70 RABList.c \
71 RABListItem.c \
72 RAC.c \
73 RAI.c \
74 Registration-Cause.c \
75 RNC-ID.c \
76 SAC.c \
77 S-RNTIPrefix.c \
78 TMSILAI.c \
79 TMSIDS41.c \
80 TransportInfo.c \
81 TransportLayerAddress.c \
82 Tunnel-Information.c \
83 TypeOfError.c \
84 UDP-Port-Number.c \
85 UE-Capabilities.c \
86 UTRANCellID.c \
87 UE-Identity.c \
88 Update-cause.c \
89 URAIdentityList.c \
90 URAIdentity.c \
91 U-RNTI.c \
92 UnknownU-RNTIIndication.c \
93 HNBAP-PDU.c \
94 InitiatingMessage.c \
95 SuccessfulOutcome.c \
96 UnsuccessfulOutcome.c \
97 HNBRegisterRequest.c \
98 HNBRegisterAccept.c \
99 HNBRegisterReject.c \
100 UERegisterRequest.c \
101 UERegisterAccept.c \
102 UERegisterReject.c \
103 UEDe-Register.c \
104 HNBDe-Register.c \
105 ErrorIndication.c \
106 CSGMembershipUpdate.c \
107 TNLUpdateRequest.c \
108 TNLUpdateResponse.c \
109 TNLUpdateFailure.c \
110 HNBConfigTransferRequest.c \
111 HNBConfigTransferResponse.c \
112 RelocationComplete.c \
113 U-RNTIQueryRequest.c \
114 U-RNTIQueryResponse.c \
115 PrivateMessage.c \
116 IE.c
117
Daniel Willmann29b9e002015-12-15 15:10:31 +0100118ASN_MODULE_INC= \
Harald Welte4d425512015-08-30 23:04:23 +0200119 Criticality.h \
120 Presence.h \
121 PrivateIE-ID.h \
122 ProcedureCode.h \
123 ProtocolIE-ID.h \
124 TriggeringMessage.h \
125 IE-Extensions.h \
126 Access-stratum-release-indicator.h \
127 AccessResult.h \
128 AltitudeAndDirection.h \
129 BackoffTimer.h \
130 BindingID.h \
131 Cause.h \
132 CauseRadioNetwork.h \
133 CauseTransport.h \
134 CauseProtocol.h \
135 CauseMisc.h \
136 CellIdentity.h \
137 CELL-FACHMobilitySupport.h \
138 Context-ID.h \
139 CriticalityDiagnostics.h \
140 CriticalityDiagnostics-IE-List.h \
141 CSG-ID.h \
142 CSG-Capability.h \
143 CSGMembershipStatus.h \
144 CGI.h \
145 CI.h \
146 CN-DomainIndicator.h \
147 ESN.h \
148 GeographicalLocation.h \
149 GeographicalCoordinates.h \
150 GTP-TEI.h \
151 HNBCapacity.h \
152 HNB-Cell-Access-Mode.h \
153 HNB-Cell-Identifier.h \
154 HNB-GWResponse.h \
155 HNB-RNL-Identity.h \
156 HNBConfigInfo.h \
157 ConfigurationInformation.h \
158 HNBConfigurationInformationProvided.h \
159 HNBConfigurationInformationMissing.h \
160 HNB-Location-Information.h \
161 HNB-Identity.h \
162 HNB-Identity-Info.h \
163 IMEI.h \
164 IMSI.h \
165 IMSIDS41.h \
166 IMSIESN.h \
167 IP-Address.h \
168 Ipv4Address.h \
169 Ipv6Address.h \
170 Iurh-Signalling-TNL-AddressList.h \
171 LAC.h \
172 LAI.h \
173 MacroCoverageInformation.h \
174 MacroCellID.h \
175 MuxPortNumber.h \
176 NeighbourCellIdentityList.h \
177 NeighbourIdentity.h \
178 NeighbourInfoList.h \
179 AdditionalNeighbourInfoList.h \
180 NeighbourInfoRequestList.h \
181 NeighbourInfoRequestItem.h \
182 PLMNidentity.h \
183 PSC.h \
184 PTMSI.h \
185 PTMSIRAI.h \
186 RAB-ID.h \
187 RABList.h \
188 RABListItem.h \
189 RAC.h \
190 RAI.h \
191 Registration-Cause.h \
192 RNC-ID.h \
193 SAC.h \
194 S-RNTIPrefix.h \
195 TMSILAI.h \
196 TMSIDS41.h \
197 TransportInfo.h \
198 TransportLayerAddress.h \
199 Tunnel-Information.h \
200 TypeOfError.h \
201 UDP-Port-Number.h \
202 UE-Capabilities.h \
203 UTRANCellID.h \
204 UE-Identity.h \
205 Update-cause.h \
206 URAIdentityList.h \
207 URAIdentity.h \
208 U-RNTI.h \
209 UnknownU-RNTIIndication.h \
210 HNBAP-PDU.h \
211 InitiatingMessage.h \
212 SuccessfulOutcome.h \
213 UnsuccessfulOutcome.h \
214 HNBRegisterRequest.h \
215 HNBRegisterAccept.h \
216 HNBRegisterReject.h \
217 UERegisterRequest.h \
218 UERegisterAccept.h \
219 UERegisterReject.h \
220 UEDe-Register.h \
221 HNBDe-Register.h \
222 ErrorIndication.h \
223 CSGMembershipUpdate.h \
224 TNLUpdateRequest.h \
225 TNLUpdateResponse.h \
226 TNLUpdateFailure.h \
227 HNBConfigTransferRequest.h \
228 HNBConfigTransferResponse.h \
229 RelocationComplete.h \
230 U-RNTIQueryRequest.h \
231 U-RNTIQueryResponse.h \
232 PrivateMessage.h \
233 IE.h
234
Neels Hofmeyrf6780362016-02-29 14:28:00 +0100235AM_CFLAGS = -I$(top_srcdir)/include $(ASN1C_CFLAGS) $(OSMOCORE_CFLAGS)
Harald Welte4d425512015-08-30 23:04:23 +0200236
Neels Hofmeyr30e08f52016-08-27 00:03:44 +0200237HNBAP_ASN1 = $(top_srcdir)/asn1/hnbap
238
Daniel Willmann29b9e002015-12-15 15:10:31 +0100239noinst_LIBRARIES=libosmo-asn1-hnbap.a
Harald Welte3297dba2015-12-16 12:53:53 +0100240libosmo_asn1_hnbap_a_SOURCES=$(ASN_MODULE_SOURCES)
Daniel Willmann29b9e002015-12-15 15:10:31 +0100241libosmo_asn1_hnbap_a_LIBADD=$(ASN1C_LDADD)
Harald Weltefd5db062015-12-16 13:07:10 +0100242
243regen: regenerate-from-asn1-source
244
245regenerate-from-asn1-source:
Neels Hofmeyr30e08f52016-08-27 00:03:44 +0200246 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
Harald Weltefd5db062015-12-16 13:07:10 +0100247# remove the local copy of the runtime code
Neels Hofmeyr5aabad12016-01-04 15:23:09 +0100248 -rm ANY.* BOOLEAN.* INTEGER.* NativeEnumerated.* NativeInteger.* OBJECT_IDENTIFIER.* asn_* OCTET_STRING.* converter-sample.c per_* xer_* constr* der_* ber_* BIT_STRING.*
249# change include style to `#include <dir/foo.h>'
Neels Hofmeyrf6780362016-02-29 14:28:00 +0100250 $(top_srcdir)/move-asn1-header-files.sh osmocom/hnbap $(ASN_MODULE_INC)