Commit 223c0a13 authored by Denis Filatov's avatar Denis Filatov

remove asn1 git submodules

parent a895d19a
asn1/LibIts/*
ttcn/LibCommon/*
ttcn/LibIts/*
\ No newline at end of file
[submodule "STF525_asn1/LibIts/CAM"]
path = asn1/LibIts/CAM
url = ../../LIBS/LibIts.git
branch = STF525
[submodule "STF525_asn1/LibIts/DENM"]
path = asn1/LibIts/DENM
url = ../../LIBS/LibIts.git
branch = STF525
[submodule "STF525_asn1/LibIts/ITS-Container"]
path = asn1/LibIts/ITS-Container
url = ../../LIBS/LibIts.git
branch = STF525
[submodule "STF525_asn1/LibIts/EV-RSR"]
path = asn1/LibIts/EV-RSR
url = ../../LIBS/LibIts.git
branch = STF525
[submodule "STF525_asn1/LibIts/EVCSN"]
path = asn1/LibIts/EVCSN
url = ../../LIBS/LibIts.git
branch = STF525
[submodule "STF525_asn1/LibIts/IS"]
path = asn1/LibIts/IS
url = ../../LIBS/LibIts.git
branch = STF525
[submodule "STF525_asn1/LibIts/Security"]
path = asn1/LibIts/Security
url = ../../LIBS/LibIts.git
branch = STF525
[submodule "STF525_ttcn/LibIts"]
path = ttcn/LibIts
url = ../../LIBS/LibIts.git
......
Subproject commit debeafe4827781b396ee613b01eedea5ea18f991
Subproject commit debeafe4827781b396ee613b01eedea5ea18f991
Subproject commit debeafe4827781b396ee613b01eedea5ea18f991
Subproject commit debeafe4827781b396ee613b01eedea5ea18f991
Subproject commit debeafe4827781b396ee613b01eedea5ea18f991
Subproject commit debeafe4827781b396ee613b01eedea5ea18f991
Subproject commit debeafe4827781b396ee613b01eedea5ea18f991
......@@ -8,26 +8,26 @@
# The name of the library
ASN_LIBRARY = libItsAsn.so
# ASN.1 files to be included in the library
ASN_FILES = LibIts/CAM/CAM.asn \
LibIts/DENM/DENM.asn \
LibIts/IS/ETSI_TS_103301/IVIM_PDU_Descriptions.asn \
LibIts/IS/ETSI_TS_103301/MAPEM_PDU_Descriptions.asn \
LibIts/IS/ETSI_TS_103301/SPATEM_PDU_Descriptions.asn \
LibIts/IS/ETSI_TS_103301/SREM_PDU_Descriptions.asn \
LibIts/IS/ETSI_TS_103301/SSEM_PDU_Descriptions.asn \
LibIts/IS/ISO_TS_14816/AVIAEINumberingAndDataStructures.asn \
LibIts/IS/ISO_TS_14906/EfcDsrcApplication.asn \
LibIts/IS/ISO_TS_14906/EfcDsrcGeneric.asn \
LibIts/IS/ISO_TS_17419/CITSapplMgmtIDs.asn \
LibIts/IS/ISO_TS_19091/original/AddGrpC.asn \
LibIts/IS/ISO_TS_19091/original/DSRC.asn \
LibIts/IS/ISO_TS_19091/original/REGION.asn \
LibIts/IS/ISO_TS_19321/IVI.asn \
LibIts/IS/ISO_TS_24534-3/ElectronicRegistrationIdentificationVehicleDataModule.asn \
LibIts/ITS-Container/ITS_Container.asn \
LibIts/Security/1609Dot2/IEEE1609dot2.asn \
LibIts/Security/1609Dot2/IEEE1609dot2BaseTypes.asn \
LibIts/Security/EtsiTs103097Module.asn
ASN_FILES = CAM/CAM.asn \
DENM/DENM.asn \
IS/ETSI_TS_103301/IVIM_PDU_Descriptions.asn \
IS/ETSI_TS_103301/MAPEM_PDU_Descriptions.asn \
IS/ETSI_TS_103301/SPATEM_PDU_Descriptions.asn \
IS/ETSI_TS_103301/SREM_PDU_Descriptions.asn \
IS/ETSI_TS_103301/SSEM_PDU_Descriptions.asn \
IS/ISO_TS_14816/AVIAEINumberingAndDataStructures.asn \
IS/ISO_TS_14906/EfcDsrcApplication.asn \
IS/ISO_TS_14906/EfcDsrcGeneric.asn \
IS/ISO_TS_17419/CITSapplMgmtIDs.asn \
IS/ISO_TS_19091/original/AddGrpC.asn \
IS/ISO_TS_19091/original/DSRC.asn \
IS/ISO_TS_19091/original/REGION.asn \
IS/ISO_TS_19321/IVI.asn \
IS/ISO_TS_24534-3/ElectronicRegistrationIdentificationVehicleDataModule.asn \
ITS-Container/ITS_Container.asn \
Security/1609Dot2/IEEE1609dot2.asn \
Security/1609Dot2/IEEE1609dot2BaseTypes.asn \
Security/EtsiTs103097Module.asn
# PDUs
PDU = CAM DENM MAPEM SPATEM SREM SSEM IVIM EtsiTs103097Data EtsiTs103097Certificate
......@@ -45,43 +45,6 @@ ASN1C:=$(ASN1C_PATH)/asn1c/asn1c.exe -S $(ASN1C_PATH)/skeletons
endif
endif
ifeq (,$(ASN_DIR))
##########################################################
# Build path for the library
BIN_DIR := ../bin/asn1
# Relative path from the build path to the directory with
# ASN.1 files
ASN_DIR := ../../asn1
.PHONY: FORCE
all: $(BIN_DIR)/../$(ASN_LIBRARY)
clean:
rm -rf $(BIN_DIR)
$(BIN_DIR)/../$(ASN_LIBRARY): $(BIN_DIR)/Makefile
make -C $(BIN_DIR) all
$(BIN_DIR):
mkdir -p $@
$(BIN_DIR)/Makefile: $(BIN_DIR) Makefile
echo HOME=$(HOME)
echo ASN_DIR=$(ASN_DIR) > $@
ifneq (, $(findstring yann,$(HOME)))
echo ASN1C_PATH = $(HOME)/frameworks/asn1c >> $@
endif
ifneq (, $(findstring filatov,$(HOME)))
echo ASN1C_PATH = C:/Users/filatov/Work/asn1c >> $@
endif
cat Makefile >>$@
##########################################################
else
##########################################################
# This part is executed within the BIN_DIR directory to
# override variables from the Makefile.am.libasncodec
# generated by asn1c
LIB_MAKEFILE=Makefile.am.libasncodec
include $(LIB_MAKEFILE)
OBJS = ${ASN_MODULE_SRCS:.c=.o}
......@@ -92,7 +55,7 @@ ASN_CONVERTER_SOURCES := \
CONVERTER_OBJS=${ASN_CONVERTER_SOURCES:.c=.o}
CFLAGS += $(ASN_MODULE_CFLAGS) -DPDU=CAM -DASN_PDU_COLLECTION -fPIC -I.
all: Makefile $(CONVERTER)
all: $(CONVERTER)
$(LIB_MAKEFILE): $(addprefix $(ASN_DIR)/, $(ASN_FILES))
$(ASN1C) -gen-PER -gen-OER $(addprefix -pdu=,$(PDU)) -fcompound-names $^
......@@ -117,8 +80,4 @@ regen: clear-asn1c $(LIB_MAKEFILE)
clear-asn1c:
rm -f $(LIB_MAKEFILE)
Makefile: $(ASN_DIR)/Makefile
echo ASN_DIR=$(ASN_DIR) > $@
cat $< >>$@
##########################################################
endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment