Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Esteban Blanc
proview
Commits
0448e0a7
Commit
0448e0a7
authored
Oct 08, 2020
by
Claes
Committed by
Esteban Blanc
Dec 23, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pwre build generating test log file
parent
314950e0
Changes
39
Show whitespace changes
Inline
Side-by-side
Showing
39 changed files
with
222 additions
and
171 deletions
+222
-171
build.sh
build.sh
+2
-2
java/jpwr/jop/src/makefile
java/jpwr/jop/src/makefile
+1
-1
misc/lib/misc/src/makefile
misc/lib/misc/src/makefile
+2
-2
opc/lib/opc/src/makefile
opc/lib/opc/src/makefile
+1
-1
otherio/exp/powerlink/src/makefile
otherio/exp/powerlink/src/makefile
+1
-1
otherio/exp/rt/src/makefile
otherio/exp/rt/src/makefile
+4
-4
otherio/exp/xdd/src/makefile
otherio/exp/xdd/src/makefile
+1
-1
profibus/exp/gsd/src/makefile
profibus/exp/gsd/src/makefile
+3
-3
profibus/exp/rt/src/makefile
profibus/exp/rt/src/makefile
+3
-3
profibus/exp/wb/src/makefile
profibus/exp/wb/src/makefile
+2
-2
profibus/lib/rt/src/makefile
profibus/lib/rt/src/makefile
+1
-1
sev/exp/py/src/makefile
sev/exp/py/src/makefile
+2
-2
simul/lib/simul/src/makefile
simul/lib/simul/src/makefile
+2
-2
simul/wbl/simul/src/makefile
simul/wbl/simul/src/makefile
+4
-4
src/doc/dox/src/makefile
src/doc/dox/src/makefile
+1
-1
src/doc/man/src/makefile
src/doc/man/src/makefile
+28
-28
src/doc/orm/src/makefile
src/doc/orm/src/makefile
+1
-1
src/doc/prm/src/makefile
src/doc/prm/src/makefile
+1
-1
src/doc/web/src/makefile
src/doc/web/src/makefile
+1
-1
src/exp/com/src/makefile
src/exp/com/src/makefile
+3
-3
src/exp/pwrrt/src/makefile
src/exp/pwrrt/src/makefile
+2
-2
src/exp/py/src/makefile
src/exp/py/src/makefile
+2
-2
src/exp/rt/src/makefile
src/exp/rt/src/makefile
+4
-4
src/lib/dtt/src/makefile
src/lib/dtt/src/makefile
+6
-6
src/lib/rt/src/rt_rtt_menu.c
src/lib/rt/src/rt_rtt_menu.c
+1
-1
src/tools/bld/src/lib_generic.mk
src/tools/bld/src/lib_generic.mk
+2
-2
src/tools/bld/src/msg_generic.mk
src/tools/bld/src/msg_generic.mk
+3
-3
src/tools/bld/src/variables.mk
src/tools/bld/src/variables.mk
+32
-20
src/tools/bld/src/wbl_generic.mk
src/tools/bld/src/wbl_generic.mk
+22
-13
src/tools/pwre/src/pwre.pl
src/tools/pwre/src/pwre.pl
+35
-5
src/wbl/pwrb/src/makefile
src/wbl/pwrb/src/makefile
+19
-19
src/wbl/pwrs/src/makefile
src/wbl/pwrs/src/makefile
+18
-18
src/wbl/rt/src/makefile
src/wbl/rt/src/makefile
+1
-1
src/wbl/wb/src/makefile
src/wbl/wb/src/makefile
+1
-1
ssabox/lib/ssabox/src/makefile
ssabox/lib/ssabox/src/makefile
+4
-4
wb/exp/com/src/makefile
wb/exp/com/src/makefile
+2
-2
wb/exp/pwrwb/src/makefile
wb/exp/pwrwb/src/makefile
+2
-2
wb/exp/wb/src/makefile
wb/exp/wb/src/makefile
+1
-1
xtt/exp/ge/src/makefile
xtt/exp/ge/src/makefile
+1
-1
No files found.
build.sh
View file @
0448e0a7
#!/bin/bash
set
-e
exec
>
>(
tee
compilation_log.txt
)
exec
>
>(
tee
build.log
)
exec
2>&1
root
=
`
eval pwd
`
...
...
java/jpwr/jop/src/makefile
View file @
0448e0a7
...
...
@@ -167,6 +167,6 @@ local_java_sources := \
exe
:
$(doc_dir)/en_us/jprm/index.html
$(doc_dir)/en_us/jprm/index.html
:
@
echo
"Generating javadoc for rt, jop and jopg"
@
$(log_gen)
@
if
[
!
-e
$(doc_dir)
/en_us/jprm
]
;
then
mkdir
$(doc_dir)
/en_us/jprm
;
fi
@
javadoc
-Xdoclint
:none
-d
$(doc_dir)
/en_us/jprm
$(pwre_sroot)
/jpwr/rt/src/
*
.java
$(pwre_sroot)
/jpwr/jop/src/
*
.java
$(pwre_sroot)
/jpwr/jopg/src/
*
.java
misc/lib/misc/src/makefile
View file @
0448e0a7
...
...
@@ -6,9 +6,9 @@ copy : $(doc_dir)/sv_se/orm/misc_plc_c.html \
$(doc_dir)/en_us/orm/misc_plc_c.html
$(doc_dir)/sv_se/orm/misc_plc_c.html
:
misc_plc.c
@
echo
"Generating html files for misc_plc sv_se..."
@
$(log_html)
@
$(co_convert)
-c
-d
$(doc_dir)
/sv_se/orm
"
$(source)
"
$(doc_dir)/en_us/orm/misc_plc_c.html
:
misc_plc.c
@
echo
"Generating html files for misc_plc en_us..."
@
$(log_html)
@
$(co_convert)
-c
-d
$(doc_dir)
/en_us/orm
"
$(source)
"
opc/lib/opc/src/makefile
View file @
0448e0a7
...
...
@@ -19,5 +19,5 @@ $(bld_dir)/stdsoap2.o : stdsoap2.cpp
$(inc_dir)/stdsoap2.h
:
stdsoap2.h
$(inc_dir)/Service.nsmap
:
Service.nsmap
@
echo
"Export
$(source)
"
@
$(log_exp)
@
$(cp)
$(cpflags)
$(source)
$(target)
otherio/exp/powerlink/src/makefile
View file @
0448e0a7
...
...
@@ -31,5 +31,5 @@ silent :
.SUFFIXES
:
$(inc_dir)/objdict.h
:
objdict.h
@
echo
"Copying objdict.h"
@
$(log_cp)
@
$(cp)
$(cpflags)
$(source)
$(target)
otherio/exp/rt/src/makefile
View file @
0448e0a7
...
...
@@ -35,17 +35,17 @@ silent :
# @ $(cp) $(cpflags) $(source) $(target)
$(inc_dir)/libusbio.h
:
libusbio.h
@
echo
"Copying libusbio.h"
@
$(log_cp)
@
$(cp)
$(cpflags)
$(source)
$(target)
$(inc_dir)/openSocket.h
:
openSocket.h
@
echo
"Copying openSocket.h"
@
$(log_cp)
@
$(cp)
$(cpflags)
$(source)
$(target)
$(inc_dir)/setport.h
:
setport.h
@
echo
"Copying setport.h"
@
$(log_cp)
@
$(cp)
$(cpflags)
$(source)
$(target)
$(inc_dir)/pwr_arduino_uno.ino
:
pwr_arduino_uno.ino
@
echo
"Copying pwr_arduino_uno.ino"
@
$(log_cp)
@
$(cp)
$(cpflags)
$(source)
$(target)
otherio/exp/xdd/src/makefile
View file @
0448e0a7
...
...
@@ -46,7 +46,7 @@ silent :
@
:
$(export_xdd)
:
$(exe_dir)/%.xdd : %.xdd
@
echo
"Exporting
$<
..."
@
$(log_exp)
@
$(cp)
$(cpflags)
$(source)
$(target)
$(clean_xdd)
:
clean_%.xdd : %.xdd
...
...
profibus/exp/gsd/src/makefile
View file @
0448e0a7
...
...
@@ -70,21 +70,21 @@ silent :
@
:
$(export_gsd)
:
$(exe_dir)/%.gsd : %.gsd
@
echo
"Exporting
$<
..."
@
$(log_exp)
@
$(cp)
$(cpflags)
$(source)
$(target)
$(clean_gsd)
:
clean_%.gsd : %.gsd
@
rm
$(exe_dir)
/
$*
.gsd
$(export_gse)
:
$(exe_dir)/%.gse : %.gse
@
echo
"Exporting
$<
..."
@
$(log_exp)
@
$(cp)
$(cpflags)
$(source)
$(target)
$(clean_gse)
:
clean_%.gse : %.gse
@
rm
$(exe_dir)
/
$*
.gse
$(export_xml)
:
$(exe_dir)/%.xml : %.xml
@
echo
"Exporting
$<
..."
@
$(log_exp)
@
$(cp)
$(cpflags)
$(source)
$(target)
$(clean_xml)
:
clean_%.xml : %.xml
...
...
profibus/exp/rt/src/makefile
View file @
0448e0a7
...
...
@@ -80,16 +80,16 @@ $(exe_dir)/%.wav : %.wav
@
$(cp)
$(cpflags)
$(source)
$(target)
$(exe_dir)/profibus_xtthelp.dat
:
profibus_xtthelp.dat
@
echo
"Copying
$(source)
"
@
$(log_cp)
@
$(cp)
$(cpflags)
$(source)
$(target)
@
$(co_convert)
-t
-d
$(pwr_doc)
/help
$(source)
$(exe_dir)/%.gif
:
%.gif
@
echo
"Copying
$(source)
.gif exe"
@
$(log_cp)
@
$(cp)
$(cpflags)
$(source)
$(target)
$(doc_dir)/help/%.gif
:
%.gif
@
echo
"Copying
$(source)
.gif doc/help"
@
$(log_cp)
@
$(cp)
$(cpflags)
$(source)
$(target)
...
...
profibus/exp/wb/src/makefile
View file @
0448e0a7
...
...
@@ -31,9 +31,9 @@ silent :
.SUFFIXES
:
$(exe_dir)/pb_module_classes.dat
:
pb_module_classes.dat
@
echo
"Copying
$(source)
"
@
$(log_cp)
@
$(cp)
$(cpflags)
$(source)
$(target)
$(exe_dir)/pn_module_classes.dat
:
pn_module_classes.dat
@
echo
"Copying
$(source)
"
@
$(log_cp)
@
$(cp)
$(cpflags)
$(source)
$(target)
profibus/lib/rt/src/makefile
View file @
0448e0a7
...
...
@@ -22,7 +22,7 @@ export_c := $(addprefix $(bld_dir)/, $(patsubst %.c, %.o, $(c_sources)))
lib
:
$(export_lib) export_lib_local
export_lib_local
:
$(export_c)
@
echo
"Inserting local lib"
@
$(log_lib)
@
if
[
"
$(export_c)
"
!=
""
]
;
then
\
$(ar)
-r
$(export_lib)
$(export_c)
;
\
fi
sev/exp/py/src/makefile
View file @
0448e0a7
...
...
@@ -57,11 +57,11 @@ silent :
@
:
$(export_py)
:
$(exe_dir)/%.py : %.py
@
echo
"Exporting
$<
..."
@
$(log_exp)
@
$(cp)
$(cpflags)
$(source)
$(target)
$(export_png)
:
$(exe_dir)/%.png : %.png
@
echo
"Exporting
$<
..."
@
$(log_exp)
@
$(cp)
$(cpflags)
$(source)
$(target)
$(clean_py)
:
clean_%.py : %.py
...
...
simul/lib/simul/src/makefile
View file @
0448e0a7
...
...
@@ -6,9 +6,9 @@ copy : $(doc_dir)/sv_se/orm/simul_c.html \
$(doc_dir)/en_us/orm/simul_c.html
$(doc_dir)/sv_se/orm/simul_c.html
:
simul.c
@
echo
"Generating html files for simul sv_se..."
@
$(log_html)
@
$(co_convert)
-c
-d
$(doc_dir)
/sv_se/orm
"
$(source)
"
$(doc_dir)/en_us/orm/simul_c.html
:
simul.c
@
echo
"Generating html files for simul en_us..."
@
$(log_html)
@
$(co_convert)
-c
-d
$(doc_dir)
/en_us/orm
"
$(source)
"
simul/wbl/simul/src/makefile
View file @
0448e0a7
...
...
@@ -8,17 +8,17 @@ exe : $(doc_dir)/sv_se/orm/pwr_simulclasses_h.html \
$(doc_dir)/en_us/orm/pwr_simulclasses_hpp.html
$(doc_dir)/sv_se/orm/pwr_simulclasses_h.html
:
$(inc_dir)/pwr_simulclasses.h
@
echo
"Generating html files for struct sv_se..."
@
$(log_html)
@
$(co_convert)
-c
-d
$(doc_dir)
/sv_se/orm
"
$(source)
"
$(doc_dir)/en_us/orm/pwr_simulclasses_h.html
:
$(inc_dir)/pwr_simulclasses.h
@
echo
"Generating html files for struct en_us..."
@
$(log_html)
@
$(co_convert)
-c
-d
$(doc_dir)
/en_us/orm
"
$(source)
"
$(doc_dir)/sv_se/orm/pwr_simulclasses_hpp.html
:
$(inc_dir)/pwr_simulclasses.hpp
@
echo
"Generating html files for struct sv_se..."
@
$(log_html)
@
$(co_convert)
-c
-d
$(doc_dir)
/sv_se/orm
"
$(source)
"
$(doc_dir)/en_us/orm/pwr_simulclasses_hpp.html
:
$(inc_dir)/pwr_simulclasses.hpp
@
echo
"Generating html files for struct en_us..."
@
$(log_html)
@
$(co_convert)
-c
-d
$(doc_dir)
/en_us/orm
"
$(source)
"
src/doc/dox/src/makefile
View file @
0448e0a7
...
...
@@ -33,5 +33,5 @@ $(clean_html) : clean_%.html : %.html
@
$(rm)
$(rmflags)
$(doc_dir)
/dox/
$*
.html
$(doc_dir)/dox/index.html
:
doxygen.dx
@
echo
"doxygen documentation
$(source)
$(target)
"
@
$(log_doxy)
@
doxygen 2> /dev/null
src/doc/man/src/makefile
View file @
0448e0a7
...
...
@@ -298,27 +298,27 @@ $(exe_dir)/sv_se/man_dg.dat : $(pwre_sroot)/doc/man/sv_se/man_dg.dat
@
$(cp)
$(cpflags)
$(source)
$(target)
$(doc_dir)/sv_se/man_dg_index.html
:
$(pwre_sroot)/doc/man/sv_se/man_dg.dat
@
echo
"Generating html for sv_se/man_dg"
@
$(log_html)
@
$(co_convert)
-t
-l
sv_se
-d
$(doc_dir)
/sv_se
$(source)
$(doc_dir)/en_us/man_dg_index.html
:
$(pwre_sroot)/doc/man/en_us/man_dg.dat
@
echo
"Generating html for en_us/man_dg"
@
$(log_html)
@
$(co_convert)
-t
-d
$(doc_dir)
/en_us
$(source)
$(doc_dir)/en_us/man_dg.pdf
:
$(pwre_sroot)/doc/man/en_us/man_dg.dat
@
echo
"Generating pdf for en_us/man_dg"
@
$(log_pdf)
@
$(co_convert)
-f
-d
$(doc_dir)
/en_us
$(source)
$(doc_dir)/sv_se/man_dg.pdf
:
$(pwre_sroot)/doc/man/sv_se/man_dg.dat
@
echo
"Generating pdf for sv_se/man_dg"
@
$(log_pdf)
@
$(co_convert)
-f
-l
sv_se
-d
$(doc_dir)
/sv_se
$(source)
$(doc_dir)/en_us/man_dg.ps
:
$(pwre_sroot)/doc/man/en_us/man_dg.dat
@
echo
"Generating postscript for en_us/man_dg"
@
$(log_ps)
@
$(co_convert)
-n
-d
$(doc_dir)
/en_us
$(source)
$(doc_dir)/sv_se/man_dg.ps
:
$(pwre_sroot)/doc/man/sv_se/man_dg.dat
@
echo
"Generating postscript for sv_se/man_dg"
@
$(log_ps)
@
$(co_convert)
-n
-d
$(doc_dir)
/sv_se
$(source)
$(exe_dir)/en_us/man_opg.dat
:
$(pwre_sroot)/doc/man/en_us/man_opg.dat
...
...
@@ -330,27 +330,27 @@ $(exe_dir)/sv_se/man_opg.dat : $(pwre_sroot)/doc/man/sv_se/man_opg.dat
@
$(cp)
$(cpflags)
$(source)
$(target)
$(doc_dir)/en_us/man_opg_index.html
:
$(pwre_sroot)/doc/man/en_us/man_opg.dat
@
echo
"Generating html for en_us/man_opg"
@
$(log_html)
@
$(co_convert)
-t
-d
$(doc_dir)
/en_us
$(source)
$(doc_dir)/sv_se/man_opg_index.html
:
$(pwre_sroot)/doc/man/sv_se/man_opg.dat
@
echo
"Generating html for sv_se/man_opg"
@
$(log_html)
@
$(co_convert)
-t
-l
sv_se
-d
$(doc_dir)
/sv_se
$(source)
$(doc_dir)/en_us/man_opg.pdf
:
$(pwre_sroot)/doc/man/en_us/man_opg.dat
@
echo
"Generating pdf for en_us/man_opg"
@
$(log_html)
@
$(co_convert)
-f
-d
$(doc_dir)
/en_us
$(source)
$(doc_dir)/sv_se/man_opg.pdf
:
$(pwre_sroot)/doc/man/sv_se/man_opg.dat
@
echo
"Generating pdf for sv_se/man_opg"
@
$(log_pdf)
@
$(co_convert)
-f
-l
sv_se
-d
$(doc_dir)
/sv_se
$(source)
$(doc_dir)/en_us/man_opg.ps
:
$(pwre_sroot)/doc/man/en_us/man_opg.dat
@
echo
"Generating postscript for en_us/man_opg"
@
$(log_ps)
@
$(co_convert)
-n
-d
$(doc_dir)
/en_us
$(source)
$(doc_dir)/sv_se/man_opg.ps
:
$(pwre_sroot)/doc/man/sv_se/man_opg.dat
@
echo
"Generating postscript for sv_se/man_opg"
@
$(log_ps)
@
$(co_convert)
-n
-d
$(doc_dir)
/sv_se
$(source)
$(exe_dir)/man_subgraph.dat
:
$(pwre_sroot)/doc/man/en_us/man_subgraph.dat
...
...
@@ -366,27 +366,27 @@ $(exe_dir)/sv_se/man_geref.dat : $(pwre_sroot)/doc/man/sv_se/man_geref.dat
@
$(cp)
$(cpflags)
$(source)
$(target)
$(doc_dir)/en_us/man_geref_index.html
:
$(pwre_sroot)/doc/man/en_us/man_geref.dat
@
echo
"Generating html for en_us/man_geref"
@
$(log_html)
@
$(co_convert)
-t
-d
$(doc_dir)
/en_us
$(source)
$(doc_dir)/sv_se/man_geref_index.html
:
$(pwre_sroot)/doc/man/sv_se/man_geref.dat
@
echo
"Generating html for sv_se/man_geref"
@
$(log_html)
@
$(co_convert)
-t
-l
sv_se
-d
$(doc_dir)
/sv_se
$(source)
$(doc_dir)/en_us/man_geref.pdf
:
$(pwre_sroot)/doc/man/en_us/man_geref.dat
@
echo
"Generating pdf for en_us/man_geref"
@
$(log_pdf)
@
$(co_convert)
-f
-d
$(doc_dir)
/en_us
$(source)
$(doc_dir)/sv_se/man_geref.pdf
:
$(pwre_sroot)/doc/man/sv_se/man_geref.dat
@
echo
"Generating pdf for sv_se/man_geref"
@
$(log_pdf)
@
$(co_convert)
-f
-l
sv_se
-d
$(doc_dir)
/sv_se
$(source)
$(doc_dir)/en_us/man_geref.ps
:
$(pwre_sroot)/doc/man/en_us/man_geref.dat
@
echo
"Generating postscript for en_us/man_geref"
@
$(log_ps)
@
$(co_convert)
-n
-d
$(doc_dir)
/en_us
$(source)
$(doc_dir)/sv_se/man_geref.ps
:
$(pwre_sroot)/doc/man/sv_se/man_geref.dat
@
echo
"Generating postscript for sv_se/man_geref"
@
$(log_ps)
@
$(co_convert)
-n
-d
$(doc_dir)
/sv_se
$(source)
$(exe_dir)/en_us/man_pb.dat
:
$(pwre_sroot)/doc/man/en_us/man_pb.dat
...
...
@@ -406,19 +406,19 @@ $(exe_dir)/sv_se/man_orm.dat : $(pwre_sroot)/doc/man/sv_se/man_orm.dat
@
$(cp)
$(cpflags)
$(source)
$(target)
$(doc_dir)/en_us/man_orm_index.html
:
$(pwre_sroot)/doc/man/en_us/man_orm.dat
@
echo
"Generating html for en_us/man_orm"
@
$(log_html)
@
$(co_convert)
-t
-d
$(doc_dir)
/en_us
$(source)
$(doc_dir)/sv_se/man_orm_index.html
:
$(pwre_sroot)/doc/man/sv_se/man_orm.dat
@
echo
"Generating html for sv_se/man_orm"
@
$(log_html)
@
$(co_convert)
-t
-l
sv_se
-d
$(doc_dir)
/sv_se
$(source)
$(doc_dir)/en_us/man_subgraph_index.html
:
$(pwre_sroot)/doc/man/en_us/man_subgraph.dat
@
echo
"Generating html for en_us/man_subgraph"
@
$(log_html)
@
$(co_convert)
-t
-d
$(doc_dir)
/en_us
$(source)
$(doc_dir)/en_us/man_subgraph.pdf
:
$(pwre_sroot)/doc/man/en_us/man_subgraph.dat
@
echo
"Generating pdf for en_us/man_subgraph"
@
$(log_pdf)
@
$(co_convert)
-f
-d
$(doc_dir)
/en_us
$(source)
$(exe_dir)/en_us/man_exlib.dat
:
$(pwre_sroot)/doc/man/en_us/man_exlib.dat
...
...
@@ -426,15 +426,15 @@ $(exe_dir)/en_us/man_exlib.dat : $(pwre_sroot)/doc/man/en_us/man_exlib.dat
@
$(cp)
$(cpflags)
$(source)
$(target)
$(doc_dir)/en_us/man_exlib.ps
:
$(pwre_sroot)/doc/man/en_us/man_exlib.dat
@
echo
"Generating postscript for en_us/man_exlib"
@
$(log_ps)
@
$(co_convert)
-n
-d
$(doc_dir)
/en_us
$(source)
$(doc_dir)/en_us/man_exlib_index.html
:
$(pwre_sroot)/doc/man/en_us/man_exlib.dat
@
echo
"Generating html for en_us/man_exlib"
@
$(log_html)
@
$(co_convert)
-t
-d
$(doc_dir)
/en_us
$(source)
$(doc_dir)/en_us/man_exlib.pdf
:
$(pwre_sroot)/doc/man/en_us/man_exlib.dat
@
echo
"Generating pdf for en_us/man_exlib"
@
$(log_pdf)
@
$(co_convert)
-f
-d
$(doc_dir)
/en_us
$(source)
$(exe_dir)/en_us/man_mva.dat
:
$(pwre_sroot)/doc/man/en_us/man_mva.dat
...
...
@@ -464,7 +464,7 @@ $(doc_dir)/en_us/changelog.html : $(pwre_croot)/src/changelog.txt \
$(pwre_croot)/ssabox/changelog.txt
\
$(pwre_croot)/telemecanique/changelog.txt
\
$(pwre_croot)/klocknermoeller/changelog.txt
@
echo
"Generating changelog html file"
@
$(log_gen)
@
$(co_convert)
-e
@
mv
$(pwre_croot)
/src/doc/man/en_us/changelog.html
$(target)
...
...
@@ -494,12 +494,12 @@ $(pwre_sroot)/doc/man/%.pdf : $(pwre_sroot)/doc/man/%.fo $(pwre_sroot)/doc/man/s
# $(xsltproc) $(xsltproc_args) $(chunk_args_sv_se) $(chunk_xsl) $(source)
$(doc_dir)/sv_se/%.css $(doc_dir)/en_us/%.css
::
$(pwre_sroot)/doc/man/src/%.css
@
echo
"copy
$(source)
"
@
$(log_cp)
@
cp
$(source)
$(target)
# all-purpose rule for graphics/media
$(doc_dir)/%
::
$(pwre_sroot)/doc/man/src/%
@
echo
"copy
$(source)
"
@
$(log_cp)
@
cp
$(source)
$(target)
...
...
src/doc/orm/src/makefile
View file @
0448e0a7
...
...
@@ -98,6 +98,6 @@ $(clean_html) : clean_%.html : %.html
@
$(rm)
$(rmflags)
$(doc_dir)
/orm/
$*
.html
$(doc_dir)/en_us/orm/orm.css
:
orm.css
@
echo
"copy
$(source)
$(target)
"
@
$(log_cp)
@
cp
$(source)
$(target)
@
cp
$(source)
$(doc_dir)
/sv_se/orm
src/doc/prm/src/makefile
View file @
0448e0a7
...
...
@@ -34,7 +34,7 @@ $(clean_html) : clean_%.html : %.html
@
$(rm)
$(rmflags)
$(doc_dir)
/prm/
$*
.html
$(doc_dir)/prm/index.html
:
doxygen.c
@
echo
"Generating Programmer documentation: doxygen
$(source)
$(target)
"
@
$(log_doxy)
@
doxygen
# @ if [ "`eval which pdflatex`" != "" ]; then \
# ./repl.sh latex/*.tex; \
...
...
src/doc/web/src/makefile
View file @
0448e0a7
...
...
@@ -107,7 +107,7 @@ $(clean_js) : clean_%.js : %.js
@
$(rm)
$(rmflags)
$(doc_dir)
/dox/
$*
.js
$(doc_dir)/pcss.css
:
pcss.css
@
echo
"copy
$(source)
$(target)
"
@
$(log_cp)
@
cp
$(source)
$(target)
$(doc_dir)/%.html
:
$(pwre_sroot)/doc/web/src/%.html
...
...
src/exp/com/src/makefile
View file @
0448e0a7
...
...
@@ -70,16 +70,16 @@ silent :
@
:
$(export_sh)
:
$(exe_dir)/%.sh : %.sh
@
echo
"Exporting
$<
..."
@
$(log_exp)
@
$(cp)
$(cpflags)
$(source)
$(target)
$(export_pwr_com)
:
$(exe_dir)/%.pwr_com : %.pwr_com
@
echo
"Exporting
$<
..."
@
$(log_exp)
@
$(cp)
$(cpflags)
$(source)
$(target)
$(export_awk)
:
$(exe_dir)/%.awk : %.awk
@
echo
"Exporting
$<
..."
@
$(log_exp)
@
$(cp)
$(cpflags)
$(source)
$(target)
$(clean_sh)
:
clean_%.sh : %.sh
...
...
src/exp/pwrrt/src/makefile
View file @
0448e0a7
...
...
@@ -36,7 +36,7 @@ silent :
$(exe_dir)/pwrrt.so
:
pwrrtmodule.c
@
if
[
"
$(PWRE_CONF_PYDEV)
"
=
"1"
]
;
then
\
echo
"Bulding Python c extension pwrrt"
;
\
$(log_pyext)
;
\
python setup_pwrrt.py
-q
build
--build-base
$(bld_dir)
;
\
if
[
"
$(pwre_hw)
"
=
"hw_x86_64"
]
;
then
\
mv
$(bld_dir)
/lib.linux-x86_64-2.7/pwrrt.so
$(pwr_exe)
;
\
...
...
@@ -45,7 +45,7 @@ $(exe_dir)/pwrrt.so : pwrrtmodule.c
fi
;
\
python setup_pwrrt.py
-q
install_egg_info
--install-dir
$(pwr_exe)
;
\
else
\
echo
"Not building Python c extension pwrrt"
;
\
$(log_no)
;
\
fi
clean_pwrrt.so
:
pwrrtmodule.c
...
...
src/exp/py/src/makefile
View file @
0448e0a7
...
...
@@ -57,11 +57,11 @@ silent :
@
:
$(export_py)
:
$(exe_dir)/%.py : %.py
@
echo
"Exporting
$<
..."
@
$(log_exp)
@
$(cp)
$(cpflags)
$(source)
$(target)
$(export_png)
:
$(exe_dir)/%.png : %.png
@
echo
"Exporting
$<
..."
@
$(log_exp)
@
$(cp)
$(cpflags)
$(source)
$(target)
$(clean_py)
:
clean_%.py : %.py
...
...
src/exp/rt/src/makefile
View file @
0448e0a7
...
...
@@ -80,7 +80,7 @@ $(exe_dir)/%.wav : %.wav
@
$(cp)
$(cpflags)
$(source)
$(target)
$(load_dir)/pwr_volumelist.dat
:
pwr_volumelist.dat
@
echo
"Copying pwr_volumelist.dat"
@
$(log_cp)
@
$(cp)
$(cpflags)
$(source)
$(target)
$(exe_dir)/sv_se/pwrb_xtthelp.dat
:
pwrb_xtthelp.dat_sv_se
...
...
@@ -89,15 +89,15 @@ $(exe_dir)/sv_se/pwrb_xtthelp.dat : pwrb_xtthelp.dat_sv_se
@
#co_convert -t -d
$(pwr_doc)
/sv_se
$(source)
$(exe_dir)/pwr_logga.gif
:
pwr_logga.gif
@
echo
"Copying pwr_logga.gif"
@
$(log_cp)
@
$(cp)
$(cpflags)
$(source)
$(target)
$(exe_dir)/%.gif
:
%.gif
@
echo
"Copying
$(source)
.gif exe"
@
$(log_cp)
@
$(cp)
$(cpflags)
$(source)
$(target)
$(doc_dir)/help/%.gif
:
%.gif
@
echo
"Copying
$(source)
.gif doc/help"
@
$(log_cp)
@
$(cp)
$(cpflags)
$(source)
$(target)
$(clean_obj)
:
clean_%.o : %.c
...
...
src/lib/dtt/src/makefile
View file @
0448e0a7
...
...
@@ -114,15 +114,15 @@ exe :
dirs
:
$(bld_dir)$(dir_ext)
$(inc_dir)/dtt_appl_rttsys_m.rdecl
:
$(bld_dir)/dtt_appl_rttsys_m.rdecl
@
echo
"copy
$(source)
$(target)
"
@
$(log_cp)
@
cp
$(source)
$(target)
$(inc_dir)/dtt_appl_rttsys_m.rhlp
:
dtt_appl_rttsys_m.rhlp
@
echo
"copy
$(source)
$(target)
"
@
$(log_cp)
@
cp
$(source)
$(target)
$(inc_dir)/dtt_appl_rttsys_m.rh
:
$(bld_dir)/dtt_appl_rttsys_m.rh
@
echo
"copy
$(source)
$(target)
"
@
$(log_cp)
@
cp
$(source)
$(target)
$(bld_dir)$(dir_ext)
:
...
...
@@ -158,7 +158,7 @@ $(clean_hpp_includes) : clean_%.hpp : %.hpp
@
$(rm)
$(rmflags)
$(inc_dir)
/
$*
.hpp
$(export_lib)
:
$(objects)
@
echo
"Building archive
$(
notdir
$(export_lib)
)
"
@
$(log_lib)
@
$(rm)
$(export_lib)
$(ar)
-cUr
$(export_lib)
$(objects)
...
...
@@ -176,11 +176,11 @@ endif
# $(cc) $(cflags) $(depmms) -I$(bld_dir) $(cinc) $(csetos) $(cobj) $(clis) $(source) $(clib)
$(export_lib)(%.o)
:
%.dtt
@
echo
"Generate
$(sname)
"
@
$(log_gen)
@
$(wb_rtt)
rttsys generate/id
=
$(sname)
$(pwre_conf_dtt_platform)
$(bld_dir)/%.c
:
%.dtt_m
@
echo
"Generate menu"
@
$(log_gen)
@
$(wb_rtt)
rttsys generate/menu
$(pwre_conf_dtt_platform)
-include
$(source_dependencies)
...
...
src/lib/rt/src/rt_rtt_menu.c
View file @
0448e0a7
...
...
@@ -6965,7 +6965,7 @@ int rtt_message(char severity, char* message)
if
(
rtt_file_on
&&
rtt_print_message
)
fprintf
(
rtt_outfile
,
"%%RTT-%c-MSG, %s
\n
"
,
severity
,
message
);
if
((
rtt_quiet
&
RTT_QUIET_MESSAGE
)
||
(
rtt_quiet
&&
rtt_verify
))
printf
(
"
\n
%%RTT-%c-MSG, %s
"
,
severity
,
message
);
printf
(
"
%%RTT-%c-MSG, %s
\n
"
,
severity
,
message
);
else
if
(
severity
==
'E'
)
rtt_printf
(
"%c"
,
'\7'
);
r_print
(
"%%RTT-%c-MSG, %s"
,
severity
,
message
);
...
...
src/tools/bld/src/lib_generic.mk
View file @
0448e0a7
...
...
@@ -177,7 +177,7 @@ echo:
dirs
:
$(bld_dir)$(dir_ext)
$(bld_dir)$(dir_ext)
:
@
echo
"lib_gene
$(
basename
$@
)
"
@
$(log_mkdir)
$<
@
$(mkdir)
$(mkdirflags)
$(
basename
$@
)
/
clean
:
clean_bld clean_lib
...
...
@@ -218,7 +218,7 @@ $(clean_pwsg) : clean_%.pwsg : %.pwsg
@
$(rm)
$(rmflags)
$(exe_dir)
/
$*
.pwsg
$(export_lib)
:
$(objects)
@
echo
"Building archive
$(
notdir
$(export_lib)
)
"
@
$(log_lib)
@
$(ar)
-cUr
$(export_lib)
$(objects)
# @ if [ -e $(export_lib) ]; then \
...
...
src/tools/bld/src/msg_generic.mk
View file @
0448e0a7
...
...
@@ -53,8 +53,8 @@ exe :
dirs
:
$(bld_dir)$(dir_ext) | silent
$(bld_dir)$(dir_ext)
:
@
echo
"msg_gene
$(
basename
$@
)
"
$(mkdir)
$(mkdirflags)
$(
basename
$@
)
@
$(log_mkdir)
$<
@
$(mkdir)
$(mkdirflags)
$(
basename
$@
)
clean
:
...
...
@@ -64,7 +64,7 @@ silent :
@
:
$(export_cmsg)
:
$(cmsgs)
@
echo
Creating: obj_dir/
$(
notdir
$@
)
@
$(log_gen
)
@
cat
$(cmsgs)
>
$(export_cmsg)
$(export_obj)
:
$(export_cmsg)
...
...
src/tools/bld/src/variables.mk
View file @
0448e0a7
...
...
@@ -29,10 +29,14 @@ elib_dir := $(release_root)/exp/lib
einc_dir
:=
$(release_root)
/exp/inc
eobj_dir
:=
$(release_root)
/exp/obj
eexe_dir
:=
$(release_root)
/exp/exe
elis_dir
:=
$(release_root)
/exp/lis
bld_dir
:=
$(release_root)
/bld/
$(type_name)
/
$(comp_name)
tmp_dir
:=
$(release_root)
/tmp
logfile
:=
$(elis_dir)
/build.tlog
time
=
`
date
+
'%Y-%m-%d %T.00'
`
c_ext
:=
.c
d_ext
:=
.d
d_ld_ext
:=
.d_ld
...
...
@@ -163,25 +167,33 @@ clis = /lis=$(list)
dolist
=
/lis
=
$(list)
domap
=
-Xlinker
-Map
-Xlinker
$(map)
log_h_h
=
echo
"Exporting
$<
"
log_x_h
=
echo
"Exporting
$<
to
$(
notdir
$@
)
"
#log_c_d = echo "Updating dependencies $<"
log_c_obj
=
echo
"Compiling
$<
"
log_c_lib
=
echo
"Compiling
$(
notdir
$(
basename
$@
))
(
$<
)"
log_x_lib
=
echo
"Compiling
$(
notdir
$(
basename
$@
))
(
$<
)"
log_obj_lib
=
echo
"Archiving lasse
$(
notdir
$(
basename
$@
))
(
$(
notdir
$<
)
)"
log_hlp_hlb
=
echo
"Exporting
$(
notdir
$(
basename
$@
))
(
$<
)"
log_sc_lib
=
echo
"Compiling
$(
notdir
$(
basename
$@
))
(
$<
)"
log_sc_obj
=
echo
"Compiling
$<
"
log_uil_uid
=
echo
"Compiling
$<
"
log_g_m1
=
echo
"Exporting
$<
"
log_cld_lib
=
echo
"Compiling
$(
notdir
$(
basename
$@
))
(
$<
)"
log_link_exe
=
echo
"Linking
$@
"
log_wb_load_wb_vers
=
echo
"Exporting
$<
"
log_xbm_xbm
=
echo
"Exporting
$<
"
log_frm_frm
=
echo
"Exporting
$<
"
log_graph_graph
=
echo
"Exporting
$<
"
log_msg_h
=
echo
"Compiling
$<
"
log_java_class
=
echo
"Compiling
$<
"
log_mkdir
=
echo
"I
$(time)
build-
$(pwre_bmodule)
, Dir created
$@
"
|
tee
-a
$(logfile)
log_cp
=
echo
"I
$(time)
build-
$(pwre_bmodule)
, Copy
$<
"
|
tee
-a
$(logfile)
log_exp
=
echo
"I
$(time)
build-
$(pwre_bmodule)
, Exporting
$<
"
|
tee
-a
$(logfile)
log_gen
=
echo
"I
$(time)
build-
$(pwre_bmodule)
, Generated
$@
"
|
tee
-a
$(logfile)
log_lib
=
echo
"I
$(time)
build-
$(pwre_bmodule)
, Building archive
$@
"
|
tee
-a
$(logfile)
log_pyext
=
echo
"I
$(time)
build-
$(pwre_bmodule)
, Building Python c extension
$@
"
|
tee
-a
$(logfile)
log_doxy
=
echo
"I
$(time)
build-
$(pwre_bmodule)
, Doxygen documentation
$@
"
|
tee
-a
$(logfile)
log_no
=
echo
"I
$(time)
build-
$(pwre_bmodule)
, Not building
$@
"
|
tee
-a
$(logfile)
log_h_h
=
echo
"I
$(time)
build-
$(pwre_bmodule)
, Exporting
$<
"
|
tee
-a
$(logfile)
log_x_h
=
echo
"I
$(time)
build-
$(pwre_bmodule)
, Exporting
$<
to
$(
notdir
$@
)
"
|
tee
-a
$(logfile)
#log_c_d = echo "I $(time) build-$(pwre_bmodule), Updating dependencies $<" | tee -a $(logfile)
log_c_obj
=
echo
"I
${time}
build-
$(pwre_bmodule)
, Compiling
$<
"
|
tee
-a
$(logfile)
log_c_lib
=
echo
"I
$(time)
build-
$(pwre_bmodule)
, Compiling
$(
notdir
$(
basename
$@
))
(
$<
)"
|
tee
-a
$(logfile)
log_x_lib
=
echo
"I
$(time)
build-
$(pwre_bmodule)
, Compiling
$(
notdir
$(
basename
$@
))
(
$<
)"
|
tee
-a
$(logfile)
log_obj_lib
=
echo
"I
$(time)
build-
$(pwre_bmodule)
, Archiving lasse
$(
notdir
$(
basename
$@
))
(
$(
notdir
$<
)
)"
|
tee
-a
$(logfile)
log_hlp_hlb
=
echo
"I
$(time)
build-
$(pwre_bmodule)
, Exporting
$(
notdir
$(
basename
$@
))
(
$<
)"
|
tee
-a
$(logfile)
log_sc_lib
=
echo
"I
$(time)
build-
$(pwre_bmodule)
, Compiling
$(
notdir
$(
basename
$@
))
(
$<
)"
|
tee
-a
$(logfile)
log_sc_obj
=
echo
"I
$(time)
build-
$(pwre_bmodule)
, Compiling
$<
"
|
tee
-a
$(logfile)
log_uil_uid
=
echo
"I
$(time)
build-
$(pwre_bmodule)
, Compiling
$<
"
|
tee
-a
$(logfile)
log_g_m1
=
echo
"I
$(time)
build-
$(pwre_bmodule)
, Exporting
$<
"
|
tee
-a
$(logfile)
log_cld_lib
=
echo
"I
$(time)
build-
$(pwre_bmodule)
, Compiling
$(
notdir
$(
basename
$@
))
(
$<
)"
|
tee
-a
$(logfile)
log_link_exe
=
echo
"I
$(time)
build-
$(pwre_bmodule)
, Linking
$@
"
|
tee
-a
$(logfile)
log_wb_load_wb_vers
=
echo
"I
$(time)
build-
$(pwre_bmodule)
, Exporting
$<
"
|
tee
-a
$(logfile)
log_xbm_xbm
=
echo
"I
$(time)
build-
$(pwre_bmodule)
, Exporting
$<
"
|
tee
-a
$(logfile)
log_frm_frm
=
echo
"I
$(time)
build-
$(pwre_bmodule)
, Exporting
$<
"
|
tee
-a
$(logfile)
log_graph_graph
=
echo
"I
$(time)
build-
$(pwre_bmodule)
, Exporting
$<
"
|
tee
-a
$(logfile)
log_msg_h
=
echo
"I
$(time)
build-
$(pwre_bmodule)
, Compiling
$<
"
|
tee
-a
$(logfile)
log_java_class
=
echo
"I
$(time)
build-
$(pwre_bmodule)
, Compiling
$<
"
|
tee
-a
$(logfile)
endif
src/tools/bld/src/wbl_generic.mk
View file @
0448e0a7
...
...
@@ -77,69 +77,78 @@ clean_html_en_us := $(patsubst %.wb_load,clean_%_en_us.html,$(wbl_sources))
clean_ps_sv_se
:=
$(
patsubst
%.wb_load,clean_%_sv_se.ps,
$(wbl_sources)
)
clean_ps_en_us
:=
$(
patsubst
%.wb_load,clean_%_en_us.ps,
$(wbl_sources)
)
log_load
=
echo
"I
$(time)
build-
$(pwre_bmodule)
, Generate loadfile
$(
notdir
$@
)
"
|
tee
-a
$(logfile)
log_struct
=
echo
"I
$(time)
build-
$(pwre_bmodule)
, Generate struct files
$(
notdir
$@
)
"
|
tee
-a
$(logfile)
log_hpp
=
echo
"I
$(time)
build-
$(pwre_bmodule)
, Generate hpp files
$(
notdir
$@
)
"
|
tee
-a
$(logfile)
log_html
=
echo
"I
$(time)
build-
$(pwre_bmodule)
, Generate html files
$(
notdir
$@
)
"
|
tee
-a
$(logfile)
log_ps
=
echo
"I
$(time)
build-
$(pwre_bmodule)
, Generate postscript files
$(
notdir
$@
)
"
|
tee
-a
$(logfile)
log_pdf
=
echo
"I
$(time)
build-
$(pwre_bmodule)
, Generate pdf files
$(
notdir
$@
)
"
|
tee
-a
$(logfile)
log_xtthelp
=
echo
"I
$(time)
build-
$(pwre_bmodule)
, Generate xtthelp files
$(
notdir
$@
)
"
|
tee
-a
$(logfile)
.SUFFIXES
:
$(bld_dir)$(dir_ext)
:
@
$(mkdir)
$(mkdirflags)
$(
basename
$@
)
$(load_dir)/%.dbs
:
%.wb_load
@
echo
"Generating loadfile for
$(source)
"
@
$(log_load)
@
export
pwr_load
=
$(pwr_eload)
;
\
wb_cmd
-q
-i
create snapshot
$(wblflags)
/file
=
\"
$(source)
\"
/out
=
\"
$(target)
\"
/depend
=
\"
$(dbs_dependencies)
\"
@
chmod
a+w
$(target)
$(inc_dir)/pwr_%classes.h
:
%.wb_load
@
echo
"Generating struct files for
$(source)
classes..."
@
$(log_struct)
@
$(co_convert)
-so
-d
$(inc_dir)
"
$(source)
"
$(inc_dir)/pwr_%classes.hpp
:
%.wb_load
@
echo
"Generating hpp files for
$(source)
classes..."
@
$(log_hpp)
@
$(co_convert)
-po
-d
$(inc_dir)
"
$(source)
"
$(doc_dir)/en_us/orm/%.pdf
:
%.pdf
@
echo
"Copy en_us
$(source)
"
@
$(log_cp)
@
$(cp)
$(cpflags)
$(source)
$(target)
$(doc_dir)/sv_se/orm/%.pdf
:
%.pdf
@
echo
"Copy sv_se
$(source)
"
@
$(log_cp)
@
$(cp)
$(cpflags)
$(source)
$(target)
$(doc_dir)/en_us/orm/%_allclasses.html
:
%.wb_load
@
echo
"Generating html files for
$(source)
classes en_us..."
@
$(log_html)
@
$(co_convert)
-w
-d
$(doc_dir)
/en_us/orm
-g
$(pwre_sroot)
/wbl/mcomp/src/cnv_setup.dat
"
$(source)
"
@
$(co_convert)
-c
-d
$(doc_dir)
/en_us/orm
$(inc_dir)
/pwr_
$(pwre_module)
classes.h
@
$(co_convert)
-c
-d
$(doc_dir)
/en_us/orm
$(inc_dir)
/pwr_
$(pwre_module)
classes.hpp
@
$(co_convert)
-k
-d
$(doc_dir)
/en_us/orm
-l
en_us
$(doc_dir)/sv_se/orm/%_allclasses.html
:
%.wb_load
@
echo
"Generating html files for
$(source)
classes sv_se..."
@
$(log_html)
@
$(co_convert)
-w
-l
sv_se
-d
$(doc_dir)
/sv_se/orm
-g
$(pwre_sroot)
/wbl/mcomp/src/cnv_setup.dat
"
$(source)
"
@
$(co_convert)
-c
-d
$(doc_dir)
/sv_se/orm
$(inc_dir)
/pwr_
$(pwre_module)
classes.h
@
$(co_convert)
-c
-d
$(doc_dir)
/sv_se/orm
$(inc_dir)
/pwr_
$(pwre_module)
classes.hpp
@
$(co_convert)
-k
-d
$(doc_dir)
/sv_se/orm
-l
sv_se
$(doc_dir)/en_us/%.ps
:
%.wb_load
@
echo
"Generating postscript file for
$(source)
classes en_us..."
@
$(log_ps)
@
$(co_convert)
-q
-l
en_us
-d
$(doc_dir)
/en_us
"
$(source)
"
$(doc_dir)/sv_se/%.ps
:
%.wb_load
@
echo
"Generating postscript file for
$(source)
classes sv_se..."
@
$(log_ps)
@
$(co_convert)
-q
-l
sv_se
-d
$(doc_dir)
/sv_se
"
$(source)
"
$(doc_dir)/en_us/%.pdf
:
%.wb_load
@
echo
"Generating pdf file for
$(source)
classes en_us..."
@
$(log_pdf)
@
$(co_convert)
-Q
-l
en_us
-d
$(doc_dir)
/en_us
"
$(source)
"
$(doc_dir)/sv_se/%.pdf
:
%.wb_load
@
echo
"Generating pdf file for
$(source)
classes sv_se..."
@
$(log_pdf)
@
$(co_convert)
-Q
-l
sv_se
-d
$(doc_dir)
/sv_se
"
$(source)
"
$(exe_dir)/en_us/%_xtthelp.dat
:
%.wb_load
@
echo
"Generating xtt help files for
$(source)
classes en_us"
@
$(log_xtthelp)
@
$(co_convert)
-x
-d
$(exe_dir)
/en_us
"
$(source)
"
$(exe_dir)/sv_se/%_xtthelp.dat
:
%.wb_load
@
echo
"Generating xtt help files for
$(source)
classes sv_se"
@
$(log_xtthelp)
@
$(co_convert)
-x
-l
sv_se
-d
$(exe_dir)
/sv_se
"
$(source)
"
$(exe_dir)/%.pwg
:
%.pwg
...
...
src/tools/pwre/src/pwre.pl
View file @
0448e0a7
...
...
@@ -3,6 +3,8 @@
# pwre.pl
#
use
POSIX
;
%
verbs
=
(
"
add
",
"
add:usage_add
",
"
configure
",
"
configure:usage_configure
",
...
...
@@ -153,7 +155,7 @@ sub configure()
sub
set_flavour
#
args
:
flavour
{
printf
("
Set flavour %s
\n
",
$_
[
0
]);
#
printf("Set flavour %s\n", $_[0]);
if
(
$_
[
0
]
eq
"
qt
")
{
$ENV
{
pwre_conf_qt
}
=
"
1
";
}
...
...
@@ -975,7 +977,7 @@ sub build_module()
if
(
$ver
==
1
)
{
printf
("
\n
");
}
printf
("
-- Build module %s
\n
",
$module
);
_log
('
I
',
'',
'',
'
Building module
'
);
#show();
if
(
$module
eq
"
rt
")
{
...
...
@@ -1217,7 +1219,8 @@ sub create_module()
$root
.=
"
/
"
.
$ENV
{"
pwre_hw
"};
create_dir
(
$root
);
printf
("
-- Creating build tree %s/%s
\n
",
$root
,
$module
);
$str
=
'
Creating build tree
'
.
$root
.
'
/
'
.
$module
;
_log
('
I
',
'',
'',
$str
);
$newdir
=
$root
.
"
/bld
";
create_dir
(
$newdir
);
...
...
@@ -1438,9 +1441,15 @@ sub _build() # args: branch, subbranch, flavour, phase
if
(
$parallel
eq
"
1
"
&&
((
$branch
eq
"
lib
"
&&
$subbranch
ne
"
dtt
")
||
$branch
eq
"
wbl
"))
{
# All libraries and wbl files can be compiled in parallel
system
("
make -f
$makefile
-j
$cpu_count
-l
$cpu_count
@_
")
&&
exit
1
;
if
(
system
("
make -f
$makefile
-j
$cpu_count
-l
$cpu_count
@_
"))
{
_log
("
F
",
$branch
,
$subbranch
,
"
Fatal error, build terminated
");
exit
1
;
}
}
else
{
system
("
make -f
$makefile
@_
")
&&
exit
1
;
if
(
system
("
make -f
$makefile
@_
"))
{
_log
("
F
",
$branch
,
$subbranch
,
"
Fatal error, build terminated
");
exit
1
;
}
}
}
}
...
...
@@ -1802,3 +1811,24 @@ sub usage_tags()
{
printf
("
++ tags : Creates a CRiSP tag-file named ~/pwre/tags
\n
");
}
sub
_log
()
#
args
:
severity
,
branch
,
subbranch
,
text
{
my
(
$severity
)
=
$_
[
0
];
my
(
$branch
)
=
$_
[
1
];
my
(
$subbranch
)
=
$_
[
2
];
my
(
$text
)
=
$_
[
3
];
my
(
$module
)
=
$ENV
{"
pwre_module
"};
my
(
$lisdir
)
=
$ENV
{"
pwr_elis
"};
my
$tim
=
strftime
("
%Y-%m-%d %H:%M:%S
",
localtime
(
time
));
my
$str
=
$severity
.
'
'
.
$tim
.
'
.00 build-
'
.
$module
.
'
,
'
.
$text
.
"
\n
";
my
(
$fname
)
=
"
>>
"
.
$lisdir
.
"
/build.tlog
";
if
(
open
(
my
$fd
,
$fname
))
{
print
$fd
$str
;
close
(
$fd
);
}
printf
("
%s
",
$str
);
}
src/wbl/pwrb/src/makefile
View file @
0448e0a7
...
...
@@ -28,19 +28,19 @@ export_code_sv_se := $(patsubst %.h,$(doc_dir)/sv_se/orm/%_h.html,$(export_code_
.SUFFIXES
:
$(doc_dir)/en_us/orm/%_c.html
:
$(pwre_sroot)/lib/rt/src/%.c
@
echo
"Generating html files sv_se
$(
notdir
$(source)
)
"
@
$(log_html)
@
$(co_convert)
-c
-d
$(doc_dir)
/en_us/orm
"
$(source)
"
$(doc_dir)/en_us/orm/%_h.html
:
$(pwre_sroot)/lib/rt/src/%.h
@
echo
"Generating html files sv_se
$(
notdir
$(source)
)
"
@
$(log_html)
@
$(co_convert)
-c
-d
$(doc_dir)
/en_us/orm
"
$(source)
"
$(doc_dir)/sv_se/orm/%_c.html
:
$(pwre_sroot)/lib/rt/src/%.c
@
echo
"Generating html files sv_se
$(
notdir
$(source)
)
"
@
$(log_html)
@
$(co_convert)
-c
-d
$(doc_dir)
/sv_se/orm
"
$(source)
"
$(doc_dir)/sv_se/orm/%_h.html
:
$(pwre_sroot)/lib/rt/src/%.h
@
echo
"Generating html files sv_se
$(
notdir
$(source)
)
"
@
$(log_html)
@
$(co_convert)
-c
-d
$(doc_dir)
/sv_se/orm
"
$(source)
"
.PHONY
:
all init copy lib exe dirs clean realclean
\
...
...
@@ -83,64 +83,64 @@ silent :
@
:
$(load_dir)/pwrb.dbs
:
@
echo
"Generating loadfile for pwrb"
@
$(log_load)
@
wb_cmd
-q
-i
create snapshot
$(wblflags)
/file
=
\"
$(pwre_sroot)
/wbl/pwrb/src/
\"
/out
=
\"
$(target)
\"
/depend
=
\"
$(bld_dir)
/pwrb.d_wbl
\"
@
chmod
a+w
$(target)
$(inc_dir)/pwr_baseclasses.h
:
@
echo
"Generating struct files for pwrb classes..."
@
$(log_struct)
@
$(co_convert)
-so
-d
$(inc_dir)
-y
$(bld_dir)
/pwrb.d_h_wbl
"
$(pwre_sroot)
/wbl/pwrb/src/pwrb_*.wb_load"
$(inc_dir)/pwr_baseclasses.hpp
:
@
echo
"Generating hpp files for pwrb classes..."
@
$(log_hpp)
@
$(co_convert)
-po
-d
$(inc_dir)
-y
$(bld_dir)
/pwrb.d_hpp_wbl
"
$(pwre_sroot)
/wbl/pwrb/src/pwrb_*.wb_load"
$(doc_dir)/en_us/orm/pwrb_allclasses.html
:
@
echo
"Generating html files for pwrb classes en_us..."
@
$(log_html)
@
$(co_convert)
-w
-d
$(doc_dir)
/en_us/orm
-y
$(bld_dir)
/pwrb.d_html_wbl
-g
$(pwre_sroot)
/wbl/pwrb/src/cnv_setup.dat
"
$(pwre_sroot)
/wbl/pwrb/src/pwrb_*.wb_load"
$(doc_dir)/en_us/orm/pwr_baseclasses_h.html
:
@
echo
"Generating html files for pwrb structs en_us..."
@
$(log_html)
@
$(co_convert)
-c
-d
$(doc_dir)
/en_us/orm
$(inc_dir)
/pwr_baseclasses.h
$(doc_dir)/en_us/orm/pwr_baseclasses_hpp.html
:
@
echo
"Generating html files for pwrb structs en_us..."
@
$(log_html)
@
$(co_convert)
-c
-d
$(doc_dir)
/en_us/orm
$(inc_dir)
/pwr_baseclasses.hpp
$(doc_dir)/sv_se/orm/pwrb_allclasses.html
:
@
echo
"Generating html files for pwrb classes sv_se..."
@
$(log_html)
@
$(co_convert)
-w
-l
sv_se
-d
$(doc_dir)
/sv_se/orm
-g
$(pwre_sroot)
/wbl/pwrb/src/cnv_setup.dat
"
$(pwre_sroot)
/wbl/pwrb/src/pwrb_*.wb_load"
$(doc_dir)/sv_se/orm/pwr_baseclasses_h.html
:
@
echo
"Generating html files for pwrb structs sv_se..."
@
$(log_html)
@
$(co_convert)
-c
-d
$(doc_dir)
/sv_se/orm
$(inc_dir)
/pwr_baseclasses.h
$(doc_dir)/sv_se/orm/pwr_baseclasses_hpp.html
:
@
echo
"Generating html files for pwrb structs sv_se..."
@
$(log_html)
@
$(co_convert)
-c
-d
$(doc_dir)
/sv_se/orm
$(inc_dir)
/pwr_baseclasses.hpp
$(doc_dir)/en_us/pwrb.ps
:
@
echo
"Generating postscript file for pwrb classes..."
@
$(log_ps)
@
$(co_convert)
-q
-d
$(doc_dir)
/en_us
"
$(pwre_sroot)
/wbl/pwrb/src/pwrb_*.wb_load"
$(doc_dir)/sv_se/pwrb.ps
:
@
echo
"Generating postscript file for pwrb classes..."
@
$(log_ps)
@
$(co_convert)
-q
-l
sv_se
-d
$(doc_dir)
/sv_se
"
$(pwre_sroot)
/wbl/pwrb/src/pwrb_*.wb_load"
$(doc_dir)/en_us/pwrb.pdf
:
@
echo
"Generating pdf file for pwrb classes..."
@
$(log_pdf)
@
$(co_convert)
-Q
-d
$(doc_dir)
/en_us
"
$(pwre_sroot)
/wbl/pwrb/src/pwrb_*.wb_load"
$(doc_dir)/sv_se/pwrb.pdf
:
@
echo
"Generating pdf file for pwrb classes..."
@
$(log_pdf)
@
$(co_convert)
-Q
-l
sv_se
-d
$(doc_dir)
/sv_se
"
$(pwre_sroot)
/wbl/pwrb/src/pwrb_*.wb_load"
$(exe_dir)/en_us/pwrb_xtthelp.dat
:
@
echo
"Generating xtt help files for pwrb classes en_us"
@
$(log_xtthelp)
@
$(co_convert)
-x
-d
$(exe_dir)
/en_us
-y
$(bld_dir)
/pwrb.d_en_us_xtthelp_wbl
"
$(pwre_sroot)
/wbl/pwrb/src/pwrb_c_*.wb_load"
$(exe_dir)/sv_se/pwrb_xtthelp.dat
:
@
echo
"Generating xtt help files for pwrb classes sv_se"
@
$(log_xtthelp)
@
$(co_convert)
-x
-l
sv_se
-d
$(exe_dir)
/sv_se
-y
$(bld_dir)
/pwrb.d_sv_se_xtthelp_wbl
"
$(pwre_sroot)
/wbl/pwrb/src/pwrb_c_*.wb_load"
#$(export_wbl) : $(cnf_dir)/%.wb_vers : %.wb_load
...
...
src/wbl/pwrs/src/makefile
View file @
0448e0a7
...
...
@@ -54,72 +54,72 @@ silent :
@
:
$(load_dir)/pwrs.dbs
:
@
echo
"Generating loadfile for pwrs"
@
$(log_load)
@
wb_cmd
-q
-i
create snapshot
$(wblflags)
/file
=
\"
$(pwre_sroot)
/wbl/pwrs/src/
\"
/out
=
\"
$(target)
\"
/depend
=
\"
$(bld_dir)
/pwrs.d_wbl
\"
@
chmod
a+w
$(target)
$(inc_dir)/pwr_systemclasses.h
:
@
echo
"Generating struct files for pwrs classes..."
@
$(log_struct)
@
$(co_convert)
-so
-d
$(inc_dir)
-y
$(bld_dir)
/pwrs.d_h_wbl
"
$(pwre_sroot)
/wbl/pwrs/src/pwrs_c_*.wb_load"
$(inc_dir)/pwr_systemclasses.hpp
:
@
echo
"Generating hpp files for pwrs classes..."
@
$(log_hpp)
@
$(co_convert)
-po
-d
$(inc_dir)
-y
$(bld_dir)
/pwrs.d_hpp_wbl
"
$(pwre_sroot)
/wbl/pwrs/src/pwrs_c_*.wb_load"
$(doc_dir)/en_us/orm/pwrs_allclasses.html
:
@
echo
"Generating html files for pwrs classes en_us..."
@
$(log_html)
@
$(co_convert)
-w
-d
$(doc_dir)
/en_us/orm
-y
$(bld_dir)
/pwrs.d_html_wbl
-g
$(pwre_sroot)
/wbl/pwrs/src/cnv_setup.dat
"
$(pwre_sroot)
/wbl/pwrs/src/pwrs_*.wb_load"
$(doc_dir)/en_us/orm/pwr_systemclasses_h.html
:
@
echo
"Generating html files for pwrs structs en_us..."
@
$(log_html)
@
$(co_convert)
-c
-d
$(doc_dir)
/en_us/orm
$(inc_dir)
/pwr_systemclasses.h
$(doc_dir)/en_us/orm/pwr_h.html
:
@
echo
"Generating html files for pwrs structs en_us..."
@
$(log_html)
@
$(co_convert)
-c
-d
$(doc_dir)
/en_us/orm
$(inc_dir)
/pwr.h
$(doc_dir)/en_us/orm/pwr_class_h.html
:
@
echo
"Generating html files for pwrs structs en_us..."
@
$(log_html)
@
$(co_convert)
-c
-d
$(doc_dir)
/en_us/orm
$(inc_dir)
/pwr_class.h
$(doc_dir)/sv_se/orm/pwrs_allclasses.html
:
@
echo
"Generating html files for pwrs classes sv_se..."
@
$(log_html)
@
$(co_convert)
-w
-l
sv_se
-d
$(doc_dir)
/sv_se/orm
-g
$(pwre_sroot)
/wbl/pwrs/src/cnv_setup.dat
"
$(pwre_sroot)
/wbl/pwrs/src/pwrs_*.wb_load"
$(doc_dir)/sv_se/orm/pwr_systemclasses_h.html
:
@
echo
"Generating html files for pwrs structs sv_se..."
@
$(log_html)
@
$(co_convert)
-c
-d
$(doc_dir)
/sv_se/orm
$(inc_dir)
/pwr_systemclasses.h
$(doc_dir)/sv_se/orm/pwr_h.html
:
@
echo
"Generating html files for pwrs structs sv_se..."
@
$(log_html)
@
$(co_convert)
-c
-d
$(doc_dir)
/sv_se/orm
$(inc_dir)
/pwr.h
$(doc_dir)/sv_se/orm/pwr_class_h.html
:
@
echo
"Generating html files for pwrs structs sv_se..."
@
$(log_html)
@
$(co_convert)
-c
-d
$(doc_dir)
/sv_se/orm
$(inc_dir)
/pwr_class.h
$(doc_dir)/en_us/pwrs.ps
:
@
echo
"Generating postscript file for pwrs classes..."
@
$(log_ps)
@
$(co_convert)
-q
-d
$(doc_dir)
/en_us
"
$(pwre_sroot)
/wbl/pwrs/src/pwrs_*.wb_load"
$(doc_dir)/sv_se/pwrs.ps
:
@
echo
"Generating postscript file for pwrs classes..."
@
$(log_ps)
@
$(co_convert)
-q
-l
sv_se
-d
$(doc_dir)
/sv_se
"
$(pwre_sroot)
/wbl/pwrs/src/pwrs_*.wb_load"
$(doc_dir)/en_us/pwrs.pdf
:
@
echo
"Generating pdf file for pwrs classes..."
@
$(log_pdf)
@
$(co_convert)
-Q
-d
$(doc_dir)
/en_us
"
$(pwre_sroot)
/wbl/pwrs/src/pwrs_*.wb_load"
$(doc_dir)/sv_se/pwrs.pdf
:
@
echo
"Generating pdf file for pwrs classes..."
@
$(log_pdf)
@
$(co_convert)
-Q
-l
sv_se
-d
$(doc_dir)
/sv_se
"
$(pwre_sroot)
/wbl/pwrs/src/pwrs_*.wb_load"
$(exe_dir)/en_us/pwrs_xtthelp.dat
:
@
echo
"Generating xtt help files for pwrs classes en_us"
@
$(log_xtthelp)
@
$(co_convert)
-x
-d
$(exe_dir)
/en_us
-y
$(bld_dir)
/pwrs.d_en_us_xtthelp_wbl
"
$(pwre_sroot)
/wbl/pwrs/src/pwrs_*.wb_load"
$(exe_dir)/sv_se/pwrs_xtthelp.dat
:
@
echo
"Generating xtt help files for pwrs classes sv_se"
@
echo
$(log_xtthelp)
@
$(co_convert)
-x
-l
sv_se
-d
$(exe_dir)
/sv_se
-y
$(bld_dir)
/pwrs.d_sv_se_xtthelp_wbl
"
$(pwre_sroot)
/wbl/pwrs/src/pwrs_*.wb_load"
...
...
@@ -150,7 +150,7 @@ clean_systemclasses :
fi
$(bld_dir)$(dir_ext)
:
@
echo
"pwrs makefile
$(
basename
$@
)
"
@
$(log_mkdir)
@
$(mkdir)
$(mkdirflags)
$(
basename
$@
)
-include
$(bld_dir)/pwrs.d_h_wbl
...
...
src/wbl/rt/src/makefile
View file @
0448e0a7
...
...
@@ -38,7 +38,7 @@ silent :
@
:
$(load_dir)/rt.dbs
:
@
echo
"Generating snapshot for rt"
@
$(log_load)
@
wb_cmd
-i
-q
create snapshot /file
=
\"
$(pwre_sroot)
/wbl/rt/src/rt.wb_load
\"
/out
=
\"
$(target)
\"
/depend
=
\"
$(bld_dir)
/rt.d_wbl
\"
@
if
[
-e
$(target)
]
;
then
\
chmod
a+w
$(target)
;
\
...
...
src/wbl/wb/src/makefile
View file @
0448e0a7
...
...
@@ -38,7 +38,7 @@ silent :
@
:
$(load_dir)/wb.dbs
:
@
echo
"Generating snapshot for wb"
@
$(log_load)
@
wb_cmd
-i
-q
create snapshot /file
=
\"
$(pwre_sroot)
/wbl/wb/src/wb.wb_load
\"
/out
=
\"
$(target)
\"
/depend
=
\"
$(bld_dir)
/wb.d_wbl
\"
@
if
[
-e
$(target)
]
;
then
\
chmod
a+w
$(target)
;
\
...
...
ssabox/lib/ssabox/src/makefile
View file @
0448e0a7
...
...
@@ -9,20 +9,20 @@ copy : $(doc_dir)/sv_se/orm/ssabox_plc_antisway_c.html \
$(doc_dir)/sv_se/orm/ssabox_plc_antisway_c.html
:
\
$(pwre_sroot)/lib/ssabox/src/ssabox_plc_antisway.c
@
echo
"Generating html files for ssabox plc antiway code sv_se..."
@
$(log_html)
@
$(co_convert)
-c
-d
$(doc_dir)
/sv_se/orm
"
$(source)
"
$(doc_dir)/en_us/orm/ssabox_plc_antisway_c.html
:
\
$(pwre_sroot)/lib/ssabox/src/ssabox_plc_antisway.c
@
echo
"Generating html files for ssabox plc antisway code en_us..."
@
$(log_html)
@
$(co_convert)
-c
-d
$(doc_dir)
/en_us/orm
"
$(source)
"
$(doc_dir)/sv_se/orm/ssabox_plc_servoreg_c.html
:
\
$(pwre_sroot)/lib/ssabox/src/ssabox_plc_servoreg.c
@
echo
"Generating html files for ssabox plc servoreg code sv_se..."
@
$(log_html)
@
$(co_convert)
-c
-d
$(doc_dir)
/sv_se/orm
"
$(source)
"
$(doc_dir)/en_us/orm/ssabox_plc_servoreg_c.html
:
\
$(pwre_sroot)/lib/ssabox/src/ssabox_plc_servoreg.c
@
echo
"Generating html files for ssabox plc servoreg code en_us..."
@
$(log_html)
@
$(co_convert)
-c
-d
$(doc_dir)
/en_us/orm
"
$(source)
"
wb/exp/com/src/makefile
View file @
0448e0a7
...
...
@@ -58,12 +58,12 @@ silent :
@
:
$(export_sh)
:
$(exe_dir)/%.sh : %.sh
@
echo
"Exporting
$<
..."
@
$(log_exp)
@
$(cp)
$(cpflags)
$(source)
$(target)
$(export_pwr_com)
:
$(exe_dir)/%.pwr_com : %.pwr_com
@
echo
"Exporting
$<
..."
@
$(log_exp)
@
$(cp)
$(cpflags)
$(source)
$(target)
$(clean_sh)
:
clean_%.sh : %.sh
...
...
wb/exp/pwrwb/src/makefile
View file @
0448e0a7
...
...
@@ -36,7 +36,7 @@ silent :
$(exe_dir)/pwrwb.so
:
pwrwbmodule.cpp
@
if
[
"
$(PWRE_CONF_PYDEV)
"
=
"1"
]
;
then
\
echo
"Bulding Python c extension pwrwb"
;
\
$(log_pyext)
;
\
python setup_pwrwb.py
-q
build
--build-base
$(bld_dir)
;
\
if
[
"
$(pwre_hw)
"
=
"hw_x86_64"
]
;
then
\
mv
$(bld_dir)
/lib.linux-x86_64-2.7/pwrwb.so
$(pwr_exe)
;
\
...
...
@@ -45,7 +45,7 @@ $(exe_dir)/pwrwb.so : pwrwbmodule.cpp
fi
;
\
python setup_pwrwb.py
-q
install_egg_info
--install-dir
$(pwr_exe)
;
\
else
\
echo
"Not building Python c extension pwrwb"
;
\
$(log_no)
;
\
fi
clean_pwrwb.so
:
pwrwbmodule.cpp
...
...
wb/exp/wb/src/makefile
View file @
0448e0a7
...
...
@@ -82,7 +82,7 @@ silent :
@
:
$(exe_dir)/pwr_wb_palette.cnf
:
pwr_wb_palette.cnf
@
echo
"Copying pwr_wb_palette.cnf"
@
$(log_cp)
@
$(cp)
$(cpflags)
$(source)
$(target)
$(clean_h)
:
clean_%.h : %.h
...
...
xtt/exp/ge/src/makefile
View file @
0448e0a7
...
...
@@ -114,5 +114,5 @@ $(clean_web) : clean_%.pwgc : %.pwgc
@
$(rm)
$(rmflags)
$(web_dir)
/
$*
.pwgc
$(exe_dir)/pwr_css.css
:
pwr_css.css
@
echo
"copy
$(source)
$(target)
"
@
$(log_cp)
@
cp
$(source)
$(target)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment