xref: /aoo41x/main/stoc/util/makefile.mk (revision 7871dc3e)
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
23PRJ=..
24
25PRJNAME= bootstrap
26TARGET = bootstrap.uno
27ENABLE_EXCEPTIONS=TRUE
28
29# --- openoffice.org.orig/Settings -----------------------------------------------------
30
31.INCLUDE :  settings.mk
32DLLPRE =
33
34# ------------------------------------------------------------------
35
36SHL1TARGET=	$(TARGET)
37
38LIB1TARGET=	$(SLB)$/$(TARGET).lib
39LIB1FILES=	$(SLB)$/bootstrap.lib \
40		$(SLB)$/security.lib \
41		$(SLB)$/servicemgr.lib \
42		$(SLB)$/simplereg.lib \
43		$(SLB)$/nestedreg.lib \
44		$(SLB)$/implreg.lib \
45		$(SLB)$/shlibloader.lib \
46		$(SLB)$/regtypeprov.lib \
47		$(SLB)$/typemgr.lib
48
49SHL1VERSIONMAP = $(SOLARENV)/src/unloadablecomponent.map
50
51SHL1STDLIBS= \
52		$(CPPULIB)		\
53                $(SALHELPERLIB)         \
54		$(CPPUHELPERLIB)	\
55                $(SALLIB)		\
56        $(REGLIB) \
57        $(XMLREADERLIB)
58
59SHL1DEPN=
60SHL1IMPLIB=	i$(TARGET)
61SHL1LIBS=	$(SLB)$/$(TARGET).lib
62SHL1DEF=	$(MISC)$/$(SHL1TARGET).def
63SHL1RPATH=  URELIB
64
65DEF1NAME=	$(SHL1TARGET)
66
67SHL2TARGET=	stocservices.uno
68
69LIB2TARGET=	$(SLB)$/stocservices.uno.lib
70LIB2FILES=	\
71		$(SLB)$/stocservices.lib \
72		$(SLB)$/typeconverter.lib \
73		$(SLB)$/uriproc.lib
74
75SHL2VERSIONMAP = $(SOLARENV)/src/unloadablecomponent.map
76
77SHL2STDLIBS= \
78		$(CPPULIB)		\
79		$(CPPUHELPERLIB)	\
80                $(SALLIB)
81
82SHL2DEPN=
83SHL2IMPLIB=	istocservices.uno
84SHL2LIBS=	$(SLB)$/stocservices.uno.lib
85SHL2DEF=	$(MISC)$/$(SHL2TARGET).def
86SHL2RPATH=  URELIB
87
88DEF2NAME=	$(SHL2TARGET)
89
90# --- openoffice.org.orig/Targets ------------------------------------------------------
91
92.INCLUDE :	target.mk
93
94ALLTAR : $(MISC)/bootstrap.component $(MISC)/stocservices.component
95
96$(MISC)/bootstrap.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
97        bootstrap.component
98    $(XSLTPROC) --nonet --stringparam uri \
99        '$(COMPONENTPREFIX_URE_NATIVE)$(SHL1TARGETN:f)' -o $@ \
100        $(SOLARENV)/bin/createcomponent.xslt bootstrap.component
101
102$(MISC)/stocservices.component .ERRREMOVE : \
103        $(SOLARENV)/bin/createcomponent.xslt stocservices.component
104    $(XSLTPROC) --nonet --stringparam uri \
105        '$(COMPONENTPREFIX_URE_NATIVE)$(SHL2TARGETN:f)' -o $@ \
106        $(SOLARENV)/bin/createcomponent.xslt stocservices.component
107