summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/luatexdir/am/luamisc.am
blob: 42f01cc5b98c7a17ba62deda979031d9814b6692 (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
82
83
84
85
86
87
88
## texk/web2c/luatexdir/am/luamisc.am: Makefile fragment for libluamisc
## (luafilesystem, luamd5, luapeg, luazip, luazlib, luaprofiler, and slnunicode)
##
## Copyright (C) 2009-2014 Peter Breitenlohner <tex-live@tug.org>
## You may freely use, modify and/or distribute this file.

## libluamisc (luafilesystem, luamd5, luapeg, luazip, luazlib, luaprofiler,
## and slnunicode)
EXTRA_LIBRARIES += libluamisc.a libluajitmisc.a

libluamisc_a_DEPENDENCIES = $(ZZIPLIB_DEPEND) libluasocket.a
libluajitmisc_a_DEPENDENCIES = $(ZZIPLIB_DEPEND) libluajitsocket.a

$(libluamisc_a_OBJECTS): $(libluamisc_a_DEPENDENCIES)
$(libluajitmisc_a_OBJECTS): $(libluajitmisc_a_DEPENDENCIES)

libluamisc_a_CPPFLAGS = $(ZLIB_INCLUDES) $(ZZIPLIB_INCLUDES) $(LUA_INCLUDES)
libluajitmisc_a_CPPFLAGS = $(ZLIB_INCLUDES) $(ZZIPLIB_INCLUDES) $(LUAJIT_INCLUDES)

libluamisc_a_CFLAGS = # $(WARNING_CFLAGS)
libluajitmisc_a_CFLAGS = # $(WARNING_CFLAGS)

nodist_libluamisc_a_SOURCES = $(libluamisc_sources)
nodist_libluajitmisc_a_SOURCES = $(libluamisc_sources)

libluamisc_sources = \
	luatexdir/luafilesystem/src/lfs.c \
	luatexdir/luafilesystem/src/lfs.h \
	luatexdir/luamd5/md5.c \
	luatexdir/luamd5/luamd5.h \
	luatexdir/luamd5/md5lib.c \
	luatexdir/luamd5/md5_lua.c \
	luatexdir/luapeg/lpeg.c \
	luatexdir/luapeg/lpeg.h \
	luatexdir/luaprofiler/clocks.c \
	luatexdir/luaprofiler/clocks.h \
	luatexdir/luaprofiler/core_profiler.c \
	luatexdir/luaprofiler/core_profiler.h \
	luatexdir/luaprofiler/function_meter.c \
	luatexdir/luaprofiler/function_meter.h \
	luatexdir/luaprofiler/luaprofiler.h \
	luatexdir/luaprofiler/stack.c \
	luatexdir/luaprofiler/stack.h \
	luatexdir/luaprofiler/lua50_profiler.c \
	luatexdir/luazip/src/luazip.c \
	luatexdir/luazip/src/luazip.h \
	luatexdir/luazlib/lgzip.c \
	luatexdir/luazlib/lzlib.c \
	luatexdir/slnunicode/slnunico.c

## The file slnudata.c is included from slnunico.c
##
EXTRA_DIST += \
	$(libluamisc_sources) \
	luatexdir/slnunicode/slnudata.c

## Not used
##
EXTRA_DIST += \
	luatexdir/luafilesystem/Makefile \
	luatexdir/luafilesystem/Makefile.win \
	luatexdir/luafilesystem/README \
	luatexdir/luafilesystem/config \
	luatexdir/luafilesystem/config.win \
	luatexdir/luafilesystem/doc \
	luatexdir/luafilesystem/src/lfs.def \
	luatexdir/luafilesystem/tests \
	luatexdir/luafilesystem/vc6 \
	luatexdir/luamd5/makefile \
	luatexdir/luamd5/md5.html \
	luatexdir/luamd5/md5.lua \
	luatexdir/luamd5/md5tests.lua \
	luatexdir/luaprofiler/Makefile \
	luatexdir/luazip/Makefile \
	luatexdir/luazip/README \
	luatexdir/luazip/config \
	luatexdir/luazip/doc \
	luatexdir/luazip/tests \
	luatexdir/luazip/vc6 \
	luatexdir/luazip/vc7 \
	luatexdir/luazlib/Makefile \
	luatexdir/luazlib/README \
	luatexdir/luazlib/gzip.lua \
	luatexdir/luazlib/test_gzip.lua \
	luatexdir/luazlib/test_zlib.lua \
	luatexdir/luazlib/zlib.lua \
	luatexdir/slnunicode/unitest