xref: /trunk/main/desktop/source/app/makefile.mk (revision 281431db)
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.INCLUDE : ../deployment/inc/dp_gui.mk
36
37.IF "$(ENABLE_GNOMEVFS)"=="TRUE"
38CFLAGS+=-DGNOME_VFS_ENABLED
39.ENDIF
40
41.IF "$(GUI)"=="WNT" || "$(GUI)"=="OS2" || "$(GUIBASE)"=="aqua" || "$(ENABLE_SYSTRAY_GTK)"=="TRUE"
42CFLAGS+=-DENABLE_QUICKSTART_APPLET
43.ENDIF
44
45SHL1TARGET = sofficeapp
46SHL1OBJS = \
47    $(SLO)$/app.obj \
48    $(SLO)$/appfirststart.obj \
49    $(SLO)$/appinit.obj \
50    $(SLO)$/appsys.obj \
51    $(SLO)$/checkinstall.obj \
52    $(SLO)$/check_ext_deps.obj \
53    $(SLO)$/cmdlineargs.obj \
54    $(SLO)$/cmdlinehelp.obj \
55    $(SLO)$/configinit.obj \
56    $(SLO)$/desktopcontext.obj \
57    $(SLO)$/desktopresid.obj \
58    $(SLO)$/dispatchwatcher.obj \
59    $(SLO)$/langselect.obj \
60    $(SLO)$/lockfile.obj \
61    $(SLO)$/lockfile2.obj \
62    $(SLO)$/officeipcthread.obj \
63    $(SLO)$/sofficemain.obj \
64    $(SLO)$/userinstall.obj
65
66SHL1LIBS = $(SLB)$/mig.lib
67
68SHL1STDLIBS = \
69    $(COMPHELPERLIB) \
70    $(CPPUHELPERLIB) \
71    $(CPPULIB) \
72    $(DEPLOYMENTMISCLIB) \
73    $(DEPLOYMENTGUILIB) \
74    $(I18NISOLANGLIB) \
75    $(SALLIB) \
76    $(SFXLIB) \
77    $(SVLLIB) \
78    $(SVTOOLLIB) \
79    $(TKLIB) \
80    $(TOOLSLIB) \
81    $(UCBHELPERLIB) \
82    $(UNOTOOLSLIB) \
83    $(VCLLIB) \
84    $(VOSLIB)
85SHL1VERSIONMAP = version.map
86SHL1IMPLIB = i$(SHL1TARGET)
87DEF1NAME = $(SHL1TARGET)
88
89OBJFILES = \
90    $(OBJ)$/copyright_ascii_ooo.obj \
91    $(OBJ)$/main.obj
92.IF "$(GUI)" != "OS2"
93OBJFILES += \
94    $(OBJ)$/copyright_ascii_sun.obj
95.ENDIF
96
97SLOFILES = $(SHL1OBJS)
98
99SRS1NAME=	desktop
100SRC1FILES=	desktop.src
101
102# --- Targets ------------------------------------------------------
103
104.INCLUDE :  target.mk
105
106