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

construct asn1 file list dynamically. Check presense.

parent a1063e18
Loading
Loading
Loading
Loading
+6 −4
Original line number Diff line number Diff line
@@ -3,9 +3,11 @@ sources := LibItsDenm_EncdecDeclarations.ttcn \
  LibItsDenm_Pixits.ttcn                       \
  LibItsDenm_Templates.ttcn                    \
  LibItsDenm_TypesAndValues.ttcn               \
  asn1/DENM_PDU_Descriptions.asn               \

ifeq (,$(ITS_CONTAINER))
   ITS_CONTAINER := defined
ifeq (,$(findstring DENM_PDU_Descriptions.asn ,$(all_sources)))
  sources +=  asn1/DENM_PDU_Descriptions.asn
endif

ifeq (,$(findstring ITS_Container.asn ,$(all_sources)))
  sources += asn1/cdd/ITS_Container.asn
endif