blob: 1779ce2934208a9804c50d760ed1f0c6d7436b62 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
|
## Makefile.am for the TeX Live subdirectory libs/teckit/
##
## Copyright (C) 2009 Peter Breitenlohner <tex-live@tug.org>
## You may freely use, modify and/or distribute this file.
##
ACLOCAL_AMFLAGS = -I ../../m4
# Rebuild
.PHONY: rebuild
rebuild: all
## We want to re-distribute the whole original TECkit 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 = $(TECKIT_TREE)
## Patches applied to the original source tree
##
EXTRA_DIST += $(TECKIT_TREE)-PATCHES
# in case of an SVN repository
dist-hook:
rm -rf `find $(distdir) -name .svn`
SUBDIRS = teckit
INCLUDES = -I$(top_srcdir)/$(TECKIT_TREE)/source/Public-headers $(ZLIB_INCLUDES)
AM_CPPFLAGS = -DNDEBUG
AM_CFLAGS = $(WARNING_CFLAGS)
AM_CXXFLAGS = $(WARNING_CXXFLAGS)
bin_PROGRAMS = teckit_compile
noinst_LIBRARIES = libTECkit_Compiler.a libTECkit.a
# teckit_compile
#
nodist_teckit_compile_SOURCES = \
$(TECKIT_TREE)/source/Sample-tools/TECkit_Compile.cpp
teckit_compile_LDADD = libTECkit_Compiler.a $(ZLIB_LIBS)
$(teckit_compile_OBJECTS): libTECkit_Compiler.a
# libTECkit_Compiler.a and libTECkit.a
#
nodist_libTECkit_Compiler_a_SOURCES = \
$(TECKIT_TREE)/source/Compiler.cpp \
$(TECKIT_TREE)/source/UnicodeNames.cpp
nodist_libTECkit_a_SOURCES = \
$(TECKIT_TREE)/source/Engine.cpp
$(libTECkit_Compiler_a_OBJECTS) $(libTECkit_a_OBJECTS): config.force
config.force: $(ZLIB_DEPEND)
echo timestamp >config.force
$(SHELL) ./config.status --recheck
DISTCLEANFILES = config.force
## Rebuild zlib
@ZLIB_RULE@
## Tests
##
if build
TESTS = teckit.test
endif build
EXTRA_DIST += \
teckit.test \
tex-text.map \
tex-text.tec
## Files generated by TESTS
##
CLEANFILES = xtex-text.tec
|