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