Commit f590671d authored by claes's avatar claes

*** empty log message ***

parent dc63b5e4
bcomp/doc/orm/src/orm_basefan_og.gif

15.5 KB | W: | H:

bcomp/doc/orm/src/orm_basefan_og.gif

15.5 KB | W: | H:

bcomp/doc/orm/src/orm_basefan_og.gif
bcomp/doc/orm/src/orm_basefan_og.gif
bcomp/doc/orm/src/orm_basefan_og.gif
bcomp/doc/orm/src/orm_basefan_og.gif
  • 2-up
  • Swipe
  • Onion skin
...@@ -22,18 +22,18 @@ foldersTree = gFld("<b>Object Reference Manual</b>", "orm_intro.html") ...@@ -22,18 +22,18 @@ foldersTree = gFld("<b>Object Reference Manual</b>", "orm_intro.html")
aux1 = insFld(foldersTree, gFld("<b>pwrb</b>", "pwrb_index.html")) aux1 = insFld(foldersTree, gFld("<b>pwrb</b>", "pwrb_index.html"))
pwrb(aux1) pwrb(aux1)
aux1 = insFld(foldersTree, gFld("<b>nmps</b>", "nmps_index.html")) aux1 = insFld(foldersTree, gFld("<b>BaseComponent</b>", "basecomponent_index.html"))
BaseComponent(aux1)
aux1 = insFld(foldersTree, gFld("<b>NMps</b>", "nmps_index.html"))
NMps(aux1) NMps(aux1)
aux1 = insFld(foldersTree, gFld("<b>ssab</b>", "ssab_index.html")) aux1 = insFld(foldersTree, gFld("<b>Remote</b>", "remote_index.html"))
SSAB(aux1) Remote(aux1)
aux1 = insFld(foldersTree, gFld("<b>tlog</b>", "tlog_index.html")) aux1 = insFld(foldersTree, gFld("<b>TLog</b>", "tlog_index.html"))
TLog(aux1) TLog(aux1)
aux1 = insFld(foldersTree, gFld("<b>BaseComponent</b>", "basecomponent_index.html"))
BaseComponent(aux1)
aux1 = insFld(foldersTree, gFld("<b>OtherManufacturer</b>", "othermanufacturer_index.html")) aux1 = insFld(foldersTree, gFld("<b>OtherManufacturer</b>", "othermanufacturer_index.html"))
OtherManufacturer(aux1) OtherManufacturer(aux1)
......
...@@ -89,7 +89,8 @@ exe_source := $(filter $(exe_name).%, $(c_sources)) ...@@ -89,7 +89,8 @@ exe_source := $(filter $(exe_name).%, $(c_sources))
c_sources := $(filter-out $(exe_source), $(c_sources)) c_sources := $(filter-out $(exe_source), $(c_sources))
export_exe := $(exe_dir)/$(exe_name)$(exe_ext) export_exe := $(exe_dir)/$(exe_name)$(exe_ext)
export_obj := $(obj_dir)/$(exe_name)$(obj_ext) #export_obj := $(obj_dir)/$(exe_name)$(obj_ext)
export_obj := $(bld_dir)/$(exe_name)$(obj_ext)
export_includes := $(addprefix $(inc_dir)/,$(h_includes) $(hpp_includes)) export_includes := $(addprefix $(inc_dir)/,$(h_includes) $(hpp_includes))
l_targets := $(addprefix $(bld_dir)/,$(basename $(l_sources))) l_targets := $(addprefix $(bld_dir)/,$(basename $(l_sources)))
......
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
"add", "add:usage_add", "add", "add:usage_add",
"build", "build:usage_build", "build", "build:usage_build",
"build_all", "build_all:usage_build_all", "build_all", "build_all:usage_build_all",
"build_kernel", "build_kernel:usage_build_kernel",
"build_all_modules", "build_all_modules:usage_build_all_modules", "build_all_modules", "build_all_modules:usage_build_all_modules",
"copy", "copy:usage_copy", "copy", "copy:usage_copy",
"create", "create:usage_create", "create", "create:usage_create",
...@@ -167,9 +168,9 @@ sub build () # args: branch, subbranch, phase ...@@ -167,9 +168,9 @@ sub build () # args: branch, subbranch, phase
} }
# #
# build_all() # build_kernel()
# #
sub build_all_modules () sub build_kernel ()
{ {
_module("xtt"); _module("xtt");
build_all("copy"); build_all("copy");
...@@ -189,42 +190,6 @@ sub build_all_modules () ...@@ -189,42 +190,6 @@ sub build_all_modules ()
_module("wb"); _module("wb");
build_all("lib"); build_all("lib");
merge(); merge();
_module("nmps");
build_all("copy", "lib");
merge();
_module("tlog");
build_all("copy", "lib");
merge();
_module("remote");
build_all("copy");
merge();
_module("bcomp");
build_all("copy");
merge();
_module("java");
build_all("copy");
merge();
_module("ssabox");
build_all("copy");
merge();
_module("othermanu");
build_all("copy");
merge();
_module("abb");
build_all("copy");
merge();
_module("siemens");
build_all("copy");
merge();
_module("inor");
build_all("copy");
merge();
_module("klocknermoeller");
build_all("copy");
merge();
_module("telemecanique");
build_all("copy");
merge();
_module("xtt"); _module("xtt");
build_all("exe"); build_all("exe");
merge(); merge();
...@@ -234,48 +199,64 @@ sub build_all_modules () ...@@ -234,48 +199,64 @@ sub build_all_modules ()
_module("kernel"); _module("kernel");
build_all("exe"); build_all("exe");
merge(); merge();
}
#
# build_all()
#
sub build_all_modules ()
{
build_kernel();
_module("nmps"); _module("nmps");
build_all("lib", "exe"); build_all();
merge(); merge();
_module("tlog"); _module("tlog");
build_all("lib", "exe"); build_all();
merge(); merge();
_module("remote"); _module("remote");
build_all("lib", "exe"); build_all();
merge(); merge();
_module("bcomp"); _module("bcomp");
build_all("lib", "exe"); build_all();
merge(); merge();
_module("java"); _module("java");
build_all("lib", "exe"); build_all();
merge(); merge();
_module("ssabox"); _module("ssabox");
build_all("lib", "exe"); build_all();
merge(); merge();
_module("othermanu"); _module("othermanu");
build_all("lib", "exe"); build_all();
merge(); merge();
_module("abb"); _module("abb");
build_all("lib", "exe"); build_all();
merge(); merge();
_module("siemens"); _module("siemens");
build_all("lib", "exe"); build_all();
merge(); merge();
_module("inor"); _module("inor");
build_all("lib", "exe"); build_all();
merge(); merge();
_module("klocknermoeller"); _module("klocknermoeller");
build_all("lib", "exe"); build_all();
merge(); merge();
_module("telemecanique"); _module("telemecanique");
build_all("lib", "exe"); build_all();
merge(); merge();
# my($exe_dir) = $ENV{"pwr_exe"}; # Relink method dependent programs
# system("rm $exe_dir/rt_io_comm"); _module("kernel");
# _build("exe", "rt_io_comm", "all"); my($exe_dir) = $ENV{"pwr_exe"};
# system("rm $exe_dir/rt_ini"); system("rm $exe_dir/rt_io_comm");
# _build("exe", "rt_ini", "all"); _build("exe", "rt_io_comm", "all");
system("rm $exe_dir/rt_ini");
_build("exe", "rt_ini", "all");
merge();
_module("wb");
my($exe_dir) = $ENV{"pwr_exe"};
system("rm $exe_dir/wb");
_build("exe", "wb", "all");
merge(); merge();
} }
...@@ -343,6 +324,9 @@ sub build_all () ...@@ -343,6 +324,9 @@ sub build_all ()
exit 1; exit 1;
} }
my($module) = $ENV{"pwre_module"}; my($module) = $ENV{"pwre_module"};
my($einc) = $ENV{"pwr_einc"};
my($remoteclasses) = $einc . "/pwr_remoteclasses.h";
my($nmpsclasses) = $einc . "/pwr_nmpsclasses.h";
printf("--\n"); printf("--\n");
printf("-- Build all\n"); printf("-- Build all\n");
...@@ -365,14 +349,11 @@ sub build_all () ...@@ -365,14 +349,11 @@ sub build_all ()
_build("tools/exe", "*", "all"); _build("tools/exe", "*", "all");
merge("exe/tools_cmsg2c"); merge("exe/tools_cmsg2c");
merge("exe/tools_msg2cmsg"); merge("exe/tools_msg2cmsg");
merge("exe/tools_pdrgen");
_build("msg", "*", "all"); _build("msg", "*", "all");
_build("lib", "rt", "init copy"); _build("lib", "rt", "init copy");
# _build("lib", "wb", "init copy");
_build("lib", "co", "init copy"); _build("lib", "co", "init copy");
_build("lib", "dtt", "init copy"); _build("lib", "dtt", "init copy");
# _build("exp", "wb", "init copy");
# _build("lib", "flow", "all");
# _build("lib", "glow", "all");
_build("lib", "co", "all"); _build("lib", "co", "all");
_build("exe", "co*", "all"); _build("exe", "co*", "all");
_build("wbl", "pwrs", "copy"); _build("wbl", "pwrs", "copy");
...@@ -382,28 +363,28 @@ sub build_all () ...@@ -382,28 +363,28 @@ sub build_all ()
if ( $lib == 1) { if ( $lib == 1) {
_build("lib", "ge", "all"); _build("lib", "ge", "all");
if ( ! -e $nmpsclasses ) {
_module("nmps"); _module("nmps");
_build("wbl", "nmps", "init copy"); _build("wbl", "nmps", "init copy");
merge("inc/pwr_nmpsclasses.h"); merge("inc/pwr_nmpsclasses.h");
}
if ( ! -e $remoteclasses ) {
_module("remote"); _module("remote");
_build("wbl", "remote", "init copy"); _build("wbl", "remote", "init copy");
merge("inc/pwr_remoteclasses.h"); merge("inc/pwr_remoteclasses.h");
}
_module("kernel"); _module("kernel");
_build("lib", "rt", "all"); _build("lib", "rt", "all");
_build("exp", "rt", "all"); _build("exp", "rt", "all");
# _build("exp", "wb", "all");
_build("lib", "msg_dummy", "all"); _build("lib", "msg_dummy", "all");
_build("exe", "wb_rtt", "all"); _build("exe", "wb_rtt", "all");
_build("lib", "dtt", "all"); _build("lib", "dtt", "all");
_build("exp", "rt", "all"); _build("exp", "rt", "all");
# _build("lib", "wb", "all");
} }
if ( $exe == 1) { if ( $exe == 1) {
_build("exe", "rt*", "all"); _build("exe", "rt*", "all");
# _build("exe", "wb*", "all");
_build("exp", "ge", "all"); _build("exp", "ge", "all");
_build("mmi", "*", "copy"); _build("mmi", "*", "copy");
# _build("db", "wb", "init");
_build("wbl", "pwrs", "lib"); _build("wbl", "pwrs", "lib");
_build("wbl", "pwrb", "lib"); _build("wbl", "pwrb", "lib");
_build("wbl", "wb", "lib"); _build("wbl", "wb", "lib");
...@@ -539,6 +520,7 @@ sub create() ...@@ -539,6 +520,7 @@ sub create()
create_dir($newdir . "/lib"); create_dir($newdir . "/lib");
create_dir($newdir . "/msg"); create_dir($newdir . "/msg");
create_dir($newdir . "/jpwr"); create_dir($newdir . "/jpwr");
create_dir($newdir . "/wbl");
if ($module eq "kernel") { if ($module eq "kernel") {
$newdir = $root . "/exp"; $newdir = $root . "/exp";
...@@ -970,6 +952,12 @@ sub usage_build_all () ...@@ -970,6 +952,12 @@ sub usage_build_all ()
printf("++ build_all : Builds all in current module\n"); printf("++ build_all : Builds all in current module\n");
} }
sub usage_build_kernel ()
{
printf("++\n");
printf("++ build_kernel : Builds all in kernel modules (kernel, xtt, wb)\n");
}
sub usage_build_all_modules () sub usage_build_all_modules ()
{ {
printf("++\n"); printf("++\n");
......
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