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