~ubuntu-branches/ubuntu/wily/luatex/wily

« back to all changes in this revision

Viewing changes to source/texk/web2c/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Norbert Preining
  • Date: 2010-04-29 00:47:19 UTC
  • mfrom: (1.1.10 upstream)
  • Revision ID: james.westby@ubuntu.com-20100429004719-o42etkqe90n97b9e
Tags: 0.60.1-1
* new upstream release, adapt build-script patch
* disable patch: upstream-epstopdf_cc_no_xpdf_patching, included upstream
* disable patch: libpoppler-0.12, not needed anymore

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
## Makefile.am for the TeX Live subdirectory texk/web2c/
2
2
##
3
 
## Copyright (C) 2009 Peter Breitenlohner <tex-live@tug.org>
 
3
## Copyright (C) 2009, 2010 Peter Breitenlohner <tex-live@tug.org>
4
4
## You may freely use, modify and/or distribute this file.
5
5
##
6
 
ACLOCAL_AMFLAGS = -I ../../m4
 
6
ACLOCAL_AMFLAGS = -I ../../m4 -I m4
7
7
 
8
 
INCLUDES = -I$(top_builddir)/.. $(KPATHSEA_INCLUDES)
 
8
# First $(KPATHSEA_INCLUDES), then -I$(top_srcdir)/..
 
9
# for the case of installed (system) kpathsea headers.
 
10
INCLUDES = -I$(top_builddir)/.. $(KPATHSEA_INCLUDES) -I$(top_srcdir)/..
 
11
AM_CPPFLAGS =
 
12
## Not yet for C, C++, and ObjC++ (too many warnings or not yet implemented)
 
13
AM_CFLAGS = $(WARNING_CFLAGS)
 
14
AM_CXXFLAGS = ## $(WARNING_CXXFLAGS)
 
15
## Not yet for ObjC++ (not yet implemented)
 
16
AM_OBJCXXFLAGS = ## $(WARNING_OBJCXXFLAGS)
9
17
 
10
18
version = $(WEB2CVERSION)
11
19
 
25
33
EXTRA_DIST = PROJECTS cftests config.h cpascal.h help.h
26
34
DISTCLEANFILES = $(EXTRA_LIBRARIES)
27
35
CLEANFILES =
 
36
TRIPTRAP =
28
37
 
29
38
# in case of an SVN repository
30
39
dist-hook:
31
40
        rm -rf `find $(distdir) -name .svn`
32
41
 
33
42
## The sh script that does the conversion.
34
 
web2c = srcdir=$(srcdir) $(SHELL) $(srcdir)/web2c/convert
 
43
web2c = $(SHELL) ./web2c-sh $@
35
44
 
36
45
## We put this in the web2c directory because it runs on the build system, it
37
46
## is separate from (and simpler than) the actual web-to-C conversion programs.
43
52
# Thus we depend on the auxiliary files web2c/stamp-*.
44
53
web2c_stamps = web2c/stamp-fixwrites web2c/stamp-splitup web2c/stamp-web2c
45
54
makecpool_stamp = web2c/stamp-makecpool
46
 
web2c_depend = $(web2c_common) $(web2c_stamps)
 
55
web2c_depend = $(web2c_common) $(web2c_stamps) web2c-sh
47
56
web2c_texmf = $(web2c_depend) web2c/texmf.defines web2c/coerce.h
48
57
 
49
 
## This is right for most Web2C programs
 
58
# This is right for most Web2C programs
50
59
LDADD = $(proglib) $(KPATHSEA_LIBS)
51
 
 
52
 
## Automake automatically uses $(proglib)=lib/lib.a as dependency.
53
 
## This does not work for the configure substitution  $(KPATHSEA_LIBS),
54
 
## thus we let $(proglib) artificially depend on $(KPATHSEA_LIBS).
55
 
 
56
 
# Rebuild $(proglib)
57
 
$(proglib): $(KPATHSEA_DEPEND) ${srcdir}/lib/*.c
58
 
        cd lib && $(MAKE) $(AM_MAKEFLAGS)
 
60
# Automake automatically uses $(proglib)=lib/lib.a as dependency.
 
61
# This does not work for the configure substitution $(KPATHSEA_LIBS),
 
62
# thus we must explicitly use these $(default_dependencies) for
 
63
# programs that do not depend on tangle or ctangle.
 
64
default_dependencies = $(proglib) $(KPATHSEA_DEPEND)
59
65
 
60
66
# Rebuild Web2C programs
61
67
web2c/stamp-fixwrites: $(web2c_common) ${srcdir}/web2c/*.[chly]
62
68
        cd web2c && $(MAKE) $(AM_MAKEFLAGS) stamp-fixwrites
 
69
        touch $@
63
70
web2c/stamp-splitup: $(web2c_common) ${srcdir}/web2c/*.[chly]
64
71
        cd web2c && $(MAKE) $(AM_MAKEFLAGS) stamp-splitup
 
72
        touch $@
65
73
web2c/stamp-web2c: $(web2c_common) ${srcdir}/web2c/*.[chly]
66
74
        cd web2c && $(MAKE) $(AM_MAKEFLAGS) stamp-web2c
 
75
        touch $@
67
76
web2c/stamp-makecpool: $(web2c_common) ${srcdir}/web2c/makecpool.c
68
77
        cd web2c && $(MAKE) $(AM_MAKEFLAGS) stamp-makecpool
69
78
 
 
79
# Rebuild $(proglib)
 
80
$(proglib): ${srcdir}/lib/*.c
 
81
        cd lib && $(MAKE) $(AM_MAKEFLAGS)
70
82
## Rebuild libkpathsea
71
83
@KPATHSEA_RULE@
72
84
## Rebuild libz
77
89
@XPDF_RULE@
78
90
## Rebuild libopenbsd-compat
79
91
@OBSDCOMPAT_RULE@
 
92
## Rebuild libzzip
 
93
@ZZIPLIB_RULE@
80
94
## Rebuild libgraphite
81
95
@GRAPHITE_RULE@
82
96
## Rebuild libfreetype
86
100
## Rebuild libsicuxxx
87
101
@ICU_RULE@
88
102
 
89
 
## The environment for building.
 
103
# The environment for building.
90
104
buildenv = TEXMFCNF=$(srcdir)/../kpathsea
91
105
 
92
 
## Calling tangle & Co.
 
106
# Calling tangle & Co.
93
107
tangle = WEBINPUTS=.:$(srcdir) $(buildenv) $(TANGLE)
94
108
tangleboot = WEBINPUTS=.:$(srcdir) $(buildenv) $(TANGLEBOOT)
95
109
otangle = WEBINPUTS=.:$(srcdir) $(buildenv) $(OTANGLE)
96
110
ctangle = $(buildenv) $(CTANGLE)
97
 
ctangleboot = $(buildenv) $(CTANGLEBOOT)
98
111
tie = WEBINPUTS=.:$(srcdir) $(buildenv) $(TIE)
99
112
 
100
 
## For trip, trap, and other tests
 
113
# Calling tangle & Co. via tangle-sh (several output files)
 
114
texmf_tangle = WEBINPUTS=.:$(srcdir) $(SHELL) ./tangle-sh $@ $(TANGLE)
 
115
o_tangle = WEBINPUTS=.:$(srcdir) $(SHELL) ./tangle-sh $@ $(OTANGLE)
 
116
 
 
117
# For trip, trap, and other tests
101
118
DIFF = diff
102
119
DIFFFLAGS =
103
120
TESTS_ENVIRONMENT = DIFF='$(DIFF)' DIFFFLAGS='$(DIFFFLAGS)' LN_S='$(LN_S)' KPSEWHICH='$(KPSEWHICH)'
104
121
 
105
 
## The environment for making dumps.
106
 
## No need to specify TEXMF, as ../kpathsea/texmf.cnf should contain
107
 
## suitable absolute paths at this point.  Those are converted to
108
 
## SELFAUTO* paths on installation.
 
122
.PHONY: triptrap
 
123
triptrap:
 
124
        srcdir=$(srcdir) MAKE=$(MAKE) \
 
125
          $(SHELL) $(srcdir)/triptrap-sh $(TRIPTRAP)
 
126
EXTRA_DIST += triptrap-sh
 
127
 
 
128
# The environment for making dumps.
 
129
# No need to specify TEXMF, as ../kpathsea/texmf.cnf should contain
 
130
# suitable absolute paths at this point.  Those are converted to
 
131
# SELFAUTO* paths on installation.
109
132
dumpenv = TEXMFCNF=../kpathsea
110
133
 
111
134
## ################################
136
159
## e-TeX
137
160
include $(srcdir)/etexdir/am/etex.am
138
161
 
 
162
## pTeX
 
163
include $(srcdir)/ptexdir/am/ptex.am
 
164
 
139
165
## pdfTeX
140
166
include $(srcdir)/pdftexdir/am/pdftex.am
141
167
include $(srcdir)/pdftexdir/am/libpdftex.am
144
170
 
145
171
## luaTeX
146
172
include $(srcdir)/luatexdir/am/luatex.am
147
 
include $(srcdir)/luatexdir/am/luatangle.am
148
173
include $(srcdir)/luatexdir/am/liblua51.am
149
 
include $(srcdir)/luatexdir/am/libzzip.am
150
174
include $(srcdir)/luatexdir/am/luasocket.am
151
175
include $(srcdir)/luatexdir/am/luamisc.am
152
176
include $(srcdir)/luatexdir/am/luafontforge.am
158
182
## omegaware web programs
159
183
include $(srcdir)/omegaware/am/omegaware.am
160
184
 
 
185
## programs required for 'make check' in omegafonts/ and omegaware/
 
186
if OTANGLE
 
187
check_PROGRAMS += pltotf tftopl
 
188
endif OTANGLE
 
189
 
161
190
## Aleph
162
191
include $(srcdir)/alephdir/am/aleph.am
163
192
 
167
196
## libmd5
168
197
include $(srcdir)/libmd5/am/md5.am
169
198
 
170
 
## Not used
171
 
##
172
 
EXTRA_DIST += fmtutil.in
173
 
 
174
199
## Eventually delete these files
175
200
##
176
201
EXTRA_DIST += Makefile.in.orig configure.in.orig metapost.mk