1999-08-16 21:50:52 +00:00
|
|
|
## Makefile.in for ICU - tools/gencol
|
2000-01-17 19:48:20 +00:00
|
|
|
## Copyright (c) 1999, International Business Machines Corporation and
|
|
|
|
## others. All Rights Reserved.
|
1999-08-16 21:50:52 +00:00
|
|
|
|
|
|
|
## Shell to use
|
|
|
|
SHELL = @SHELL@
|
|
|
|
|
|
|
|
## Install directory information
|
|
|
|
srcdir = @srcdir@
|
|
|
|
top_srcdir = @top_srcdir@
|
|
|
|
prefix = @prefix@
|
|
|
|
exec_prefix = @exec_prefix@
|
|
|
|
|
|
|
|
bindir = @bindir@
|
|
|
|
sbindir = @sbindir@
|
|
|
|
datadir = @datadir@
|
|
|
|
libdir = @libdir@
|
|
|
|
includedir = @includedir@
|
|
|
|
|
|
|
|
pkgdatadir = $(datadir)/@PACKAGE@
|
|
|
|
pkglibdir = $(libdir)/@PACKAGE@
|
|
|
|
pkgincludedir = $(includedir)/@PACKAGE@
|
|
|
|
|
|
|
|
## Install program information
|
|
|
|
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
|
|
|
|
|
|
|
INSTALL = @INSTALL@
|
|
|
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
|
|
|
INSTALL_DATA = @INSTALL_DATA@
|
|
|
|
|
|
|
|
## Compiler/tools information
|
|
|
|
CC = @CC@
|
|
|
|
CXX = @CXX@
|
|
|
|
PACKAGE = @PACKAGE@
|
|
|
|
VERSION = @VERSION@
|
|
|
|
|
|
|
|
## Platform-specific setup
|
|
|
|
@host_frag@
|
|
|
|
|
|
|
|
## Build directory information
|
|
|
|
top_builddir = ../..
|
|
|
|
subdir = tools/gencol
|
|
|
|
|
|
|
|
## Extra files to remove for 'make clean'
|
|
|
|
CLEANFILES = *~
|
|
|
|
|
|
|
|
## Target information
|
|
|
|
TARGET = gencol
|
|
|
|
|
|
|
|
DEFS = @DEFS@
|
2000-02-07 21:00:53 +00:00
|
|
|
CPPFLAGS = @CPPFLAGS@ -I$(top_builddir)/common -I$(top_srcdir)/common -I$(top_srcdir)/i18n
|
1999-08-16 21:50:52 +00:00
|
|
|
CFLAGS = @CFLAGS@
|
|
|
|
CXXFLAGS = @CXXFLAGS@
|
|
|
|
LDFLAGS = @LDFLAGS@ \
|
|
|
|
$(LD_RPATH)$(LD_RPATH_PRE)$(libdir)@ld_rpath_suf@$(LD_RPATH_PRE)$(top_builddir)/common@ld_rpath_suf@$(LD_RPATH_PRE)$(top_builddir)/i18n
|
1999-09-03 22:08:47 +00:00
|
|
|
LIBS = $(LIBICU-UC) $(LIBICU-I18N) @LIBS@ @LIB_M@
|
1999-08-16 21:50:52 +00:00
|
|
|
|
|
|
|
OBJECTS = gencol.o
|
|
|
|
|
|
|
|
DEPS = $(OBJECTS:.o=.d)
|
|
|
|
|
|
|
|
## List of phony targets
|
|
|
|
.PHONY : all all-local install install-local clean clean-local \
|
2000-03-09 06:36:27 +00:00
|
|
|
distclean distclean-local clean-sentinel force-build-data dist dist-local check \
|
1999-08-16 21:50:52 +00:00
|
|
|
check-local
|
|
|
|
|
|
|
|
## Clear suffix list
|
|
|
|
.SUFFIXES :
|
|
|
|
|
|
|
|
## List of standard targets
|
|
|
|
all: all-local
|
|
|
|
install: install-local
|
|
|
|
clean: clean-local
|
|
|
|
distclean : distclean-local
|
|
|
|
dist: dist-local
|
|
|
|
check: check-local
|
|
|
|
|
1999-12-04 02:31:40 +00:00
|
|
|
all-local: $(TARGET) build-data
|
|
|
|
|
|
|
|
## only rebuild if ANY .RES FILES CHANGE
|
|
|
|
|
2000-03-30 19:03:48 +00:00
|
|
|
## List of resource bundles to build
|
|
|
|
RES_BUNDLES = ar.res ar_AE.res ar_BH.res ar_DZ.res ar_EG.res ar_IQ.res \
|
|
|
|
ar_JO.res ar_KW.res ar_LB.res ar_LY.res ar_MA.res ar_OM.res ar_QA.res \
|
|
|
|
ar_SA.res ar_SD.res ar_SY.res ar_TN.res ar_YE.res be.res be_BY.res \
|
|
|
|
bg.res bg_BG.res ca.res ca_ES.res ca_ES_EURO.res cs.res cs_CZ.res \
|
|
|
|
da.res da_DK.res de.res de_AT.res de_AT_EURO.res de_CH.res de_DE.res \
|
|
|
|
de_DE_EURO.res de_LU.res de_LU_EURO.res el.res el_GR.res en.res \
|
|
|
|
en_AU.res en_BE.res en_CA.res en_GB.res en_IE.res en_IE_EURO.res \
|
|
|
|
en_NZ.res en_US.res en_ZA.res es.res es_AR.res es_BO.res es_CL.res \
|
|
|
|
es_CO.res es_CR.res es_DO.res es_EC.res es_ES.res es_ES_EURO.res \
|
|
|
|
es_GT.res es_HN.res es_MX.res es_NI.res es_PA.res es_PE.res es_PR.res \
|
|
|
|
es_PY.res es_SV.res es_UY.res es_VE.res et.res et_EE.res fi.res \
|
|
|
|
fi_FI.res fi_FI_EURO.res fr.res fr_BE.res fr_BE_EURO.res fr_CA.res \
|
|
|
|
fr_CH.res fr_FR.res fr_FR_EURO.res fr_LU.res fr_LU_EURO.res hr.res \
|
|
|
|
hr_HR.res hu.res hu_HU.res is.res is_IS.res it.res it_CH.res it_IT.res \
|
|
|
|
it_IT_EURO.res iw.res iw_IL.res ja.res ja_JP.res ko.res ko_KR.res \
|
|
|
|
lt.res lt_LT.res lv.res lv_LV.res mk.res mk_MK.res nl.res nl_BE.res \
|
|
|
|
nl_BE_EURO.res nl_NL.res nl_NL_EURO.res no.res no_NO.res no_NO_NY.res \
|
|
|
|
pl.res pl_PL.res pt.res pt_BR.res pt_PT.res pt_PT_EURO.res ro.res \
|
|
|
|
ro_RO.res ru.res ru_RU.res sh.res sh_YU.res sk.res sk_SK.res sl.res \
|
|
|
|
sl_SI.res sq.res sq_AL.res sr.res sr_YU.res sv.res sv_SE.res th.res \
|
|
|
|
th_TH.res tr.res tr_TR.res uk.res uk_UA.res vi.res vi_VN.res zh.res \
|
|
|
|
zh_CN.res zh_HK.res zh_TW.res default.res index.res
|
|
|
|
|
|
|
|
RES_FILES = $(RES_BUNDLES:%=@DATABUILDDIR@/%)
|
|
|
|
|
1999-12-04 02:31:40 +00:00
|
|
|
build-data: .sentinel
|
|
|
|
|
2000-03-30 19:03:48 +00:00
|
|
|
.sentinel: $(RES_FILES)
|
1999-08-16 21:50:52 +00:00
|
|
|
@echo "Creating binary collation files (may take a while)"
|
2000-02-16 22:38:38 +00:00
|
|
|
@ICU_DATA=@DATABUILDDIR@/ ./$(TARGET) > /dev/null 2>&1
|
1999-12-04 02:31:40 +00:00
|
|
|
@touch .sentinel
|
1999-08-16 21:50:52 +00:00
|
|
|
|
2000-03-09 06:36:27 +00:00
|
|
|
force-build-data: clean-sentinel build-data
|
|
|
|
clean-sentinel:
|
|
|
|
rm -f .sentinel
|
|
|
|
|
|
|
|
install-local: all-local
|
2000-03-10 22:55:19 +00:00
|
|
|
# $(mkinstalldirs) $(DESTDIR)$(sbindir)
|
|
|
|
# $(INSTALL) $(TARGET) $(DESTDIR)$(sbindir)/$(TARGET)
|
|
|
|
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/$(VERSION)
|
|
|
|
cp @DATABUILDDIR@/*.col $(DESTDIR)$(pkgdatadir)/$(VERSION)
|
1999-08-16 21:50:52 +00:00
|
|
|
|
|
|
|
dist-local:
|
|
|
|
|
2000-03-09 06:36:27 +00:00
|
|
|
clean-local:
|
1999-08-16 21:50:52 +00:00
|
|
|
test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
|
2000-03-09 06:36:27 +00:00
|
|
|
rm -f $(TARGET) $(OBJECTS)
|
1999-08-16 21:50:52 +00:00
|
|
|
|
|
|
|
distclean-local: clean-local
|
|
|
|
rm -f Makefile $(DEPS) $(CNV_FILES)
|
2000-03-02 20:24:48 +00:00
|
|
|
rm -f @DATABUILDDIR@/*.col
|
1999-08-16 21:50:52 +00:00
|
|
|
|
|
|
|
check-local:
|
|
|
|
|
|
|
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|
|
|
cd $(top_builddir) \
|
|
|
|
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
|
|
|
|
|
|
|
$(TARGET) : $(OBJECTS)
|
|
|
|
$(LINK.c) -o $@ $^ $(LIBS)
|
|
|
|
|
2000-04-05 22:14:24 +00:00
|
|
|
ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),)
|
1999-08-16 21:50:52 +00:00
|
|
|
-include $(DEPS)
|
|
|
|
endif
|
|
|
|
|