xref: /trunk/main/i18npool/util/makefile.mk (revision 8809db7a)
1*8809db7aSAndrew Rist#**************************************************************
2*8809db7aSAndrew Rist#
3*8809db7aSAndrew Rist#  Licensed to the Apache Software Foundation (ASF) under one
4*8809db7aSAndrew Rist#  or more contributor license agreements.  See the NOTICE file
5*8809db7aSAndrew Rist#  distributed with this work for additional information
6*8809db7aSAndrew Rist#  regarding copyright ownership.  The ASF licenses this file
7*8809db7aSAndrew Rist#  to you under the Apache License, Version 2.0 (the
8*8809db7aSAndrew Rist#  "License"); you may not use this file except in compliance
9*8809db7aSAndrew Rist#  with the License.  You may obtain a copy of the License at
10*8809db7aSAndrew Rist#
11*8809db7aSAndrew Rist#    http://www.apache.org/licenses/LICENSE-2.0
12*8809db7aSAndrew Rist#
13*8809db7aSAndrew Rist#  Unless required by applicable law or agreed to in writing,
14*8809db7aSAndrew Rist#  software distributed under the License is distributed on an
15*8809db7aSAndrew Rist#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*8809db7aSAndrew Rist#  KIND, either express or implied.  See the License for the
17*8809db7aSAndrew Rist#  specific language governing permissions and limitations
18*8809db7aSAndrew Rist#  under the License.
19*8809db7aSAndrew Rist#
20*8809db7aSAndrew Rist#**************************************************************
21cdf0e10cSrcweirPRJ=..
22cdf0e10cSrcweir
23cdf0e10cSrcweirPRJNAME=i18npool
24cdf0e10cSrcweirTARGET=i18npool.uno
25cdf0e10cSrcweir
26cdf0e10cSrcweir# --- Settings -----------------------------------------------------------
27cdf0e10cSrcweir
28cdf0e10cSrcweir.INCLUDE :	settings.mk
29cdf0e10cSrcweirDLLPRE =
30cdf0e10cSrcweir.INCLUDE :	$(PRJ)/version.mk
31cdf0e10cSrcweir
32cdf0e10cSrcweir# --- Allgemein ----------------------------------------------------------
33cdf0e10cSrcweir
34cdf0e10cSrcweirLIB1TARGET= $(SLB)$/$(TARGET).lib
35cdf0e10cSrcweirLIB1FILES=	$(SLB)$/defaultnumberingprovider.lib	\
36cdf0e10cSrcweir		$(SLB)$/nativenumber.lib		\
37cdf0e10cSrcweir		$(SLB)$/registerservices.lib		\
38cdf0e10cSrcweir		$(SLB)$/numberformatcode.lib		\
39cdf0e10cSrcweir		$(SLB)$/locale.lib			\
40cdf0e10cSrcweir		$(SLB)$/indexentry.lib			\
41cdf0e10cSrcweir		$(SLB)$/calendar.lib		\
42cdf0e10cSrcweir		$(SLB)$/breakiterator.lib \
43cdf0e10cSrcweir		$(SLB)$/transliterationImpl.lib \
44cdf0e10cSrcweir		$(SLB)$/characterclassification.lib \
45cdf0e10cSrcweir		$(SLB)$/collator.lib \
46cdf0e10cSrcweir		$(SLB)$/inputchecker.lib \
47cdf0e10cSrcweir		$(SLB)$/textconversion.lib \
48cdf0e10cSrcweir		$(SLB)$/ordinalsuffix.lib
49cdf0e10cSrcweir
50cdf0e10cSrcweirSHL1TARGET= $(TARGET)
51cdf0e10cSrcweir# WNT needs implib name even if there is none
52cdf0e10cSrcweirSHL1IMPLIB= i$(SHL1TARGET)
53cdf0e10cSrcweir
54cdf0e10cSrcweirSHL1DEPN=	makefile.mk \
55cdf0e10cSrcweir		$(SLB)/i18nisolang$(ISOLANG_MAJOR)$(COMID).lib
56cdf0e10cSrcweirSHL1VERSIONMAP=$(SOLARENV)/src/component.map
57cdf0e10cSrcweirSHL1DEF=$(MISC)$/$(SHL1TARGET).def
58cdf0e10cSrcweirDEF1NAME=$(SHL1TARGET)
59cdf0e10cSrcweir
60cdf0e10cSrcweirSHL1LIBS=$(LIB1TARGET)
61cdf0e10cSrcweirSHL1STDLIBS= \
62cdf0e10cSrcweir		$(I18NUTILLIB) \
63cdf0e10cSrcweir		$(I18NISOLANGLIB) \
64cdf0e10cSrcweir        $(COMPHELPERLIB) \
65cdf0e10cSrcweir		$(CPPUHELPERLIB) \
66cdf0e10cSrcweir		$(CPPULIB) \
67cdf0e10cSrcweir		$(SALLIB) \
68cdf0e10cSrcweir		$(ICUINLIB) \
69cdf0e10cSrcweir		$(ICUUCLIB) \
70cdf0e10cSrcweir		$(ICUDATALIB)
71cdf0e10cSrcweir
72cdf0e10cSrcweir# --- Targets ------------------------------------------------------------
73cdf0e10cSrcweir
74cdf0e10cSrcweir.INCLUDE :	target.mk
75cdf0e10cSrcweir
76cdf0e10cSrcweirALLTAR : $(MISC)/i18npool.component
77cdf0e10cSrcweir
78cdf0e10cSrcweir$(MISC)/i18npool.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
79cdf0e10cSrcweir        i18npool.component
80cdf0e10cSrcweir    $(XSLTPROC) --nonet --stringparam uri \
81cdf0e10cSrcweir        '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
82cdf0e10cSrcweir        $(SOLARENV)/bin/createcomponent.xslt i18npool.component
83