1 #*************************************************************************
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 # Copyright 2000, 2010 Oracle and/or its affiliates.
7 # OpenOffice.org - a multi-platform office productivity suite
9 # This file is part of OpenOffice.org.
11 # OpenOffice.org is free software: you can redistribute it and/or modify
12 # it under the terms of the GNU Lesser General Public License version 3
13 # only, as published by the Free Software Foundation.
15 # OpenOffice.org is distributed in the hope that it will be useful,
16 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 # GNU Lesser General Public License version 3 for more details
19 # (a copy is included in the LICENSE file that accompanied this code).
21 # You should have received a copy of the GNU Lesser General Public License
22 # version 3 along with OpenOffice.org. If not, see
23 # <http://www.openoffice.org/license.html>
24 # for a copy of the LGPLv3 License.
26 #*************************************************************************
35 build_all : build_instsetoo_native
37 all .PHONY : build_all
39 check_modules .PHONY :
40 @+echo Checking module list
41 @+perl $(SOLARENV)$/bin$/build.pl --checkmodules
43 # Only build when all modules available
44 build_instsetoo_native .SETDIR=instsetoo_native/prj : check_modules
45 @+perl $(SOLARENV)$/bin$/build.pl --all $(PROFULLSWITCH)
47 depend .SETDIR=instsetoo_native/prj : check_modules
48 @+perl $(SOLARENV)$/bin$/build.pl --all $(PROFULLSWITCH) depend=t
59 distclean .PHONY: clean
62 .IF "$(BUILD_DMAKE)"!="NO"
63 -$(GNUMAKE) -C dmake distclean
69 -rm -rf solver/*/$(INPATH)
70 .IF "$(BUILD_DMAKE)"!="NO"
71 -echo cleaning up dmake...
72 -$(GNUMAKE) -C dmake clean
79 configure .PHONY SETDIR=. :
88 @test "$(DESTDIR)$(prefix)" != "" || (echo Usage: make install [DESTDIR=DIR] prefix=DIR; exit 2)
89 cp -p instsetoo_native/$(INPATH)/bin/* $(SOLARVER)/$(INPATH)/bin
90 cd instsetoo_native/util \
93 LOCAL_COMMON_OUT=$(INPATH)\
94 DEFAULT_TO_ENGLISH_FOR_PACKING=1\
95 PYTHONPATH=$(SOLARVER)/$(INPATH)/bin:$(SOLARVER)/$(INPATH)/lib:$(PYTHONPATH) \
96 $(PERL) $(SOLARENV)/bin/make_installer.pl -f openoffice.lst -l $(WITH_LANG:f:t",") -p OpenOffice -buildid 0 -simple $(DESTDIR)$(prefix)
98 #*************************************************************************