2005-03-08 22:49:59 +00:00
|
|
|
## Copyright (c) 1999-2005, International Business Machines Corporation and
|
2002-12-06 01:40:42 +00:00
|
|
|
## others. All Rights Reserved.
|
2000-11-14 21:22:14 +00:00
|
|
|
## Makefile.in for ICU - layout
|
|
|
|
|
|
|
|
## Install directory information
|
|
|
|
srcdir = @srcdir@
|
|
|
|
top_srcdir = @top_srcdir@
|
|
|
|
|
|
|
|
top_builddir = ..
|
|
|
|
|
|
|
|
include $(top_builddir)/icudefs.mk
|
|
|
|
|
|
|
|
## Build directory information
|
|
|
|
subdir = layout
|
|
|
|
|
|
|
|
## Extra files to remove for 'make clean'
|
2004-04-05 21:25:47 +00:00
|
|
|
CLEANFILES = *~ $(DEPS) $(IMPORT_LIB) $(MIDDLE_IMPORT_LIB) $(FINAL_IMPORT_LIB)
|
2000-11-14 21:22:14 +00:00
|
|
|
|
|
|
|
## Target information
|
|
|
|
|
2004-04-19 17:32:30 +00:00
|
|
|
TARGET_STUBNAME=$(LAYOUT_STUBNAME)
|
2000-11-14 21:22:14 +00:00
|
|
|
|
|
|
|
ifneq ($(ENABLE_STATIC),)
|
2004-03-26 01:22:25 +00:00
|
|
|
TARGET = $(LIBDIR)/$(LIBSICU)$(TARGET_STUBNAME)$(ICULIBSUFFIX).$(A)
|
2000-11-14 21:22:14 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq ($(ENABLE_SHARED),)
|
2004-03-26 01:22:25 +00:00
|
|
|
SO_TARGET = $(LIBDIR)/$(LIBICU)$(TARGET_STUBNAME)$(ICULIBSUFFIX).$(SO)
|
2005-09-08 18:28:48 +00:00
|
|
|
SHARED_OBJECT = $(FINAL_SO_TARGET:.$(SO)=.$(SOBJ))
|
|
|
|
ALL_SO_TARGETS = $(SO_TARGET) $(MIDDLE_SO_TARGET) $(FINAL_SO_TARGET) $(SHARED_OBJECT)
|
2003-09-26 00:04:35 +00:00
|
|
|
|
|
|
|
ifeq ($(ENABLE_SO_VERSION_DATA),1)
|
|
|
|
SO_VERSION_DATA = layout.res
|
2000-11-14 21:22:14 +00:00
|
|
|
endif
|
|
|
|
|
2003-09-26 00:04:35 +00:00
|
|
|
ifeq ($(OS390BATCH),1)
|
|
|
|
BATCH_TARGET = $(BATCH_LAYOUT_TARGET)
|
|
|
|
BATCH_LIBS = $(BATCH_LIBICUUC) -lm
|
|
|
|
endif # OS390BATCH
|
|
|
|
|
|
|
|
endif # ENABLE_SHARED
|
|
|
|
|
|
|
|
ALL_TARGETS = $(TARGET) $(ALL_SO_TARGETS) $(BATCH_TARGET)
|
2000-11-14 21:22:14 +00:00
|
|
|
|
|
|
|
DYNAMICCPPFLAGS = $(SHAREDLIBCPPFLAGS)
|
|
|
|
DYNAMICCFLAGS = $(SHAREDLIBCFLAGS)
|
|
|
|
DYNAMICCXXFLAGS = $(SHAREDLIBCXXFLAGS)
|
|
|
|
|
2004-05-06 05:56:22 +00:00
|
|
|
LDFLAGS += $(LDFLAGSICULE)
|
2004-04-04 08:32:26 +00:00
|
|
|
CPPFLAGS += -I$(srcdir) -I$(top_builddir)/common -I$(top_srcdir)/common -I$(srcdir)/unicode -I$(srcdir)/.. $(LIBCPPFLAGS)
|
2002-07-19 23:25:41 +00:00
|
|
|
DEFS += -DU_LAYOUT_IMPLEMENTATION
|
2002-12-17 00:03:07 +00:00
|
|
|
LIBS = $(LIBICUUC) $(DEFAULT_LIBS)
|
2000-11-14 21:22:14 +00:00
|
|
|
|
2004-12-18 00:45:27 +00:00
|
|
|
OBJECTS = LEFontInstance.o \
|
2000-12-21 01:25:02 +00:00
|
|
|
OpenTypeLayoutEngine.o \
|
2000-11-28 21:01:17 +00:00
|
|
|
ThaiLayoutEngine.o \
|
|
|
|
ThaiShaping.o \
|
|
|
|
ThaiStateTables.o \
|
|
|
|
ArabicLayoutEngine.o \
|
|
|
|
GXLayoutEngine.o \
|
2003-04-12 01:03:09 +00:00
|
|
|
HanLayoutEngine.o \
|
2000-11-28 21:01:17 +00:00
|
|
|
IndicLayoutEngine.o \
|
|
|
|
LayoutEngine.o \
|
2000-12-21 19:03:32 +00:00
|
|
|
ContextualGlyphSubstProc.o \
|
2000-11-28 21:01:17 +00:00
|
|
|
IndicRearrangementProcessor.o \
|
2000-12-21 19:03:32 +00:00
|
|
|
LigatureSubstProc.o \
|
2000-11-28 21:01:17 +00:00
|
|
|
LookupTables.o \
|
|
|
|
MorphTables.o \
|
2000-12-21 19:03:32 +00:00
|
|
|
NonContextualGlyphSubstProc.o \
|
2000-11-28 21:01:17 +00:00
|
|
|
SegmentArrayProcessor.o \
|
|
|
|
SegmentSingleProcessor.o \
|
|
|
|
SimpleArrayProcessor.o \
|
|
|
|
SingleTableProcessor.o \
|
|
|
|
StateTableProcessor.o \
|
|
|
|
SubtableProcessor.o \
|
|
|
|
TrimmedArrayProcessor.o \
|
2000-12-21 19:03:32 +00:00
|
|
|
AlternateSubstSubtables.o \
|
2000-11-28 21:01:17 +00:00
|
|
|
AnchorTables.o \
|
|
|
|
ArabicShaping.o \
|
2004-05-03 21:13:13 +00:00
|
|
|
CanonData.o \
|
2005-02-24 00:55:30 +00:00
|
|
|
CanonShaping.o \
|
2000-11-28 21:01:17 +00:00
|
|
|
ClassDefinitionTables.o \
|
2000-12-21 19:03:32 +00:00
|
|
|
ContextualSubstSubtables.o \
|
2000-11-28 21:01:17 +00:00
|
|
|
CoverageTables.o \
|
2002-06-10 23:40:33 +00:00
|
|
|
CursiveAttachmentSubtables.o \
|
2000-11-28 21:01:17 +00:00
|
|
|
DeviceTables.o \
|
2003-01-04 03:03:20 +00:00
|
|
|
ExtensionSubtables.o \
|
2000-11-28 21:01:17 +00:00
|
|
|
Features.o \
|
|
|
|
GDEFMarkFilter.o \
|
|
|
|
GlyphDefinitionTables.o \
|
|
|
|
GlyphIterator.o \
|
2004-02-14 01:09:08 +00:00
|
|
|
GlyphLookupTables.o \
|
2000-12-21 19:03:32 +00:00
|
|
|
GlyphPosnLookupProc.o \
|
2005-01-14 18:38:16 +00:00
|
|
|
GlyphPositionAdjustments.o \
|
2000-11-28 21:01:17 +00:00
|
|
|
GlyphPositioningTables.o \
|
2000-12-21 19:03:32 +00:00
|
|
|
GlyphSubstLookupProc.o \
|
2000-11-28 21:01:17 +00:00
|
|
|
GlyphSubstitutionTables.o \
|
|
|
|
IndicClassTables.o \
|
|
|
|
IndicReordering.o \
|
2004-04-12 21:54:47 +00:00
|
|
|
LEInsertionList.o \
|
|
|
|
LEGlyphStorage.o \
|
2000-12-21 19:03:32 +00:00
|
|
|
LigatureSubstSubtables.o \
|
2000-11-28 21:01:17 +00:00
|
|
|
LookupProcessor.o \
|
|
|
|
Lookups.o \
|
|
|
|
MarkArrays.o \
|
2000-12-21 19:03:32 +00:00
|
|
|
MarkToBasePosnSubtables.o \
|
|
|
|
MarkToLigaturePosnSubtables.o \
|
|
|
|
MarkToMarkPosnSubtables.o \
|
2005-07-20 18:42:47 +00:00
|
|
|
MirroredCharData.o \
|
2003-01-04 02:52:23 +00:00
|
|
|
MPreFixups.o \
|
2000-12-21 19:03:32 +00:00
|
|
|
MultipleSubstSubtables.o \
|
2000-11-28 21:01:17 +00:00
|
|
|
OpenTypeUtilities.o \
|
|
|
|
PairPositioningSubtables.o \
|
|
|
|
ScriptAndLanguage.o \
|
2001-09-20 21:51:29 +00:00
|
|
|
ScriptAndLanguageTags.o \
|
2005-07-21 18:30:10 +00:00
|
|
|
ShapingTypeData.o \
|
2000-11-28 21:01:17 +00:00
|
|
|
SinglePositioningSubtables.o \
|
|
|
|
SingleSubstitutionSubtables.o \
|
|
|
|
SubstitutionLookups.o \
|
2004-12-21 19:15:07 +00:00
|
|
|
ValueRecords.o \
|
|
|
|
KhmerLayoutEngine.o \
|
2005-01-14 19:22:53 +00:00
|
|
|
KhmerReordering.o \
|
2005-09-02 21:08:38 +00:00
|
|
|
TibetanLayoutEngine.o \
|
|
|
|
TibetanReordering.o \
|
2005-01-14 19:22:53 +00:00
|
|
|
KernTable.o
|
2000-11-14 21:22:14 +00:00
|
|
|
|
|
|
|
STATIC_OBJECTS = $(OBJECTS:.o=.$(STATIC_O))
|
|
|
|
|
2001-12-03 22:39:50 +00:00
|
|
|
DEPS = $(OBJECTS:.o=.d)
|
2000-11-14 21:22:14 +00:00
|
|
|
|
|
|
|
## Header files to install
|
2003-12-10 22:28:05 +00:00
|
|
|
HEADERS= $(srcdir)/LayoutEngine.h $(srcdir)/LE*.h
|
2000-11-14 21:22:14 +00:00
|
|
|
|
|
|
|
## List of phony targets
|
|
|
|
.PHONY : all all-local install install-local clean clean-local \
|
|
|
|
distclean distclean-local install-library install-headers dist \
|
|
|
|
dist-local check check-local
|
|
|
|
|
|
|
|
## Clear suffix list
|
|
|
|
.SUFFIXES :
|
|
|
|
|
|
|
|
## List of standard targets
|
2000-11-28 21:01:17 +00:00
|
|
|
all: all-local
|
2000-11-14 21:22:14 +00:00
|
|
|
install: install-local
|
2000-11-28 21:01:17 +00:00
|
|
|
clean: clean-local
|
|
|
|
distclean : distclean-local
|
|
|
|
dist: dist-local
|
2000-11-14 21:22:14 +00:00
|
|
|
check: all check-local
|
|
|
|
|
|
|
|
all-local: $(ALL_TARGETS)
|
|
|
|
|
|
|
|
install-local: install-headers install-library
|
|
|
|
|
|
|
|
install-library: all-local
|
|
|
|
$(MKINSTALLDIRS) $(DESTDIR)$(libdir)
|
|
|
|
ifneq ($(ENABLE_STATIC),)
|
2004-03-26 18:35:15 +00:00
|
|
|
$(INSTALL-L) $(TARGET) $(DESTDIR)$(libdir)
|
2000-11-14 21:22:14 +00:00
|
|
|
endif
|
|
|
|
ifneq ($(ENABLE_SHARED),)
|
2004-03-26 18:35:15 +00:00
|
|
|
$(INSTALL-L) $(FINAL_SO_TARGET) $(DESTDIR)$(libdir)
|
2000-11-14 21:22:14 +00:00
|
|
|
ifneq ($(FINAL_SO_TARGET),$(SO_TARGET))
|
2004-03-26 17:57:09 +00:00
|
|
|
cd $(DESTDIR)$(libdir) && $(RM) $(notdir $(SO_TARGET)) && ln -s $(notdir $(FINAL_SO_TARGET)) $(notdir $(SO_TARGET))
|
2003-04-10 17:42:21 +00:00
|
|
|
ifneq ($(FINAL_SO_TARGET),$(MIDDLE_SO_TARGET))
|
2004-03-26 17:57:09 +00:00
|
|
|
cd $(DESTDIR)$(libdir) && $(RM) $(notdir $(MIDDLE_SO_TARGET)) && ln -s $(notdir $(FINAL_SO_TARGET)) $(notdir $(MIDDLE_SO_TARGET))
|
2003-04-10 17:42:21 +00:00
|
|
|
endif
|
2000-11-14 21:22:14 +00:00
|
|
|
endif
|
|
|
|
endif
|
2003-03-19 01:56:39 +00:00
|
|
|
ifneq ($(IMPORT_LIB_EXT),)
|
2004-03-26 18:35:15 +00:00
|
|
|
$(INSTALL-L) $(FINAL_IMPORT_LIB) $(DESTDIR)$(libdir)
|
2004-10-21 00:08:48 +00:00
|
|
|
ifneq ($(IMPORT_LIB),$(FINAL_IMPORT_LIB))
|
2004-03-26 17:57:09 +00:00
|
|
|
cd $(DESTDIR)$(libdir) && $(RM) $(notdir $(IMPORT_LIB)) && ln -s $(notdir $(FINAL_IMPORT_LIB)) $(notdir $(IMPORT_LIB))
|
2004-10-21 00:08:48 +00:00
|
|
|
endif
|
2003-04-10 17:42:21 +00:00
|
|
|
ifneq ($(MIDDLE_IMPORT_LIB),$(FINAL_IMPORT_LIB))
|
2004-03-26 17:57:09 +00:00
|
|
|
cd $(DESTDIR)$(libdir) && $(RM) $(notdir $(MIDDLE_IMPORT_LIB)) && ln -s $(notdir $(FINAL_IMPORT_LIB)) $(notdir $(MIDDLE_IMPORT_LIB))
|
2003-04-10 17:42:21 +00:00
|
|
|
endif
|
2003-03-19 01:56:39 +00:00
|
|
|
endif
|
|
|
|
|
2000-11-14 21:22:14 +00:00
|
|
|
|
|
|
|
install-headers:
|
|
|
|
$(MKINSTALLDIRS) $(DESTDIR)$(includedir)/layout
|
|
|
|
@for file in $(HEADERS); do \
|
2001-05-17 22:51:25 +00:00
|
|
|
echo "$(INSTALL_DATA) $$file $(DESTDIR)$(includedir)/layout"; \
|
|
|
|
$(INSTALL_DATA) $$file $(DESTDIR)$(includedir)/layout || exit; \
|
2000-11-14 21:22:14 +00:00
|
|
|
done
|
|
|
|
|
|
|
|
dist-local:
|
|
|
|
|
|
|
|
clean-local:
|
|
|
|
test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES)
|
2003-09-26 00:04:35 +00:00
|
|
|
$(RMV) $(OBJECTS) $(ALL_TARGETS) $(SO_VERSION_DATA)
|
2000-11-14 21:22:14 +00:00
|
|
|
|
|
|
|
distclean-local: clean-local
|
|
|
|
$(RMV) Makefile
|
|
|
|
|
|
|
|
check-local:
|
|
|
|
|
|
|
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|
|
|
cd $(top_builddir) \
|
|
|
|
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
|
|
|
|
|
|
|
ifneq ($(ENABLE_STATIC),)
|
|
|
|
$(TARGET): $(TARGET)($(STATIC_OBJECTS))
|
|
|
|
$(RANLIB) $@
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq ($(ENABLE_SHARED),)
|
2005-09-08 18:28:48 +00:00
|
|
|
$(SHARED_OBJECT): $(OBJECTS) $(SO_VERSION_DATA)
|
2003-02-11 00:13:48 +00:00
|
|
|
$(SHLIB.cc) $(LD_SONAME) $(OUTOPT)$@ $^ $(LIBS)
|
2003-09-26 00:04:35 +00:00
|
|
|
|
|
|
|
ifeq ($(OS390BATCH),1)
|
|
|
|
$(BATCH_TARGET): $(OBJECTS)
|
|
|
|
$(SHLIB.cc) $(LD_SONAME) $(OUTOPT)$@ $^ $(BATCH_LIBS)
|
|
|
|
endif # OS390BATCH
|
|
|
|
|
2000-11-14 21:22:14 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq (,$(MAKECMDGOALS))
|
|
|
|
-include $(DEPS)
|
|
|
|
else
|
|
|
|
ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),)
|
|
|
|
-include $(DEPS)
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
|