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=scripting
27TARGET=basprov
28ENABLE_EXCEPTIONS=TRUE
29VISIBILITY_HIDDEN=TRUE
30COMP1TYPELIST=$(TARGET)
31
32# --- Settings -----------------------------------------------------
33
34.INCLUDE :  settings.mk
35DLLPRE =
36
37# ------------------------------------------------------------------
38
39SLOFILES= \
40		$(SLO)$/basprov.obj \
41		$(SLO)$/basscript.obj \
42		$(SLO)$/baslibnode.obj \
43		$(SLO)$/basmodnode.obj \
44		$(SLO)$/basmethnode.obj
45
46SHL1TARGET= $(TARGET)$(DLLPOSTFIX).uno
47SHL1IMPLIB=	i$(TARGET)
48
49SHL1VERSIONMAP=$(SOLARENV)/src/component.map
50SHL1DEF=$(MISC)$/$(SHL1TARGET).def
51DEF1NAME=$(SHL1TARGET)
52
53SHL1STDLIBS= \
54		$(SFX2LIB) \
55		$(BASICLIB) \
56		$(VCLLIB) \
57		$(SVLLIB) \
58		$(TOOLSLIB) \
59		$(UCBHELPERLIB) \
60		$(COMPHELPERLIB) \
61		$(CPPUHELPERLIB) \
62		$(CPPULIB) \
63		$(SALLIB)
64
65SHL1DEPN=
66SHL1LIBS=$(SLB)$/$(TARGET).lib
67
68# --- Targets ------------------------------------------------------
69
70.INCLUDE :	target.mk
71
72ALLTAR : $(MISC)/basprov.component
73
74$(MISC)/basprov.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
75        basprov.component
76    $(XSLTPROC) --nonet --stringparam uri \
77        '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
78        $(SOLARENV)/bin/createcomponent.xslt basprov.component
79