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 = deploymentgui
28ENABLE_EXCEPTIONS = TRUE
29#USE_DEFFILE = TRUE
30NO_BSYMBOLIC = TRUE
31USE_PCH :=
32ENABLE_PCH :=
33PRJINC:=..$/..
34
35.INCLUDE : settings.mk
36.INCLUDE : $(PRJ)$/source$/deployment$/inc$/dp_misc.mk
37DLLPRE =
38
39SLOFILES = \
40        $(SLO)$/dp_gui_service.obj \
41        $(SLO)$/dp_gui_extlistbox.obj \
42        $(SLO)$/dp_gui_dialog2.obj \
43        $(SLO)$/dp_gui_theextmgr.obj \
44        $(SLO)$/license_dialog.obj \
45        $(SLO)$/dp_gui_dependencydialog.obj \
46        $(SLO)$/dp_gui_thread.obj \
47        $(SLO)$/dp_gui_updatedialog.obj \
48        $(SLO)$/dp_gui_updateinstalldialog.obj \
49        $(SLO)$/dp_gui_autoscrolledit.obj \
50        $(SLO)$/dp_gui_system.obj \
51        $(SLO)$/dp_gui_extensioncmdqueue.obj \
52        $(SLO)$/descedit.obj
53
54.IF "$(GUI)"=="OS2"
55SHL1TARGET = deplgui$(DLLPOSTFIX)
56.ELSE
57SHL1TARGET = $(TARGET)$(DLLPOSTFIX).uno
58.ENDIF
59SHL1VERSIONMAP = $(SOLARENV)/src/component.map
60
61SHL1STDLIBS = \
62        $(SALLIB) \
63        $(SALHELPERLIB) \
64        $(CPPULIB) \
65        $(CPPUHELPERLIB) \
66        $(UCBHELPERLIB) \
67        $(COMPHELPERLIB) \
68        $(UNOTOOLSLIB) \
69        $(TOOLSLIB) \
70        $(I18NISOLANGLIB) \
71        $(TKLIB) \
72        $(VCLLIB) \
73        $(SVTOOLLIB)	\
74        $(SVLLIB)  \
75        $(SVXLIB) \
76        $(SVXCORELIB) \
77        $(SFXLIB) \
78        $(DEPLOYMENTMISCLIB) \
79        $(OLE32LIB)
80
81SHL1DEPN =
82SHL1IMPLIB = i$(TARGET)
83SHL1LIBS = $(SLB)$/$(TARGET).lib
84SHL1DEF = $(MISC)$/$(SHL1TARGET).def
85
86DEF1NAME = $(SHL1TARGET)
87#DEFLIB1NAME = $(TARGET)
88#DEF1DEPN =
89
90SRS1NAME = $(TARGET)
91SRC1FILES = \
92        dp_gui_dialog.src \
93        dp_gui_dialog2.src \
94        dp_gui_backend.src \
95        dp_gui_dependencydialog.src \
96        dp_gui_updatedialog.src \
97        dp_gui_versionboxes.src \
98        dp_gui_updateinstalldialog.src
99
100RESLIB1NAME = $(TARGET)
101RESLIB1SRSFILES = $(SRS)$/$(TARGET).srs
102RESLIB1IMAGES=	$(PRJ)$/res
103
104.INCLUDE : target.mk
105
106
107ALLTAR : $(MISC)/deploymentgui.component
108
109$(MISC)/deploymentgui.component .ERRREMOVE : \
110        $(SOLARENV)/bin/createcomponent.xslt deploymentgui.component
111    $(XSLTPROC) --nonet --stringparam uri \
112        '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
113        $(SOLARENV)/bin/createcomponent.xslt deploymentgui.component
114