1
## texk/web2c/luatexdir/am/luamisc.am: Makefile fragment for libluamisc
2
## (luafilesystem, luamd5, luapeg, luazip, luazlib, luaprofiler, and slnunicode)
4
## Copyright (C) 2009-2014 Peter Breitenlohner <tex-live@tug.org>
5
## You may freely use, modify and/or distribute this file.
7
## libluamisc (luafilesystem, luamd5, luapeg, luazip, luazlib, luaprofiler,
9
EXTRA_LIBRARIES += libluamisc.a libluajitmisc.a
11
libluamisc_a_DEPENDENCIES = $(ZZIPLIB_DEPEND) libluasocket.a
12
libluajitmisc_a_DEPENDENCIES = $(ZZIPLIB_DEPEND) libluajitsocket.a
14
$(libluamisc_a_OBJECTS): $(libluamisc_a_DEPENDENCIES)
15
$(libluajitmisc_a_OBJECTS): $(libluajitmisc_a_DEPENDENCIES)
17
libluamisc_a_CPPFLAGS = $(ZLIB_INCLUDES) $(ZZIPLIB_INCLUDES) $(LUA_INCLUDES)
18
libluajitmisc_a_CPPFLAGS = $(ZLIB_INCLUDES) $(ZZIPLIB_INCLUDES) $(LUAJIT_INCLUDES)
19
libluajitmisc_a_CPPFLAGS += -DLuajitTeX -I$(srcdir)/luatexdir
21
libluamisc_a_CFLAGS = # $(WARNING_CFLAGS)
22
libluajitmisc_a_CFLAGS = # $(WARNING_CFLAGS)
24
nodist_libluamisc_a_SOURCES = $(libluamisc_sources)
25
nodist_libluajitmisc_a_SOURCES = $(libluamisc_sources)
27
libluamisc_sources = \
28
luatexdir/luafilesystem/src/lfs.c \
29
luatexdir/luafilesystem/src/lfs.h \
30
luatexdir/luamd5/md5.c \
31
luatexdir/luamd5/luamd5.h \
32
luatexdir/luamd5/md5lib.c \
33
luatexdir/luamd5/md5_lua.c \
34
luatexdir/luapeg/lpeg.c \
35
luatexdir/luapeg/lpeg.h \
36
luatexdir/luaprofiler/clocks.c \
37
luatexdir/luaprofiler/clocks.h \
38
luatexdir/luaprofiler/core_profiler.c \
39
luatexdir/luaprofiler/core_profiler.h \
40
luatexdir/luaprofiler/function_meter.c \
41
luatexdir/luaprofiler/function_meter.h \
42
luatexdir/luaprofiler/luaprofiler.h \
43
luatexdir/luaprofiler/stack.c \
44
luatexdir/luaprofiler/stack.h \
45
luatexdir/luaprofiler/lua50_profiler.c \
46
luatexdir/luazip/src/luazip.c \
47
luatexdir/luazip/src/luazip.h \
48
luatexdir/luazlib/lgzip.c \
49
luatexdir/luazlib/lzlib.c \
50
luatexdir/slnunicode/slnunico.c
52
## The file slnudata.c is included from slnunico.c
55
$(libluamisc_sources) \
56
luatexdir/slnunicode/slnudata.c
61
luatexdir/luafilesystem/Makefile \
62
luatexdir/luafilesystem/Makefile.win \
63
luatexdir/luafilesystem/README \
64
luatexdir/luafilesystem/config \
65
luatexdir/luafilesystem/config.win \
66
luatexdir/luafilesystem/doc \
67
luatexdir/luafilesystem/src/lfs.def \
68
luatexdir/luafilesystem/tests \
69
luatexdir/luafilesystem/vc6 \
70
luatexdir/luamd5/makefile \
71
luatexdir/luamd5/md5.html \
72
luatexdir/luamd5/md5.lua \
73
luatexdir/luamd5/md5tests.lua \
74
luatexdir/luaprofiler/Makefile \
75
luatexdir/luazip/Makefile \
76
luatexdir/luazip/README \
77
luatexdir/luazip/config \
78
luatexdir/luazip/doc \
79
luatexdir/luazip/tests \
80
luatexdir/luazip/vc6 \
81
luatexdir/luazip/vc7 \
82
luatexdir/luazlib/Makefile \
83
luatexdir/luazlib/README \
84
luatexdir/luazlib/gzip.lua \
85
luatexdir/luazlib/test_gzip.lua \
86
luatexdir/luazlib/test_zlib.lua \
87
luatexdir/luazlib/zlib.lua \
88
luatexdir/slnunicode/unitest