xref: /aoo41x/main/stoc/util/makefile.mk (revision cdf0e10c)
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#*************************************************************************
27PRJ=..
28
29PRJNAME= bootstrap
30TARGET = bootstrap.uno
31ENABLE_EXCEPTIONS=TRUE
32
33# --- openoffice.org.orig/Settings -----------------------------------------------------
34
35.INCLUDE :  settings.mk
36DLLPRE =
37
38# ------------------------------------------------------------------
39
40SHL1TARGET=	$(TARGET)
41
42LIB1TARGET=	$(SLB)$/$(TARGET).lib
43LIB1FILES=	$(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
52
53SHL1VERSIONMAP = $(SOLARENV)/src/unloadablecomponent.map
54
55SHL1STDLIBS= \
56		$(CPPULIB)		\
57                $(SALHELPERLIB)         \
58		$(CPPUHELPERLIB)	\
59                $(SALLIB)		\
60        $(REGLIB) \
61        $(XMLREADERLIB)
62
63SHL1DEPN=
64SHL1IMPLIB=	i$(TARGET)
65SHL1LIBS=	$(SLB)$/$(TARGET).lib
66SHL1DEF=	$(MISC)$/$(SHL1TARGET).def
67SHL1RPATH=  URELIB
68
69DEF1NAME=	$(SHL1TARGET)
70
71SHL2TARGET=	stocservices.uno
72
73LIB2TARGET=	$(SLB)$/stocservices.uno.lib
74LIB2FILES=	\
75		$(SLB)$/stocservices.lib \
76		$(SLB)$/typeconverter.lib \
77		$(SLB)$/uriproc.lib
78
79SHL2VERSIONMAP = $(SOLARENV)/src/unloadablecomponent.map
80
81SHL2STDLIBS= \
82		$(CPPULIB)		\
83		$(CPPUHELPERLIB)	\
84                $(SALLIB)
85
86SHL2DEPN=
87SHL2IMPLIB=	istocservices.uno
88SHL2LIBS=	$(SLB)$/stocservices.uno.lib
89SHL2DEF=	$(MISC)$/$(SHL2TARGET).def
90SHL2RPATH=  URELIB
91
92DEF2NAME=	$(SHL2TARGET)
93
94# --- openoffice.org.orig/Targets ------------------------------------------------------
95
96.INCLUDE :	target.mk
97
98ALLTAR : $(MISC)/bootstrap.component $(MISC)/stocservices.component
99
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
105
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
111