1#************************************************************************* 2# 3# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4# 5# Copyright 2000, 2010 Oracle and/or its affiliates. 6# 7# OpenOffice.org - a multi-platform office productivity suite 8# 9# This file is part of OpenOffice.org. 10# 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. 14# 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). 20# 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. 25# 26#************************************************************************* 27 28PRJ=..$/.. 29 30PRJNAME=desktop 31TARGET=dkt 32AUTOSEG=true 33ENABLE_EXCEPTIONS=TRUE 34 35# --- Settings ----------------------------------------------------- 36 37.INCLUDE : settings.mk 38.INCLUDE : ../deployment/inc/dp_misc.mk 39 40.IF "$(ENABLE_GNOMEVFS)"=="TRUE" 41CFLAGS+=-DGNOME_VFS_ENABLED 42.ENDIF 43 44.IF "$(GUI)"=="WNT" || "$(GUI)"=="OS2" || "$(GUIBASE)"=="aqua" || "$(ENABLE_SYSTRAY_GTK)"=="TRUE" 45CFLAGS+=-DENABLE_QUICKSTART_APPLET 46.ENDIF 47 48# .IF "$(OS)" == "WNT" 49# .IF "$(COM)" == "GCC" 50# DEPLOYMENTMISCLIB = -ldeploymentmisc$(DLLPOSTFIX) 51# .ELSE 52# DEPLOYMENTMISCLIB = ideploymentmisc$(DLLPOSTFIX).lib 53# .ENDIF 54# .ELIF "$(OS)" == "OS2" 55# DEPLOYMENTMISCLIB = ideploymentmisc$(DLLPOSTFIX).lib 56# .ELSE 57# DEPLOYMENTMISCLIB = -ldeploymentmisc$(DLLPOSTFIX) 58# .ENDIF 59 60SHL1TARGET = sofficeapp 61SHL1OBJS = \ 62 $(SLO)$/app.obj \ 63 $(SLO)$/appfirststart.obj \ 64 $(SLO)$/appinit.obj \ 65 $(SLO)$/appsys.obj \ 66 $(SLO)$/checkinstall.obj \ 67 $(SLO)$/check_ext_deps.obj \ 68 $(SLO)$/cmdlineargs.obj \ 69 $(SLO)$/cmdlinehelp.obj \ 70 $(SLO)$/configinit.obj \ 71 $(SLO)$/desktopcontext.obj \ 72 $(SLO)$/desktopresid.obj \ 73 $(SLO)$/dispatchwatcher.obj \ 74 $(SLO)$/langselect.obj \ 75 $(SLO)$/lockfile.obj \ 76 $(SLO)$/lockfile2.obj \ 77 $(SLO)$/officeipcthread.obj \ 78 $(SLO)$/sofficemain.obj \ 79 $(SLO)$/userinstall.obj 80 81SHL1LIBS = $(SLB)$/mig.lib 82 83SHL1STDLIBS = \ 84 $(COMPHELPERLIB) \ 85 $(CPPUHELPERLIB) \ 86 $(CPPULIB) \ 87 $(DEPLOYMENTMISCLIB) \ 88 $(I18NISOLANGLIB) \ 89 $(SALLIB) \ 90 $(SFXLIB) \ 91 $(SVLLIB) \ 92 $(SVTOOLLIB) \ 93 $(TKLIB) \ 94 $(TOOLSLIB) \ 95 $(UCBHELPERLIB) \ 96 $(UNOTOOLSLIB) \ 97 $(VCLLIB) \ 98 $(VOSLIB) 99SHL1VERSIONMAP = version.map 100SHL1IMPLIB = i$(SHL1TARGET) 101DEF1NAME = $(SHL1TARGET) 102 103OBJFILES = \ 104 $(OBJ)$/copyright_ascii_ooo.obj \ 105 $(OBJ)$/main.obj 106.IF "$(GUI)" != "OS2" 107OBJFILES += \ 108 $(OBJ)$/copyright_ascii_sun.obj 109.ENDIF 110 111SLOFILES = $(SHL1OBJS) 112 113SRS1NAME= desktop 114SRC1FILES= desktop.src 115 116# --- Targets ------------------------------------------------------ 117 118.INCLUDE : target.mk 119 120