Commit e73e99c7 authored by Maxime Perrotin's avatar Maxime Perrotin

Rename tool to kazoo

parent c15d7ab4
aadl_parser
kazoo
obj/
templates-parser/
src/*.swp
......
......@@ -2,7 +2,7 @@ UNAME := $(shell uname)
ARCH := $(shell getconf LONG_BIT)
CC=gcc
exec = aadl_parser
exec = kazoo
all: build
......@@ -36,12 +36,11 @@ ifeq ($(UNAME), Linux)
endif
@#[ $(ARCH) == 64 ] && EXTRAFLAG="--target=x86_64-linux" ;
OCARINA_PATH=`ocarina-config --prefix` \
$(gnatpath)gprbuild -j0 -x -g $(exec) -p -P aadl_parser.gpr -XBUILD="debug" $$EXTRAFLAG
$(gnatpath)gprbuild -j0 -x -g $(exec) -p -P kazoo.gpr -XBUILD="debug" $$EXTRAFLAG
install:
$(MAKE)
mv aadl_parser taste-aadl-parser
cp taste-aadl-parser `ocarina-config --prefix`/bin/
cp kazoo `ocarina-config --prefix`/bin/
edit:
OCARINA_PATH=`ocarina-config --prefix` gps
......
with "ocarina/ocarina";
with "templates-parser/templates_parser";
project AADL_Parser is
project Kazoo is
for Source_Dirs use ("src");
for Object_Dir use "obj";
for Exec_Dir use ".";
for Main use ("aadl_parser.adb");
for Main use ("kazoo.adb");
for Languages use ("Ada");
package Builder is
......@@ -30,5 +30,5 @@ project AADL_Parser is
-- "-no-pie");
end Compiler;
end AADL_Parser;
end Kazoo;
......@@ -5,7 +5,7 @@ with GNAT.OS_Lib,
use TASTE.AADL_Parser,
TASTE.Model_Transformations;
procedure AADL_Parser is
procedure Kazoo is
begin
declare
Model : constant TASTE_Model := Parse_Project;
......@@ -22,4 +22,4 @@ begin
exception
when TASTE.Quit_TASTE =>
GNAT.OS_Lib.OS_Exit (1);
end AADL_Parser;
end Kazoo;
......@@ -35,10 +35,10 @@ package body TASTE.Parser_Utils is
procedure Banner is
The_Banner : constant String :=
Yellow_Bold & "TASTE AADL Parser" & No_Color & " (Version "
Yellow_Bold & "TASTE/Kazoo" & No_Color & " (Version "
& TASTE.Parser_Version.Parser_Release & ")"
& ASCII.LF & ASCII.CR & White_Bold
& "Copyright (C) European Space Agency"
& "Copyright (C) Maxime Perrotin / European Space Agency"
& ASCII.LF & ASCII.CR & No_Color
& "Based on " & TASTE.Parser_Version.Ocarina_Version;
begin
......
AADL_PARSER=../../aadl_parser
KAZOO=../../kazoo
all: test-parse
test-parse: clean
$(AADL_PARSER) --gw \
$(KAZOO) --gw \
-o output \
--glue \
--debug \
......@@ -13,7 +13,7 @@ test-parse: clean
../common/ocarina_components.aadl
gdb: clean
gdb --args $(AADL_PARSER) --gw \
gdb --args $(KAZOO) --gw \
-o output \
--glue \
--debug \
......
AADL_PARSER=../../aadl_parser
KAZOO=../../kazoo
all: test-parse
test-parse:
$(AADL_PARSER) --glue -i interfaceview.aadl \
$(KAZOO) --glue -i interfaceview.aadl \
-c deploymentview.aadl \
-d dataview.aadl \
../common/ocarina_components.aadl \
......
AADL_PARSER=../../aadl_parser
KAZOO=../../kazoo
all: test-parse
test-parse: clean
$(AADL_PARSER) --gw \
$(KAZOO) --gw \
-o output \
--glue \
--debug \
......
AADL_PARSER=../../aadl_parser
KAZOO=../../kazoo
all: test-parse
test-parse: clean
$(AADL_PARSER) --gw \
$(KAZOO) --gw \
-o output \
--glue \
--debug \
......
AADL_PARSER=../../aadl_parser
KAZOO=../../kazoo
all: test-parse
test-parse: clean
$(AADL_PARSER) --gw \
$(KAZOO) --gw \
-o output \
--glue \
--debug \
......
AADL_PARSER=../../aadl_parser
KAZOO=../../kazoo
all: test-parse
test-parse: clean
$(AADL_PARSER) --gw \
$(KAZOO) --gw \
-o output \
--glue \
--debug \
......
AADL_PARSER=../../aadl_parser
KAZOO=../../kazoo
all: test-parse
test-parse: clean
$(AADL_PARSER) --gw \
$(KAZOO) --gw \
-o output \
--glue \
--debug \
......
AADL_PARSER=../../aadl_parser
KAZOO=../../kazoo
all: test-parse
test-parse: clean
$(AADL_PARSER) --gw \
$(KAZOO) --gw \
-o output \
--glue \
--debug \
......
AADL_PARSER=../../aadl_parser
KAZOO=../../kazoo
all: test-parse
test-parse: clean
$(AADL_PARSER) --gw \
$(KAZOO) --gw \
-o output \
--glue \
--debug \
......
AADL_PARSER=../../aadl_parser
KAZOO=../../kazoo
all: test-parse
test-parse: clean
$(AADL_PARSER) --gw \
$(KAZOO) --gw \
-o output \
--glue \
--debug \
......
AADL_PARSER=../../aadl_parser
KAZOO=../../kazoo
all: test-parse
test-parse: clean
$(AADL_PARSER) --gw \
$(KAZOO) --gw \
-o output \
--glue \
--debug \
......
AADL_PARSER=../../aadl_parser
KAZOO=../../kazoo
all: test-parse
test-parse: clean
$(AADL_PARSER) --gw \
$(KAZOO) --gw \
-o output \
--glue \
--debug \
......
AADL_PARSER=../../aadl_parser
KAZOO=../../kazoo
all: test-parse
cd output && make
generate:
$(AADL_PARSER) --gw \
$(KAZOO) --gw \
-o output \
--glue \
--debug \
......
AADL_PARSER=../../aadl_parser
KAZOO=../../kazoo
all: test-parse
test-parse: clean
$(AADL_PARSER) --gw \
$(KAZOO) --gw \
-o output \
--glue \
--debug \
......
AADL_PARSER=../../aadl_parser
KAZOO=../../kazoo
all: test-parse
test-parse: clean
$(AADL_PARSER) --gw \
$(KAZOO) --gw \
-o output \
--glue \
--debug \
......@@ -13,7 +13,7 @@ test-parse: clean
../common/ocarina_components.aadl && cd output && time make dataviews
gdb: clean
gdb --args $(AADL_PARSER) --gw \
gdb --args $(KAZOO) --gw \
-o output \
--glue \
--debug \
......
AADL_PARSER=../../aadl_parser
KAZOO=../../kazoo
all: test-parse
cd output && make
test-parse: clean
$(AADL_PARSER) --gw \
$(KAZOO) --gw \
-o output \
--glue \
--debug \
......
AADL_PARSER=../../aadl_parser
KAZOO=../../kazoo
all: test-parse
test-parse: clean
$(AADL_PARSER) -o output -i InterfaceView.aadl -d DataView.aadl
$(KAZOO) -o output -i InterfaceView.aadl -d DataView.aadl
clean:
......
AADL_PARSER=../../aadl_parser
KAZOO=../../kazoo
all: test-parse
test-parse:
$(AADL_PARSER) --gw \
$(KAZOO) --gw \
--glue \
-i InterfaceView.aadl \
-c DeploymentView.aadl \
......
AADL_PARSER=../../aadl_parser
KAZOO=../../kazoo
all: test-parse
test-parse:
$(AADL_PARSER) --gw \
$(KAZOO) --gw \
--glue \
-i InterfaceView.aadl \
-c DeploymentView.aadl \
......
AADL_PARSER=../../aadl_parser
KAZOO=../../kazoo
all: test-parse
cd output && make
test-parse: clean
$(AADL_PARSER) --gw \
$(KAZOO) --gw \
--debug \
-o output
......
AADL_PARSER=../../aadl_parser
KAZOO=../../kazoo
all: test-parse
test-parse: clean
$(AADL_PARSER) --check-dataview \
$(KAZOO) --check-dataview \
2>&1 | tail -2 | diff expected -
clean:
......
AADL_PARSER=../../aadl_parser
KAZOO=../../kazoo
all: test-parse
cd output && make
test-parse: clean
$(AADL_PARSER) --gw \
$(KAZOO) --gw \
-o output \
--glue \
--debug \
......
AADL_PARSER=../../aadl_parser
KAZOO=../../kazoo
all: test-parse
test-parse: clean
$(AADL_PARSER) --gw \
$(KAZOO) --gw \
-o output \
--glue \
--debug \
......
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