xref: /aoo42x/main/i18npool/util/makefile.mk (revision 03c97e34)
18809db7aSAndrew Rist#**************************************************************
28809db7aSAndrew Rist#
38809db7aSAndrew Rist#  Licensed to the Apache Software Foundation (ASF) under one
48809db7aSAndrew Rist#  or more contributor license agreements.  See the NOTICE file
58809db7aSAndrew Rist#  distributed with this work for additional information
68809db7aSAndrew Rist#  regarding copyright ownership.  The ASF licenses this file
78809db7aSAndrew Rist#  to you under the Apache License, Version 2.0 (the
88809db7aSAndrew Rist#  "License"); you may not use this file except in compliance
98809db7aSAndrew Rist#  with the License.  You may obtain a copy of the License at
108809db7aSAndrew Rist#
118809db7aSAndrew Rist#    http://www.apache.org/licenses/LICENSE-2.0
128809db7aSAndrew Rist#
138809db7aSAndrew Rist#  Unless required by applicable law or agreed to in writing,
148809db7aSAndrew Rist#  software distributed under the License is distributed on an
158809db7aSAndrew Rist#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
168809db7aSAndrew Rist#  KIND, either express or implied.  See the License for the
178809db7aSAndrew Rist#  specific language governing permissions and limitations
188809db7aSAndrew Rist#  under the License.
198809db7aSAndrew Rist#
208809db7aSAndrew 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
50*03c97e34SYuri Dario.IF "$(GUI)" == "OS2"
51*03c97e34SYuri DarioSHL1TARGET= i18npool
52*03c97e34SYuri Dario.ELSE
53cdf0e10cSrcweirSHL1TARGET= $(TARGET)
54*03c97e34SYuri Dario.ENDIF
55cdf0e10cSrcweir# WNT needs implib name even if there is none
56cdf0e10cSrcweirSHL1IMPLIB= i$(SHL1TARGET)
57cdf0e10cSrcweir
58cdf0e10cSrcweirSHL1DEPN=	makefile.mk \
59cdf0e10cSrcweir		$(SLB)/i18nisolang$(ISOLANG_MAJOR)$(COMID).lib
60cdf0e10cSrcweirSHL1VERSIONMAP=$(SOLARENV)/src/component.map
61cdf0e10cSrcweirSHL1DEF=$(MISC)$/$(SHL1TARGET).def
62cdf0e10cSrcweirDEF1NAME=$(SHL1TARGET)
63cdf0e10cSrcweir
64cdf0e10cSrcweirSHL1LIBS=$(LIB1TARGET)
65cdf0e10cSrcweirSHL1STDLIBS= \
66cdf0e10cSrcweir		$(I18NUTILLIB) \
67cdf0e10cSrcweir		$(I18NISOLANGLIB) \
68cdf0e10cSrcweir        $(COMPHELPERLIB) \
69cdf0e10cSrcweir		$(CPPUHELPERLIB) \
70cdf0e10cSrcweir		$(CPPULIB) \
71cdf0e10cSrcweir		$(SALLIB) \
72cdf0e10cSrcweir		$(ICUINLIB) \
73cdf0e10cSrcweir		$(ICUUCLIB) \
74cdf0e10cSrcweir		$(ICUDATALIB)
75cdf0e10cSrcweir
76cdf0e10cSrcweir# --- Targets ------------------------------------------------------------
77cdf0e10cSrcweir
78cdf0e10cSrcweir.INCLUDE :	target.mk
79cdf0e10cSrcweir
80cdf0e10cSrcweirALLTAR : $(MISC)/i18npool.component
81cdf0e10cSrcweir
82cdf0e10cSrcweir$(MISC)/i18npool.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
83cdf0e10cSrcweir        i18npool.component
84cdf0e10cSrcweir    $(XSLTPROC) --nonet --stringparam uri \
85cdf0e10cSrcweir        '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
86cdf0e10cSrcweir        $(SOLARENV)/bin/createcomponent.xslt i18npool.component
87