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