1 #*************************************************************************
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 # Copyright 2008 by Sun Microsystems, Inc.
7 # OpenOffice.org - a multi-platform office productivity suite
13 # This file is part of OpenOffice.org.
15 # OpenOffice.org is free software: you can redistribute it and/or modify
16 # it under the terms of the GNU Lesser General Public License version 3
17 # only, as published by the Free Software Foundation.
19 # OpenOffice.org is distributed in the hope that it will be useful,
20 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 # GNU Lesser General Public License version 3 for more details
23 # (a copy is included in the LICENSE file that accompanied this code).
25 # You should have received a copy of the GNU Lesser General Public License
26 # version 3 along with OpenOffice.org. If not, see
27 # <http://www.openoffice.org/license.html>
28 # for a copy of the LGPLv3 License.
30 #*************************************************************************
32 # --- Force JDK14 switch ------------------------------------------
34 .IF
"$(USE_JDK_VERSION)" == "140"
36 JAVA_HOME
=$(JDK14PATH
)
38 PATH
!:=$(JDK14PATH
)/bin
$(PATH_SEPERATOR
)$(PATH
)
39 XCLASSPATH
:=$(JDK14PATH
)/jre
/lib
/rt.jar
40 CLASSPATH
:=$(XCLASSPATH
)
43 # --- Settings -----------------------------------------------------
45 .INCLUDE
: settings.mk
48 # --- ANT build environment ---------------------------------------
50 .INCLUDE
: antsettings.mk
54 CLASSPATH
!:=$(CLASSPATH
)$(PATH_SEPERATOR
)$(ANT_CLASSPATH
)$(PATH_SEPERATOR
)$(JAVA_HOME
)/lib
/tools.jar
58 # --- TARGETS -----------------------------------------------------
60 $(CLASSDIR
)/solar.properties
: $(SOLARVERSION
)/$(INPATH
)/inc
$(UPDMINOREXT
)/minormkchanged.flg
$(SOLARENV
)/inc
/ant.properties
62 @echo solar.build
=$(BUILD
) > $@
63 @echo solar.rscversion
=$(USQ
)$(RSCVERSION
)$(USQ
) >> $@
64 @echo solar.rscrevision
=$(USQ
)$(RSCREVISION
)$(USQ
) >> $@
65 @echo solar.minor
=$(LAST_MINOR
) >> $@
66 @echo solar.sourceversion
=$(SOURCEVERSION
) >> $@
67 @echo solar.udkstamp
=$(UDKSTAMP
) >> $@
68 @echo solar.extstamp
=$(EXTSTAMP
) >> $@
69 @cat
$(DMAKEROOT
)/..
/ant.properties
>> $@
75 $(ANT
) $(ANT_FLAGS
) $@
78 $(ANT
) $(ANT_FLAGS
) $@
81 $(ANT
) $(ANT_FLAGS
) $@
84 $(ANT
) $(ANT_FLAGS
) $@
87 $(ANT
) $(ANT_FLAGS
) $@
90 $(ANT
) $(ANT_FLAGS
) $@
93 $(ANT
) $(ANT_FLAGS
) $@
96 $(ANT
) $(ANT_FLAGS
) $@
99 $(ANT
) $(ANT_FLAGS
) $@
102 $(ANT
) $(ANT_FLAGS
) $@