1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/intl/icu/source/layout/Makefile.in Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,253 @@ 1.4 +#****************************************************************************** 1.5 +# 1.6 +# Copyright (C) 1999-2013, International Business Machines 1.7 +# Corporation and others. All Rights Reserved. 1.8 +# 1.9 +#****************************************************************************** 1.10 +## Makefile.in for ICU - layout 1.11 + 1.12 +## Source directory information 1.13 +srcdir = @srcdir@ 1.14 +top_srcdir = @top_srcdir@ 1.15 + 1.16 +top_builddir = .. 1.17 + 1.18 +## All the flags and other definitions are included here. 1.19 +include $(top_builddir)/icudefs.mk 1.20 + 1.21 +## Build directory information 1.22 +subdir = layout 1.23 + 1.24 +## Extra files to remove for 'make clean' 1.25 +CLEANFILES = *~ $(DEPS) $(IMPORT_LIB) $(MIDDLE_IMPORT_LIB) $(FINAL_IMPORT_LIB) 1.26 + 1.27 +## Target information 1.28 + 1.29 +TARGET_STUBNAME=$(LAYOUT_STUBNAME) 1.30 + 1.31 +ifneq ($(ENABLE_STATIC),) 1.32 +TARGET = $(LIBDIR)/$(LIBSICU)$(TARGET_STUBNAME)$(ICULIBSUFFIX).$(A) 1.33 +endif 1.34 + 1.35 +ifneq ($(ENABLE_SHARED),) 1.36 +SO_TARGET = $(LIBDIR)/$(LIBICU)$(TARGET_STUBNAME)$(ICULIBSUFFIX).$(SO) 1.37 +ALL_SO_TARGETS = $(SO_TARGET) $(MIDDLE_SO_TARGET) $(FINAL_SO_TARGET) $(SHARED_OBJECT) 1.38 + 1.39 +ifeq ($(ENABLE_SO_VERSION_DATA),1) 1.40 +SO_VERSION_DATA = layout.res 1.41 +endif 1.42 + 1.43 +ifeq ($(OS390BATCH),1) 1.44 +BATCH_TARGET = $(BATCH_LAYOUT_TARGET) 1.45 +BATCH_LIBS = $(BATCH_LIBICUUC) -lm 1.46 +endif # OS390BATCH 1.47 + 1.48 +endif # ENABLE_SHARED 1.49 + 1.50 +ALL_TARGETS = $(TARGET) $(ALL_SO_TARGETS) $(BATCH_TARGET) 1.51 + 1.52 +DYNAMICCPPFLAGS = $(SHAREDLIBCPPFLAGS) 1.53 +DYNAMICCFLAGS = $(SHAREDLIBCFLAGS) 1.54 +DYNAMICCXXFLAGS = $(SHAREDLIBCXXFLAGS) 1.55 +CFLAGS += $(LIBCFLAGS) 1.56 +CXXFLAGS += $(LIBCXXFLAGS) 1.57 + 1.58 +CPPFLAGS += -I$(srcdir) -I$(srcdir)/.. -I$(top_srcdir)/common -I$(srcdir)/unicode $(LIBCPPFLAGS) 1.59 +DEFS += -DU_LAYOUT_IMPLEMENTATION 1.60 +LDFLAGS += $(LDFLAGSICULE) 1.61 +LIBS = $(LIBICUUC) $(DEFAULT_LIBS) 1.62 + 1.63 +OBJECTS = LEFontInstance.o \ 1.64 +OpenTypeLayoutEngine.o \ 1.65 +ThaiLayoutEngine.o \ 1.66 +ThaiShaping.o \ 1.67 +ThaiStateTables.o \ 1.68 +ArabicLayoutEngine.o \ 1.69 +GXLayoutEngine.o \ 1.70 +HanLayoutEngine.o \ 1.71 +IndicLayoutEngine.o \ 1.72 +LayoutEngine.o \ 1.73 +ContextualGlyphSubstProc.o \ 1.74 +IndicRearrangementProcessor.o \ 1.75 +LigatureSubstProc.o \ 1.76 +LookupTables.o \ 1.77 +MorphTables.o \ 1.78 +NonContextualGlyphSubstProc.o \ 1.79 +SegmentArrayProcessor.o \ 1.80 +SegmentSingleProcessor.o \ 1.81 +SimpleArrayProcessor.o \ 1.82 +SingleTableProcessor.o \ 1.83 +StateTableProcessor.o \ 1.84 +SubtableProcessor.o \ 1.85 +TrimmedArrayProcessor.o \ 1.86 +AlternateSubstSubtables.o \ 1.87 +AnchorTables.o \ 1.88 +ArabicShaping.o \ 1.89 +CanonData.o \ 1.90 +CanonShaping.o \ 1.91 +ClassDefinitionTables.o \ 1.92 +ContextualSubstSubtables.o \ 1.93 +CoverageTables.o \ 1.94 +CursiveAttachmentSubtables.o \ 1.95 +DeviceTables.o \ 1.96 +ExtensionSubtables.o \ 1.97 +Features.o \ 1.98 +GDEFMarkFilter.o \ 1.99 +GlyphDefinitionTables.o \ 1.100 +GlyphIterator.o \ 1.101 +GlyphLookupTables.o \ 1.102 +GlyphPosnLookupProc.o \ 1.103 +GlyphPositionAdjustments.o \ 1.104 +GlyphPositioningTables.o \ 1.105 +GlyphSubstLookupProc.o \ 1.106 +GlyphSubstitutionTables.o \ 1.107 +IndicClassTables.o \ 1.108 +IndicReordering.o \ 1.109 +LEInsertionList.o \ 1.110 +LEGlyphStorage.o \ 1.111 +LigatureSubstSubtables.o \ 1.112 +LookupProcessor.o \ 1.113 +Lookups.o \ 1.114 +MarkArrays.o \ 1.115 +MarkToBasePosnSubtables.o \ 1.116 +MarkToLigaturePosnSubtables.o \ 1.117 +MarkToMarkPosnSubtables.o \ 1.118 +MirroredCharData.o \ 1.119 +MPreFixups.o \ 1.120 +MultipleSubstSubtables.o \ 1.121 +OpenTypeUtilities.o \ 1.122 +PairPositioningSubtables.o \ 1.123 +ScriptAndLanguage.o \ 1.124 +ScriptAndLanguageTags.o \ 1.125 +ShapingTypeData.o \ 1.126 +SinglePositioningSubtables.o \ 1.127 +SingleSubstitutionSubtables.o \ 1.128 +SubstitutionLookups.o \ 1.129 +ValueRecords.o \ 1.130 +KhmerLayoutEngine.o \ 1.131 +KhmerReordering.o \ 1.132 +TibetanLayoutEngine.o \ 1.133 +TibetanReordering.o \ 1.134 +HangulLayoutEngine.o \ 1.135 +KernTable.o \ 1.136 +loengine.o \ 1.137 +ContextualGlyphInsertionProc2.o \ 1.138 +ContextualGlyphSubstProc2.o \ 1.139 +GXLayoutEngine2.o \ 1.140 +IndicRearrangementProcessor2.o \ 1.141 +LigatureSubstProc2.o \ 1.142 +MorphTables2.o \ 1.143 +NonContextualGlyphSubstProc2.o \ 1.144 +SegmentArrayProcessor2.o \ 1.145 +SegmentSingleProcessor2.o \ 1.146 +SimpleArrayProcessor2.o \ 1.147 +SingleTableProcessor2.o \ 1.148 +StateTableProcessor2.o \ 1.149 +SubtableProcessor2.o \ 1.150 +TrimmedArrayProcessor2.o 1.151 + 1.152 +## Header files to install 1.153 +HEADERS= $(srcdir)/LayoutEngine.h $(srcdir)/LE*.h $(srcdir)/loengine.h 1.154 + 1.155 +STATIC_OBJECTS = $(OBJECTS:.o=.$(STATIC_O)) 1.156 + 1.157 +DEPS = $(OBJECTS:.o=.d) 1.158 + 1.159 +-include Makefile.local 1.160 + 1.161 +## List of phony targets 1.162 +.PHONY : all all-local install install-local clean clean-local \ 1.163 +distclean distclean-local install-library install-headers dist \ 1.164 +dist-local check check-local check-exhaustive 1.165 + 1.166 +## Clear suffix list 1.167 +.SUFFIXES : 1.168 + 1.169 +## List of standard targets 1.170 +all: all-local 1.171 +install: install-local 1.172 +clean: clean-local 1.173 +distclean : distclean-local 1.174 +dist: dist-local 1.175 +check: all check-local 1.176 + 1.177 +check-exhaustive: check 1.178 + 1.179 +all-local: $(ALL_TARGETS) 1.180 + 1.181 +install-local: install-headers install-library 1.182 + 1.183 +install-library: all-local 1.184 + $(MKINSTALLDIRS) $(DESTDIR)$(libdir) 1.185 +ifneq ($(ENABLE_STATIC),) 1.186 + $(INSTALL-L) $(TARGET) $(DESTDIR)$(libdir) 1.187 +endif 1.188 +ifneq ($(ENABLE_SHARED),) 1.189 + $(INSTALL-L) $(FINAL_SO_TARGET) $(DESTDIR)$(libdir) 1.190 +ifneq ($(FINAL_SO_TARGET),$(SO_TARGET)) 1.191 + cd $(DESTDIR)$(libdir) && $(RM) $(notdir $(SO_TARGET)) && ln -s $(notdir $(FINAL_SO_TARGET)) $(notdir $(SO_TARGET)) 1.192 +ifneq ($(FINAL_SO_TARGET),$(MIDDLE_SO_TARGET)) 1.193 + cd $(DESTDIR)$(libdir) && $(RM) $(notdir $(MIDDLE_SO_TARGET)) && ln -s $(notdir $(FINAL_SO_TARGET)) $(notdir $(MIDDLE_SO_TARGET)) 1.194 +endif 1.195 +endif 1.196 +ifneq ($(IMPORT_LIB_EXT),) 1.197 + $(INSTALL-L) $(FINAL_IMPORT_LIB) $(DESTDIR)$(libdir) 1.198 +ifneq ($(IMPORT_LIB),$(FINAL_IMPORT_LIB)) 1.199 + cd $(DESTDIR)$(libdir) && $(RM) $(notdir $(IMPORT_LIB)) && ln -s $(notdir $(FINAL_IMPORT_LIB)) $(notdir $(IMPORT_LIB)) 1.200 +endif 1.201 +ifneq ($(MIDDLE_IMPORT_LIB),$(FINAL_IMPORT_LIB)) 1.202 + cd $(DESTDIR)$(libdir) && $(RM) $(notdir $(MIDDLE_IMPORT_LIB)) && ln -s $(notdir $(FINAL_IMPORT_LIB)) $(notdir $(MIDDLE_IMPORT_LIB)) 1.203 +endif 1.204 +endif 1.205 +endif 1.206 + 1.207 +install-headers: 1.208 + $(MKINSTALLDIRS) $(DESTDIR)$(includedir)/layout 1.209 + @for file in $(HEADERS); do \ 1.210 + echo "$(INSTALL_DATA) $$file $(DESTDIR)$(includedir)/layout"; \ 1.211 + $(INSTALL_DATA) $$file $(DESTDIR)$(includedir)/layout || exit; \ 1.212 + done 1.213 + 1.214 +dist-local: 1.215 + 1.216 +clean-local: 1.217 + test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES) 1.218 + $(RMV) $(OBJECTS) $(STATIC_OBJECTS) $(ALL_TARGETS) $(SO_VERSION_DATA) 1.219 + 1.220 +distclean-local: clean-local 1.221 + $(RMV) Makefile 1.222 + 1.223 +check-local: 1.224 + 1.225 +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 1.226 + cd $(top_builddir) \ 1.227 + && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status 1.228 + 1.229 +ifneq ($(ENABLE_STATIC),) 1.230 +$(TARGET): $(STATIC_OBJECTS) 1.231 + $(AR) $(ARFLAGS) $(AR_OUTOPT)$@ $^ 1.232 + $(RANLIB) $@ 1.233 +endif 1.234 + 1.235 +ifneq ($(ENABLE_SHARED),) 1.236 +$(SHARED_OBJECT): $(OBJECTS) $(SO_VERSION_DATA) 1.237 + $(SHLIB.cc) $(LD_SONAME) $(OUTOPT)$@ $^ $(LIBS) 1.238 +ifeq ($(ENABLE_RPATH),YES) 1.239 +ifneq ($(wildcard $(libdir)/$(MIDDLE_SO_TARGET)),) 1.240 + $(warning RPATH warning: --enable-rpath means test programs may use existing $(libdir)/$(MIDDLE_SO_TARGET)) 1.241 +endif 1.242 +endif 1.243 + 1.244 +ifeq ($(OS390BATCH),1) 1.245 +$(BATCH_TARGET):$(OBJECTS) 1.246 + $(SHLIB.cc) $(LD_SONAME) $(OUTOPT)$@ $^ $(BATCH_LIBS) 1.247 +endif # OS390BATCH 1.248 +endif # ENABLE_SHARED 1.249 + 1.250 +ifeq (,$(MAKECMDGOALS)) 1.251 +-include $(DEPS) 1.252 +else 1.253 +ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),) 1.254 +-include $(DEPS) 1.255 +endif 1.256 +endif