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