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