xref: /aoo42x/main/i18npool/util/makefile.mk (revision 03c97e34)
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
50.IF "$(GUI)" == "OS2"
51SHL1TARGET= i18npool
52.ELSE
53SHL1TARGET= $(TARGET)
54.ENDIF
55# WNT needs implib name even if there is none
56SHL1IMPLIB= i$(SHL1TARGET)
57
58SHL1DEPN=	makefile.mk \
59		$(SLB)/i18nisolang$(ISOLANG_MAJOR)$(COMID).lib
60SHL1VERSIONMAP=$(SOLARENV)/src/component.map
61SHL1DEF=$(MISC)$/$(SHL1TARGET).def
62DEF1NAME=$(SHL1TARGET)
63
64SHL1LIBS=$(LIB1TARGET)
65SHL1STDLIBS= \
66		$(I18NUTILLIB) \
67		$(I18NISOLANGLIB) \
68        $(COMPHELPERLIB) \
69		$(CPPUHELPERLIB) \
70		$(CPPULIB) \
71		$(SALLIB) \
72		$(ICUINLIB) \
73		$(ICUUCLIB) \
74		$(ICUDATALIB)
75
76# --- Targets ------------------------------------------------------------
77
78.INCLUDE :	target.mk
79
80ALLTAR : $(MISC)/i18npool.component
81
82$(MISC)/i18npool.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
83        i18npool.component
84    $(XSLTPROC) --nonet --stringparam uri \
85        '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
86        $(SOLARENV)/bin/createcomponent.xslt i18npool.component
87