merged tag ooo/DEV300_m102
[LibreOffice.git] / stoc / util / makefile.mk
blob32f229cc3d14d3f5506ef22f0d8e74d593845bb8
1 #*************************************************************************
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 #
5 # Copyright 2000, 2010 Oracle and/or its affiliates.
7 # OpenOffice.org - a multi-platform office productivity suite
9 # This file is part of OpenOffice.org.
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.
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).
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.
26 #*************************************************************************
27 PRJ=..
29 PRJNAME= bootstrap
30 TARGET = bootstrap.uno
31 ENABLE_EXCEPTIONS=TRUE
33 # --- openoffice.org.orig/Settings -----------------------------------------------------
35 .INCLUDE : settings.mk
36 DLLPRE =
38 # ------------------------------------------------------------------
40 SHL1TARGET= $(TARGET)
42 LIB1TARGET= $(SLB)$/$(TARGET).lib
43 LIB1FILES= $(SLB)$/bootstrap.lib \
44 $(SLB)$/security.lib \
45 $(SLB)$/servicemgr.lib \
46 $(SLB)$/simplereg.lib \
47 $(SLB)$/nestedreg.lib \
48 $(SLB)$/implreg.lib \
49 $(SLB)$/shlibloader.lib \
50 $(SLB)$/regtypeprov.lib \
51 $(SLB)$/typemgr.lib
53 SHL1VERSIONMAP = $(SOLARENV)/src/unloadablecomponent.map
55 SHL1STDLIBS= \
56 $(CPPULIB) \
57 $(SALHELPERLIB) \
58 $(CPPUHELPERLIB) \
59 $(SALLIB) \
60 $(REGLIB) \
61 $(XMLREADERLIB)
63 SHL1DEPN=
64 SHL1IMPLIB= i$(TARGET)
65 SHL1LIBS= $(SLB)$/$(TARGET).lib
66 SHL1DEF= $(MISC)$/$(SHL1TARGET).def
67 SHL1RPATH= URELIB
69 DEF1NAME= $(SHL1TARGET)
71 SHL2TARGET= stocservices.uno
73 LIB2TARGET= $(SLB)$/stocservices.uno.lib
74 LIB2FILES= \
75 $(SLB)$/stocservices.lib \
76 $(SLB)$/typeconverter.lib \
77 $(SLB)$/uriproc.lib
79 SHL2VERSIONMAP = $(SOLARENV)/src/unloadablecomponent.map
81 SHL2STDLIBS= \
82 $(CPPULIB) \
83 $(CPPUHELPERLIB) \
84 $(SALLIB)
86 SHL2DEPN=
87 SHL2IMPLIB= istocservices.uno
88 SHL2LIBS= $(SLB)$/stocservices.uno.lib
89 SHL2DEF= $(MISC)$/$(SHL2TARGET).def
90 SHL2RPATH= URELIB
92 DEF2NAME= $(SHL2TARGET)
94 # --- openoffice.org.orig/Targets ------------------------------------------------------
96 .INCLUDE : target.mk
98 ALLTAR : $(MISC)/bootstrap.component $(MISC)/stocservices.component
100 $(MISC)/bootstrap.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
101 bootstrap.component
102 $(XSLTPROC) --nonet --stringparam uri \
103 '$(COMPONENTPREFIX_URE_NATIVE)$(SHL1TARGETN:f)' -o $@ \
104 $(SOLARENV)/bin/createcomponent.xslt bootstrap.component
106 $(MISC)/stocservices.component .ERRREMOVE : \
107 $(SOLARENV)/bin/createcomponent.xslt stocservices.component
108 $(XSLTPROC) --nonet --stringparam uri \
109 '$(COMPONENTPREFIX_URE_NATIVE)$(SHL2TARGETN:f)' -o $@ \
110 $(SOLARENV)/bin/createcomponent.xslt stocservices.component