intl/icu/source/i18n/Makefile.in

Wed, 31 Dec 2014 07:22:50 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:22:50 +0100
branch
TOR_BUG_3246
changeset 4
fc2d59ddac77
permissions
-rw-r--r--

Correct previous dual key logic pending first delivery installment.

     1 #******************************************************************************
     2 #
     3 #   Copyright (C) 1998-2013, International Business Machines
     4 #   Corporation and others.  All Rights Reserved.
     5 #
     6 #******************************************************************************
     7 ## Makefile.in for ICU - icui18n.so
     8 ## Stephen F. Booth
    10 ## Source directory information
    11 srcdir = @srcdir@
    12 top_srcdir = @top_srcdir@
    14 top_builddir = ..
    16 ## All the flags and other definitions are included here.
    17 include $(top_builddir)/icudefs.mk
    19 ## Build directory information
    20 subdir = i18n
    22 ## Extra files to remove for 'make clean'
    23 CLEANFILES = *~ $(DEPS) $(IMPORT_LIB) $(MIDDLE_IMPORT_LIB) $(FINAL_IMPORT_LIB)
    25 ## Target information
    27 TARGET_STUBNAME=$(I18N_STUBNAME)
    29 ifneq ($(ENABLE_STATIC),)
    30 TARGET = $(LIBDIR)/$(LIBSICU)$(TARGET_STUBNAME)$(ICULIBSUFFIX).$(A)
    31 endif
    33 ifneq ($(ENABLE_SHARED),)
    34 SO_TARGET = $(LIBDIR)/$(LIBICU)$(TARGET_STUBNAME)$(ICULIBSUFFIX).$(SO)
    35 ALL_SO_TARGETS = $(SO_TARGET) $(MIDDLE_SO_TARGET) $(FINAL_SO_TARGET) $(SHARED_OBJECT)
    37 ifeq ($(ENABLE_SO_VERSION_DATA),1)
    38 SO_VERSION_DATA = i18n.res
    39 endif
    41 ifeq ($(OS390BATCH),1)
    42 BATCH_TARGET = $(BATCH_I18N_TARGET)
    43 BATCH_LIBS = $(BATCH_LIBICUUC) -lm
    44 endif   # OS390BATCH
    46 endif   # ENABLE_SHARED
    48 ALL_TARGETS = $(TARGET) $(ALL_SO_TARGETS) $(BATCH_TARGET)
    50 DYNAMICCPPFLAGS = $(SHAREDLIBCPPFLAGS)
    51 DYNAMICCFLAGS = $(SHAREDLIBCFLAGS)
    52 DYNAMICCXXFLAGS = $(SHAREDLIBCXXFLAGS)
    53 CFLAGS += $(LIBCFLAGS)
    54 CXXFLAGS += $(LIBCXXFLAGS)
    55 ifeq ($(OS390BATCH),1)
    56 CFLAGS += -WI
    57 CXXFLAGS += -WI
    58 endif
    60 CPPFLAGS += -I$(srcdir) -I$(top_srcdir)/common $(LIBCPPFLAGS) $(CPPFLAGSICUI18N)
    61 DEFS += -DU_I18N_IMPLEMENTATION
    62 LDFLAGS += $(LDFLAGSICUI18N)
    63 LIBS = $(LIBICUUC) $(DEFAULT_LIBS)
    65 OBJECTS = ucln_in.o \
    66 fmtable.o format.o msgfmt.o umsg.o numfmt.o unum.o decimfmt.o dcfmtsym.o \
    67 ucurr.o digitlst.o fmtable_cnv.o \
    68 choicfmt.o datefmt.o smpdtfmt.o reldtfmt.o dtfmtsym.o udat.o dtptngen.o udatpg.o \
    69 nfrs.o nfrule.o nfsubs.o rbnf.o numsys.o unumsys.o ucsdet.o \
    70 ucal.o calendar.o gregocal.o timezone.o simpletz.o olsontz.o \
    71 astro.o taiwncal.o buddhcal.o persncal.o islamcal.o japancal.o gregoimp.o hebrwcal.o \
    72 indiancal.o chnsecal.o cecal.o coptccal.o dangical.o ethpccal.o \
    73 coleitr.o coll.o tblcoll.o sortkey.o bocsu.o ucoleitr.o \
    74 ucol.o ucol_res.o ucol_bld.o ucol_sit.o ucol_tok.o ucol_wgt.o ucol_cnt.o ucol_elm.o \
    75 strmatch.o usearch.o search.o stsearch.o \
    76 translit.o utrans.o esctrn.o unesctrn.o funcrepl.o strrepl.o tridpars.o \
    77 cpdtrans.o rbt.o rbt_data.o rbt_pars.o rbt_rule.o rbt_set.o \
    78 nultrans.o remtrans.o casetrn.o titletrn.o tolowtrn.o toupptrn.o anytrans.o \
    79 name2uni.o uni2name.o nortrans.o quant.o transreg.o brktrans.o \
    80 regexcmp.o rematch.o repattrn.o regexst.o regextxt.o regeximp.o uregex.o uregexc.o \
    81 ulocdata.o measfmt.o currfmt.o curramt.o currunit.o measure.o utmscale.o \
    82 csdetect.o csmatch.o csr2022.o csrecog.o csrmbcs.o csrsbcs.o csrucode.o csrutf8.o inputext.o \
    83 wintzimpl.o windtfmt.o winnmfmt.o basictz.o dtrule.o rbtz.o tzrule.o tztrans.o vtzone.o zonemeta.o \
    84 upluralrules.o plurrule.o plurfmt.o selfmt.o dtitvfmt.o dtitvinf.o udateintervalformat.o \
    85 tmunit.o tmutamt.o tmutfmt.o currpinf.o \
    86 uspoof.o uspoof_impl.o uspoof_build.o uspoof_conf.o uspoof_wsconf.o decfmtst.o smpdtfst.o \
    87 ztrans.o zrule.o vzone.o fphdlimp.o fpositer.o locdspnm.o \
    88 decNumber.o decContext.o alphaindex.o tznames.o tznames_impl.o tzgnames.o \
    89 tzfmt.o compactdecimalformat.o gender.o region.o scriptset.o identifier_info.o \
    90 uregion.o
    92 ## Header files to install
    93 HEADERS = $(srcdir)/unicode/*.h
    95 STATIC_OBJECTS = $(OBJECTS:.o=.$(STATIC_O))
    97 DEPS = $(OBJECTS:.o=.d)
    99 -include Makefile.local
   101 ## List of phony targets
   102 .PHONY : all all-local install install-local clean clean-local	\
   103 distclean distclean-local install-library install-headers dist	\
   104 dist-local check check-local check-exhaustive
   106 ## Clear suffix list
   107 .SUFFIXES :
   109 ## List of standard targets
   110 all: all-local
   111 install: install-local
   112 clean: clean-local
   113 distclean : distclean-local
   114 dist: dist-local
   115 check: all check-local
   117 check-exhaustive: check
   119 all-local: $(ALL_TARGETS)
   121 install-local: install-headers install-library
   123 install-library: all-local
   124 	$(MKINSTALLDIRS) $(DESTDIR)$(libdir)
   125 ifneq ($(ENABLE_STATIC),)
   126 	$(INSTALL-L) $(TARGET) $(DESTDIR)$(libdir)
   127 endif
   128 ifneq ($(ENABLE_SHARED),)
   129 	$(INSTALL-L) $(FINAL_SO_TARGET) $(DESTDIR)$(libdir)
   130 ifneq ($(FINAL_SO_TARGET),$(SO_TARGET))
   131 	cd $(DESTDIR)$(libdir) && $(RM) $(notdir $(SO_TARGET)) && ln -s $(notdir $(FINAL_SO_TARGET)) $(notdir $(SO_TARGET))
   132 ifneq ($(FINAL_SO_TARGET),$(MIDDLE_SO_TARGET))
   133 	cd $(DESTDIR)$(libdir) && $(RM) $(notdir $(MIDDLE_SO_TARGET)) && ln -s $(notdir $(FINAL_SO_TARGET)) $(notdir $(MIDDLE_SO_TARGET))
   134 endif
   135 endif
   136 ifneq ($(IMPORT_LIB_EXT),)
   137 	$(INSTALL-L) $(FINAL_IMPORT_LIB) $(DESTDIR)$(libdir)
   138 ifneq ($(IMPORT_LIB),$(FINAL_IMPORT_LIB))
   139 	cd $(DESTDIR)$(libdir) && $(RM) $(notdir $(IMPORT_LIB)) && ln -s $(notdir $(FINAL_IMPORT_LIB)) $(notdir $(IMPORT_LIB))
   140 endif
   141 ifneq ($(MIDDLE_IMPORT_LIB),$(FINAL_IMPORT_LIB))
   142 	cd $(DESTDIR)$(libdir) && $(RM) $(notdir $(MIDDLE_IMPORT_LIB)) && ln -s $(notdir $(FINAL_IMPORT_LIB)) $(notdir $(MIDDLE_IMPORT_LIB))
   143 endif
   144 endif
   145 endif
   147 install-headers:
   148 	$(MKINSTALLDIRS) $(DESTDIR)$(includedir)/unicode
   149 	@for file in $(HEADERS); do \
   150 	 echo "$(INSTALL_DATA) $$file $(DESTDIR)$(includedir)/unicode"; \
   151 	 $(INSTALL_DATA) $$file $(DESTDIR)$(includedir)/unicode || exit; \
   152 	done
   154 dist-local:
   156 clean-local:
   157 	test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES)
   158 	$(RMV) $(OBJECTS) $(STATIC_OBJECTS) $(ALL_TARGETS) $(SO_VERSION_DATA)
   160 distclean-local: clean-local
   161 	$(RMV) Makefile
   163 check-local:
   165 Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
   166 	cd $(top_builddir) \
   167 	 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
   169 ifneq ($(ENABLE_STATIC),)
   170 $(TARGET): $(STATIC_OBJECTS)
   171 	$(AR) $(ARFLAGS) $(AR_OUTOPT)$@ $^
   172 	$(RANLIB) $@
   173 endif
   175 ifneq ($(ENABLE_SHARED),)
   176 $(SHARED_OBJECT): $(OBJECTS) $(SO_VERSION_DATA)
   177 	$(SHLIB.cc) $(LD_SONAME) $(OUTOPT)$@ $^ $(LIBS)
   178 ifeq ($(ENABLE_RPATH),YES)
   179 ifneq ($(wildcard $(libdir)/$(MIDDLE_SO_TARGET)),)
   180 	$(warning RPATH warning: --enable-rpath means test programs may use existing $(libdir)/$(MIDDLE_SO_TARGET))
   181 endif
   182 endif
   184 ifeq ($(OS390BATCH),1)
   185 $(BATCH_TARGET):$(OBJECTS)
   186 	$(SHLIB.cc) $(LD_SONAME) $(OUTOPT)$@ $^ $(BATCH_LIBS)
   187 endif   # OS390BATCH
   188 endif   # ENABLE_SHARED
   190 ifeq (,$(MAKECMDGOALS))
   191 -include $(DEPS)
   192 else
   193 ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),)
   194 -include $(DEPS)
   195 endif
   196 endif

mercurial