xref: /AOO42X/main/filter/source/xmlfilterdetect/makefile.mk (revision 5e48fca7e524eb943907f0a8808aae8b4c4c7424)
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=            filter
26TARGET=             fl_xmlfilterdetect
27
28NO_BSYMBOLIC=       TRUE
29ENABLE_EXCEPTIONS=  TRUE
30
31# --- Settings -----------------------------------------------------
32
33.INCLUDE :          settings.mk
34
35# --- defines ------------------------------------------------------
36
37CDEFS+=-DCOMPMOD_NAMESPACE=framework
38
39# --- Targets ------------------------------------------------------
40
41SHL1TARGET=     xmlfd$(DLLPOSTFIX)
42SHL1IMPLIB=     i$(SHL1TARGET)
43
44SHL1VERSIONMAP= $(SOLARENV)/src/component.map
45SHL1DEF=        $(MISC)$/$(SHL1TARGET).def
46DEF1NAME=       $(SHL1TARGET)
47
48SHL1OBJS=       $(SLO)$/fdcomp.obj      \
49                $(SLO)$/filterdetect.obj
50
51SHL1STDLIBS=    $(UCBHELPERLIB)  \
52                $(CPPUHELPERLIB) \
53                $(CPPULIB) \
54                $(SALLIB) \
55                $(COMPHELPERLIB)
56
57.INCLUDE :          target.mk
58
59ALLTAR : $(MISC)/xmlfd.component
60
61$(MISC)/xmlfd.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
62        xmlfd.component
63    $(XSLTPROC) --nonet --stringparam uri \
64        '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
65        $(SOLARENV)/bin/createcomponent.xslt xmlfd.component
66