Re: Re: Building OpenOffice.org with GNU make

bjoern michaelsen - Sun Microsystems - Hamburg Germany <[email protected]> Mon, 7 Dec 2009 14:08:29 +0100
Newsgroups gmane.comp.openoffice.devel.tools
Organization Sun Microsystems
Message-ID <20091207140829.32125876@x42-so34>
On Mon, 07 Dec 2009 13:46:19 +0100
Thorsten Behrens <[email protected]> wrote:

> That's exactly why I wonder if we should have a level of abstraction
> above naked gnu makefiles - i.e. a DSL that gets translated into
> makefiles.

Actually, the files describing the actual stuff to build are a kind of
DSL. If you look at target_lib_msword.mk there is no makefile syntax or
logic beyond the $(eval $(call)) statements. What is called by the
eval/call statements is our own high level DSL/API. You could
rather trivially parse and translate that to MSBuild-XML, CMake-Files,
Jam-Files or anything else, should the need arise someday.

The important stuff and the hard part will be to:
a) translate all files into clean declarative statements.
b) keep those files clean and not letting them bit rot.

Best Regards,

Bjoern

-- 
===========================================================================
 Sitz der Gesellschaft:
 Sun Microsystems GmbH, Sonnenallee 1, D-85551 Kirchheim-Heimstetten
 Amtsgericht Muenchen: HRB 161028
 Geschaeftsfuehrer: Thomas Schroeder, Wolfgang Engels, Wolf Frenkel
 Vorsitzender des Aufsichtsrates: Martin Haering
===========================================================================