2004-09-08 09:02:05 -05:00
|
|
|
#*************************************************************************
|
|
|
|
#
|
2008-04-10 04:05:45 -05:00
|
|
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
|
|
#
|
2010-02-12 08:01:35 -06:00
|
|
|
# Copyright 2000, 2010 Oracle and/or its affiliates.
|
2004-09-08 09:02:05 -05:00
|
|
|
#
|
2008-04-10 04:05:45 -05:00
|
|
|
# OpenOffice.org - a multi-platform office productivity suite
|
2004-09-08 09:02:05 -05:00
|
|
|
#
|
2008-04-10 04:05:45 -05:00
|
|
|
# This file is part of OpenOffice.org.
|
2004-09-08 09:02:05 -05:00
|
|
|
#
|
2008-04-10 04:05:45 -05:00
|
|
|
# OpenOffice.org is free software: you can redistribute it and/or modify
|
|
|
|
# it under the terms of the GNU Lesser General Public License version 3
|
|
|
|
# only, as published by the Free Software Foundation.
|
2004-09-08 09:02:05 -05:00
|
|
|
#
|
2008-04-10 04:05:45 -05:00
|
|
|
# OpenOffice.org is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU Lesser General Public License version 3 for more details
|
|
|
|
# (a copy is included in the LICENSE file that accompanied this code).
|
2004-09-08 09:02:05 -05:00
|
|
|
#
|
2008-04-10 04:05:45 -05:00
|
|
|
# You should have received a copy of the GNU Lesser General Public License
|
|
|
|
# version 3 along with OpenOffice.org. If not, see
|
|
|
|
# <http://www.openoffice.org/license.html>
|
|
|
|
# for a copy of the LGPLv3 License.
|
2004-09-08 09:02:05 -05:00
|
|
|
#
|
|
|
|
#*************************************************************************
|
|
|
|
|
|
|
|
PRJ=..
|
|
|
|
|
|
|
|
PRJNAME=setup_native
|
|
|
|
TARGET=install
|
|
|
|
|
|
|
|
# --- Settings -----------------------------------------------------
|
|
|
|
|
|
|
|
.INCLUDE : settings.mk
|
2009-09-16 06:45:54 -05:00
|
|
|
.IF "$(L10N_framework)"==""
|
2004-09-08 09:02:05 -05:00
|
|
|
# --- Files --------------------------------------------------------
|
|
|
|
|
2004-10-18 08:07:46 -05:00
|
|
|
UNIXTEXT= \
|
2004-12-16 03:49:30 -06:00
|
|
|
$(BIN)$/langpackscript.sh \
|
2005-04-20 05:40:49 -05:00
|
|
|
$(BIN)$/linuxpatchscript.sh \
|
2007-01-02 08:26:33 -06:00
|
|
|
$(BIN)$/javaloader.sh \
|
2006-10-27 06:10:01 -05:00
|
|
|
$(BIN)$/register_extensions \
|
|
|
|
$(BIN)$/deregister_extensions \
|
2007-11-26 06:18:33 -06:00
|
|
|
$(BIN)$/unpack_update.sh \
|
|
|
|
$(BIN)$/update.sh \
|
2004-12-16 03:49:30 -06:00
|
|
|
$(BIN)$/downloadscript.sh
|
2004-09-08 09:02:05 -05:00
|
|
|
|
2007-11-02 06:51:41 -05:00
|
|
|
.IF "$(OS)" == "SOLARIS" || "$(OS)" == "LINUX"
|
2007-07-11 09:05:11 -05:00
|
|
|
UNIXTEXT+= $(BIN)$/stclient_wrapper.sh
|
|
|
|
.ENDIF
|
|
|
|
|
2007-07-19 01:19:43 -05:00
|
|
|
FAKEDB=$(BIN)$/noarch/fake-db-1.0-0.noarch.rpm
|
|
|
|
FAKEDBROOT=$(COMMONMISC)/$(TARGET)/fake-db-root
|
|
|
|
|
2004-09-08 09:02:05 -05:00
|
|
|
# --- Targets ------------------------------------------------------
|
|
|
|
|
2009-09-16 06:45:54 -05:00
|
|
|
.ENDIF # L10N_framework
|
2004-09-08 09:02:05 -05:00
|
|
|
.INCLUDE : target.mk
|
2009-09-16 06:45:54 -05:00
|
|
|
.IF "$(L10N_framework)"==""
|
2007-07-19 01:19:43 -05:00
|
|
|
.IF "$(OS)" == "SOLARIS" || "$(OS)" == "LINUX"
|
2004-09-08 09:02:05 -05:00
|
|
|
|
2007-07-19 01:19:43 -05:00
|
|
|
ALLTAR: $(BIN)$/install $(BIN)$/uninstall
|
2004-09-08 09:02:05 -05:00
|
|
|
|
2007-07-19 01:19:43 -05:00
|
|
|
$(BIN)$/install: install_$(OS:l).sh
|
|
|
|
$(PERL) install_create.pl $& $@
|
2005-11-09 02:27:07 -06:00
|
|
|
-chmod 775 $@
|
2004-09-08 09:02:05 -05:00
|
|
|
|
2007-07-19 01:19:43 -05:00
|
|
|
.ENDIF
|
|
|
|
|
|
|
|
.IF "$(OS)" == "LINUX"
|
|
|
|
|
|
|
|
$(FAKEDB) : fake-db.spec
|
|
|
|
$(MKDIRHIER) $(FAKEDBROOT)
|
2008-11-20 09:36:10 -06:00
|
|
|
$(RPM) --define "_builddir $(shell @cd $(FAKEDBROOT) && pwd)" --define "_rpmdir $(shell @cd $(BIN) && pwd)" -bb $<
|
2007-07-19 01:19:43 -05:00
|
|
|
|
|
|
|
$(BIN)$/install: $(FAKEDB)
|
|
|
|
|
2004-09-08 09:02:05 -05:00
|
|
|
$(BIN)$/uninstall: uninstall_linux.sh
|
2005-11-09 02:27:07 -06:00
|
|
|
$(TYPE) $< | tr -d "\015" > $@
|
|
|
|
-chmod 775 $@
|
2005-06-17 08:12:31 -05:00
|
|
|
|
2004-09-08 09:02:05 -05:00
|
|
|
.ENDIF
|
|
|
|
|
|
|
|
.IF "$(OS)" == "SOLARIS"
|
|
|
|
|
2007-07-19 01:19:43 -05:00
|
|
|
$(BIN)$/install: $(LB)$/getuid.so.stripped
|
2004-09-08 09:02:05 -05:00
|
|
|
|
2005-06-17 08:12:31 -05:00
|
|
|
$(BIN)$/uninstall: uninstall_solaris.sh $(LB)$/getuid.so.stripped
|
2007-07-19 01:19:43 -05:00
|
|
|
$(PERL) install_create.pl $< $@
|
2005-11-09 02:27:07 -06:00
|
|
|
-chmod 775 $@
|
2004-09-08 09:02:05 -05:00
|
|
|
|
2005-06-17 08:12:31 -05:00
|
|
|
$(LB)$/getuid.so.stripped: $(LB)$/getuid.so
|
|
|
|
@$(COPY) $< $@
|
|
|
|
@/usr/ccs/bin/strip $@
|
2004-09-08 09:02:05 -05:00
|
|
|
|
|
|
|
.ENDIF
|
|
|
|
|
2009-09-16 06:45:54 -05:00
|
|
|
.ENDIF # L10N_framework
|