1#************************************************************** 2# 3# Licensed to the Apache Software Foundation (ASF) under one 4# or more contributor license agreements. See the NOTICE file 5# distributed with this work for additional information 6# regarding copyright ownership. The ASF licenses this file 7# to you under the Apache License, Version 2.0 (the 8# "License"); you may not use this file except in compliance 9# with the License. You may obtain a copy of the License at 10# 11# http://www.apache.org/licenses/LICENSE-2.0 12# 13# Unless required by applicable law or agreed to in writing, 14# software distributed under the License is distributed on an 15# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16# KIND, either express or implied. See the License for the 17# specific language governing permissions and limitations 18# under the License. 19# 20#************************************************************** 21 22 23 24PRJ=..$/.. 25 26PRJNAME=desktop 27TARGET=dkt 28AUTOSEG=true 29ENABLE_EXCEPTIONS=TRUE 30 31# --- Settings ----------------------------------------------------- 32 33.INCLUDE : settings.mk 34.INCLUDE : ../deployment/inc/dp_misc.mk 35 36.IF "$(ENABLE_GNOMEVFS)"=="TRUE" 37CFLAGS+=-DGNOME_VFS_ENABLED 38.ENDIF 39 40.IF "$(GUI)"=="WNT" || "$(GUI)"=="OS2" || "$(GUIBASE)"=="aqua" || "$(ENABLE_SYSTRAY_GTK)"=="TRUE" 41CFLAGS+=-DENABLE_QUICKSTART_APPLET 42.ENDIF 43 44# .IF "$(OS)" == "WNT" 45# .IF "$(COM)" == "GCC" 46# DEPLOYMENTMISCLIB = -ldeploymentmisc$(DLLPOSTFIX) 47# .ELSE 48# DEPLOYMENTMISCLIB = ideploymentmisc$(DLLPOSTFIX).lib 49# .ENDIF 50# .ELIF "$(OS)" == "OS2" 51# DEPLOYMENTMISCLIB = ideploymentmisc$(DLLPOSTFIX).lib 52# .ELSE 53# DEPLOYMENTMISCLIB = -ldeploymentmisc$(DLLPOSTFIX) 54# .ENDIF 55 56.IF "$(GUI)"=="WNT" || "$(GUI)"=="OS2" || "$(GUIBASE)"=="aqua" || "$(ENABLE_SYSTRAY_GTK)"=="TRUE" 57CFLAGS+=-DENABLE_QUICKSTART_APPLET 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