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 = deployment
28ENABLE_EXCEPTIONS = TRUE
29#USE_DEFFILE = TRUE
30NO_BSYMBOLIC = TRUE
31
32.IF "$(GUI)"=="OS2"
33TARGET = deploy
34.ENDIF
35
36.INCLUDE : settings.mk
37.INCLUDE : $(PRJ)$/source$/deployment$/inc$/dp_misc.mk
38
39INCPRE += inc
40
41DLLPRE =
42
43.IF "$(GUI)"=="OS2"
44SHL1TARGET = $(TARGET)$(DLLPOSTFIX)
45.ELSE
46SHL1TARGET = $(TARGET)$(DLLPOSTFIX).uno
47.ENDIF
48SHL1VERSIONMAP = $(SOLARENV)/src/component.map
49
50SHL1LIBS = \
51    $(SLB)$/deployment_manager.lib \
52    $(SLB)$/deployment_registry.lib \
53    $(SLB)$/deployment_registry_executable.lib \
54    $(SLB)$/deployment_registry_component.lib \
55    $(SLB)$/deployment_registry_configuration.lib \
56    $(SLB)$/deployment_registry_package.lib \
57    $(SLB)$/deployment_registry_script.lib \
58    $(SLB)$/deployment_registry_sfwk.lib \
59    $(SLB)$/deployment_registry_help.lib
60
61SHL1OBJS = \
62    $(SLO)$/dp_log.obj \
63    $(SLO)$/dp_persmap.obj \
64    $(SLO)$/dp_services.obj \
65    $(SLO)$/dp_xml.obj
66
67SHL1STDLIBS = \
68        $(SALLIB) \
69        $(CPPULIB) \
70        $(CPPUHELPERLIB) \
71        $(UCBHELPERLIB) \
72        $(COMPHELPERLIB) \
73        $(TOOLSLIB) \
74        $(XMLSCRIPTLIB) \
75        $(SVLLIB) \
76        $(UNOTOOLSLIB) \
77        $(DEPLOYMENTMISCLIB) \
78	$(HELPLINKERLIB)
79
80SHL1DEPN =
81SHL1IMPLIB = i$(TARGET)
82SHL1DEF = $(MISC)$/$(SHL1TARGET).def
83
84DEF1NAME = $(SHL1TARGET)
85
86SLOFILES = $(LIB1OBJFILES)
87
88RESLIB1NAME = $(TARGET)
89
90RESLIB1SRSFILES = \
91        $(SRS)$/deployment_registry_configuration.srs \
92        $(SRS)$/deployment_registry_component.srs \
93        $(SRS)$/deployment_registry_script.srs \
94        $(SRS)$/deployment_registry_sfwk.srs \
95        $(SRS)$/deployment_registry_package.srs \
96        $(SRS)$/deployment_registry_help.srs \
97        $(SRS)$/deployment_registry.srs \
98        $(SRS)$/deployment_manager.srs \
99	$(SRS)$/deployment_unopkg.srs
100
101.IF "$(GUI)"=="OS2"
102RESLIB1SRSFILES += $(SRS)$/deplmisc.srs
103.ELSE
104RESLIB1SRSFILES += $(SRS)$/deployment_misc.srs
105.ENDIF
106
107.INCLUDE : target.mk
108
109
110ALLTAR : $(MISC)/deployment.component
111
112$(MISC)/deployment.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
113        deployment.component
114    $(XSLTPROC) --nonet --stringparam uri \
115        '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
116        $(SOLARENV)/bin/createcomponent.xslt deployment.component
117