xref: /aoo42x/main/i18npool/util/makefile.mk (revision cdf0e10c)
1#*************************************************************************
2#*
3# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4#
5# Copyright 2000, 2010 Oracle and/or its affiliates.
6#
7# OpenOffice.org - a multi-platform office productivity suite
8#
9# This file is part of OpenOffice.org.
10#
11# OpenOffice.org is free software: you can redistribute it and/or modify
12# it under the terms of the GNU Lesser General Public License version 3
13# only, as published by the Free Software Foundation.
14#
15# OpenOffice.org is distributed in the hope that it will be useful,
16# but WITHOUT ANY WARRANTY; without even the implied warranty of
17# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18# GNU Lesser General Public License version 3 for more details
19# (a copy is included in the LICENSE file that accompanied this code).
20#
21# You should have received a copy of the GNU Lesser General Public License
22# version 3 along with OpenOffice.org.  If not, see
23# <http://www.openoffice.org/license.html>
24# for a copy of the LGPLv3 License.
25#
26#************************************************************************
27
28PRJ=..
29
30PRJNAME=i18npool
31TARGET=i18npool.uno
32
33# --- Settings -----------------------------------------------------------
34
35.INCLUDE :	settings.mk
36DLLPRE =
37.INCLUDE :	$(PRJ)/version.mk
38
39# --- Allgemein ----------------------------------------------------------
40
41LIB1TARGET= $(SLB)$/$(TARGET).lib
42LIB1FILES=	$(SLB)$/defaultnumberingprovider.lib	\
43		$(SLB)$/nativenumber.lib		\
44		$(SLB)$/registerservices.lib		\
45		$(SLB)$/numberformatcode.lib		\
46		$(SLB)$/locale.lib			\
47		$(SLB)$/indexentry.lib			\
48		$(SLB)$/calendar.lib		\
49		$(SLB)$/breakiterator.lib \
50		$(SLB)$/transliterationImpl.lib \
51		$(SLB)$/characterclassification.lib \
52		$(SLB)$/collator.lib \
53		$(SLB)$/inputchecker.lib \
54		$(SLB)$/textconversion.lib \
55		$(SLB)$/ordinalsuffix.lib
56
57SHL1TARGET= $(TARGET)
58# WNT needs implib name even if there is none
59SHL1IMPLIB= i$(SHL1TARGET)
60
61SHL1DEPN=	makefile.mk \
62		$(SLB)/i18nisolang$(ISOLANG_MAJOR)$(COMID).lib
63SHL1VERSIONMAP=$(SOLARENV)/src/component.map
64SHL1DEF=$(MISC)$/$(SHL1TARGET).def
65DEF1NAME=$(SHL1TARGET)
66
67SHL1LIBS=$(LIB1TARGET)
68SHL1STDLIBS= \
69		$(I18NUTILLIB) \
70		$(I18NISOLANGLIB) \
71        $(COMPHELPERLIB) \
72		$(CPPUHELPERLIB) \
73		$(CPPULIB) \
74		$(SALLIB) \
75		$(ICUINLIB) \
76		$(ICUUCLIB) \
77		$(ICUDATALIB)
78
79# --- Targets ------------------------------------------------------------
80
81.INCLUDE :	target.mk
82
83ALLTAR : $(MISC)/i18npool.component
84
85$(MISC)/i18npool.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
86        i18npool.component
87    $(XSLTPROC) --nonet --stringparam uri \
88        '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
89        $(SOLARENV)/bin/createcomponent.xslt i18npool.component
90