os/textandloc/fontservices/textshaperplugin/IcuSource/layout/Makefile.in
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     1 ## Copyright (c) 1999-2005, International Business Machines Corporation and
     2 ## others. All Rights Reserved.
     3 ## Makefile.in for ICU - layout
     4 
     5 ## Install directory information
     6 srcdir = @srcdir@
     7 top_srcdir = @top_srcdir@
     8 
     9 top_builddir = ..
    10 
    11 include $(top_builddir)/icudefs.mk
    12 
    13 ## Build directory information
    14 subdir = layout
    15 
    16 ## Extra files to remove for 'make clean'
    17 CLEANFILES = *~ $(DEPS) $(IMPORT_LIB) $(MIDDLE_IMPORT_LIB) $(FINAL_IMPORT_LIB)
    18 
    19 ## Target information
    20 
    21 TARGET_STUBNAME=$(LAYOUT_STUBNAME)
    22 
    23 ifneq ($(ENABLE_STATIC),)
    24 TARGET = $(LIBDIR)/$(LIBSICU)$(TARGET_STUBNAME)$(ICULIBSUFFIX).$(A)
    25 endif
    26 
    27 ifneq ($(ENABLE_SHARED),)
    28 SO_TARGET = $(LIBDIR)/$(LIBICU)$(TARGET_STUBNAME)$(ICULIBSUFFIX).$(SO)
    29 ALL_SO_TARGETS = $(SO_TARGET) $(MIDDLE_SO_TARGET) $(FINAL_SO_TARGET)
    30 
    31 ifeq ($(ENABLE_SO_VERSION_DATA),1)
    32 SO_VERSION_DATA = layout.res
    33 endif
    34 
    35 ifeq ($(OS390BATCH),1)
    36 BATCH_TARGET = $(BATCH_LAYOUT_TARGET)
    37 BATCH_LIBS = $(BATCH_LIBICUUC) -lm
    38 endif   # OS390BATCH
    39 
    40 endif   # ENABLE_SHARED
    41 
    42 ALL_TARGETS = $(TARGET) $(ALL_SO_TARGETS) $(BATCH_TARGET)
    43 
    44 DYNAMICCPPFLAGS = $(SHAREDLIBCPPFLAGS)
    45 DYNAMICCFLAGS = $(SHAREDLIBCFLAGS)
    46 DYNAMICCXXFLAGS = $(SHAREDLIBCXXFLAGS)
    47 
    48 LDFLAGS += $(LDFLAGSICULE)
    49 CPPFLAGS += -I$(srcdir) -I$(top_builddir)/common -I$(top_srcdir)/common -I$(srcdir)/unicode -I$(srcdir)/.. $(LIBCPPFLAGS)
    50 DEFS += -DU_LAYOUT_IMPLEMENTATION
    51 LIBS = $(LIBICUUC) $(DEFAULT_LIBS)
    52 
    53 OBJECTS =  LEFontInstance.o \
    54 OpenTypeLayoutEngine.o \
    55 ThaiLayoutEngine.o \
    56 ThaiShaping.o \
    57 ThaiStateTables.o \
    58 ArabicLayoutEngine.o \
    59 GXLayoutEngine.o \
    60 HanLayoutEngine.o \
    61 IndicLayoutEngine.o \
    62 LayoutEngine.o \
    63 ContextualGlyphSubstProc.o \
    64 IndicRearrangementProcessor.o \
    65 LigatureSubstProc.o \
    66 LookupTables.o \
    67 MorphTables.o \
    68 NonContextualGlyphSubstProc.o \
    69 SegmentArrayProcessor.o \
    70 SegmentSingleProcessor.o \
    71 SimpleArrayProcessor.o \
    72 SingleTableProcessor.o \
    73 StateTableProcessor.o \
    74 SubtableProcessor.o \
    75 TrimmedArrayProcessor.o \
    76 AlternateSubstSubtables.o \
    77 AnchorTables.o \
    78 ArabicShaping.o \
    79 CanonData.o \
    80 CanonShaping.o \
    81 ClassDefinitionTables.o \
    82 ContextualSubstSubtables.o \
    83 CoverageTables.o \
    84 CursiveAttachmentSubtables.o \
    85 DeviceTables.o \
    86 ExtensionSubtables.o \
    87 Features.o \
    88 GDEFMarkFilter.o \
    89 GlyphDefinitionTables.o \
    90 GlyphIterator.o \
    91 GlyphLookupTables.o \
    92 GlyphPosnLookupProc.o \
    93 GlyphPositionAdjustments.o \
    94 GlyphPositioningTables.o \
    95 GlyphSubstLookupProc.o \
    96 GlyphSubstitutionTables.o \
    97 IndicClassTables.o \
    98 IndicReordering.o \
    99 LEInsertionList.o \
   100 LEGlyphStorage.o \
   101 LigatureSubstSubtables.o \
   102 LookupProcessor.o \
   103 Lookups.o \
   104 MarkArrays.o \
   105 MarkToBasePosnSubtables.o \
   106 MarkToLigaturePosnSubtables.o \
   107 MarkToMarkPosnSubtables.o \
   108 MPreFixups.o \
   109 MultipleSubstSubtables.o \
   110 OpenTypeUtilities.o \
   111 PairPositioningSubtables.o \
   112 ScriptAndLanguage.o \
   113 ScriptAndLanguageTags.o \
   114 SinglePositioningSubtables.o \
   115 SingleSubstitutionSubtables.o \
   116 SubstitutionLookups.o \
   117 ValueRecords.o \
   118 KhmerLayoutEngine.o \
   119 KhmerReordering.o \
   120 KernTable.o
   121 
   122 STATIC_OBJECTS = $(OBJECTS:.o=.$(STATIC_O))
   123 
   124 DEPS = $(OBJECTS:.o=.d)
   125 
   126 ## Header files to install
   127 HEADERS= $(srcdir)/LayoutEngine.h $(srcdir)/LE*.h
   128 
   129 ## List of phony targets
   130 .PHONY : all all-local install install-local clean clean-local	\
   131 distclean distclean-local install-library install-headers dist	\
   132 dist-local check check-local
   133 
   134 ## Clear suffix list
   135 .SUFFIXES :
   136 
   137 ## List of standard targets
   138 all: all-local
   139 install: install-local
   140 clean: clean-local
   141 distclean : distclean-local
   142 dist: dist-local
   143 check: all check-local
   144 
   145 all-local: $(ALL_TARGETS)
   146 
   147 install-local: install-headers install-library 
   148 
   149 install-library: all-local
   150 	$(MKINSTALLDIRS) $(DESTDIR)$(libdir)
   151 ifneq ($(ENABLE_STATIC),)
   152 	$(INSTALL-L) $(TARGET) $(DESTDIR)$(libdir)
   153 endif
   154 ifneq ($(ENABLE_SHARED),)
   155 	$(INSTALL-L) $(FINAL_SO_TARGET) $(DESTDIR)$(libdir)
   156 ifneq ($(FINAL_SO_TARGET),$(SO_TARGET))
   157 	cd $(DESTDIR)$(libdir) && $(RM) $(notdir $(SO_TARGET)) && ln -s $(notdir $(FINAL_SO_TARGET)) $(notdir $(SO_TARGET))
   158 ifneq ($(FINAL_SO_TARGET),$(MIDDLE_SO_TARGET))
   159 	cd $(DESTDIR)$(libdir) && $(RM) $(notdir $(MIDDLE_SO_TARGET)) && ln -s $(notdir $(FINAL_SO_TARGET)) $(notdir $(MIDDLE_SO_TARGET))
   160 endif
   161 endif
   162 endif
   163 ifneq ($(IMPORT_LIB_EXT),)
   164 	$(INSTALL-L) $(FINAL_IMPORT_LIB) $(DESTDIR)$(libdir)
   165 ifneq ($(IMPORT_LIB),$(FINAL_IMPORT_LIB))
   166 	cd $(DESTDIR)$(libdir) && $(RM) $(notdir $(IMPORT_LIB)) && ln -s $(notdir $(FINAL_IMPORT_LIB)) $(notdir $(IMPORT_LIB))
   167 endif
   168 ifneq ($(MIDDLE_IMPORT_LIB),$(FINAL_IMPORT_LIB))
   169 	cd $(DESTDIR)$(libdir) && $(RM) $(notdir $(MIDDLE_IMPORT_LIB)) && ln -s $(notdir $(FINAL_IMPORT_LIB)) $(notdir $(MIDDLE_IMPORT_LIB))
   170 endif
   171 endif
   172 
   173 
   174 install-headers:
   175 	$(MKINSTALLDIRS) $(DESTDIR)$(includedir)/layout
   176 	@for file in $(HEADERS); do \
   177 	 echo "$(INSTALL_DATA) $$file $(DESTDIR)$(includedir)/layout"; \
   178 	 $(INSTALL_DATA) $$file $(DESTDIR)$(includedir)/layout || exit; \
   179 	done
   180 
   181 dist-local:
   182 
   183 clean-local:
   184 	test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES)
   185 	$(RMV) $(OBJECTS) $(ALL_TARGETS) $(SO_VERSION_DATA)
   186 
   187 distclean-local: clean-local
   188 	$(RMV) Makefile
   189 
   190 check-local:
   191 
   192 Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
   193 	cd $(top_builddir) \
   194 	 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
   195 
   196 ifneq ($(ENABLE_STATIC),)
   197 $(TARGET): $(TARGET)($(STATIC_OBJECTS))
   198 	$(RANLIB) $@
   199 endif
   200 
   201 ifneq ($(ENABLE_SHARED),)
   202 $(FINAL_SO_TARGET): $(OBJECTS) $(SO_VERSION_DATA)
   203 	$(SHLIB.cc) $(LD_SONAME) $(OUTOPT)$@ $^ $(LIBS)
   204 
   205 ifeq ($(OS390BATCH),1)
   206 $(BATCH_TARGET): $(OBJECTS)
   207 	$(SHLIB.cc) $(LD_SONAME) $(OUTOPT)$@ $^ $(BATCH_LIBS)
   208 endif   # OS390BATCH
   209 
   210 endif
   211 
   212 ifeq (,$(MAKECMDGOALS))
   213 -include $(DEPS)
   214 else
   215 ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),)
   216 -include $(DEPS)
   217 endif
   218 endif
   219 
   220