On 19.08.2013 09:39, janI wrote:
Hi.
I am trying to find the default target for the build process.
In any directory e.g. l10ntools, we can run "build" which calls "dmake"
without parameters.
Nearly all makefile.mk includes target.mk, where all target rules seems to
be defined.
The de facto standard is to have "all:" defined, but thats not defined
(neither is "default:").
what is the default target, and in which file is it defined ?
According to [1] the target dependency graph is rooted in .ROOT (which
therefore would correspond to all:). .ROOT depends on .INIT
via
.ROOT .PHONY .NOSTATE .SEQUENTIAL :- .INIT .TARGETS .DONE;
in solenv/inc/startup/startup.mk.
.INIT has several dependencies defined in solenv/inc with the most
interesting seeming to be
.INIT .SEQUENTIAL : $(TARGETDEPS) $(NULLPRQ)
in solenv/inc/target.ml. Here .SEQUENTIAL seems to be (I am just
reading the documentation, I have no personal experience in this area) a
modifier that tells dmake to build the dependencies of .INIT one after
the other. I don't know what .NULLPRQ is.
-Andre
[1] http://www.openoffice.org/tools/dmake/dmake_4.5.html#lbAG
I have changed the build system so you can say "build --genPO" to extract
sources, but I need to have the default target made for a small set
(solenv, soltools and l10ntools).
Thx for any advice.
rgds
jan I.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org