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=applauncher
32LIBTARGET=NO
33TARGETTYPE=GUI
34UWINAPILIB=
35
36# --- Settings -----------------------------------------------------
37
38.INCLUDE :  settings.mk
39
40# --- Files --------------------------------------------------------
41
42CDEFS+=-DUNICODE
43
44
45OBJFILES= \
46    $(OBJ)$/launcher.obj \
47    $(OBJ)$/swriter.obj \
48    $(OBJ)$/scalc.obj \
49    $(OBJ)$/sdraw.obj \
50    $(OBJ)$/simpress.obj \
51    $(OBJ)$/sbase.obj \
52    $(OBJ)$/smath.obj \
53    $(OBJ)$/sweb.obj
54
55# SO launcher
56.IF "$(LINK_SO)"=="TRUE"
57.IF "$(BUILD_SPECIAL)"!=""
58APP1DEPN= $(APP1RES) verinfo.rc
59APP1TARGET=so$/swriter
60APP1NOSAL=TRUE
61APP1LINKRES=$(MISC)$/$(TARGET)1.res
62APP1ICON=$(SOLARRESDIR)$/icons/so9_writer_app.ico
63APP1OBJS = \
64		$(OBJ)$/launcher.obj\
65        $(OBJ)$/swriter.obj
66APP1STDLIBS = $(SHELL32LIB)
67APP1VERINFO=verinfo.rc
68APP1PRODUCTDEF+=-DRES_APP_NAME=swriter
69
70APP2TARGET=so$/scalc
71APP2NOSAL=TRUE
72APP2LINKRES=$(MISC)$/$(TARGET)2.res
73APP2ICON=$(SOLARRESDIR)$/icons/so9_calc_app.ico
74APP2OBJS = \
75		$(OBJ)$/launcher.obj\
76        $(OBJ)$/scalc.obj
77APP2STDLIBS = $(SHELL32LIB)
78APP2DEPN=verinfo.rc
79APP2VERINFO=verinfo.rc
80APP2PRODUCTDEF+=-DRES_APP_NAME=scalc
81
82APP3TARGET=so$/sdraw
83APP3NOSAL=TRUE
84APP3LINKRES=$(MISC)$/$(TARGET)3.res
85APP3ICON=$(SOLARRESDIR)$/icons/so9_draw_app.ico
86APP3OBJS = \
87		$(OBJ)$/launcher.obj\
88        $(OBJ)$/sdraw.obj
89APP3STDLIBS = $(SHELL32LIB)
90APP3DEPN=verinfo.rc
91APP3VERINFO=verinfo.rc
92APP3PRODUCTDEF+=-DRES_APP_NAME=sdraw
93
94APP4TARGET=so$/simpress
95APP4NOSAL=TRUE
96APP4LINKRES=$(MISC)$/$(TARGET)4.res
97APP4ICON=$(SOLARRESDIR)$/icons/so9_impress_app.ico
98APP4OBJS = \
99		$(OBJ)$/launcher.obj\
100        $(OBJ)$/simpress.obj
101APP4STDLIBS = $(SHELL32LIB)
102APP4DEPN=verinfo.rc
103APP4VERINFO=verinfo.rc
104APP4PRODUCTDEF+=-DRES_APP_NAME=simpress
105
106APP5TARGET=so$/sbase
107APP5NOSAL=TRUE
108APP5LINKRES=$(MISC)$/$(TARGET)5.res
109APP5ICON=$(SOLARRESDIR)$/icons/so9_base_app.ico
110APP5OBJS = \
111		$(OBJ)$/launcher.obj\
112        $(OBJ)$/sbase.obj
113APP5STDLIBS = $(SHELL32LIB)
114APP5DEPN=verinfo.rc
115APP5VERINFO=verinfo.rc
116APP5PRODUCTDEF+=-DRES_APP_NAME=sbase
117
118APP6TARGET=so$/smath
119APP6NOSAL=TRUE
120APP6LINKRES=$(MISC)$/$(TARGET)6.res
121APP6ICON=$(SOLARRESDIR)$/icons/so9_math_app.ico
122APP6OBJS = \
123		$(OBJ)$/launcher.obj\
124        $(OBJ)$/smath.obj
125APP6STDLIBS = $(SHELL32LIB)
126APP6DEPN=verinfo.rc
127APP6VERINFO=verinfo.rc
128APP6PRODUCTDEF+=-DRES_APP_NAME=smath
129
130APP7TARGET=so$/sweb
131APP7NOSAL=TRUE
132APP7LINKRES=$(MISC)$/$(TARGET)7.res
133APP7ICON=$(SOLARRESDIR)$/icons/so9_writer_app.ico
134APP7OBJS = \
135		$(OBJ)$/launcher.obj\
136        $(OBJ)$/sweb.obj
137APP7STDLIBS = $(SHELL32LIB)
138APP7DEPN=verinfo.rc
139APP7VERINFO=verinfo.rc
140APP7PRODUCTDEF+=-DRES_APP_NAME=sweb
141
142
143.ENDIF # "$(BUILD_SPECIAL)"!=""
144.ENDIF # "$(LINK_SO)"=="TRUE"
145
146# --- Targets ------------------------------------------------------
147
148
149.INCLUDE :  target.mk
150
151