xref: /aoo42x/main/i18npool/source/search/makefile.mk (revision bd5a767f)
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=i18npool
27TARGET=i18nsearch.uno
28USE_DEFFILE=TRUE
29LIBTARGET=NO
30
31# --- Settings -----------------------------------------------------
32
33.INCLUDE :	settings.mk
34DLLPRE =
35
36# --- Files --------------------------------------------------------
37
38EXCEPTIONSFILES= \
39			$(SLO)$/textsearch.obj
40
41SLOFILES=	\
42			$(EXCEPTIONSFILES) \
43			$(SLO)$/levdis.obj
44
45# disabled optimization on unxsol*
46# for textsearch because of i105945 and i119332
47.IF "$(OS)"=="SOLARIS"
48EXCEPTIONSNOOPTFILES= \
49        $(SLO)$/textsearch.obj
50.ENDIF
51
52.IF "$(GUI)" == "OS2"
53SHL1TARGET= i18nsear
54.ELSE
55SHL1TARGET= $(TARGET)
56.ENDIF
57SHL1OBJS=	$(SLOFILES)
58
59SHL1STDLIBS= \
60				$(CPPULIB) \
61				$(CPPUHELPERLIB) \
62				$(SALLIB) \
63				$(I18NREGEXPLIB) \
64				$(ICUINLIB) \
65				$(ICUUCLIB)
66
67
68SHL1DEPN=		makefile.mk
69SHL1VERSIONMAP= $(SOLARENV)/src/component.map
70SHL1DEF=		$(MISC)$/$(SHL1TARGET).def
71DEF1NAME=		$(SHL1TARGET)
72
73# --- Targets ------------------------------------------------------
74
75.INCLUDE :	target.mk
76
77
78ALLTAR : $(MISC)/i18nsearch.component
79
80$(MISC)/i18nsearch.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
81        i18nsearch.component
82    $(XSLTPROC) --nonet --stringparam uri \
83        '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
84        $(SOLARENV)/bin/createcomponent.xslt i18nsearch.component
85