summaryrefslogtreecommitdiff
path: root/Build/source/libs/graphite/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/libs/graphite/Makefile.am')
-rw-r--r--Build/source/libs/graphite/Makefile.am160
1 files changed, 48 insertions, 112 deletions
diff --git a/Build/source/libs/graphite/Makefile.am b/Build/source/libs/graphite/Makefile.am
index 645a7f7ece3..292f8ac0501 100644
--- a/Build/source/libs/graphite/Makefile.am
+++ b/Build/source/libs/graphite/Makefile.am
@@ -5,125 +5,61 @@
##
ACLOCAL_AMFLAGS = -I ../../m4
-INCLUDES = -I$(top_srcdir)/include/graphite -I$(top_srcdir)/src/generic
-INCLUDES += -I$(top_srcdir)/src/font -I$(top_srcdir)/src/segment
-AM_CPPFLAGS = -DNDEBUG
-AM_CFLAGS = $(WARNING_CFLAGS)
-AM_CXXFLAGS = $(WARNING_CXXFLAGS)
+# Rebuild
+.PHONY: rebuild
+rebuild: all
-noinst_LIBRARIES = libgraphite.a
-
-noinst_HEADERS = \
- include/graphite/FileFont.h \
- include/graphite/Font.h \
- include/graphite/GrAppData.h \
- include/graphite/GrClient.h \
- include/graphite/GrCommon.h \
- include/graphite/GrConstants.h \
- include/graphite/GrData.h \
- include/graphite/GrDebug.h \
- include/graphite/GrExt.h \
- include/graphite/GrFeature.h \
- include/graphite/GrMstypes.h \
- include/graphite/GrPlatform.h \
- include/graphite/GrResult.h \
- include/graphite/GrStructs.h \
- include/graphite/GrWrappers.h \
- include/graphite/GraphiteProcess.h \
- include/graphite/IGrEngine.h \
- include/graphite/IGrJustifier.h \
- include/graphite/IGraphiteProcess.h \
- include/graphite/ITextSource.h \
- include/graphite/MemoryUsage.h \
- include/graphite/Segment.h \
- include/graphite/SegmentAux.h \
- include/graphite/SegmentPainter.h
+## We want to re-distribute the whole original silgraphite/engine source tree.
+##
+## With current automake (1.10.2) 'make distcheck' fails when
+## DISTFILES contains a directory and files in that directory.
+## Thus nodist_* for all files in $(TECKIT_TREE).
+EXTRA_DIST = $(GRAPHITE_TREE)
-EXTRA_DIST = \
- build.bat \
- build_d.bat \
- debian \
- doc \
- installed-top.pc.in \
- license \
- makefile.vc \
- silgraphite.pc.in \
- test \
- uninstalled-top.pc.in
+## Patches applied to the original source tree
+##
+EXTRA_DIST += $(GRAPHITE_TREE)-PATCHES
# in case of an SVN repository
dist-hook:
rm -rf `find $(distdir) -name .svn`
-libgraphite_a_SOURCES = \
- src/font/FileFont.cpp \
- src/font/Font.cpp \
- src/font/FontTableCache.h \
- src/font/TtfTypes.h \
- src/font/TtfUtil.cpp \
- src/font/TtfUtil.h \
- src/generic/BinTree.h \
- src/generic/Debug.cpp \
- src/generic/GenericResource.h \
- src/generic/HashMap.h \
- src/generic/Util.cpp \
- src/painter/SegmentPainter.cpp \
- src/segment/FileInput.cpp \
- src/segment/FileInput.h \
- src/segment/FontCache.cpp \
- src/segment/FontCache.h \
- src/segment/FontFace.cpp \
- src/segment/FontFace.h \
- src/segment/GrCharStream.cpp \
- src/segment/GrCharStream.h \
- src/segment/GrClassTable.cpp \
- src/segment/GrClassTable.h \
- src/segment/GrEngine.cpp \
- src/segment/GrEngine.h \
- src/segment/GrFSM.cpp \
- src/segment/GrFSM.h \
- src/segment/GrFeature.cpp \
- src/segment/GrFeatureValues.h \
- src/segment/GrGlyphTable.cpp \
- src/segment/GrGlyphTable.h \
- src/segment/GrPass.cpp \
- src/segment/GrPass.h \
- src/segment/GrPassActionCode.cpp \
- src/segment/GrPseudoMap.h \
- src/segment/GrSlotState.cpp \
- src/segment/GrSlotState.h \
- src/segment/GrSlotStream.cpp \
- src/segment/GrSlotStream.h \
- src/segment/GrTableManager.cpp \
- src/segment/GrTableManager.h \
- src/segment/Main.h \
- src/segment/MemoryUsage.cpp \
- src/segment/Platform.cpp \
- src/segment/Segment.cpp \
- src/segment/SegmentAux.cpp \
- src/segment/TestFSM.cpp \
- src/segment/TestPasses.cpp \
- src/segment/TransductionLog.cpp \
- src/segment/resource.h
+SUBDIRS = include/graphite
-## Not used
-##
-EXTRA_DIST += \
- include/Makefile.am \
- include/graphite/BinTree.h \
- include/graphite/GenericResource.h \
- include/graphite/HashMap.h \
- src/Makefile.am \
- src/Makefile.in \
- src/font/Makefile.am \
- src/generic/BinTree_i.cpp \
- src/generic/HashMap_i.cpp \
- src/generic/Makefile.am \
- src/painter/Makefile.am \
- src/segment/Makefile.am \
- src/segment/XmlTransductionLog.cpp
+INCLUDES = -I$(top_srcdir)/$(GRAPHITE_TREE)/include/graphite -I$(top_srcdir)/$(GRAPHITE_TREE)/src/generic
+INCLUDES += -I$(top_srcdir)/$(GRAPHITE_TREE)/src/font -I$(top_srcdir)/$(GRAPHITE_TREE)/src/segment
+AM_CPPFLAGS = -DNDEBUG
+AM_CFLAGS = $(WARNING_CFLAGS)
+AM_CXXFLAGS = $(WARNING_CXXFLAGS)
-## Original files
-##
-EXTRA_DIST += Makefile.am.orig configure.ac.orig
+noinst_LIBRARIES = libgraphite.a
+
+nodist_libgraphite_a_SOURCES = \
+ $(GRAPHITE_TREE)/src/font/FileFont.cpp \
+ $(GRAPHITE_TREE)/src/font/Font.cpp \
+ $(GRAPHITE_TREE)/src/font/TtfUtil.cpp \
+ $(GRAPHITE_TREE)/src/generic/Debug.cpp \
+ $(GRAPHITE_TREE)/src/generic/Util.cpp \
+ $(GRAPHITE_TREE)/src/painter/SegmentPainter.cpp \
+ $(GRAPHITE_TREE)/src/segment/FileInput.cpp \
+ $(GRAPHITE_TREE)/src/segment/FontCache.cpp \
+ $(GRAPHITE_TREE)/src/segment/FontFace.cpp \
+ $(GRAPHITE_TREE)/src/segment/GrCharStream.cpp \
+ $(GRAPHITE_TREE)/src/segment/GrClassTable.cpp \
+ $(GRAPHITE_TREE)/src/segment/GrEngine.cpp \
+ $(GRAPHITE_TREE)/src/segment/GrFSM.cpp \
+ $(GRAPHITE_TREE)/src/segment/GrFeature.cpp \
+ $(GRAPHITE_TREE)/src/segment/GrGlyphTable.cpp \
+ $(GRAPHITE_TREE)/src/segment/GrPass.cpp \
+ $(GRAPHITE_TREE)/src/segment/GrPassActionCode.cpp \
+ $(GRAPHITE_TREE)/src/segment/GrSlotState.cpp \
+ $(GRAPHITE_TREE)/src/segment/GrSlotStream.cpp \
+ $(GRAPHITE_TREE)/src/segment/GrTableManager.cpp \
+ $(GRAPHITE_TREE)/src/segment/MemoryUsage.cpp \
+ $(GRAPHITE_TREE)/src/segment/Platform.cpp \
+ $(GRAPHITE_TREE)/src/segment/Segment.cpp \
+ $(GRAPHITE_TREE)/src/segment/SegmentAux.cpp \
+ $(GRAPHITE_TREE)/src/segment/TestFSM.cpp \
+ $(GRAPHITE_TREE)/src/segment/TestPasses.cpp \
+ $(GRAPHITE_TREE)/src/segment/TransductionLog.cpp