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=..$/..
25PRJNAME=extensions
26TARGET=oooimprovecore
27
28# --- Settings ----------------------------------
29
30.INCLUDE : settings.mk
31
32# --- Files -------------------------------------
33
34EXCEPTIONSFILES= \
35        $(SLO)$/core.obj \
36        $(SLO)$/oooimprovecore_services.obj \
37
38SLOFILES= \
39        $(EXCEPTIONSFILES) \
40        $(SLO)$/oooimprovecore_module.obj \
41
42LIB1TARGET=$(SLB)$/$(TARGET)_t.lib
43LIB1FILES= \
44        $(SLB)$/$(TARGET).lib \
45
46SHL1TARGET=$(TARGET)$(DLLPOSTFIX)
47.IF "$(GUI)"=="OS2"
48SHL1TARGET=oooimpc$(DLLPOSTFIX)
49.ENDIF
50
51SHL1STDLIBS= \
52        $(COMPHELPERLIB) \
53        $(CPPUHELPERLIB) \
54        $(CPPULIB) \
55        $(SALLIB) \
56        $(VCLLIB) \
57        $(SVLLIB) \
58        $(SVTOOLLIB) \
59        $(SFXLIB) \
60        $(SVXCORELIB) \
61        $(SVXLIB) \
62        $(TOOLSLIB)
63
64
65SHL1LIBS=$(LIB1TARGET)
66SHL1DEF=$(MISC)$/$(SHL1TARGET).def
67DEF1NAME=$(SHL1TARGET)
68SHL1VERSIONMAP=$(SOLARENV)/src/component.map
69
70# --- Targets ----------------------------------
71
72.INCLUDE : target.mk
73
74
75ALLTAR : $(MISC)/oooimprovecore.component
76
77$(MISC)/oooimprovecore.component .ERRREMOVE : \
78        $(SOLARENV)/bin/createcomponent.xslt oooimprovecore.component
79    $(XSLTPROC) --nonet --stringparam uri \
80        '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
81        $(SOLARENV)/bin/createcomponent.xslt oooimprovecore.component
82