xref: /trunk/main/desktop/source/app/makefile.mk (revision cdf0e10c)
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 "$(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
56SHL1TARGET = sofficeapp
57SHL1OBJS = \
58    $(SLO)$/app.obj \
59    $(SLO)$/appfirststart.obj \
60    $(SLO)$/appinit.obj \
61    $(SLO)$/appsys.obj \
62    $(SLO)$/checkinstall.obj \
63    $(SLO)$/check_ext_deps.obj \
64    $(SLO)$/cmdlineargs.obj \
65    $(SLO)$/cmdlinehelp.obj \
66    $(SLO)$/configinit.obj \
67    $(SLO)$/desktopcontext.obj \
68    $(SLO)$/desktopresid.obj \
69    $(SLO)$/dispatchwatcher.obj \
70    $(SLO)$/langselect.obj \
71    $(SLO)$/lockfile.obj \
72    $(SLO)$/lockfile2.obj \
73    $(SLO)$/officeipcthread.obj \
74    $(SLO)$/sofficemain.obj \
75    $(SLO)$/userinstall.obj
76
77SHL1LIBS = $(SLB)$/mig.lib
78
79SHL1STDLIBS = \
80    $(COMPHELPERLIB) \
81    $(CPPUHELPERLIB) \
82    $(CPPULIB) \
83    $(DEPLOYMENTMISCLIB) \
84    $(I18NISOLANGLIB) \
85    $(SALLIB) \
86    $(SFXLIB) \
87    $(SVLLIB) \
88    $(SVTOOLLIB) \
89    $(TKLIB) \
90    $(TOOLSLIB) \
91    $(UCBHELPERLIB) \
92    $(UNOTOOLSLIB) \
93    $(VCLLIB) \
94    $(VOSLIB)
95SHL1VERSIONMAP = version.map
96SHL1IMPLIB = i$(SHL1TARGET)
97DEF1NAME = $(SHL1TARGET)
98
99OBJFILES = \
100    $(OBJ)$/copyright_ascii_ooo.obj \
101    $(OBJ)$/main.obj
102.IF "$(GUI)" != "OS2"
103OBJFILES += \
104    $(OBJ)$/copyright_ascii_sun.obj
105.ENDIF
106
107SLOFILES = $(SHL1OBJS)
108
109SRS1NAME=	desktop
110SRC1FILES=	desktop.src
111
112# --- Targets ------------------------------------------------------
113
114.INCLUDE :  target.mk
115
116