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