Commit 793e7d4f authored by Maxime Perrotin's avatar Maxime Perrotin

Fix makefile template

parent 5013ce0c
......@@ -14,10 +14,13 @@
@@-- Interface_View, Deployment_View, Data_View, Binary_Path, Check_Data_View,
@@-- Output_Dir, Skeletons, Glue, Use_POHIC, Timer_Resolution, Debug_Flag,
@@-- No_Stdlib_Flag, Timer_Resolution, Other_Files (list of aadl files)
@@INLINE@@
@@INLINE()( )()@@
all:
@@TABLE@@
@_LOWER:Node_Names_@
@@END_TABLE@@
@@END_INLINE@@
@@TABLE@@
make -C @_Node_Names_@ -f Makefile.@_Node_Names_@
@@END_TABLE@@
......
......@@ -26,7 +26,9 @@ dataviews:
@@INLINE( )( )(\n)@@
for f in
@@TABLE@@
@@IF@@ not @_Is_Type_@
@_LOWER:Function_Names_@/@_Language_@/wrappers/@_LOWER:Function_Names_@_system_config.h
@@END_IF@@
@@END_TABLE@@
; do cat $$f; echo; done > system_config.h
@@END_INLINE@@
......@@ -35,7 +37,9 @@ dataviews:
PROJECT_CACHE=dataview/.cache asn2aadlPlus dataview/dataview-uniq.asn dataview/dataview_aadlv1.aadl
@@-- For each function generate the glue code from DMT based on the dataview
@@TABLE@@
aadl2glueC -o @_LOWER:Function_Names_@/@_Language_@/wrappers dataview/dataview_aadlv1.aadl @_LOWER:Function_Names_@/@_Language_@/wrappers/@_LOWER:Function_Names_@_mini_cv.aadl
@@IF@@ not @_Is_Type_@
PROJECT_CACHE=dataview/.cache aadl2glueC -o @_LOWER:Function_Names_@/@_Language_@/wrappers dataview/dataview_aadlv1.aadl @_LOWER:Function_Names_@/@_Language_@/wrappers/@_LOWER:Function_Names_@_mini_cv.aadl
@@END_IF@@
@@END_TABLE@@
@@-- Then generate Dataviews once per target language
@@TABLE@@
......
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