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