xref: /aoo42x/main/desktop/source/app/makefile.mk (revision 2fd7ad1d)
1cdf0e10cSrcweir#*************************************************************************
2cdf0e10cSrcweir#
3cdf0e10cSrcweir# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4cdf0e10cSrcweir#
5cdf0e10cSrcweir# Copyright 2000, 2010 Oracle and/or its affiliates.
6cdf0e10cSrcweir#
7cdf0e10cSrcweir# OpenOffice.org - a multi-platform office productivity suite
8cdf0e10cSrcweir#
9cdf0e10cSrcweir# This file is part of OpenOffice.org.
10cdf0e10cSrcweir#
11cdf0e10cSrcweir# OpenOffice.org is free software: you can redistribute it and/or modify
12cdf0e10cSrcweir# it under the terms of the GNU Lesser General Public License version 3
13cdf0e10cSrcweir# only, as published by the Free Software Foundation.
14cdf0e10cSrcweir#
15cdf0e10cSrcweir# OpenOffice.org is distributed in the hope that it will be useful,
16cdf0e10cSrcweir# but WITHOUT ANY WARRANTY; without even the implied warranty of
17cdf0e10cSrcweir# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18cdf0e10cSrcweir# GNU Lesser General Public License version 3 for more details
19cdf0e10cSrcweir# (a copy is included in the LICENSE file that accompanied this code).
20cdf0e10cSrcweir#
21cdf0e10cSrcweir# You should have received a copy of the GNU Lesser General Public License
22cdf0e10cSrcweir# version 3 along with OpenOffice.org.  If not, see
23cdf0e10cSrcweir# <http://www.openoffice.org/license.html>
24cdf0e10cSrcweir# for a copy of the LGPLv3 License.
25cdf0e10cSrcweir#
26cdf0e10cSrcweir#*************************************************************************
27cdf0e10cSrcweir
28cdf0e10cSrcweirPRJ=..$/..
29cdf0e10cSrcweir
30cdf0e10cSrcweirPRJNAME=desktop
31cdf0e10cSrcweirTARGET=dkt
32cdf0e10cSrcweirAUTOSEG=true
33cdf0e10cSrcweirENABLE_EXCEPTIONS=TRUE
34cdf0e10cSrcweir
35cdf0e10cSrcweir# --- Settings -----------------------------------------------------
36cdf0e10cSrcweir
37cdf0e10cSrcweir.INCLUDE :  settings.mk
38cdf0e10cSrcweir.INCLUDE : ../deployment/inc/dp_misc.mk
39cdf0e10cSrcweir
40cdf0e10cSrcweir.IF "$(ENABLE_GNOMEVFS)"=="TRUE"
41cdf0e10cSrcweirCFLAGS+=-DGNOME_VFS_ENABLED
42cdf0e10cSrcweir.ENDIF
43cdf0e10cSrcweir
442ad018beSPedro Giffuni.IF "$(GUI)"=="WNT" || "$(GUI)"=="OS2" || "$(GUIBASE)"=="aqua" || "$(ENABLE_SYSTRAY_GTK)"=="TRUE"
452ad018beSPedro GiffuniCFLAGS+=-DENABLE_QUICKSTART_APPLET
462ad018beSPedro Giffuni.ENDIF
472ad018beSPedro Giffuni
48cdf0e10cSrcweir# .IF "$(OS)" == "WNT"
49cdf0e10cSrcweir# .IF "$(COM)" == "GCC"
50cdf0e10cSrcweir# DEPLOYMENTMISCLIB = -ldeploymentmisc$(DLLPOSTFIX)
51cdf0e10cSrcweir# .ELSE
52cdf0e10cSrcweir# DEPLOYMENTMISCLIB = ideploymentmisc$(DLLPOSTFIX).lib
53cdf0e10cSrcweir# .ENDIF
54cdf0e10cSrcweir# .ELIF "$(OS)" == "OS2"
55cdf0e10cSrcweir# DEPLOYMENTMISCLIB = ideploymentmisc$(DLLPOSTFIX).lib
56cdf0e10cSrcweir# .ELSE
57cdf0e10cSrcweir# DEPLOYMENTMISCLIB = -ldeploymentmisc$(DLLPOSTFIX)
58cdf0e10cSrcweir# .ENDIF
59cdf0e10cSrcweir
60*2fd7ad1dSPedro Giffuni.IF "$(GUI)"=="WNT" || "$(GUI)"=="OS2" || "$(GUIBASE)"=="aqua" || "$(ENABLE_SYSTRAY_GTK)"=="TRUE"
61*2fd7ad1dSPedro GiffuniCFLAGS+=-DENABLE_QUICKSTART_APPLET
62*2fd7ad1dSPedro Giffuni.ENDIF
63*2fd7ad1dSPedro Giffuni
64cdf0e10cSrcweirSHL1TARGET = sofficeapp
65cdf0e10cSrcweirSHL1OBJS = \
66cdf0e10cSrcweir    $(SLO)$/app.obj \
67cdf0e10cSrcweir    $(SLO)$/appfirststart.obj \
68cdf0e10cSrcweir    $(SLO)$/appinit.obj \
69cdf0e10cSrcweir    $(SLO)$/appsys.obj \
70cdf0e10cSrcweir    $(SLO)$/checkinstall.obj \
71cdf0e10cSrcweir    $(SLO)$/check_ext_deps.obj \
72cdf0e10cSrcweir    $(SLO)$/cmdlineargs.obj \
73cdf0e10cSrcweir    $(SLO)$/cmdlinehelp.obj \
74cdf0e10cSrcweir    $(SLO)$/configinit.obj \
75cdf0e10cSrcweir    $(SLO)$/desktopcontext.obj \
76cdf0e10cSrcweir    $(SLO)$/desktopresid.obj \
77cdf0e10cSrcweir    $(SLO)$/dispatchwatcher.obj \
78cdf0e10cSrcweir    $(SLO)$/langselect.obj \
79cdf0e10cSrcweir    $(SLO)$/lockfile.obj \
80cdf0e10cSrcweir    $(SLO)$/lockfile2.obj \
81cdf0e10cSrcweir    $(SLO)$/officeipcthread.obj \
82cdf0e10cSrcweir    $(SLO)$/sofficemain.obj \
83cdf0e10cSrcweir    $(SLO)$/userinstall.obj
84cdf0e10cSrcweir
85cdf0e10cSrcweirSHL1LIBS = $(SLB)$/mig.lib
86cdf0e10cSrcweir
87cdf0e10cSrcweirSHL1STDLIBS = \
88cdf0e10cSrcweir    $(COMPHELPERLIB) \
89cdf0e10cSrcweir    $(CPPUHELPERLIB) \
90cdf0e10cSrcweir    $(CPPULIB) \
91cdf0e10cSrcweir    $(DEPLOYMENTMISCLIB) \
92cdf0e10cSrcweir    $(I18NISOLANGLIB) \
93cdf0e10cSrcweir    $(SALLIB) \
94cdf0e10cSrcweir    $(SFXLIB) \
95cdf0e10cSrcweir    $(SVLLIB) \
96cdf0e10cSrcweir    $(SVTOOLLIB) \
97cdf0e10cSrcweir    $(TKLIB) \
98cdf0e10cSrcweir    $(TOOLSLIB) \
99cdf0e10cSrcweir    $(UCBHELPERLIB) \
100cdf0e10cSrcweir    $(UNOTOOLSLIB) \
101cdf0e10cSrcweir    $(VCLLIB) \
102cdf0e10cSrcweir    $(VOSLIB)
103cdf0e10cSrcweirSHL1VERSIONMAP = version.map
104cdf0e10cSrcweirSHL1IMPLIB = i$(SHL1TARGET)
105cdf0e10cSrcweirDEF1NAME = $(SHL1TARGET)
106cdf0e10cSrcweir
107cdf0e10cSrcweirOBJFILES = \
108cdf0e10cSrcweir    $(OBJ)$/copyright_ascii_ooo.obj \
109cdf0e10cSrcweir    $(OBJ)$/main.obj
110cdf0e10cSrcweir.IF "$(GUI)" != "OS2"
111cdf0e10cSrcweirOBJFILES += \
112cdf0e10cSrcweir    $(OBJ)$/copyright_ascii_sun.obj
113cdf0e10cSrcweir.ENDIF
114cdf0e10cSrcweir
115cdf0e10cSrcweirSLOFILES = $(SHL1OBJS)
116cdf0e10cSrcweir
117cdf0e10cSrcweirSRS1NAME=	desktop
118cdf0e10cSrcweirSRC1FILES=	desktop.src
119cdf0e10cSrcweir
120cdf0e10cSrcweir# --- Targets ------------------------------------------------------
121cdf0e10cSrcweir
122cdf0e10cSrcweir.INCLUDE :  target.mk
123cdf0e10cSrcweir
124