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             = filter
27TARGET              = filterconfig
28ENABLE_EXCEPTIONS   = TRUE
29VERSION             = 1
30USE_DEFFILE         = TRUE
31LIBTARGET           = NO
32
33# --- Settings ----------------------------------
34
35.INCLUDE : settings.mk
36
37# --- Library -----------------------------------
38
39SHL1TARGET=     $(TARGET)$(VERSION)
40
41SLOFILES=       \
42                $(SLO)$/configflush.obj             \
43                $(SLO)$/basecontainer.obj           \
44                $(SLO)$/cacheitem.obj               \
45                $(SLO)$/contenthandlerfactory.obj   \
46                $(SLO)$/filtercache.obj             \
47                $(SLO)$/filterfactory.obj           \
48                $(SLO)$/frameloaderfactory.obj      \
49                $(SLO)$/lateinitlistener.obj        \
50                $(SLO)$/lateinitthread.obj          \
51                $(SLO)$/querytokenizer.obj          \
52                $(SLO)$/registration.obj            \
53                $(SLO)$/typedetection.obj           \
54                $(SLO)$/cacheupdatelistener.obj
55
56SHL1OBJS=       $(SLOFILES)
57
58SHL1STDLIBS=    \
59                $(COMPHELPERLIB)    \
60                $(CPPUHELPERLIB)    \
61                $(CPPULIB)          \
62                $(SALLIB)           \
63                $(TOOLSLIB)         \
64                $(UNOTOOLSLIB)      \
65                $(FWELIB)
66
67DEF1NAME=       $(SHL1TARGET)
68SHL1DEF=        $(MISC)$/$(SHL1TARGET).def
69SHL1DEPN=
70SHL1IMPLIB=     i$(SHL1TARGET)
71SHL1VERSIONMAP= $(SOLARENV)/src/component.map
72
73# --- Targets ----------------------------------
74
75.INCLUDE : target.mk
76
77ALLTAR : $(MISC)/filterconfig1.component
78
79$(MISC)/filterconfig1.component .ERRREMOVE : \
80        $(SOLARENV)/bin/createcomponent.xslt filterconfig1.component
81    $(XSLTPROC) --nonet --stringparam uri \
82        '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
83        $(SOLARENV)/bin/createcomponent.xslt filterconfig1.component
84