Commit e73e99c7 authored by Maxime Perrotin's avatar Maxime Perrotin

Rename tool to kazoo

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