xref: /aoo42x/main/i18npool/util/makefile.mk (revision 8809db7a)
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#**************************************************************
21PRJ=..
22
23PRJNAME=i18npool
24TARGET=i18npool.uno
25
26# --- Settings -----------------------------------------------------------
27
28.INCLUDE :	settings.mk
29DLLPRE =
30.INCLUDE :	$(PRJ)/version.mk
31
32# --- Allgemein ----------------------------------------------------------
33
34LIB1TARGET= $(SLB)$/$(TARGET).lib
35LIB1FILES=	$(SLB)$/defaultnumberingprovider.lib	\
36		$(SLB)$/nativenumber.lib		\
37		$(SLB)$/registerservices.lib		\
38		$(SLB)$/numberformatcode.lib		\
39		$(SLB)$/locale.lib			\
40		$(SLB)$/indexentry.lib			\
41		$(SLB)$/calendar.lib		\
42		$(SLB)$/breakiterator.lib \
43		$(SLB)$/transliterationImpl.lib \
44		$(SLB)$/characterclassification.lib \
45		$(SLB)$/collator.lib \
46		$(SLB)$/inputchecker.lib \
47		$(SLB)$/textconversion.lib \
48		$(SLB)$/ordinalsuffix.lib
49
50SHL1TARGET= $(TARGET)
51# WNT needs implib name even if there is none
52SHL1IMPLIB= i$(SHL1TARGET)
53
54SHL1DEPN=	makefile.mk \
55		$(SLB)/i18nisolang$(ISOLANG_MAJOR)$(COMID).lib
56SHL1VERSIONMAP=$(SOLARENV)/src/component.map
57SHL1DEF=$(MISC)$/$(SHL1TARGET).def
58DEF1NAME=$(SHL1TARGET)
59
60SHL1LIBS=$(LIB1TARGET)
61SHL1STDLIBS= \
62		$(I18NUTILLIB) \
63		$(I18NISOLANGLIB) \
64        $(COMPHELPERLIB) \
65		$(CPPUHELPERLIB) \
66		$(CPPULIB) \
67		$(SALLIB) \
68		$(ICUINLIB) \
69		$(ICUUCLIB) \
70		$(ICUDATALIB)
71
72# --- Targets ------------------------------------------------------------
73
74.INCLUDE :	target.mk
75
76ALLTAR : $(MISC)/i18npool.component
77
78$(MISC)/i18npool.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
79        i18npool.component
80    $(XSLTPROC) --nonet --stringparam uri \
81        '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
82        $(SOLARENV)/bin/createcomponent.xslt i18npool.component
83