beta-0.89.2
[luatex.git] / source / texk / web2c / luatexdir / am / libluatex.am
blobb512cffcc1195ce12f7ad50e7eda59bd2fade630
1 ## texk/web2c/luatexdir/am/libluatex.am: Makefile fragment for libluatex.
2 ##
3 ## Copyright (C) 2009-2015 Peter Breitenlohner <tex-live@tug.org>
4 ## You may freely use, modify and/or distribute this file.
6 ## liblua52
7 ##
8 LUA_INCLUDES = $(LUA52_INCLUDES) $(LUA52_DEFINES)
9 LUA_LIBS = $(LUA52_LIBS)
10 LUA_DEPEND = $(LUA52_DEPEND)
12 ## libluatex
14 EXTRA_LIBRARIES += libluatex.a libluajittex.a
16 libluatex_a_DEPENDENCIES = libff.a libluamisc.a
17 libluajittex_a_DEPENDENCIES = libff.a libluajitmisc.a
19 libluatex_a_preflags = $(AM_CPPFLAGS) $(ZLIB_INCLUDES) $(LIBPNG_INCLUDES)
20 libluatex_a_preflags += $(POPPLER_INCLUDES) -I$(srcdir)/libmd5
21 libluatex_a_preflags += -DpdfTeX -I$(srcdir)/luatexdir
22 libluatex_a_preflags += -I$(srcdir)/luatexdir/unilib
23 libluatex_a_preflags += -I$(srcdir)/luatexdir/luafontloader/fontforge/inc
24 libluatex_a_preflags += -DLUA_FF_LIB=1 -I$(srcdir)/luatexdir/luafontloader/fontforge/fontforge
25 libluatex_a_preflags += -DSYNCTEX_ENGINE_H='<synctex-luatex.h>' -I$(srcdir)/synctexdir
27 libluatex_a_CPPFLAGS = $(libluatex_a_preflags) $(LUA_INCLUDES)
28 libluajittex_a_CPPFLAGS = $(libluatex_a_preflags) $(LUAJIT_INCLUDES) $(LUAJIT_DEFINES)
29 libluajittex_a_CPPFLAGS += -DLuajitTeX
31 libluatex_a_CXXFLAGS = $(WARNING_CXXFLAGS)
32 libluajittex_a_CXXFLAGS = $(WARNING_CXXFLAGS)
34 dist_libluatex_a_SOURCES = \
35         luatexdir/lua/lstrlibext.c
36 nodist_libluatex_a_SOURCES = \
37         luastuff.c texluac.c \
38         $(dist_libluatex_sources) \
39         $(nodist_libluatex_sources)
40 dist_libluajittex_a_SOURCES = \
41         luatexdir/lua/lauxlib_bridge.h \
42         luatexdir/lua/lstrlibextjit.c
43 nodist_libluajittex_a_SOURCES = \
44         luajitstuff.c texluajitc.c \
45         $(dist_libluatex_sources) \
46         $(nodist_libluatex_sources)
48 $(libluatex_a_OBJECTS): libff.a libmplib.a libluamisc.a $(POPPLER_DEPEND)
49 $(libluajittex_a_OBJECTS): libff.a libmplib.a libluajitmisc.a $(POPPLER_DEPEND)
51 ## from luatexdir
53 libluatex_web =
55 nodist_libluatex_sources =
57 dist_libluatex_sources = \
58         luatexdir/luatexcallbackids.h \
59         luatexdir/luatex.h \
60         luatexdir/luatex-common.h \
61         luatexdir/ptexlib.h
63 ## from luatexdir/luafontloader/src
65 dist_libluatex_sources += \
66         luatexdir/luafontloader/src/ffdummies.c \
67         luatexdir/luafontloader/src/ffdummies.h \
68         luatexdir/luafontloader/src/luafflib.c
70 ## from luatexdir/dvi
72 luatex_dvi_ctangle = $(ctangle_silent)CWEBINPUTS=$(srcdir)/luatexdir/dvi $(ctangle)
74 dvigen.c: ctangle$(EXEEXT) luatexdir/dvi/dvigen.w
75         $(luatex_dvi_ctangle) dvigen.w
77 libluatex_web += luatexdir/dvi/dvigen.w
79 nodist_libluatex_sources += dvigen.c
81 dist_libluatex_sources += \
82         luatexdir/dvi/dvigen.h
84 ## from luatexdir/font
86 luatex_font_ctangle = $(ctangle_silent)CWEBINPUTS=$(srcdir)/luatexdir/font $(ctangle)
88 dofont.c: ctangle$(EXEEXT) luatexdir/font/dofont.w
89         $(luatex_font_ctangle) dofont.w
90 luafont.c: ctangle$(EXEEXT) luatexdir/font/luafont.w
91         $(luatex_font_ctangle) luafont.w
92 mapfile.c: ctangle$(EXEEXT) luatexdir/font/mapfile.w
93         $(luatex_font_ctangle) mapfile.w
94 pkin.c: ctangle$(EXEEXT) luatexdir/font/pkin.w
95         $(luatex_font_ctangle) pkin.w
96 sfnt.c: ctangle$(EXEEXT) luatexdir/font/sfnt.w
97         $(luatex_font_ctangle) sfnt.w
98 subfont.c: ctangle$(EXEEXT) luatexdir/font/subfont.w
99         $(luatex_font_ctangle) subfont.w
100 texfont.c: ctangle$(EXEEXT) luatexdir/font/texfont.w
101         $(luatex_font_ctangle) texfont.w
102 tfmofm.c: ctangle$(EXEEXT) luatexdir/font/tfmofm.w
103         $(luatex_font_ctangle) tfmofm.w
104 tounicode.c: ctangle$(EXEEXT) luatexdir/font/tounicode.w
105         $(luatex_font_ctangle) tounicode.w
106 tt_glyf.c: ctangle$(EXEEXT) luatexdir/font/tt_glyf.w
107         $(luatex_font_ctangle) tt_glyf.w
108 tt_table.c: ctangle$(EXEEXT) luatexdir/font/tt_table.w
109         $(luatex_font_ctangle) tt_table.w
110 vfovf.c: ctangle$(EXEEXT) luatexdir/font/vfovf.w
111         $(luatex_font_ctangle) vfovf.w
112 vfpacket.c: ctangle$(EXEEXT) luatexdir/font/vfpacket.w
113         $(luatex_font_ctangle) vfpacket.w
114 writecff.c: ctangle$(EXEEXT) luatexdir/font/writecff.w
115         $(luatex_font_ctangle) writecff.w
116 writeenc.c: ctangle$(EXEEXT) luatexdir/font/writeenc.w
117         $(luatex_font_ctangle) writeenc.w
118 writefont.c: ctangle$(EXEEXT) luatexdir/font/writefont.w
119         $(luatex_font_ctangle) writefont.w
120 writet1.c: ctangle$(EXEEXT) luatexdir/font/writet1.w
121         $(luatex_font_ctangle) writet1.w
122 writet3.c: ctangle$(EXEEXT) luatexdir/font/writet3.w
123         $(luatex_font_ctangle) writet3.w
124 writettf.c: ctangle$(EXEEXT) luatexdir/font/writettf.w
125         $(luatex_font_ctangle) writettf.w
126 writetype0.c: ctangle$(EXEEXT) luatexdir/font/writetype0.w
127         $(luatex_font_ctangle) writetype0.w
128 writetype2.c: ctangle$(EXEEXT) luatexdir/font/writetype2.w
129         $(luatex_font_ctangle) writetype2.w
131 libluatex_web += luatexdir/font/dofont.w luatexdir/font/luafont.w luatexdir/font/mapfile.w
132 libluatex_web += luatexdir/font/pkin.w luatexdir/font/sfnt.w luatexdir/font/subfont.w
133 libluatex_web += luatexdir/font/texfont.w luatexdir/font/tfmofm.w
134 libluatex_web += luatexdir/font/tounicode.w luatexdir/font/tt_glyf.w
135 libluatex_web += luatexdir/font/tt_table.w luatexdir/font/vfovf.w
136 libluatex_web += luatexdir/font/vfpacket.w luatexdir/font/writecff.w
137 libluatex_web += luatexdir/font/writeenc.w luatexdir/font/writefont.w
138 libluatex_web += luatexdir/font/writet1.w luatexdir/font/writet3.w
139 libluatex_web += luatexdir/font/writettf.w luatexdir/font/writetype0.w
140 libluatex_web += luatexdir/font/writetype2.w
142 nodist_libluatex_sources += dofont.c luafont.c mapfile.c pkin.c sfnt.c subfont.c
143 nodist_libluatex_sources += texfont.c tfmofm.c tounicode.c tt_glyf.c tt_table.c vfovf.c vfpacket.c
144 nodist_libluatex_sources += writecff.c writeenc.c writefont.c writet1.c writet3.c writettf.c
145 nodist_libluatex_sources += writetype0.c writetype2.c
147 dist_libluatex_sources += \
148         luatexdir/font/luatexfont.h \
149         luatexdir/font/mapfile.h \
150         luatexdir/font/sfnt.h \
151         luatexdir/font/texfont.h \
152         luatexdir/font/tt_glyf.h \
153         luatexdir/font/tt_table.h \
154         luatexdir/font/writecff.h \
155         luatexdir/font/writettf.h
157 ## from luatexdir/image
159 luatex_image_ctangle = $(ctangle_silent)CWEBINPUTS=$(srcdir)/luatexdir/image $(ctangle)
161 writeimg.c: ctangle$(EXEEXT) luatexdir/image/writeimg.w
162         $(luatex_image_ctangle) writeimg.w
163 writejbig2.c: ctangle$(EXEEXT) luatexdir/image/writejbig2.w
164         $(luatex_image_ctangle) writejbig2.w
165 writejpg.c: ctangle$(EXEEXT) luatexdir/image/writejpg.w
166         $(luatex_image_ctangle) writejpg.w
167 writejp2.c: ctangle$(EXEEXT) luatexdir/image/writejp2.w
168         $(luatex_image_ctangle) writejp2.w
169 writepng.c: ctangle$(EXEEXT) luatexdir/image/writepng.w
170         $(luatex_image_ctangle) writepng.w
171 pdftoepdf.cc: ctangle$(EXEEXT) luatexdir/image/pdftoepdf.w
172         $(luatex_image_ctangle) pdftoepdf.w - $@
174 libluatex_web += luatexdir/image/writeimg.w
175 libluatex_web += luatexdir/image/writejbig2.w
176 libluatex_web += luatexdir/image/writejpg.w
177 libluatex_web += luatexdir/image/writejp2.w
178 libluatex_web += luatexdir/image/writepng.w
179 libluatex_web += luatexdir/image/pdftoepdf.w
181 nodist_libluatex_sources += writeimg.c writejbig2.c writejpg.c writejp2.c writepng.c pdftoepdf.cc
183 dist_libluatex_sources += \
184         luatexdir/image/epdf.h \
185         luatexdir/image/image.h \
186         luatexdir/image/pdftoepdf.h \
187         luatexdir/image/writeimg.h \
188         luatexdir/image/writejbig2.h \
189         luatexdir/image/writejpg.h \
190         luatexdir/image/writejp2.h \
191         luatexdir/image/writepng.h
193 ## from luatexdir/lang
195 luatex_lang_ctangle = $(ctangle_silent)CWEBINPUTS=$(srcdir)/luatexdir/lang $(ctangle)
197 hnjalloc.c: ctangle$(EXEEXT) luatexdir/lang/hnjalloc.w
198         $(luatex_lang_ctangle) hnjalloc.w
199 hyphen.c: ctangle$(EXEEXT) luatexdir/lang/hyphen.w
200         $(luatex_lang_ctangle) hyphen.w
201 texlang.c: ctangle$(EXEEXT) luatexdir/lang/texlang.w
202         $(luatex_lang_ctangle) texlang.w
204 libluatex_web += luatexdir/lang/texlang.w luatexdir/lang/hyphen.w luatexdir/lang/hnjalloc.w
206 nodist_libluatex_sources += texlang.c hyphen.c hnjalloc.c
208 dist_libluatex_sources += \
209         luatexdir/lang/hnjalloc.h \
210         luatexdir/lang/hyphen.h \
211         luatexdir/lang/texlang.h
213 ## from luatexdir/lua
215 luatex_lua_ctangle = $(ctangle_silent)CWEBINPUTS=$(srcdir)/luatexdir/lua $(ctangle)
217 luainit.c: ctangle$(EXEEXT) luatexdir/lua/luainit.w
218         $(luatex_lua_ctangle) luainit.w
219 luajitstuff.c: ctangle$(EXEEXT) luatexdir/lua/luajitstuff.w
220         $(luatex_lua_ctangle) luajitstuff.w
221 luanode.c: ctangle$(EXEEXT) luatexdir/lua/luanode.w
222         $(luatex_lua_ctangle) luanode.w
223 luastuff.c: ctangle$(EXEEXT) luatexdir/lua/luastuff.w
224         $(luatex_lua_ctangle) luastuff.w
225 luatoken.c: ctangle$(EXEEXT) luatexdir/lua/luatoken.w
226         $(luatex_lua_ctangle) luatoken.w
227 texluac.c: ctangle$(EXEEXT) luatexdir/lua/texluac.w
228         $(luatex_lua_ctangle) texluac.w
229 texluajitc.c: ctangle$(EXEEXT) luatexdir/lua/texluajitc.w
230         $(luatex_lua_ctangle) texluajitc.w
232 libluatex_web += luatexdir/lua/luainit.w luatexdir/lua/luajitstuff.w
233 libluatex_web += luatexdir/lua/luanode.w luatexdir/lua/luastuff.w luatexdir/lua/luatoken.w
234 libluatex_web += luatexdir/lua/texluac.w luatexdir/lua/texluajitc.w
236 nodist_libluatex_sources +=  luainit.c luanode.c luatoken.c
240 dist_libluatex_sources += \
241         luatexdir/lua/lcallbacklib.c \
242         luatexdir/lua/lfontlib.c \
243         luatexdir/lua/limglib.c \
244         luatexdir/lua/lpdfscannerlib.cc \
245         luatexdir/lua/lepdflib.cc \
246         luatexdir/lua/lkpselib.c \
247         luatexdir/lua/llanglib.c \
248         luatexdir/lua/llualib.c \
249         luatexdir/lua/llfslibext.c \
250         luatexdir/lua/lnodelib.c \
251         luatexdir/lua/liolibext.c \
252         luatexdir/lua/loslibext.c \
253         luatexdir/lua/lpdflib.c \
254         luatexdir/lua/lstatslib.c \
255         luatexdir/lua/ltexiolib.c \
256         luatexdir/lua/ltexlib.c \
257         luatexdir/lua/lnewtokenlib.c \
258         luatexdir/lua/luatex-api.h
260 ## from luatexdir/pdf
262 luatex_pdf_ctangle = $(ctangle_silent)CWEBINPUTS=$(srcdir)/luatexdir/pdf $(ctangle)
264 pdfpagetree.c: ctangle$(EXEEXT) luatexdir/pdf/pdfpagetree.w
265         $(luatex_pdf_ctangle) pdfpagetree.w
266 pdfaction.c: ctangle$(EXEEXT) luatexdir/pdf/pdfaction.w
267         $(luatex_pdf_ctangle) pdfaction.w
268 pdfannot.c: ctangle$(EXEEXT) luatexdir/pdf/pdfannot.w
269         $(luatex_pdf_ctangle) pdfannot.w
270 pdfcolorstack.c: ctangle$(EXEEXT) luatexdir/pdf/pdfcolorstack.w
271         $(luatex_pdf_ctangle) pdfcolorstack.w
272 pdfdest.c: ctangle$(EXEEXT) luatexdir/pdf/pdfdest.w
273         $(luatex_pdf_ctangle) pdfdest.w
274 pdffont.c: ctangle$(EXEEXT) luatexdir/pdf/pdffont.w
275         $(luatex_pdf_ctangle) pdffont.w
276 pdfgen.c: ctangle$(EXEEXT) luatexdir/pdf/pdfgen.w
277         $(luatex_pdf_ctangle) pdfgen.w
278 pdfglyph.c: ctangle$(EXEEXT) luatexdir/pdf/pdfglyph.w
279         $(luatex_pdf_ctangle) pdfglyph.w
280 pdfimage.c: ctangle$(EXEEXT) luatexdir/pdf/pdfimage.w
281         $(luatex_pdf_ctangle) pdfimage.w
282 pdflink.c: ctangle$(EXEEXT) luatexdir/pdf/pdflink.w
283         $(luatex_pdf_ctangle) pdflink.w
284 pdflistout.c: ctangle$(EXEEXT) luatexdir/pdf/pdflistout.w
285         $(luatex_pdf_ctangle) pdflistout.w
286 pdfliteral.c: ctangle$(EXEEXT) luatexdir/pdf/pdfliteral.w
287         $(luatex_pdf_ctangle) pdfliteral.w
288 pdfobj.c: ctangle$(EXEEXT) luatexdir/pdf/pdfobj.w
289         $(luatex_pdf_ctangle) pdfobj.w
290 pdfoutline.c: ctangle$(EXEEXT) luatexdir/pdf/pdfoutline.w
291         $(luatex_pdf_ctangle) pdfoutline.w
292 pdfpage.c: ctangle$(EXEEXT) luatexdir/pdf/pdfpage.w
293         $(luatex_pdf_ctangle) pdfpage.w
294 pdfrule.c: ctangle$(EXEEXT) luatexdir/pdf/pdfrule.w
295         $(luatex_pdf_ctangle) pdfrule.w
296 pdfsaverestore.c: ctangle$(EXEEXT) luatexdir/pdf/pdfsaverestore.w
297         $(luatex_pdf_ctangle) pdfsaverestore.w
298 pdfsetmatrix.c: ctangle$(EXEEXT) luatexdir/pdf/pdfsetmatrix.w
299         $(luatex_pdf_ctangle) pdfsetmatrix.w
300 pdfshipout.c: ctangle$(EXEEXT) luatexdir/pdf/pdfshipout.w
301         $(luatex_pdf_ctangle) pdfshipout.w
302 pdftables.c: ctangle$(EXEEXT) luatexdir/pdf/pdftables.w
303         $(luatex_pdf_ctangle) pdftables.w
304 pdfthread.c: ctangle$(EXEEXT) luatexdir/pdf/pdfthread.w
305         $(luatex_pdf_ctangle) pdfthread.w
306 pdfxform.c: ctangle$(EXEEXT) luatexdir/pdf/pdfxform.w
307         $(luatex_pdf_ctangle) pdfxform.w
309 libluatex_web += luatexdir/pdf/pdfpagetree.w luatexdir/pdf/pdfaction.w luatexdir/pdf/pdfannot.w
310 libluatex_web += luatexdir/pdf/pdfcolorstack.w luatexdir/pdf/pdfdest.w
311 libluatex_web += luatexdir/pdf/pdffont.w luatexdir/pdf/pdfgen.w luatexdir/pdf/pdfglyph.w
312 libluatex_web += luatexdir/pdf/pdfimage.w luatexdir/pdf/pdflink.w luatexdir/pdf/pdflistout.w
313 libluatex_web += luatexdir/pdf/pdfliteral.w luatexdir/pdf/pdfobj.w
314 libluatex_web += luatexdir/pdf/pdfoutline.w luatexdir/pdf/pdfpage.w luatexdir/pdf/pdfrule.w
315 libluatex_web += luatexdir/pdf/pdfsaverestore.w luatexdir/pdf/pdfsetmatrix.w
316 libluatex_web += luatexdir/pdf/pdfshipout.w luatexdir/pdf/pdftables.w
317 libluatex_web += luatexdir/pdf/pdfthread.w luatexdir/pdf/pdfxform.w
319 nodist_libluatex_sources += pdfpagetree.c pdfaction.c pdfannot.c pdfcolorstack.c pdfdest.c pdffont.c
320 nodist_libluatex_sources += pdfgen.c pdfglyph.c pdfimage.c pdflink.c pdflistout.c pdfliteral.c
321 nodist_libluatex_sources += pdfobj.c pdfoutline.c pdfpage.c pdfrule.c pdfsaverestore.c
322 nodist_libluatex_sources += pdfsetmatrix.c pdfshipout.c pdftables.c pdfthread.c pdfxform.c
324 dist_libluatex_sources += \
325         luatexdir/pdf/pdfpagetree.h \
326         luatexdir/pdf/pdfaction.h \
327         luatexdir/pdf/pdfannot.h \
328         luatexdir/pdf/pdfcolorstack.h \
329         luatexdir/pdf/pdfdest.h \
330         luatexdir/pdf/pdffont.h \
331         luatexdir/pdf/pdfgen.h \
332         luatexdir/pdf/pdfglyph.h \
333         luatexdir/pdf/pdfimage.h \
334         luatexdir/pdf/pdflink.h \
335         luatexdir/pdf/pdflistout.h \
336         luatexdir/pdf/pdfliteral.h \
337         luatexdir/pdf/pdfobj.h \
338         luatexdir/pdf/pdfoutline.h \
339         luatexdir/pdf/pdfpage.h \
340         luatexdir/pdf/pdfrule.h \
341         luatexdir/pdf/pdfsaverestore.h \
342         luatexdir/pdf/pdfsetmatrix.h \
343         luatexdir/pdf/pdfshipout.h \
344         luatexdir/pdf/pdftables.h \
345         luatexdir/pdf/pdfthread.h \
346         luatexdir/pdf/pdftypes.h \
347         luatexdir/pdf/pdfxform.h
349 ################################################################################
350 ################################################################################
351 ################################################################################
352 ## REMOVED
353 ## but still left as example.
354 ## from luatexdir/scripts
356 # luatex_luascripts_ctangle = $(ctangle_silent)CWEBINPUTS=$(srcdir)/luatexdir/luascripts $(ctangle)
358 # txt2zlib.c: ctangle$(EXEEXT) luatexdir/luascripts/txt2zlib.w
359 #       $(luatex_luascripts_ctangle) txt2zlib.w
361 # libluatex_web += \
362 #       luatexdir/luascripts/pdflua.c \
363 #       luatexdir/luascripts/pdflua.lua \
364 #       luatexdir/luascripts/txt2zlib.w
366 # ## We normaly use the auxiliary program txt2zlib to create pdflua.c
367 # ## from luatexdir/luascripts/pdflua.lua.  When cross compiling we
368 # ## use instead the distributed luatexdir/luascripts/pdflua.c.
369 # if cross
370 # pdflua.c: luatexdir/luascripts/pdflua.c
371 #       $(AM_V_GEN)rm -f pdflua.c; \
372 #       $(LN_S) $(srcdir)/luatexdir/luascripts/pdflua.c pdflua.c
373 # else !cross
374 # pdflua.c: txt2zlib$(EXEEXT) luatexdir/luascripts/pdflua.lua
375 #       $(AM_V_GEN)./txt2zlib $(srcdir)/luatexdir/luascripts/pdflua.lua pdflua.c && \
376 #       cmp -s pdflua.c $(srcdir)/luatexdir/luascripts/pdflua.c || \
377 #         cp -f pdflua.c $(srcdir)/luatexdir/luascripts/pdflua.c
378 # endif !cross
380 # nodist_libluatex_sources += pdflua.c
382 # dist_libluatex_sources += \
383 #       luatexdir/luascripts/pdflua.h
384 ################################################################################
385 ################################################################################
386 ################################################################################
388 ## from luatexdir/tex
390 luatex_tex_ctangle = $(ctangle_silent)CWEBINPUTS=$(srcdir)/luatexdir/tex $(ctangle)
392 align.c: ctangle$(EXEEXT) luatexdir/tex/align.w
393         $(luatex_tex_ctangle) align.w
394 arithmetic.c: ctangle$(EXEEXT) luatexdir/tex/arithmetic.w
395         $(luatex_tex_ctangle) arithmetic.w
396 buildpage.c: ctangle$(EXEEXT) luatexdir/tex/buildpage.w
397         $(luatex_tex_ctangle) buildpage.w
398 commands.c: ctangle$(EXEEXT) luatexdir/tex/commands.w
399         $(luatex_tex_ctangle) commands.w
400 conditional.c: ctangle$(EXEEXT) luatexdir/tex/conditional.w
401         $(luatex_tex_ctangle) conditional.w
402 directions.c: ctangle$(EXEEXT) luatexdir/tex/directions.w
403         $(luatex_tex_ctangle) directions.w
404 dumpdata.c: ctangle$(EXEEXT) luatexdir/tex/dumpdata.w
405         $(luatex_tex_ctangle) dumpdata.w
406 equivalents.c: ctangle$(EXEEXT) luatexdir/tex/equivalents.w
407         $(luatex_tex_ctangle) equivalents.w
408 errors.c: ctangle$(EXEEXT) luatexdir/tex/errors.w
409         $(luatex_tex_ctangle) errors.w
410 expand.c: ctangle$(EXEEXT) luatexdir/tex/expand.w
411         $(luatex_tex_ctangle) expand.w
412 extensions.c: ctangle$(EXEEXT) luatexdir/tex/extensions.w
413         $(luatex_tex_ctangle) extensions.w
414 filename.c: ctangle$(EXEEXT) luatexdir/tex/filename.w
415         $(luatex_tex_ctangle) filename.w
416 inputstack.c: ctangle$(EXEEXT) luatexdir/tex/inputstack.w
417         $(luatex_tex_ctangle) inputstack.w
418 linebreak.c: ctangle$(EXEEXT) luatexdir/tex/linebreak.w
419         $(luatex_tex_ctangle) linebreak.w
420 mainbody.c: ctangle$(EXEEXT) luatexdir/tex/mainbody.w
421         $(luatex_tex_ctangle) mainbody.w
422 maincontrol.c: ctangle$(EXEEXT) luatexdir/tex/maincontrol.w
423         $(luatex_tex_ctangle) maincontrol.w
424 mathcodes.c: ctangle$(EXEEXT) luatexdir/tex/mathcodes.w
425         $(luatex_tex_ctangle) mathcodes.w
426 memoryword.c: ctangle$(EXEEXT) luatexdir/tex/memoryword.w
427         $(luatex_tex_ctangle) memoryword.w
428 mlist.c: ctangle$(EXEEXT) luatexdir/tex/mlist.w
429         $(luatex_tex_ctangle) mlist.w
430 nesting.c: ctangle$(EXEEXT) luatexdir/tex/nesting.w
431         $(luatex_tex_ctangle) nesting.w
432 packaging.c: ctangle$(EXEEXT) luatexdir/tex/packaging.w
433         $(luatex_tex_ctangle) packaging.w
434 postlinebreak.c: ctangle$(EXEEXT) luatexdir/tex/postlinebreak.w
435         $(luatex_tex_ctangle) postlinebreak.w
436 primitive.c: ctangle$(EXEEXT) luatexdir/tex/primitive.w
437         $(luatex_tex_ctangle) primitive.w
438 printing.c: ctangle$(EXEEXT) luatexdir/tex/printing.w
439         $(luatex_tex_ctangle) printing.w
440 scanning.c: ctangle$(EXEEXT) luatexdir/tex/scanning.w
441         $(luatex_tex_ctangle) scanning.w
442 stringpool.c: ctangle$(EXEEXT) luatexdir/tex/stringpool.w
443         $(luatex_tex_ctangle) stringpool.w
444 texdeffont.c: ctangle$(EXEEXT) luatexdir/tex/texdeffont.w
445         $(luatex_tex_ctangle) texdeffont.w
446 texfileio.c: ctangle$(EXEEXT) luatexdir/tex/texfileio.w
447         $(luatex_tex_ctangle) texfileio.w
448 texmath.c: ctangle$(EXEEXT) luatexdir/tex/texmath.w
449         $(luatex_tex_ctangle) texmath.w
450 texnodes.c: ctangle$(EXEEXT) luatexdir/tex/texnodes.w
451         $(luatex_tex_ctangle) texnodes.w
452 textcodes.c: ctangle$(EXEEXT) luatexdir/tex/textcodes.w
453         $(luatex_tex_ctangle) textcodes.w
454 textoken.c: ctangle$(EXEEXT) luatexdir/tex/textoken.w
455         $(luatex_tex_ctangle) textoken.w
457 libluatex_web += luatexdir/tex/align.w luatexdir/tex/arithmetic.w luatexdir/tex/buildpage.w
458 libluatex_web += luatexdir/tex/commands.w luatexdir/tex/conditional.w luatexdir/tex/directions.w
459 libluatex_web += luatexdir/tex/dumpdata.w luatexdir/tex/equivalents.w luatexdir/tex/errors.w
460 libluatex_web += luatexdir/tex/expand.w luatexdir/tex/extensions.w luatexdir/tex/filename.w
461 libluatex_web += luatexdir/tex/inputstack.w luatexdir/tex/linebreak.w luatexdir/tex/mainbody.w
462 libluatex_web += luatexdir/tex/maincontrol.w luatexdir/tex/mathcodes.w luatexdir/tex/memoryword.w
463 libluatex_web += luatexdir/tex/mlist.w luatexdir/tex/nesting.w luatexdir/tex/packaging.w
464 libluatex_web += luatexdir/tex/postlinebreak.w luatexdir/tex/primitive.w luatexdir/tex/printing.w
465 libluatex_web += luatexdir/tex/scanning.w luatexdir/tex/stringpool.w luatexdir/tex/texdeffont.w
466 libluatex_web += luatexdir/tex/texfileio.w luatexdir/tex/texmath.w luatexdir/tex/texnodes.w
467 libluatex_web += luatexdir/tex/textcodes.w luatexdir/tex/textoken.w
469 nodist_libluatex_sources += align.c arithmetic.c buildpage.c commands.c conditional.c directions.c
470 nodist_libluatex_sources += dumpdata.c equivalents.c errors.c expand.c extensions.c filename.c
471 nodist_libluatex_sources += inputstack.c linebreak.c mainbody.c maincontrol.c mathcodes.c
472 nodist_libluatex_sources += memoryword.c mlist.c nesting.c packaging.c postlinebreak.c
473 nodist_libluatex_sources += primitive.c printing.c scanning.c stringpool.c texdeffont.c
474 nodist_libluatex_sources += texfileio.c texmath.c texnodes.c textcodes.c textoken.c
476 dist_libluatex_sources += \
477         luatexdir/tex/align.h \
478         luatexdir/tex/arithmetic.h \
479         luatexdir/tex/buildpage.h \
480         luatexdir/tex/commands.h \
481         luatexdir/tex/conditional.h \
482         luatexdir/tex/directions.h \
483         luatexdir/tex/dumpdata.h \
484         luatexdir/tex/equivalents.h \
485         luatexdir/tex/errors.h \
486         luatexdir/tex/expand.h \
487         luatexdir/tex/extensions.h \
488         luatexdir/tex/filename.h \
489         luatexdir/tex/inputstack.h \
490         luatexdir/tex/linebreak.h \
491         luatexdir/tex/mainbody.h \
492         luatexdir/tex/maincontrol.h \
493         luatexdir/tex/mathcodes.h \
494         luatexdir/tex/memoryword.h \
495         luatexdir/tex/mlist.h \
496         luatexdir/tex/nesting.h \
497         luatexdir/tex/packaging.h \
498         luatexdir/tex/postlinebreak.h \
499         luatexdir/tex/primitive.h \
500         luatexdir/tex/printing.h \
501         luatexdir/tex/scanning.h \
502         luatexdir/tex/stringpool.h \
503         luatexdir/tex/texdeffont.h \
504         luatexdir/tex/texfileio.h \
505         luatexdir/tex/texmath.h \
506         luatexdir/tex/texnodes.h \
507         luatexdir/tex/textoken.h \
508         luatexdir/tex/textcodes.h 
510 ## from luatexdir/utils
512 luatex_utils_ctangle = $(ctangle_silent)CWEBINPUTS=$(srcdir)/luatexdir/utils $(ctangle)
514 avlstuff.c: ctangle$(EXEEXT) luatexdir/utils/avlstuff.w
515         $(luatex_utils_ctangle) avlstuff.w
516 managed-sa.c: ctangle$(EXEEXT) luatexdir/utils/managed-sa.w
517         $(luatex_utils_ctangle) managed-sa.w
518 utils.c: ctangle$(EXEEXT) luatexdir/utils/utils.w
519         $(luatex_utils_ctangle) utils.w
520 unistring.c: ctangle$(EXEEXT) luatexdir/utils/unistring.w
521         $(luatex_utils_ctangle) unistring.w
523 libluatex_web += luatexdir/utils/avlstuff.w luatexdir/utils/managed-sa.w luatexdir/utils/utils.w luatexdir/utils/unistring.w
525 nodist_libluatex_sources += avlstuff.c managed-sa.c utils.c unistring.c
527 dist_libluatex_sources += \
528         luatexdir/utils/avl.c \
529         luatexdir/utils/avl.h \
530         luatexdir/utils/avlstuff.h \
531         luatexdir/utils/managed-sa.h \
532         luatexdir/utils/utils.h \
533         luatexdir/utils/unistring.h
535 ## from ../synctexdir
537 dist_libluatex_sources += \
538         synctexdir/synctex-common.h \
539         synctexdir/synctex-luatex.h \
540         synctexdir/synctex.c \
541         synctexdir/synctex.h
543 EXTRA_DIST += \
544         $(dist_libluatex_sources) \
545         $(libluatex_web) 
547 DISTCLEANFILES += $(nodist_libluatex_sources)
549 EXTRA_DIST += \
550         luatexdir/ChangeLog \
551         luatexdir/NEWS \
552         luatexdir/font/subfont.txt