Commit 7454bd4d authored by Maxime Perrotin's avatar Maxime Perrotin

Fix name issues

parent e31b2eac
UNAME := $(shell uname)
CC=gcc
exec = taste-aadl-parser
exec = aadl_parser
all: build
......@@ -27,10 +27,11 @@ ifeq ($(UNAME), Linux)
fi
endif
ADA_PROJECT_PATH=`ocarina-config --prefix`/lib/gnat:$$ADA_PROJECT_PATH \
$(gnatpath)gprbuild -x -g $(exec) -p -P aadl-parser.gpr -XBUILD="debug"
$(gnatpath)gprbuild -x -g $(exec) -p -P aadl_parser.gpr -XBUILD="debug"
install:
$(MAKE)
mv aadl_parser taste-aadl-parser
cp taste-aadl-parser `ocarina-config --prefix`/bin/
clean:
......
with "ocarina";
-- with "templates_parser"; -- from libtemplates-parser11.10.1-dev
project AADL_Parser is
for Source_Dirs use ("ada", "c", "include");
for Object_Dir use "tmpBuild";
for Exec_Dir use ".";
for Main use ("aadl_parser.adb");
for Languages use ("Ada", "C");
package Builder is
for Default_Switches ("ada") use ("-m");
end Builder;
package binder is
for default_switches ("Ada") use ("-E", "-t", "-static");
end binder;
package Compiler is
for Default_Switches ("Ada") use
("-g",
"-Ada2012",
"-gnatf",
"-gnaty",
"-gnatwa",
"-gnatoa",
"-gnatg",
"-fstack-check");
for Default_Switches ("C") use
("-g",
"-W",
"-g3",
"-Wall",
"-Werror",
"-Wextra",
"-Werror=format-security",
"-Wconversion",
"-Wno-deprecated",
"-Winit-self",
"-Wsign-conversion",
"-Wredundant-decls",
"-Wvla",
"-Wshadow",
"-Wlogical-op",
"-Wmissing-include-dirs",
"-Winit-self",
"-Wpointer-arith",
"-Wcast-qual",
"-Wcast-align",
"-Wno-error=old-style-cast",
"-Wundef",
"-std=c11",
"-pedantic");
end Compiler;
end AADL_Parser;
package Parser_Version is
Parser_Release : constant String :=
"974eb84 ; Commit Date: Wed Jul 5 12:13:06 2017 ";
"e31b2ea ; Commit Date: Wed Jul 5 12:17:07 2017 ";
end Parser_Version;
\ No newline at end of file
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