From 29b9e00355d148be2500d361f2f284e6fa86bab9 Mon Sep 17 00:00:00 2001 From: Daniel Willmann Date: Tue, 15 Dec 2015 15:10:31 +0100 Subject: Autotoolize the build Use Autoconf/make for building and autotest for tests --- src/hnbap/Makefile | 263 -------------------------------------------------- src/hnbap/Makefile.am | 240 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 240 insertions(+), 263 deletions(-) delete mode 100644 src/hnbap/Makefile create mode 100644 src/hnbap/Makefile.am (limited to 'src/hnbap') diff --git a/src/hnbap/Makefile b/src/hnbap/Makefile deleted file mode 100644 index 3b79237..0000000 --- a/src/hnbap/Makefile +++ /dev/null @@ -1,263 +0,0 @@ -ASN_MODULE_SOURCES= \ - Criticality.c \ - Presence.c \ - PrivateIE-ID.c \ - ProcedureCode.c \ - ProtocolIE-ID.c \ - TriggeringMessage.c \ - IE-Extensions.c \ - Access-stratum-release-indicator.c \ - AccessResult.c \ - AltitudeAndDirection.c \ - BackoffTimer.c \ - BindingID.c \ - Cause.c \ - CauseRadioNetwork.c \ - CauseTransport.c \ - CauseProtocol.c \ - CauseMisc.c \ - CellIdentity.c \ - CELL-FACHMobilitySupport.c \ - Context-ID.c \ - CriticalityDiagnostics.c \ - CriticalityDiagnostics-IE-List.c \ - CSG-ID.c \ - CSG-Capability.c \ - CSGMembershipStatus.c \ - CGI.c \ - CI.c \ - CN-DomainIndicator.c \ - ESN.c \ - GeographicalLocation.c \ - GeographicalCoordinates.c \ - GTP-TEI.c \ - HNBCapacity.c \ - HNB-Cell-Access-Mode.c \ - HNB-Cell-Identifier.c \ - HNB-GWResponse.c \ - HNB-RNL-Identity.c \ - HNBConfigInfo.c \ - ConfigurationInformation.c \ - HNBConfigurationInformationProvided.c \ - HNBConfigurationInformationMissing.c \ - HNB-Location-Information.c \ - HNB-Identity.c \ - HNB-Identity-Info.c \ - IMEI.c \ - IMSI.c \ - IMSIDS41.c \ - IMSIESN.c \ - IP-Address.c \ - Ipv4Address.c \ - Ipv6Address.c \ - Iurh-Signalling-TNL-AddressList.c \ - LAC.c \ - LAI.c \ - MacroCoverageInformation.c \ - MacroCellID.c \ - MuxPortNumber.c \ - NeighbourCellIdentityList.c \ - NeighbourIdentity.c \ - NeighbourInfoList.c \ - AdditionalNeighbourInfoList.c \ - NeighbourInfoRequestList.c \ - NeighbourInfoRequestItem.c \ - PLMNidentity.c \ - PSC.c \ - PTMSI.c \ - PTMSIRAI.c \ - RAB-ID.c \ - RABList.c \ - RABListItem.c \ - RAC.c \ - RAI.c \ - Registration-Cause.c \ - RNC-ID.c \ - SAC.c \ - S-RNTIPrefix.c \ - TMSILAI.c \ - TMSIDS41.c \ - TransportInfo.c \ - TransportLayerAddress.c \ - Tunnel-Information.c \ - TypeOfError.c \ - UDP-Port-Number.c \ - UE-Capabilities.c \ - UTRANCellID.c \ - UE-Identity.c \ - Update-cause.c \ - URAIdentityList.c \ - URAIdentity.c \ - U-RNTI.c \ - UnknownU-RNTIIndication.c \ - HNBAP-PDU.c \ - InitiatingMessage.c \ - SuccessfulOutcome.c \ - UnsuccessfulOutcome.c \ - HNBRegisterRequest.c \ - HNBRegisterAccept.c \ - HNBRegisterReject.c \ - UERegisterRequest.c \ - UERegisterAccept.c \ - UERegisterReject.c \ - UEDe-Register.c \ - HNBDe-Register.c \ - ErrorIndication.c \ - CSGMembershipUpdate.c \ - TNLUpdateRequest.c \ - TNLUpdateResponse.c \ - TNLUpdateFailure.c \ - HNBConfigTransferRequest.c \ - HNBConfigTransferResponse.c \ - RelocationComplete.c \ - U-RNTIQueryRequest.c \ - U-RNTIQueryResponse.c \ - PrivateMessage.c \ - IE.c - -ASN_MODULE_HEADERS= \ - Criticality.h \ - Presence.h \ - PrivateIE-ID.h \ - ProcedureCode.h \ - ProtocolIE-ID.h \ - TriggeringMessage.h \ - IE-Extensions.h \ - Access-stratum-release-indicator.h \ - AccessResult.h \ - AltitudeAndDirection.h \ - BackoffTimer.h \ - BindingID.h \ - Cause.h \ - CauseRadioNetwork.h \ - CauseTransport.h \ - CauseProtocol.h \ - CauseMisc.h \ - CellIdentity.h \ - CELL-FACHMobilitySupport.h \ - Context-ID.h \ - CriticalityDiagnostics.h \ - CriticalityDiagnostics-IE-List.h \ - CSG-ID.h \ - CSG-Capability.h \ - CSGMembershipStatus.h \ - CGI.h \ - CI.h \ - CN-DomainIndicator.h \ - ESN.h \ - GeographicalLocation.h \ - GeographicalCoordinates.h \ - GTP-TEI.h \ - HNBCapacity.h \ - HNB-Cell-Access-Mode.h \ - HNB-Cell-Identifier.h \ - HNB-GWResponse.h \ - HNB-RNL-Identity.h \ - HNBConfigInfo.h \ - ConfigurationInformation.h \ - HNBConfigurationInformationProvided.h \ - HNBConfigurationInformationMissing.h \ - HNB-Location-Information.h \ - HNB-Identity.h \ - HNB-Identity-Info.h \ - IMEI.h \ - IMSI.h \ - IMSIDS41.h \ - IMSIESN.h \ - IP-Address.h \ - Ipv4Address.h \ - Ipv6Address.h \ - Iurh-Signalling-TNL-AddressList.h \ - LAC.h \ - LAI.h \ - MacroCoverageInformation.h \ - MacroCellID.h \ - MuxPortNumber.h \ - NeighbourCellIdentityList.h \ - NeighbourIdentity.h \ - NeighbourInfoList.h \ - AdditionalNeighbourInfoList.h \ - NeighbourInfoRequestList.h \ - NeighbourInfoRequestItem.h \ - PLMNidentity.h \ - PSC.h \ - PTMSI.h \ - PTMSIRAI.h \ - RAB-ID.h \ - RABList.h \ - RABListItem.h \ - RAC.h \ - RAI.h \ - Registration-Cause.h \ - RNC-ID.h \ - SAC.h \ - S-RNTIPrefix.h \ - TMSILAI.h \ - TMSIDS41.h \ - TransportInfo.h \ - TransportLayerAddress.h \ - Tunnel-Information.h \ - TypeOfError.h \ - UDP-Port-Number.h \ - UE-Capabilities.h \ - UTRANCellID.h \ - UE-Identity.h \ - Update-cause.h \ - URAIdentityList.h \ - URAIdentity.h \ - U-RNTI.h \ - UnknownU-RNTIIndication.h \ - HNBAP-PDU.h \ - InitiatingMessage.h \ - SuccessfulOutcome.h \ - UnsuccessfulOutcome.h \ - HNBRegisterRequest.h \ - HNBRegisterAccept.h \ - HNBRegisterReject.h \ - UERegisterRequest.h \ - UERegisterAccept.h \ - UERegisterReject.h \ - UEDe-Register.h \ - HNBDe-Register.h \ - ErrorIndication.h \ - CSGMembershipUpdate.h \ - TNLUpdateRequest.h \ - TNLUpdateResponse.h \ - TNLUpdateFailure.h \ - HNBConfigTransferRequest.h \ - HNBConfigTransferResponse.h \ - RelocationComplete.h \ - U-RNTIQueryRequest.h \ - U-RNTIQueryResponse.h \ - PrivateMessage.h \ - IE.h - -lib_LTLIBRARIES=libsomething.la -libsomething_la_SOURCES=$(ASN_MODULE_SOURCES) $(ASN_MODULE_HEADERS) - -# This file may be used as an input for make(3) -# Remove the lines below to convert it into a pure .am file -PKG_INCLUDES:=$(shell pkg-config --cflags libasn1c) -CFLAGS += -I. $(PKG_INCLUDES) -OBJS=${ASN_MODULE_SOURCES:.c=.o} - -all: libosmo-asn1-hnbap.a - -libosmo-asn1-hnbap.a: ${OBJS} - $(AR) r $@ $^ - -.SUFFIXES: -.SUFFIXES: .c .o - -.c.o: - $(CC) $(CFLAGS) -o $@ -c $< - -clean: - rm -f libosmo-asn1-hnbap.a - rm -f $(OBJS) - -regen: regenerate-from-asn1-source - -regenerate-from-asn1-source: - asn1c -gen-PER -fnative-types ../../asn1/hnbap/HNBAP-CommonDataTypes.asn ../../asn1/hnbap/HNBAP-Constants.asn ../../asn1/hnbap/HNBAP-IEs.asn ../../asn1/hnbap/HNBAP-PDU.asn - diff --git a/src/hnbap/Makefile.am b/src/hnbap/Makefile.am new file mode 100644 index 0000000..ec11926 --- /dev/null +++ b/src/hnbap/Makefile.am @@ -0,0 +1,240 @@ +ASN_MODULE_FILES= \ + Criticality.c \ + Presence.c \ + PrivateIE-ID.c \ + ProcedureCode.c \ + ProtocolIE-ID.c \ + TriggeringMessage.c \ + IE-Extensions.c \ + Access-stratum-release-indicator.c \ + AccessResult.c \ + AltitudeAndDirection.c \ + BackoffTimer.c \ + BindingID.c \ + Cause.c \ + CauseRadioNetwork.c \ + CauseTransport.c \ + CauseProtocol.c \ + CauseMisc.c \ + CellIdentity.c \ + CELL-FACHMobilitySupport.c \ + Context-ID.c \ + CriticalityDiagnostics.c \ + CriticalityDiagnostics-IE-List.c \ + CSG-ID.c \ + CSG-Capability.c \ + CSGMembershipStatus.c \ + CGI.c \ + CI.c \ + CN-DomainIndicator.c \ + ESN.c \ + GeographicalLocation.c \ + GeographicalCoordinates.c \ + GTP-TEI.c \ + HNBCapacity.c \ + HNB-Cell-Access-Mode.c \ + HNB-Cell-Identifier.c \ + HNB-GWResponse.c \ + HNB-RNL-Identity.c \ + HNBConfigInfo.c \ + ConfigurationInformation.c \ + HNBConfigurationInformationProvided.c \ + HNBConfigurationInformationMissing.c \ + HNB-Location-Information.c \ + HNB-Identity.c \ + HNB-Identity-Info.c \ + IMEI.c \ + IMSI.c \ + IMSIDS41.c \ + IMSIESN.c \ + IP-Address.c \ + Ipv4Address.c \ + Ipv6Address.c \ + Iurh-Signalling-TNL-AddressList.c \ + LAC.c \ + LAI.c \ + MacroCoverageInformation.c \ + MacroCellID.c \ + MuxPortNumber.c \ + NeighbourCellIdentityList.c \ + NeighbourIdentity.c \ + NeighbourInfoList.c \ + AdditionalNeighbourInfoList.c \ + NeighbourInfoRequestList.c \ + NeighbourInfoRequestItem.c \ + PLMNidentity.c \ + PSC.c \ + PTMSI.c \ + PTMSIRAI.c \ + RAB-ID.c \ + RABList.c \ + RABListItem.c \ + RAC.c \ + RAI.c \ + Registration-Cause.c \ + RNC-ID.c \ + SAC.c \ + S-RNTIPrefix.c \ + TMSILAI.c \ + TMSIDS41.c \ + TransportInfo.c \ + TransportLayerAddress.c \ + Tunnel-Information.c \ + TypeOfError.c \ + UDP-Port-Number.c \ + UE-Capabilities.c \ + UTRANCellID.c \ + UE-Identity.c \ + Update-cause.c \ + URAIdentityList.c \ + URAIdentity.c \ + U-RNTI.c \ + UnknownU-RNTIIndication.c \ + HNBAP-PDU.c \ + InitiatingMessage.c \ + SuccessfulOutcome.c \ + UnsuccessfulOutcome.c \ + HNBRegisterRequest.c \ + HNBRegisterAccept.c \ + HNBRegisterReject.c \ + UERegisterRequest.c \ + UERegisterAccept.c \ + UERegisterReject.c \ + UEDe-Register.c \ + HNBDe-Register.c \ + ErrorIndication.c \ + CSGMembershipUpdate.c \ + TNLUpdateRequest.c \ + TNLUpdateResponse.c \ + TNLUpdateFailure.c \ + HNBConfigTransferRequest.c \ + HNBConfigTransferResponse.c \ + RelocationComplete.c \ + U-RNTIQueryRequest.c \ + U-RNTIQueryResponse.c \ + PrivateMessage.c \ + IE.c + +ASN_MODULE_INC= \ + Criticality.h \ + Presence.h \ + PrivateIE-ID.h \ + ProcedureCode.h \ + ProtocolIE-ID.h \ + TriggeringMessage.h \ + IE-Extensions.h \ + Access-stratum-release-indicator.h \ + AccessResult.h \ + AltitudeAndDirection.h \ + BackoffTimer.h \ + BindingID.h \ + Cause.h \ + CauseRadioNetwork.h \ + CauseTransport.h \ + CauseProtocol.h \ + CauseMisc.h \ + CellIdentity.h \ + CELL-FACHMobilitySupport.h \ + Context-ID.h \ + CriticalityDiagnostics.h \ + CriticalityDiagnostics-IE-List.h \ + CSG-ID.h \ + CSG-Capability.h \ + CSGMembershipStatus.h \ + CGI.h \ + CI.h \ + CN-DomainIndicator.h \ + ESN.h \ + GeographicalLocation.h \ + GeographicalCoordinates.h \ + GTP-TEI.h \ + HNBCapacity.h \ + HNB-Cell-Access-Mode.h \ + HNB-Cell-Identifier.h \ + HNB-GWResponse.h \ + HNB-RNL-Identity.h \ + HNBConfigInfo.h \ + ConfigurationInformation.h \ + HNBConfigurationInformationProvided.h \ + HNBConfigurationInformationMissing.h \ + HNB-Location-Information.h \ + HNB-Identity.h \ + HNB-Identity-Info.h \ + IMEI.h \ + IMSI.h \ + IMSIDS41.h \ + IMSIESN.h \ + IP-Address.h \ + Ipv4Address.h \ + Ipv6Address.h \ + Iurh-Signalling-TNL-AddressList.h \ + LAC.h \ + LAI.h \ + MacroCoverageInformation.h \ + MacroCellID.h \ + MuxPortNumber.h \ + NeighbourCellIdentityList.h \ + NeighbourIdentity.h \ + NeighbourInfoList.h \ + AdditionalNeighbourInfoList.h \ + NeighbourInfoRequestList.h \ + NeighbourInfoRequestItem.h \ + PLMNidentity.h \ + PSC.h \ + PTMSI.h \ + PTMSIRAI.h \ + RAB-ID.h \ + RABList.h \ + RABListItem.h \ + RAC.h \ + RAI.h \ + Registration-Cause.h \ + RNC-ID.h \ + SAC.h \ + S-RNTIPrefix.h \ + TMSILAI.h \ + TMSIDS41.h \ + TransportInfo.h \ + TransportLayerAddress.h \ + Tunnel-Information.h \ + TypeOfError.h \ + UDP-Port-Number.h \ + UE-Capabilities.h \ + UTRANCellID.h \ + UE-Identity.h \ + Update-cause.h \ + URAIdentityList.h \ + URAIdentity.h \ + U-RNTI.h \ + UnknownU-RNTIIndication.h \ + HNBAP-PDU.h \ + InitiatingMessage.h \ + SuccessfulOutcome.h \ + UnsuccessfulOutcome.h \ + HNBRegisterRequest.h \ + HNBRegisterAccept.h \ + HNBRegisterReject.h \ + UERegisterRequest.h \ + UERegisterAccept.h \ + UERegisterReject.h \ + UEDe-Register.h \ + HNBDe-Register.h \ + ErrorIndication.h \ + CSGMembershipUpdate.h \ + TNLUpdateRequest.h \ + TNLUpdateResponse.h \ + TNLUpdateFailure.h \ + HNBConfigTransferRequest.h \ + HNBConfigTransferResponse.h \ + RelocationComplete.h \ + U-RNTIQueryRequest.h \ + U-RNTIQueryResponse.h \ + PrivateMessage.h \ + IE.h + +AM_CFLAGS = $(ASN1C_CFLAGS) -I. + +noinst_LIBRARIES=libosmo-asn1-hnbap.a +libosmo_asn1_hnbap_a_SOURCES=$(ASN_MODULE_FILES) +include_HEADERS = $(ASN_MODULE_INC) +libosmo_asn1_hnbap_a_LIBADD=$(ASN1C_LDADD) -- cgit v1.2.3