1#************************************************************************* 2# 3# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4# 5# Copyright 2000, 2010 Oracle and/or its affiliates. 6# 7# OpenOffice.org - a multi-platform office productivity suite 8# 9# This file is part of OpenOffice.org. 10# 11# OpenOffice.org is free software: you can redistribute it and/or modify 12# it under the terms of the GNU Lesser General Public License version 3 13# only, as published by the Free Software Foundation. 14# 15# OpenOffice.org is distributed in the hope that it will be useful, 16# but WITHOUT ANY WARRANTY; without even the implied warranty of 17# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18# GNU Lesser General Public License version 3 for more details 19# (a copy is included in the LICENSE file that accompanied this code). 20# 21# You should have received a copy of the GNU Lesser General Public License 22# version 3 along with OpenOffice.org. If not, see 23# <http://www.openoffice.org/license.html> 24# for a copy of the LGPLv3 License. 25# 26#************************************************************************* 27 28PRJ = ..$/.. 29 30PRJNAME = desktop 31TARGET = deployment 32ENABLE_EXCEPTIONS = TRUE 33#USE_DEFFILE = TRUE 34NO_BSYMBOLIC = TRUE 35 36.IF "$(GUI)"=="OS2" 37TARGET = deploy 38.ENDIF 39 40.INCLUDE : settings.mk 41.INCLUDE : $(PRJ)$/source$/deployment$/inc$/dp_misc.mk 42 43INCPRE += inc 44 45DLLPRE = 46 47SHL1TARGET = $(TARGET)$(DLLPOSTFIX).uno 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