2006-12-19 04:45:40 -06:00
|
|
|
#*************************************************************************
|
|
|
|
#
|
2008-04-10 22:30:54 -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.
|
2006-12-19 04:45:40 -06:00
|
|
|
#
|
2008-04-10 22:30:54 -05:00
|
|
|
# OpenOffice.org - a multi-platform office productivity suite
|
2006-12-19 04:45:40 -06:00
|
|
|
#
|
2008-04-10 22:30:54 -05:00
|
|
|
# This file is part of OpenOffice.org.
|
2006-12-19 04:45:40 -06:00
|
|
|
#
|
2008-04-10 22:30:54 -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.
|
2006-12-19 04:45:40 -06:00
|
|
|
#
|
2008-04-10 22:30:54 -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).
|
2006-12-19 04:45:40 -06:00
|
|
|
#
|
2008-04-10 22:30:54 -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.
|
2006-12-19 04:45:40 -06:00
|
|
|
#
|
|
|
|
#*************************************************************************
|
|
|
|
|
|
|
|
PRJ = ..$/..$/..
|
|
|
|
|
|
|
|
PRJNAME = desktop
|
|
|
|
TARGET = unopkg
|
|
|
|
TARGETTYPE = GUI
|
|
|
|
ENABLE_EXCEPTIONS = TRUE
|
|
|
|
LIBTARGET=NO
|
|
|
|
|
2008-03-06 08:29:48 -06:00
|
|
|
PRJINC += ..$/..$/deployment ..$/..
|
2006-12-19 04:45:40 -06:00
|
|
|
.INCLUDE : settings.mk
|
2006-12-22 02:03:35 -06:00
|
|
|
.INCLUDE : $(PRJ)$/source$/deployment$/inc$/dp_misc.mk
|
2006-12-19 04:45:40 -06:00
|
|
|
|
2011-05-18 03:13:45 -05:00
|
|
|
CFLAGS+= $(SYSTEM_DB_CFLAGS)
|
2006-12-19 04:45:40 -06:00
|
|
|
|
2009-11-05 10:05:18 -06:00
|
|
|
.IF "$(LINK_SO)"!=""
|
2006-12-19 04:45:40 -06:00
|
|
|
APP1TARGET = so$/unopkg
|
2008-03-18 07:49:13 -05:00
|
|
|
APP1OBJS = $(OBJFILES)
|
2009-04-27 06:24:10 -05:00
|
|
|
APP1STDLIBS = $(SALLIB) $(UNOPKGAPPLIB)
|
2008-03-18 07:49:13 -05:00
|
|
|
APP1DEPN = $(SHL1TARGETN)
|
|
|
|
APP1NOSAL = TRUE
|
|
|
|
APP1RPATH = BRAND
|
|
|
|
.IF "$(OS)" == "WNT"
|
2008-07-16 10:30:00 -05:00
|
|
|
APP1ICON = $(SOLARRESDIR)$/icons/so9_main_app.ico
|
2008-03-18 07:49:13 -05:00
|
|
|
APP1LINKRES = $(MISC)$/$(TARGET)1.res
|
|
|
|
.ENDIF
|
2009-11-05 10:05:18 -06:00
|
|
|
.ENDIF # "$(LINK_SO)"!=""
|
2006-12-19 04:45:40 -06:00
|
|
|
|
|
|
|
APP2TARGET = unopkg
|
2008-03-18 07:49:13 -05:00
|
|
|
APP2OBJS = $(OBJFILES)
|
2009-04-27 06:24:10 -05:00
|
|
|
APP2STDLIBS = $(SALLIB) $(UNOPKGAPPLIB)
|
2008-03-18 07:49:13 -05:00
|
|
|
APP2DEPN = $(SHL1TARGETN)
|
|
|
|
APP2NOSAL = TRUE
|
|
|
|
APP2RPATH = BRAND
|
|
|
|
.IF "$(OS)" == "WNT"
|
2008-07-16 10:30:00 -05:00
|
|
|
APP2ICON = $(SOLARRESDIR)$/icons/ooo3_main_app.ico
|
2008-03-18 07:49:13 -05:00
|
|
|
APP2LINKRES = $(MISC)$/$(TARGET)2.res
|
2006-12-19 04:45:40 -06:00
|
|
|
.ENDIF
|
|
|
|
|
2008-06-25 05:10:54 -05:00
|
|
|
SHL1TARGET = unopkgapp
|
2008-03-18 07:49:13 -05:00
|
|
|
SHL1OBJS = $(SLOFILES) $(SLO)$/lockfile.obj
|
|
|
|
SHL1STDLIBS = \
|
|
|
|
$(SALLIB) \
|
|
|
|
$(CPPULIB) \
|
|
|
|
$(CPPUHELPERLIB) \
|
|
|
|
$(COMPHELPERLIB) \
|
|
|
|
$(UCBHELPERLIB) \
|
|
|
|
$(UNOTOOLSLIB) \
|
|
|
|
$(TOOLSLIB) \
|
|
|
|
$(VCLLIB) \
|
|
|
|
$(DEPLOYMENTMISCLIB)
|
|
|
|
SHL1VERSIONMAP = version.map
|
|
|
|
SHL1IMPLIB = i$(SHL1TARGET)
|
|
|
|
DEF1NAME = $(SHL1TARGET)
|
|
|
|
|
|
|
|
SLOFILES = \
|
|
|
|
$(SLO)$/unopkg_app.obj \
|
|
|
|
$(SLO)$/unopkg_cmdenv.obj \
|
|
|
|
$(SLO)$/unopkg_misc.obj
|
|
|
|
|
|
|
|
OBJFILES = $(OBJ)$/unopkg_main.obj
|
2006-12-19 04:45:40 -06:00
|
|
|
|
|
|
|
.INCLUDE : target.mk
|
|
|
|
|
2007-10-26 05:56:48 -05:00
|
|
|
.IF "$(APP1TARGETN)" != "" # not set during depend=x
|
2007-06-14 07:01:56 -05:00
|
|
|
$(APP1TARGETN) : $(MISC)$/binso_created.flg
|
2008-01-16 07:34:31 -06:00
|
|
|
.ENDIF # "$(APP1TARGETN)"!=""
|
2006-12-19 04:45:40 -06:00
|
|
|
|
2007-06-14 07:01:56 -05:00
|
|
|
$(MISC)$/binso_created.flg:
|
|
|
|
@@-$(MKDIRHIER) $(BIN)$/so && $(TOUCH) $@
|
2008-07-22 11:16:08 -05:00
|
|
|
@@-$(MKDIRHIER) $(MISC)$/so && $(TOUCH) $@
|
|
|
|
|