intl/icu/source/i18n/Makefile.in

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/intl/icu/source/i18n/Makefile.in	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,196 @@
     1.4 +#******************************************************************************
     1.5 +#
     1.6 +#   Copyright (C) 1998-2013, International Business Machines
     1.7 +#   Corporation and others.  All Rights Reserved.
     1.8 +#
     1.9 +#******************************************************************************
    1.10 +## Makefile.in for ICU - icui18n.so
    1.11 +## Stephen F. Booth
    1.12 +
    1.13 +## Source directory information
    1.14 +srcdir = @srcdir@
    1.15 +top_srcdir = @top_srcdir@
    1.16 +
    1.17 +top_builddir = ..
    1.18 +
    1.19 +## All the flags and other definitions are included here.
    1.20 +include $(top_builddir)/icudefs.mk
    1.21 +
    1.22 +## Build directory information
    1.23 +subdir = i18n
    1.24 +
    1.25 +## Extra files to remove for 'make clean'
    1.26 +CLEANFILES = *~ $(DEPS) $(IMPORT_LIB) $(MIDDLE_IMPORT_LIB) $(FINAL_IMPORT_LIB)
    1.27 +
    1.28 +## Target information
    1.29 +
    1.30 +TARGET_STUBNAME=$(I18N_STUBNAME)
    1.31 +
    1.32 +ifneq ($(ENABLE_STATIC),)
    1.33 +TARGET = $(LIBDIR)/$(LIBSICU)$(TARGET_STUBNAME)$(ICULIBSUFFIX).$(A)
    1.34 +endif
    1.35 +
    1.36 +ifneq ($(ENABLE_SHARED),)
    1.37 +SO_TARGET = $(LIBDIR)/$(LIBICU)$(TARGET_STUBNAME)$(ICULIBSUFFIX).$(SO)
    1.38 +ALL_SO_TARGETS = $(SO_TARGET) $(MIDDLE_SO_TARGET) $(FINAL_SO_TARGET) $(SHARED_OBJECT)
    1.39 +
    1.40 +ifeq ($(ENABLE_SO_VERSION_DATA),1)
    1.41 +SO_VERSION_DATA = i18n.res
    1.42 +endif
    1.43 +
    1.44 +ifeq ($(OS390BATCH),1)
    1.45 +BATCH_TARGET = $(BATCH_I18N_TARGET)
    1.46 +BATCH_LIBS = $(BATCH_LIBICUUC) -lm
    1.47 +endif   # OS390BATCH
    1.48 +
    1.49 +endif   # ENABLE_SHARED
    1.50 +
    1.51 +ALL_TARGETS = $(TARGET) $(ALL_SO_TARGETS) $(BATCH_TARGET)
    1.52 +
    1.53 +DYNAMICCPPFLAGS = $(SHAREDLIBCPPFLAGS)
    1.54 +DYNAMICCFLAGS = $(SHAREDLIBCFLAGS)
    1.55 +DYNAMICCXXFLAGS = $(SHAREDLIBCXXFLAGS)
    1.56 +CFLAGS += $(LIBCFLAGS)
    1.57 +CXXFLAGS += $(LIBCXXFLAGS)
    1.58 +ifeq ($(OS390BATCH),1)
    1.59 +CFLAGS += -WI
    1.60 +CXXFLAGS += -WI
    1.61 +endif
    1.62 +
    1.63 +CPPFLAGS += -I$(srcdir) -I$(top_srcdir)/common $(LIBCPPFLAGS) $(CPPFLAGSICUI18N)
    1.64 +DEFS += -DU_I18N_IMPLEMENTATION
    1.65 +LDFLAGS += $(LDFLAGSICUI18N)
    1.66 +LIBS = $(LIBICUUC) $(DEFAULT_LIBS)
    1.67 +
    1.68 +OBJECTS = ucln_in.o \
    1.69 +fmtable.o format.o msgfmt.o umsg.o numfmt.o unum.o decimfmt.o dcfmtsym.o \
    1.70 +ucurr.o digitlst.o fmtable_cnv.o \
    1.71 +choicfmt.o datefmt.o smpdtfmt.o reldtfmt.o dtfmtsym.o udat.o dtptngen.o udatpg.o \
    1.72 +nfrs.o nfrule.o nfsubs.o rbnf.o numsys.o unumsys.o ucsdet.o \
    1.73 +ucal.o calendar.o gregocal.o timezone.o simpletz.o olsontz.o \
    1.74 +astro.o taiwncal.o buddhcal.o persncal.o islamcal.o japancal.o gregoimp.o hebrwcal.o \
    1.75 +indiancal.o chnsecal.o cecal.o coptccal.o dangical.o ethpccal.o \
    1.76 +coleitr.o coll.o tblcoll.o sortkey.o bocsu.o ucoleitr.o \
    1.77 +ucol.o ucol_res.o ucol_bld.o ucol_sit.o ucol_tok.o ucol_wgt.o ucol_cnt.o ucol_elm.o \
    1.78 +strmatch.o usearch.o search.o stsearch.o \
    1.79 +translit.o utrans.o esctrn.o unesctrn.o funcrepl.o strrepl.o tridpars.o \
    1.80 +cpdtrans.o rbt.o rbt_data.o rbt_pars.o rbt_rule.o rbt_set.o \
    1.81 +nultrans.o remtrans.o casetrn.o titletrn.o tolowtrn.o toupptrn.o anytrans.o \
    1.82 +name2uni.o uni2name.o nortrans.o quant.o transreg.o brktrans.o \
    1.83 +regexcmp.o rematch.o repattrn.o regexst.o regextxt.o regeximp.o uregex.o uregexc.o \
    1.84 +ulocdata.o measfmt.o currfmt.o curramt.o currunit.o measure.o utmscale.o \
    1.85 +csdetect.o csmatch.o csr2022.o csrecog.o csrmbcs.o csrsbcs.o csrucode.o csrutf8.o inputext.o \
    1.86 +wintzimpl.o windtfmt.o winnmfmt.o basictz.o dtrule.o rbtz.o tzrule.o tztrans.o vtzone.o zonemeta.o \
    1.87 +upluralrules.o plurrule.o plurfmt.o selfmt.o dtitvfmt.o dtitvinf.o udateintervalformat.o \
    1.88 +tmunit.o tmutamt.o tmutfmt.o currpinf.o \
    1.89 +uspoof.o uspoof_impl.o uspoof_build.o uspoof_conf.o uspoof_wsconf.o decfmtst.o smpdtfst.o \
    1.90 +ztrans.o zrule.o vzone.o fphdlimp.o fpositer.o locdspnm.o \
    1.91 +decNumber.o decContext.o alphaindex.o tznames.o tznames_impl.o tzgnames.o \
    1.92 +tzfmt.o compactdecimalformat.o gender.o region.o scriptset.o identifier_info.o \
    1.93 +uregion.o
    1.94 +
    1.95 +## Header files to install
    1.96 +HEADERS = $(srcdir)/unicode/*.h
    1.97 +
    1.98 +STATIC_OBJECTS = $(OBJECTS:.o=.$(STATIC_O))
    1.99 +
   1.100 +DEPS = $(OBJECTS:.o=.d)
   1.101 +
   1.102 +-include Makefile.local
   1.103 +
   1.104 +## List of phony targets
   1.105 +.PHONY : all all-local install install-local clean clean-local	\
   1.106 +distclean distclean-local install-library install-headers dist	\
   1.107 +dist-local check check-local check-exhaustive
   1.108 +
   1.109 +## Clear suffix list
   1.110 +.SUFFIXES :
   1.111 +
   1.112 +## List of standard targets
   1.113 +all: all-local
   1.114 +install: install-local
   1.115 +clean: clean-local
   1.116 +distclean : distclean-local
   1.117 +dist: dist-local
   1.118 +check: all check-local
   1.119 +
   1.120 +check-exhaustive: check
   1.121 +
   1.122 +all-local: $(ALL_TARGETS)
   1.123 +
   1.124 +install-local: install-headers install-library
   1.125 +
   1.126 +install-library: all-local
   1.127 +	$(MKINSTALLDIRS) $(DESTDIR)$(libdir)
   1.128 +ifneq ($(ENABLE_STATIC),)
   1.129 +	$(INSTALL-L) $(TARGET) $(DESTDIR)$(libdir)
   1.130 +endif
   1.131 +ifneq ($(ENABLE_SHARED),)
   1.132 +	$(INSTALL-L) $(FINAL_SO_TARGET) $(DESTDIR)$(libdir)
   1.133 +ifneq ($(FINAL_SO_TARGET),$(SO_TARGET))
   1.134 +	cd $(DESTDIR)$(libdir) && $(RM) $(notdir $(SO_TARGET)) && ln -s $(notdir $(FINAL_SO_TARGET)) $(notdir $(SO_TARGET))
   1.135 +ifneq ($(FINAL_SO_TARGET),$(MIDDLE_SO_TARGET))
   1.136 +	cd $(DESTDIR)$(libdir) && $(RM) $(notdir $(MIDDLE_SO_TARGET)) && ln -s $(notdir $(FINAL_SO_TARGET)) $(notdir $(MIDDLE_SO_TARGET))
   1.137 +endif
   1.138 +endif
   1.139 +ifneq ($(IMPORT_LIB_EXT),)
   1.140 +	$(INSTALL-L) $(FINAL_IMPORT_LIB) $(DESTDIR)$(libdir)
   1.141 +ifneq ($(IMPORT_LIB),$(FINAL_IMPORT_LIB))
   1.142 +	cd $(DESTDIR)$(libdir) && $(RM) $(notdir $(IMPORT_LIB)) && ln -s $(notdir $(FINAL_IMPORT_LIB)) $(notdir $(IMPORT_LIB))
   1.143 +endif
   1.144 +ifneq ($(MIDDLE_IMPORT_LIB),$(FINAL_IMPORT_LIB))
   1.145 +	cd $(DESTDIR)$(libdir) && $(RM) $(notdir $(MIDDLE_IMPORT_LIB)) && ln -s $(notdir $(FINAL_IMPORT_LIB)) $(notdir $(MIDDLE_IMPORT_LIB))
   1.146 +endif
   1.147 +endif
   1.148 +endif
   1.149 +
   1.150 +install-headers:
   1.151 +	$(MKINSTALLDIRS) $(DESTDIR)$(includedir)/unicode
   1.152 +	@for file in $(HEADERS); do \
   1.153 +	 echo "$(INSTALL_DATA) $$file $(DESTDIR)$(includedir)/unicode"; \
   1.154 +	 $(INSTALL_DATA) $$file $(DESTDIR)$(includedir)/unicode || exit; \
   1.155 +	done
   1.156 +
   1.157 +dist-local:
   1.158 +
   1.159 +clean-local:
   1.160 +	test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES)
   1.161 +	$(RMV) $(OBJECTS) $(STATIC_OBJECTS) $(ALL_TARGETS) $(SO_VERSION_DATA)
   1.162 +
   1.163 +distclean-local: clean-local
   1.164 +	$(RMV) Makefile
   1.165 +
   1.166 +check-local:
   1.167 +
   1.168 +Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
   1.169 +	cd $(top_builddir) \
   1.170 +	 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
   1.171 +
   1.172 +ifneq ($(ENABLE_STATIC),)
   1.173 +$(TARGET): $(STATIC_OBJECTS)
   1.174 +	$(AR) $(ARFLAGS) $(AR_OUTOPT)$@ $^
   1.175 +	$(RANLIB) $@
   1.176 +endif
   1.177 +
   1.178 +ifneq ($(ENABLE_SHARED),)
   1.179 +$(SHARED_OBJECT): $(OBJECTS) $(SO_VERSION_DATA)
   1.180 +	$(SHLIB.cc) $(LD_SONAME) $(OUTOPT)$@ $^ $(LIBS)
   1.181 +ifeq ($(ENABLE_RPATH),YES)
   1.182 +ifneq ($(wildcard $(libdir)/$(MIDDLE_SO_TARGET)),)
   1.183 +	$(warning RPATH warning: --enable-rpath means test programs may use existing $(libdir)/$(MIDDLE_SO_TARGET))
   1.184 +endif
   1.185 +endif
   1.186 +
   1.187 +ifeq ($(OS390BATCH),1)
   1.188 +$(BATCH_TARGET):$(OBJECTS)
   1.189 +	$(SHLIB.cc) $(LD_SONAME) $(OUTOPT)$@ $^ $(BATCH_LIBS)
   1.190 +endif   # OS390BATCH
   1.191 +endif   # ENABLE_SHARED
   1.192 +
   1.193 +ifeq (,$(MAKECMDGOALS))
   1.194 +-include $(DEPS)
   1.195 +else
   1.196 +ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),)
   1.197 +-include $(DEPS)
   1.198 +endif
   1.199 +endif

mercurial