xref: /aoo41x/main/icu/makefile.mk (revision cdf0e10c)
1*cdf0e10cSrcweir#*************************************************************************
2*cdf0e10cSrcweir#
3*cdf0e10cSrcweir# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4*cdf0e10cSrcweir#
5*cdf0e10cSrcweir# Copyright 2000, 2010 Oracle and/or its affiliates.
6*cdf0e10cSrcweir#
7*cdf0e10cSrcweir# OpenOffice.org - a multi-platform office productivity suite
8*cdf0e10cSrcweir#
9*cdf0e10cSrcweir# This file is part of OpenOffice.org.
10*cdf0e10cSrcweir#
11*cdf0e10cSrcweir# OpenOffice.org is free software: you can redistribute it and/or modify
12*cdf0e10cSrcweir# it under the terms of the GNU Lesser General Public License version 3
13*cdf0e10cSrcweir# only, as published by the Free Software Foundation.
14*cdf0e10cSrcweir#
15*cdf0e10cSrcweir# OpenOffice.org is distributed in the hope that it will be useful,
16*cdf0e10cSrcweir# but WITHOUT ANY WARRANTY; without even the implied warranty of
17*cdf0e10cSrcweir# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18*cdf0e10cSrcweir# GNU Lesser General Public License version 3 for more details
19*cdf0e10cSrcweir# (a copy is included in the LICENSE file that accompanied this code).
20*cdf0e10cSrcweir#
21*cdf0e10cSrcweir# You should have received a copy of the GNU Lesser General Public License
22*cdf0e10cSrcweir# version 3 along with OpenOffice.org.  If not, see
23*cdf0e10cSrcweir# <http://www.openoffice.org/license.html>
24*cdf0e10cSrcweir# for a copy of the LGPLv3 License.
25*cdf0e10cSrcweir#
26*cdf0e10cSrcweir#*************************************************************************
27*cdf0e10cSrcweirPRJ=.
28*cdf0e10cSrcweir
29*cdf0e10cSrcweirPRJNAME=icu
30*cdf0e10cSrcweirTARGET=so_icu
31*cdf0e10cSrcweir
32*cdf0e10cSrcweir# --- Settings -----------------------------------------------------
33*cdf0e10cSrcweir
34*cdf0e10cSrcweir.INCLUDE :	settings.mk
35*cdf0e10cSrcweir
36*cdf0e10cSrcweir# --- Files --------------------------------------------------------
37*cdf0e10cSrcweir
38*cdf0e10cSrcweir.INCLUDE :	icuversion.mk
39*cdf0e10cSrcweir
40*cdf0e10cSrcweir.IF "$(ICU_MICRO)"!="0"
41*cdf0e10cSrcweirTARFILE_NAME=icu4c-$(ICU_MAJOR)_$(ICU_MINOR)_$(ICU_MICRO)-src
42*cdf0e10cSrcweirTARFILE_MD5=2f6ecca935948f7db92d925d88d0d078
43*cdf0e10cSrcweir.ELSE
44*cdf0e10cSrcweirTARFILE_NAME=icu4c-$(ICU_MAJOR)_$(ICU_MINOR)-src
45*cdf0e10cSrcweirTARFILE_MD5=
46*cdf0e10cSrcweir.ENDIF
47*cdf0e10cSrcweirTARFILE_ROOTDIR=icu
48*cdf0e10cSrcweir
49*cdf0e10cSrcweirPATCH_FILES=${TARFILE_NAME}.patch icu-mp.patch
50*cdf0e10cSrcweir
51*cdf0e10cSrcweir# ADDITIONAL_FILES=
52*cdf0e10cSrcweir
53*cdf0e10cSrcweir.IF "$(GUI)"=="UNX"
54*cdf0e10cSrcweir.IF "$(COMNAME)"=="sunpro5"
55*cdf0e10cSrcweir#.IF "$(BUILD_TOOLS)$/cc"=="$(shell +-which cc)"
56*cdf0e10cSrcweir#CC:=$(COMPATH)$/bin$/cc
57*cdf0e10cSrcweir#CXX:=$(COMPATH)$/bin$/CC
58*cdf0e10cSrcweir#.ENDIF          # "$(BUILD_TOOLS)$/cc"=="$(shell +-which cc)"
59*cdf0e10cSrcweir.ENDIF          # "$(COMNAME)"=="sunpro5"
60*cdf0e10cSrcweir
61*cdf0e10cSrcweir.IF "$(SYSBASE)"!=""
62*cdf0e10cSrcweiricu_CFLAGS+=-I$(SYSBASE)$/usr$/include
63*cdf0e10cSrcweir.IF "$(COMNAME)"=="sunpro5"
64*cdf0e10cSrcweiricu_CFLAGS+=$(C_RESTRICTIONFLAGS)
65*cdf0e10cSrcweir.ENDIF			# "$(COMNAME)"=="sunpro5"
66*cdf0e10cSrcweir# add SYSBASE libraries and make certain that they are found *after* the
67*cdf0e10cSrcweir# icu build internal libraries - in case that icu is available in SYSBASE
68*cdf0e10cSrcweir# as well
69*cdf0e10cSrcweiricu_LDFLAGS+= -L../lib  -L../../lib -L../stubdata -L../../stubdata  -L$(SYSBASE)$/usr$/lib
70*cdf0e10cSrcweir.ENDIF			# "$(SYSBASE)"!=""
71*cdf0e10cSrcweir
72*cdf0e10cSrcweir.IF "$(OS)"=="MACOSX"
73*cdf0e10cSrcweir.IF "$(EXTRA_CFLAGS)"!=""
74*cdf0e10cSrcweirCPP:=gcc -E $(EXTRA_CFLAGS)
75*cdf0e10cSrcweirCXX:=g++ $(EXTRA_CFLAGS)
76*cdf0e10cSrcweirCC:=gcc $(EXTRA_CFLAGS)
77*cdf0e10cSrcweir.EXPORT : CPP
78*cdf0e10cSrcweir.ENDIF # "$(EXTRA_CFLAGS)"!=""
79*cdf0e10cSrcweir.ENDIF # "$(OS)"=="MACOSX"
80*cdf0e10cSrcweir
81*cdf0e10cSrcweiricu_CFLAGS+=-O $(ARCH_FLAGS) $(EXTRA_CDEFS)
82*cdf0e10cSrcweiricu_LDFLAGS+=$(EXTRA_LINKFLAGS)
83*cdf0e10cSrcweiricu_CXXFLAGS+=-O $(ARCH_FLAGS) $(EXTRA_CDEFS)
84*cdf0e10cSrcweir
85*cdf0e10cSrcweir# remove conversion and transliteration data to reduce binary size.
86*cdf0e10cSrcweirCONFIGURE_ACTION=rm data/mappings/ucm*.mk data/translit/trn*.mk ;
87*cdf0e10cSrcweir
88*cdf0e10cSrcweir# until someone introduces SOLARIS 64-bit builds
89*cdf0e10cSrcweir.IF "$(OS)"=="SOLARIS"
90*cdf0e10cSrcweirDISABLE_64BIT=--enable-64bit-libs=no
91*cdf0e10cSrcweir.ENDIF			# "$(OS)"=="SOLARIS"
92*cdf0e10cSrcweir
93*cdf0e10cSrcweir.IF "$(HAVE_LD_HASH_STYLE)"  == "TRUE"
94*cdf0e10cSrcweirLDFLAGSADD += -Wl,--hash-style=both
95*cdf0e10cSrcweir.ENDIF
96*cdf0e10cSrcweir
97*cdf0e10cSrcweir.IF "$(HAVE_LD_BSYMBOLIC_FUNCTIONS)"  == "TRUE"
98*cdf0e10cSrcweirLDFLAGSADD += -Wl,-Bsymbolic-functions -Wl,--dynamic-list-cpp-new -Wl,--dynamic-list-cpp-typeinfo
99*cdf0e10cSrcweir.ENDIF
100*cdf0e10cSrcweir
101*cdf0e10cSrcweirCONFIGURE_DIR=source
102*cdf0e10cSrcweir
103*cdf0e10cSrcweirCONFIGURE_ACTION+=sh -c 'CFLAGS="$(icu_CFLAGS)" CXXFLAGS="$(icu_CXXFLAGS)" LDFLAGS="$(icu_LDFLAGS) $(LDFLAGSADD)" ./configure --enable-layout --enable-static --enable-shared=yes $(DISABLE_64BIT)'
104*cdf0e10cSrcweir
105*cdf0e10cSrcweir#CONFIGURE_FLAGS=--enable-layout --enable-static --enable-shared=yes --enable-64bit-libs=no
106*cdf0e10cSrcweirCONFIGURE_FLAGS=
107*cdf0e10cSrcweir
108*cdf0e10cSrcweir# Use of
109*cdf0e10cSrcweir# CONFIGURE_ACTION=sh -c 'CFLAGS=-O CXXFLAGS=-O ./configure'
110*cdf0e10cSrcweir# CONFIGURE_FLAGS=--enable-layout --enable-static --enable-shared=yes --enable-64bit-libs=no
111*cdf0e10cSrcweir# doesn't work as it would result in
112*cdf0e10cSrcweir# sh -c 'CFLAGS=-O CXXFLAGS=-O ./configure' --enable-layout ...
113*cdf0e10cSrcweir# note the position of the single quotes.
114*cdf0e10cSrcweir
115*cdf0e10cSrcweirBUILD_DIR=$(CONFIGURE_DIR)
116*cdf0e10cSrcweirBUILD_ACTION=$(AUGMENT_LIBRARY_PATH) $(GNUMAKE) -j$(EXTMAXPROCESS)
117*cdf0e10cSrcweirOUT2LIB= \
118*cdf0e10cSrcweir	$(BUILD_DIR)$/lib$/libicudata$(DLLPOST).$(ICU_MAJOR)$(ICU_MINOR).$(ICU_MICRO) \
119*cdf0e10cSrcweir	$(BUILD_DIR)$/lib$/libicudata$(DLLPOST).$(ICU_MAJOR)$(ICU_MINOR) \
120*cdf0e10cSrcweir	$(BUILD_DIR)$/lib$/libicudata$(DLLPOST) \
121*cdf0e10cSrcweir	$(BUILD_DIR)$/lib$/libicuuc$(DLLPOST).$(ICU_MAJOR)$(ICU_MINOR).$(ICU_MICRO) \
122*cdf0e10cSrcweir	$(BUILD_DIR)$/lib$/libicuuc$(DLLPOST).$(ICU_MAJOR)$(ICU_MINOR) \
123*cdf0e10cSrcweir	$(BUILD_DIR)$/lib$/libicuuc$(DLLPOST) \
124*cdf0e10cSrcweir	$(BUILD_DIR)$/lib$/libicui18n$(DLLPOST).$(ICU_MAJOR)$(ICU_MINOR).$(ICU_MICRO) \
125*cdf0e10cSrcweir	$(BUILD_DIR)$/lib$/libicui18n$(DLLPOST).$(ICU_MAJOR)$(ICU_MINOR) \
126*cdf0e10cSrcweir	$(BUILD_DIR)$/lib$/libicui18n$(DLLPOST) \
127*cdf0e10cSrcweir	$(BUILD_DIR)$/lib$/libicule$(DLLPOST).$(ICU_MAJOR)$(ICU_MINOR).$(ICU_MICRO) \
128*cdf0e10cSrcweir	$(BUILD_DIR)$/lib$/libicule$(DLLPOST).$(ICU_MAJOR)$(ICU_MINOR) \
129*cdf0e10cSrcweir	$(BUILD_DIR)$/lib$/libicule$(DLLPOST) \
130*cdf0e10cSrcweir	$(BUILD_DIR)$/lib$/libicutu$(DLLPOST).$(ICU_MAJOR)$(ICU_MINOR).$(ICU_MICRO) \
131*cdf0e10cSrcweir	$(BUILD_DIR)$/lib$/libicutu$(DLLPOST).$(ICU_MAJOR)$(ICU_MINOR) \
132*cdf0e10cSrcweir	$(BUILD_DIR)$/lib$/libicutu$(DLLPOST)
133*cdf0e10cSrcweir
134*cdf0e10cSrcweirOUT2BIN= \
135*cdf0e10cSrcweir	$(BUILD_DIR)$/bin$/genccode \
136*cdf0e10cSrcweir	$(BUILD_DIR)$/bin$/genbrk \
137*cdf0e10cSrcweir	$(BUILD_DIR)$/bin$/gencmn
138*cdf0e10cSrcweir
139*cdf0e10cSrcweir.ENDIF
140*cdf0e10cSrcweir
141*cdf0e10cSrcweir.IF "$(GUI)"=="WNT"
142*cdf0e10cSrcweirCONFIGURE_DIR=source
143*cdf0e10cSrcweir.IF "$(COM)"=="GCC"
144*cdf0e10cSrcweirCONFIGURE_ACTION=rm data/mappings/ucm*.mk data/translit/trn*.mk ;
145*cdf0e10cSrcweir.IF "$(MINGW_SHARED_GCCLIB)"=="YES"
146*cdf0e10cSrcweiricu_LDFLAGS+=-shared-libgcc
147*cdf0e10cSrcweir.ENDIF
148*cdf0e10cSrcweir.IF "$(USE_MINGW)"=="cygwin"
149*cdf0e10cSrcweiricu_LDFLAGS+=-L$(COMPATH)/lib/mingw -L$(COMPATH)/lib/w32api
150*cdf0e10cSrcweir.ENDIF
151*cdf0e10cSrcweiricu_LDFLAGS+=-L$(COMPATH)$/lib
152*cdf0e10cSrcweiricu_LIBS=
153*cdf0e10cSrcweir.IF "$(MINGW_SHARED_GXXLIB)"=="YES"
154*cdf0e10cSrcweiricu_LIBS+=$(MINGW_SHARED_LIBSTDCPP)
155*cdf0e10cSrcweir.ENDIF
156*cdf0e10cSrcweiricu_LDFLAGS+=-Wl,--enable-runtime-pseudo-reloc-v2
157*cdf0e10cSrcweirCONFIGURE_ACTION+=sh -c 'CFLAGS="-O -D_MT" CXXFLAGS="-O -D_MT" LDFLAGS="$(icu_LDFLAGS)" LIBS="$(icu_LIBS)" ./configure --build=i586-pc-mingw32 --enable-layout --enable-static --enable-shared=yes --enable-64bit-libs=no'
158*cdf0e10cSrcweir
159*cdf0e10cSrcweir#CONFIGURE_FLAGS=--enable-layout --enable-static --enable-shared=yes --enable-64bit-libs=no
160*cdf0e10cSrcweirCONFIGURE_FLAGS=
161*cdf0e10cSrcweir
162*cdf0e10cSrcweir# Use of
163*cdf0e10cSrcweir# CONFIGURE_ACTION=sh -c 'CFLAGS=-O CXXFLAGS=-O ./configure'
164*cdf0e10cSrcweir# CONFIGURE_FLAGS=--enable-layout --enable-static --enable-shared=yes --enable-64bit-libs=no
165*cdf0e10cSrcweir# doesn't work as it would result in
166*cdf0e10cSrcweir# sh -c 'CFLAGS=-O CXXFLAGS=-O ./configure' --enable-layout ...
167*cdf0e10cSrcweir# note the position of the single quotes.
168*cdf0e10cSrcweir
169*cdf0e10cSrcweirBUILD_DIR=$(CONFIGURE_DIR)
170*cdf0e10cSrcweirBUILD_ACTION=$(GNUMAKE)
171*cdf0e10cSrcweirOUT2LIB=
172*cdf0e10cSrcweir
173*cdf0e10cSrcweirOUT2BIN= \
174*cdf0e10cSrcweir	$(BUILD_DIR)$/lib$/icudt$(ICU_MAJOR)$(ICU_MINOR)$(DLLPOST) \
175*cdf0e10cSrcweir	$(BUILD_DIR)$/lib$/icuuc$(ICU_MAJOR)$(ICU_MINOR)$(DLLPOST) \
176*cdf0e10cSrcweir	$(BUILD_DIR)$/lib$/icuin$(ICU_MAJOR)$(ICU_MINOR)$(DLLPOST) \
177*cdf0e10cSrcweir	$(BUILD_DIR)$/lib$/icule$(ICU_MAJOR)$(ICU_MINOR)$(DLLPOST) \
178*cdf0e10cSrcweir	$(BUILD_DIR)$/lib$/icutu$(ICU_MAJOR)$(ICU_MINOR)$(DLLPOST) \
179*cdf0e10cSrcweir	$(BUILD_DIR)$/bin$/genccode.exe \
180*cdf0e10cSrcweir	$(BUILD_DIR)$/bin$/genbrk.exe \
181*cdf0e10cSrcweir	$(BUILD_DIR)$/bin$/gencmn.exe
182*cdf0e10cSrcweir
183*cdf0e10cSrcweir.ELSE
184*cdf0e10cSrcweirBUILD_DIR=source
185*cdf0e10cSrcweir.IF "full_debug" == ""
186*cdf0e10cSrcweir
187*cdf0e10cSrcweir# Activating the debug mechanism produces incompatible libraries, you'd have
188*cdf0e10cSrcweir# at least to relink all modules that are directly using ICU. Note that library
189*cdf0e10cSrcweir# names get a 'd' appended and you'd have to edit the solenv/inc/libs.mk
190*cdf0e10cSrcweir# ICU*LIB macros as well. Normally you don't want all this.
191*cdf0e10cSrcweir#
192*cdf0e10cSrcweir# Instead, use the normal already existing Release build and edit the
193*cdf0e10cSrcweir# corresponding *.vcproj file of the section you're interested in. Make sure
194*cdf0e10cSrcweir# that
195*cdf0e10cSrcweir# - for the VCCLCompilerTool section the following line exists:
196*cdf0e10cSrcweir#   DebugInformationFormat="3"
197*cdf0e10cSrcweir# - and for the VCLinkerTool the line
198*cdf0e10cSrcweir#   GenerateDebugInformation="TRUE"
199*cdf0e10cSrcweir# Then delete the corresponding Release output directory, and delete the target
200*cdf0e10cSrcweir# flag files
201*cdf0e10cSrcweir# $(OUTPATH)/misc/build/so_built_so_icu
202*cdf0e10cSrcweir# $(OUTPATH)/misc/build/so_predeliver_so_icu
203*cdf0e10cSrcweir# and run dmake again, after which you may copy the resulting libraries to your
204*cdf0e10cSrcweir# OOo/SO installation.
205*cdf0e10cSrcweirICU_BUILD_VERSION=Debug
206*cdf0e10cSrcweirICU_BUILD_LIBPOST=d
207*cdf0e10cSrcweir.ELSE
208*cdf0e10cSrcweirICU_BUILD_VERSION=Release
209*cdf0e10cSrcweirICU_BUILD_LIBPOST=
210*cdf0e10cSrcweir.ENDIF
211*cdf0e10cSrcweir
212*cdf0e10cSrcweirCONFIGURE_ACTION+= $(PERL) ..$/..$/..$/..$/..$/createmak.pl ..$/..$/..$/..$/..$/createmak.cfg .
213*cdf0e10cSrcweir
214*cdf0e10cSrcweir.IF "$(CCNUMVER)"<="001400000000"
215*cdf0e10cSrcweirBUILD_ACTION=cd allinone && nmake /f all.mak EXFLAGS="-EHsc" && cd ..$/..
216*cdf0e10cSrcweir.ELSE
217*cdf0e10cSrcweirBUILD_ACTION=cd allinone && nmake /f all.mak EXFLAGS="-EHa -Zc:wchar_t-" && cd ..$/..
218*cdf0e10cSrcweir.ENDIF
219*cdf0e10cSrcweir
220*cdf0e10cSrcweirOUT2LIB= \
221*cdf0e10cSrcweir	$(BUILD_DIR)$/..$/lib$/icudata.lib \
222*cdf0e10cSrcweir	$(BUILD_DIR)$/..$/lib$/icuin$(ICU_BUILD_LIBPOST).lib \
223*cdf0e10cSrcweir	$(BUILD_DIR)$/..$/lib$/icuuc$(ICU_BUILD_LIBPOST).lib \
224*cdf0e10cSrcweir	$(BUILD_DIR)$/..$/lib$/icule$(ICU_BUILD_LIBPOST).lib \
225*cdf0e10cSrcweir	$(BUILD_DIR)$/..$/lib$/icutu$(ICU_BUILD_LIBPOST).lib
226*cdf0e10cSrcweir
227*cdf0e10cSrcweirOUT2BIN= \
228*cdf0e10cSrcweir	$(BUILD_DIR)$/..$/bin$/icudt$(ICU_MAJOR)$(ICU_MINOR).dll \
229*cdf0e10cSrcweir	$(BUILD_DIR)$/..$/bin$/icuin$(ICU_MAJOR)$(ICU_MINOR)$(ICU_BUILD_LIBPOST).dll \
230*cdf0e10cSrcweir	$(BUILD_DIR)$/..$/bin$/icuuc$(ICU_MAJOR)$(ICU_MINOR)$(ICU_BUILD_LIBPOST).dll \
231*cdf0e10cSrcweir	$(BUILD_DIR)$/..$/bin$/icule$(ICU_MAJOR)$(ICU_MINOR)$(ICU_BUILD_LIBPOST).dll \
232*cdf0e10cSrcweir	$(BUILD_DIR)$/..$/bin$/icutu$(ICU_MAJOR)$(ICU_MINOR)$(ICU_BUILD_LIBPOST).dll \
233*cdf0e10cSrcweir	$(BUILD_DIR)$/..$/bin$/genccode.exe \
234*cdf0e10cSrcweir	$(BUILD_DIR)$/..$/bin$/genbrk.exe \
235*cdf0e10cSrcweir    $(BUILD_DIR)$/..$/bin$/gencmn.exe
236*cdf0e10cSrcweir
237*cdf0e10cSrcweir.ENDIF
238*cdf0e10cSrcweir.ENDIF		# "$(GUI)"=="WNT"
239*cdf0e10cSrcweir
240*cdf0e10cSrcweir# --- Targets ------------------------------------------------------
241*cdf0e10cSrcweir
242*cdf0e10cSrcweir.INCLUDE : set_ext.mk
243*cdf0e10cSrcweir.INCLUDE :	target.mk
244*cdf0e10cSrcweir.INCLUDE :	tg_ext.mk
245*cdf0e10cSrcweir
246*cdf0e10cSrcweir.IF "$(BINARY_PATCH_FILES)"!=""
247*cdf0e10cSrcweir
248*cdf0e10cSrcweir$(PACKAGE_DIR)$/so_add_binary :  $(PACKAGE_DIR)$/$(ADD_FILES_FLAG_FILE)
249*cdf0e10cSrcweir	cd $(PACKAGE_DIR) && gunzip -c $(BACK_PATH)$(BINARY_PATCH_FILES) | tar -xvf -
250*cdf0e10cSrcweir	$(TOUCH) $(PACKAGE_DIR)$/so_add_binary
251*cdf0e10cSrcweir
252*cdf0e10cSrcweir$(PACKAGE_DIR)$/$(CONFIGURE_FLAG_FILE) : $(PACKAGE_DIR)$/so_add_binary
253*cdf0e10cSrcweir
254*cdf0e10cSrcweir.ENDIF
255*cdf0e10cSrcweir
256*cdf0e10cSrcweir.IF "$(GUI)$(COM)"=="WNTGCC"
257*cdf0e10cSrcweirALLTAR : \
258*cdf0e10cSrcweir	$(LB)$/icudata.lib \
259*cdf0e10cSrcweir	$(LB)$/icuin$(ICU_BUILD_LIBPOST).lib \
260*cdf0e10cSrcweir	$(LB)$/icuuc$(ICU_BUILD_LIBPOST).lib \
261*cdf0e10cSrcweir	$(LB)$/icule$(ICU_BUILD_LIBPOST).lib \
262*cdf0e10cSrcweir	$(LB)$/icutu$(ICU_BUILD_LIBPOST).lib
263*cdf0e10cSrcweir
264*cdf0e10cSrcweir$(LB)$/icudata.lib : $(PACKAGE_DIR)$/$(PREDELIVER_FLAG_FILE)
265*cdf0e10cSrcweir	$(TOUCH) $@
266*cdf0e10cSrcweir
267*cdf0e10cSrcweir$(LB)$/icuin$(ICU_BUILD_LIBPOST).lib : $(PACKAGE_DIR)$/$(PREDELIVER_FLAG_FILE)
268*cdf0e10cSrcweir	$(TOUCH) $@
269*cdf0e10cSrcweir
270*cdf0e10cSrcweir$(LB)$/icuuc$(ICU_BUILD_LIBPOST).lib : $(PACKAGE_DIR)$/$(PREDELIVER_FLAG_FILE)
271*cdf0e10cSrcweir	$(TOUCH) $@
272*cdf0e10cSrcweir
273*cdf0e10cSrcweir$(LB)$/icule$(ICU_BUILD_LIBPOST).lib : $(PACKAGE_DIR)$/$(PREDELIVER_FLAG_FILE)
274*cdf0e10cSrcweir	$(TOUCH) $@
275*cdf0e10cSrcweir
276*cdf0e10cSrcweir$(LB)$/icutu$(ICU_BUILD_LIBPOST).lib : $(PACKAGE_DIR)$/$(PREDELIVER_FLAG_FILE)
277*cdf0e10cSrcweir	$(TOUCH) $@
278*cdf0e10cSrcweir.ENDIF
279*cdf0e10cSrcweir
280*cdf0e10cSrcweir# Since you never know what will be in a patch (for example, it may already
281*cdf0e10cSrcweir# patch at configure level) or in the case of a binary patch, we remove the
282*cdf0e10cSrcweir# entire package directory if a patch is newer.
283*cdf0e10cSrcweir# Changes in this makefile could also make a complete build necessary if
284*cdf0e10cSrcweir# configure is affected.
285*cdf0e10cSrcweir$(PACKAGE_DIR)$/$(UNTAR_FLAG_FILE) : makefile.mk
286*cdf0e10cSrcweir
287