xref: /aoo42x/main/desktop/source/app/makefile.mk (revision 7871dc3e)
1*7871dc3eSAndrew Rist#**************************************************************
2*7871dc3eSAndrew Rist#
3*7871dc3eSAndrew Rist#  Licensed to the Apache Software Foundation (ASF) under one
4*7871dc3eSAndrew Rist#  or more contributor license agreements.  See the NOTICE file
5*7871dc3eSAndrew Rist#  distributed with this work for additional information
6*7871dc3eSAndrew Rist#  regarding copyright ownership.  The ASF licenses this file
7*7871dc3eSAndrew Rist#  to you under the Apache License, Version 2.0 (the
8*7871dc3eSAndrew Rist#  "License"); you may not use this file except in compliance
9*7871dc3eSAndrew Rist#  with the License.  You may obtain a copy of the License at
10*7871dc3eSAndrew Rist#
11*7871dc3eSAndrew Rist#    http://www.apache.org/licenses/LICENSE-2.0
12*7871dc3eSAndrew Rist#
13*7871dc3eSAndrew Rist#  Unless required by applicable law or agreed to in writing,
14*7871dc3eSAndrew Rist#  software distributed under the License is distributed on an
15*7871dc3eSAndrew Rist#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*7871dc3eSAndrew Rist#  KIND, either express or implied.  See the License for the
17*7871dc3eSAndrew Rist#  specific language governing permissions and limitations
18*7871dc3eSAndrew Rist#  under the License.
19*7871dc3eSAndrew Rist#
20*7871dc3eSAndrew Rist#**************************************************************
21*7871dc3eSAndrew Rist
22*7871dc3eSAndrew Rist
23cdf0e10cSrcweir
24cdf0e10cSrcweirPRJ=..$/..
25cdf0e10cSrcweir
26cdf0e10cSrcweirPRJNAME=desktop
27cdf0e10cSrcweirTARGET=dkt
28cdf0e10cSrcweirAUTOSEG=true
29cdf0e10cSrcweirENABLE_EXCEPTIONS=TRUE
30cdf0e10cSrcweir
31cdf0e10cSrcweir# --- Settings -----------------------------------------------------
32cdf0e10cSrcweir
33cdf0e10cSrcweir.INCLUDE :  settings.mk
34cdf0e10cSrcweir.INCLUDE : ../deployment/inc/dp_misc.mk
35cdf0e10cSrcweir
36cdf0e10cSrcweir.IF "$(ENABLE_GNOMEVFS)"=="TRUE"
37cdf0e10cSrcweirCFLAGS+=-DGNOME_VFS_ENABLED
38cdf0e10cSrcweir.ENDIF
39cdf0e10cSrcweir
402ad018beSPedro Giffuni.IF "$(GUI)"=="WNT" || "$(GUI)"=="OS2" || "$(GUIBASE)"=="aqua" || "$(ENABLE_SYSTRAY_GTK)"=="TRUE"
412ad018beSPedro GiffuniCFLAGS+=-DENABLE_QUICKSTART_APPLET
422ad018beSPedro Giffuni.ENDIF
432ad018beSPedro Giffuni
44cdf0e10cSrcweir# .IF "$(OS)" == "WNT"
45cdf0e10cSrcweir# .IF "$(COM)" == "GCC"
46cdf0e10cSrcweir# DEPLOYMENTMISCLIB = -ldeploymentmisc$(DLLPOSTFIX)
47cdf0e10cSrcweir# .ELSE
48cdf0e10cSrcweir# DEPLOYMENTMISCLIB = ideploymentmisc$(DLLPOSTFIX).lib
49cdf0e10cSrcweir# .ENDIF
50cdf0e10cSrcweir# .ELIF "$(OS)" == "OS2"
51cdf0e10cSrcweir# DEPLOYMENTMISCLIB = ideploymentmisc$(DLLPOSTFIX).lib
52cdf0e10cSrcweir# .ELSE
53cdf0e10cSrcweir# DEPLOYMENTMISCLIB = -ldeploymentmisc$(DLLPOSTFIX)
54cdf0e10cSrcweir# .ENDIF
55cdf0e10cSrcweir
562fd7ad1dSPedro Giffuni.IF "$(GUI)"=="WNT" || "$(GUI)"=="OS2" || "$(GUIBASE)"=="aqua" || "$(ENABLE_SYSTRAY_GTK)"=="TRUE"
572fd7ad1dSPedro GiffuniCFLAGS+=-DENABLE_QUICKSTART_APPLET
582fd7ad1dSPedro Giffuni.ENDIF
592fd7ad1dSPedro Giffuni
60cdf0e10cSrcweirSHL1TARGET = sofficeapp
61cdf0e10cSrcweirSHL1OBJS = \
62cdf0e10cSrcweir    $(SLO)$/app.obj \
63cdf0e10cSrcweir    $(SLO)$/appfirststart.obj \
64cdf0e10cSrcweir    $(SLO)$/appinit.obj \
65cdf0e10cSrcweir    $(SLO)$/appsys.obj \
66cdf0e10cSrcweir    $(SLO)$/checkinstall.obj \
67cdf0e10cSrcweir    $(SLO)$/check_ext_deps.obj \
68cdf0e10cSrcweir    $(SLO)$/cmdlineargs.obj \
69cdf0e10cSrcweir    $(SLO)$/cmdlinehelp.obj \
70cdf0e10cSrcweir    $(SLO)$/configinit.obj \
71cdf0e10cSrcweir    $(SLO)$/desktopcontext.obj \
72cdf0e10cSrcweir    $(SLO)$/desktopresid.obj \
73cdf0e10cSrcweir    $(SLO)$/dispatchwatcher.obj \
74cdf0e10cSrcweir    $(SLO)$/langselect.obj \
75cdf0e10cSrcweir    $(SLO)$/lockfile.obj \
76cdf0e10cSrcweir    $(SLO)$/lockfile2.obj \
77cdf0e10cSrcweir    $(SLO)$/officeipcthread.obj \
78cdf0e10cSrcweir    $(SLO)$/sofficemain.obj \
79cdf0e10cSrcweir    $(SLO)$/userinstall.obj
80cdf0e10cSrcweir
81cdf0e10cSrcweirSHL1LIBS = $(SLB)$/mig.lib
82cdf0e10cSrcweir
83cdf0e10cSrcweirSHL1STDLIBS = \
84cdf0e10cSrcweir    $(COMPHELPERLIB) \
85cdf0e10cSrcweir    $(CPPUHELPERLIB) \
86cdf0e10cSrcweir    $(CPPULIB) \
87cdf0e10cSrcweir    $(DEPLOYMENTMISCLIB) \
88cdf0e10cSrcweir    $(I18NISOLANGLIB) \
89cdf0e10cSrcweir    $(SALLIB) \
90cdf0e10cSrcweir    $(SFXLIB) \
91cdf0e10cSrcweir    $(SVLLIB) \
92cdf0e10cSrcweir    $(SVTOOLLIB) \
93cdf0e10cSrcweir    $(TKLIB) \
94cdf0e10cSrcweir    $(TOOLSLIB) \
95cdf0e10cSrcweir    $(UCBHELPERLIB) \
96cdf0e10cSrcweir    $(UNOTOOLSLIB) \
97cdf0e10cSrcweir    $(VCLLIB) \
98cdf0e10cSrcweir    $(VOSLIB)
99cdf0e10cSrcweirSHL1VERSIONMAP = version.map
100cdf0e10cSrcweirSHL1IMPLIB = i$(SHL1TARGET)
101cdf0e10cSrcweirDEF1NAME = $(SHL1TARGET)
102cdf0e10cSrcweir
103cdf0e10cSrcweirOBJFILES = \
104cdf0e10cSrcweir    $(OBJ)$/copyright_ascii_ooo.obj \
105cdf0e10cSrcweir    $(OBJ)$/main.obj
106cdf0e10cSrcweir.IF "$(GUI)" != "OS2"
107cdf0e10cSrcweirOBJFILES += \
108cdf0e10cSrcweir    $(OBJ)$/copyright_ascii_sun.obj
109cdf0e10cSrcweir.ENDIF
110cdf0e10cSrcweir
111cdf0e10cSrcweirSLOFILES = $(SHL1OBJS)
112cdf0e10cSrcweir
113cdf0e10cSrcweirSRS1NAME=	desktop
114cdf0e10cSrcweirSRC1FILES=	desktop.src
115cdf0e10cSrcweir
116cdf0e10cSrcweir# --- Targets ------------------------------------------------------
117cdf0e10cSrcweir
118cdf0e10cSrcweir.INCLUDE :  target.mk
119cdf0e10cSrcweir
120