Commit 6ec31974 authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Draft other makefiles

parent a3b8f0c4
@@-- The following tags are available in this template:
@@--
@@-- @_Name_@ : The function name
@@-- @_ASN1_Files_@ : List of all ASN.1 files
@@-- @_ASN1_Modules_@ : List of all ASN.1 modules
all: compile-linux
clean:
rm -rf obj
compile-linux:
mkdir -p obj && cd obj && gcc -c *.c
...@@ -19,10 +19,10 @@ dataviews: ...@@ -19,10 +19,10 @@ dataviews:
@@TABLE@@ @@TABLE@@
@@IF@@ @_Unique_Languages_@ /= "GUI" and @_Unique_Languages_@ /= "SDL" @@IF@@ @_Unique_Languages_@ /= "GUI" and @_Unique_Languages_@ /= "SDL"
@@IF@@ @_Unique_Languages_@ = "Ada" or @_Unique_Languages_@ = "SDL" @@IF@@ @_Unique_Languages_@ = "Ada" or @_Unique_Languages_@ = "SDL"
mkdir dataview/Ada && asn1.exe -Ada -typePrefix asn1Scc -o dataview/Ada dataview/dataview-uniq.asn mkdir dataview/Ada && asn1.exe -Ada -typePrefix asn1Scc -o dataview/Ada dataview/dataview-uniq.asn || :
cd dataview/Ada && rm -f gnat.cfg GPS_project.gpr IgnoredExaminerWarnings.wrn runSpark.sh cd dataview/Ada && rm -f gnat.cfg GPS_project.gpr IgnoredExaminerWarnings.wrn runSpark.sh
@@ELSIF@@ @_Unique_Languages_@ = "C" or @_Unique_Languages_@ = "CPP" @@ELSIF@@ @_Unique_Languages_@ = "C" or @_Unique_Languages_@ = "CPP"
mkdir dataview/C && asn1.exe -c -typePrefix asn1Scc -o dataview/@_Unique_Languages_@ dataview/dataview-uniq.asn mkdir dataview/C && asn1.exe -c -typePrefix asn1Scc -o dataview/@_Unique_Languages_@ dataview/dataview-uniq.asn || :
@@ELSE@@ @@ELSE@@
mkdir -p dataview/@_Unique_Languages_@ mkdir -p dataview/@_Unique_Languages_@
asn2dataModel -o dataview/@_Unique_Languages_@ -to@_Unique_Languages_@ dataview/dataview-uniq.asn asn2dataModel -o dataview/@_Unique_Languages_@ -to@_Unique_Languages_@ dataview/dataview-uniq.asn
......
@@-- The following tags are available in this template:
@@--
@@-- @_Name_@ : The function name
@@-- @_ASN1_Files_@ : List of all ASN.1 files
@@-- @_ASN1_Modules_@ : List of all ASN.1 modules
all: compile-linux
clean:
rm -rf obj
compile-linux:
mkdir -p obj && cd obj && opengeode --toAda ../src/@_LOWER:Name_@.pr ../src/system_structure.pr && \
ADA_INCLUDE_PATH=../../../dataview/Ada gnat make @_LOWER:Name_@
Supports Markdown
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