Commit 24a0b4ca authored by ASN.1 Documenter's avatar ASN.1 Documenter
Browse files

AtsMapemSpatem and AtsRtcmem

parent 5e429bf2
......@@ -29,7 +29,7 @@ all_includes := $(TTCN3_DIR)/include $(TTCN3_DIR)/src $(TOPDIR)/ccsrc/Framework
defines := TITAN_RUNTIME_2 _NO_SOFTLINKS_ $(ATS)
libs := $(TTCN3_DIR)/lib/libttcn3-rt2-parallel.a -lstdc++fs
ifneq (,$(windir))
ifeq (Windows_NT,$(OS))
# Silence linker warnings.
LDFLAGS += -Wl,--enable-auto-import,--enable-runtime-pseudo-reloc
defines += WIN32
......@@ -91,8 +91,8 @@ echo: echo_sources
@echo -e "defines: $(addsuffix \n, $(defines))"
clean:
rm -f $(outdir)/$(ATS)$(EXE) $(outdir)/*.o $(outdir)/*.cc $(outdir)/*.hh $(outdir)/.generate $(outdir)/libItsAsn.so
rm -f $(outdir)/asn1/*.so $(outdir)/asn1/*.o $(outdir)/asn1/*.c $(outdir)/asn1/*.h $(outdir)/asn1/Makefile.am.libasncodec
rm -f $(outdir)/$(ATS)$(EXE) $(gen_objects) $(gen_sources) $(gen_headers) $(cc_objects) $(outdir)/$(ATS)/.generate $(outdir)/libItsAsn.so
# rm -f $(outdir)/asn1/*.so $(outdir)/asn1/*.o $(outdir)/asn1/*.c $(outdir)/asn1/*.h $(outdir)/asn1/Makefile.am.libasncodec
regen: force_regen $(outdir)/.generate
force_regen:
......@@ -114,9 +114,9 @@ $(cc_objects) : $(outdir)/%.o : %.cc
#$(gen_sources):
# $(TTCN3_DIR)/bin/compiler -n -e -L -R -U none -o $(outdir) $(tt_sources)
$(gen_sources): $(outdir)/.generate
$(gen_sources): $(outdir)/.generate-$(ATS)
$(outdir)/.generate: Makefile $(tt_sources)
$(outdir)/.generate-$(ATS): Makefile $(tt_sources)
$(TTCN3_DIR)/bin/compiler -n -e -L -R -U none -o $(outdir) $(tt_sources)
touch $@
......
......@@ -52,8 +52,8 @@ ASN1C:=asn1c
#ASN1C_PATH =
ifneq (, $(ASN1C_PATH))
OS=$(shell uname)
ifneq (,$(windir))
# OS=$(shell uname)
ifneq (Windows_NT,$(OS))
ASN1C:=$(ASN1C_PATH)/asn1c/asn1c -S $(ASN1C_PATH)/skeletons
else
ASN1C:=$(ASN1C_PATH)/asn1c/asn1c.exe -S $(ASN1C_PATH)/skeletons
......
......@@ -10,18 +10,15 @@ sources := \
# LibItsSremSsem_Encdec.cc
ifeq (AtsCAM, $(ATS))
sources += \
LibItsCam_Encdec.cc
sources += LibItsCam_Encdec.cc
endif
ifeq (AtsDENM, $(ATS))
sources += \
LibItsDenm_Encdec.cc
sources += LibItsDenm_Encdec.cc
endif
ifeq (AtsIVIM, $(ATS))
sources += \
LibItsIvim_Encdec.cc
sources += LibItsIvim_Encdec.cc
endif
ifeq (AtsRSUsSimulator, $(ATS))
......@@ -42,6 +39,21 @@ sources += \
LibItsDenm_Encdec.cc
endif
ifeq (AtsSremSsem, $(ATS))
sources += LibItsSremSsem_Encdec.cc
endif
ifeq (AtsMapemSpatem, $(ATS))
sources += LibItsMapemSpatem_Encdec.cc
endif
ifeq (AtsRtcmem, $(ATS))
sources += LibItsRtcmem_Encdec.cc
endif
ifeq (AtsPki, $(ATS))
sources += LibItsPki_Encdec.cc
endif
# LibItsPki_Encdec.cc
# LibItsEvcsn_Encdec.cc \
......@@ -22,6 +22,9 @@
#ifdef LibItsSremSsem__TestSystem_HH
#include "SremSsem_ports/AdapterControlPort_SremSsem.hh"
#endif
#ifdef LibItsRtcmem__TestSystem_HH
#include "Rtcmem_ports/AdapterControlPort_Rtcmem.hh"
#endif
#ifdef LibItsV2G__TestSystem_HH
#include "V2G_ports/AdapterControlPort_V2G.hh"
#endif
......@@ -43,6 +46,9 @@
#ifdef LibItsSremSsem__TestSystem_HH
#include "AdapterControlPort_SremSsem.hh"
#endif
#ifdef LibItsRtcmem__TestSystem_HH
#include "AdapterControlPort_Rtcmem.hh"
#endif
#ifdef LibItsGeoNetworking__TestSystem_HH
#include "AdapterControlPort_GN.hh"
#endif
......
......@@ -3,6 +3,7 @@
#include "RtcmemLayer.hh"
#include "AdapterControlPort_Rtcmem.hh"
//=============================================================================
namespace LibItsRtcmem__TestSystem {
......
#ifndef AdapterControlPort_Rtcmem_HH
#define AdapterControlPort_Rtcmem_HH
#include "LibItsSremSsem_TestSystem.hh"
//=============================================================================
#include "LibItsRtcmem_TestSystem.hh"
......@@ -30,3 +35,5 @@ protected:
};
} // end of namespace
#endif
#include "UpperTesterRtcmemFactory.hh"
#include "loggers.hh"
#include "UpperTesterPort_Rtcmem.hh"
//=============================================================================
namespace LibItsRtcmem__TestSystem {
......
#ifndef UpperTesterPort_Rtcmem_HH
#define UpperTesterPort_Rtcmem_HH
//=============================================================================
#include "LibItsRtcmem_TestSystem.hh"
namespace LibItsRtcmem__TestSystem {
......@@ -42,3 +45,5 @@ protected:
};
} /* end of namespace */
#endif
sources := AdapterControlPort_Rtcmem.cc AdapterControlPort_Rtcmem.hh RtcmemPort.cc RtcmemPort.hh UpperTesterPort_Rtcmem.cc UpperTesterPort_Rtcmem.hh
includes := .
......@@ -32,6 +32,24 @@
#include "DENM_ports/UpperTesterPort_DENM.hh"
#endif
#ifdef AtsSremSsem
#include "GN_ports/UpperTesterPort_GN.hh"
#include "BTP_ports/UpperTesterPort_BTP.hh"
#include "SremSsem_ports/UpperTesterPort_SremSsem.hh"
#endif
#ifdef AtsMapemSpatem
#include "GN_ports/UpperTesterPort_GN.hh"
#include "BTP_ports/UpperTesterPort_BTP.hh"
#include "MapemSpatem_ports/UpperTesterPort_MapemSpatem.hh"
#endif
#ifdef AtsRtcmem
#include "GN_ports/UpperTesterPort_GN.hh"
#include "BTP_ports/UpperTesterPort_BTP.hh"
#include "Rtcmem_ports/UpperTesterPort_Rtcmem.hh"
#endif
#else //_NO_SOFTLINKS_
#ifdef AtsGeoNetworking
......@@ -62,6 +80,24 @@
#include "UpperTesterPort_DENM.hh"
#endif
#ifdef AtsSremSsem
#include "UpperTesterPort_GN.hh"
#include "UpperTesterPort_BTP.hh"
#include "UpperTesterPort_SremSsem.hh"
#endif
#ifdef AtsMapemSpatem
#include "UpperTesterPort_GN.hh"
#include "UpperTesterPort_BTP.hh"
#include "UpperTesterPort_MapemSpatem.hh"
#endif
#ifdef AtsRtcmem
#include "UpperTesterPort_GN.hh"
#include "UpperTesterPort_BTP.hh"
#include "UpperTesterPort_Rtcmem.hh"
#endif
#endif//_NO_SOFTLINKS_
#endif
suite := AtsMapemSpatem
sources := \
ItsMapem_TestCases.ttcn \
ItsMapem_TpFunctions.ttcn \
ItsMapemSpatem_TestControl.ttcn \
ItsSpatem_TestCases.ttcn \
ItsSpatem_TpFunctions.ttcn
modules := ../LibCommon \
../LibIts \
../LibIts/asn1/CAM \
../LibIts/asn1/IS \
../LibIts/asn1/Security \
../LibIts/ttcn/MapemSpatem \
../LibIts/ttcn/Security \
../LibIts/ttcn/GeoNetworking \
../LibIts/ttcn/Ipv6OverGeoNetworking \
../LibIts/ttcn/BTP \
../../ccsrc/Ports/LibIts_ports \
../../ccsrc/Ports/LibIts_ports/MapemSpatem_ports \
../../ccsrc/Ports/LibIts_ports/GN_ports \
../../ccsrc/Ports/LibIts_ports/IPv6oGN_ports \
../../ccsrc/Ports/LibIts_ports/BTP_ports \
../../ccsrc/EncDec \
../../ccsrc/Framework \
../../ccsrc/Externals \
../../ccsrc/loggers \
../../ccsrc/Asn1c \
../../ccsrc/Protocols/MapemSpatem \
../../ccsrc/Protocols/GeoNetworking \
../../ccsrc/Protocols/BTP \
../../ccsrc/Protocols/Pcap \
../../ccsrc/Protocols/UpperTester \
../../ccsrc/Protocols/Security \
# ../../ccsrc/Protocols/UDP \
# ../../ccsrc/Protocols/Http \
# ../../ccsrc/Protocols/DENM \
# ../../ccsrc/Protocols/IVIM \
suite := AtsRtcmem
sources := \
ItsRtcmem_TestCases.ttcn \
ItsRtcmem_TestControl.ttcn \
ItsRtcmem_TpFunctions.ttcn
modules := ../LibCommon \
../LibIts \
../LibIts/asn1/CAM \
../LibIts/asn1/IS \
../LibIts/asn1/Security \
../LibIts/ttcn/Rtcmem \
../LibIts/ttcn/Security \
../LibIts/ttcn/GeoNetworking \
../LibIts/ttcn/Ipv6OverGeoNetworking \
../LibIts/ttcn/BTP \
../../ccsrc/Ports/LibIts_ports \
../../ccsrc/Ports/LibIts_ports/Rtcmem_ports \
../../ccsrc/Ports/LibIts_ports/GN_ports \
../../ccsrc/Ports/LibIts_ports/IPv6oGN_ports \
../../ccsrc/Ports/LibIts_ports/BTP_ports \
../../ccsrc/EncDec \
../../ccsrc/Framework \
../../ccsrc/Externals \
../../ccsrc/loggers \
../../ccsrc/Asn1c \
../../ccsrc/Protocols/Rtcmem \
../../ccsrc/Protocols/GeoNetworking \
../../ccsrc/Protocols/BTP \
../../ccsrc/Protocols/Pcap \
../../ccsrc/Protocols/UpperTester \
../../ccsrc/Protocols/Security \
# ../../ccsrc/Protocols/UDP \
# ../../ccsrc/Protocols/Http \
# ../../ccsrc/Protocols/DENM \
# ../../ccsrc/Protocols/IVIM \
suite := AtsSremSsem
sources := \
ItsSrem_TestCases.ttcn \
ItsSrem_TpFunctions.ttcn \
ItsSremSsem_TestControl.ttcn \
ItsSsem_TestCases.ttcn \
ItsSsem_TpFunctions.ttcn
modules := ../LibCommon \
../LibIts \
../LibIts/asn1/CAM \
../LibIts/asn1/IS \
../LibIts/asn1/Security \
../LibIts/ttcn/SremSsem \
../LibIts/ttcn/Security \
../LibIts/ttcn/GeoNetworking \
../LibIts/ttcn/Ipv6OverGeoNetworking \
../LibIts/ttcn/BTP \
../../ccsrc/Ports/LibIts_ports \
../../ccsrc/Ports/LibIts_ports/SremSsem_ports \
../../ccsrc/Ports/LibIts_ports/GN_ports \
../../ccsrc/Ports/LibIts_ports/IPv6oGN_ports \
../../ccsrc/Ports/LibIts_ports/BTP_ports \
../../ccsrc/EncDec \
../../ccsrc/Framework \
../../ccsrc/Externals \
../../ccsrc/loggers \
../../ccsrc/Asn1c \
../../ccsrc/Protocols/SremSsem \
../../ccsrc/Protocols/GeoNetworking \
../../ccsrc/Protocols/BTP \
../../ccsrc/Protocols/Pcap \
../../ccsrc/Protocols/UpperTester \
../../ccsrc/Protocols/Security \
# ../../ccsrc/Protocols/UDP \
# ../../ccsrc/Protocols/Http \
# ../../ccsrc/Protocols/DENM \
# ../../ccsrc/Protocols/IVIM \
# ../../ccsrc/Protocols/MapemSpatem \
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