summaryrefslogtreecommitdiff
path: root/Build/source/libs/lua52/Makefile.am
blob: 0ae09d41da379cc7108cd6dbb28cef34fc026496 (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
## Proxy Makefile.am to build lua52 for TeX Live.
##
##   Copyright (C) 2013 Peter Breitenlohner <tex-live@tug.org>
##
##   This file is free software; the copyright holder
##   gives unlimited permission to copy and/or distribute it,
##   with or without modifications, as long as this notice is preserved.
##
ACLOCAL_AMFLAGS = -I ../../m4

# Rebuild
.PHONY: rebuild
rebuild: all

## We want to re-distribute the whole original zlib source tree.
##
EXTRA_DIST = $(LUA52_TREE)

## Changes applied to the original source tree
##
EXTRA_DIST += $(LUA52_TREE)-PATCHES

# in case of an SVN repository
dist-hook:
	rm -rf `find $(distdir) -name .svn -o -name .deps -o -name .dirstamp -o -name '*.$(OBJEXT)'`

SUBDIRS = . include

AM_CPPFLAGS = -I$(top_srcdir)/$(LUA52_TREE)/src $(LUA52_DEFINES)
AM_CFLAGS = $(WARNING_CFLAGS)

noinst_LIBRARIES = liblua52.a

nodist_liblua52_a_SOURCES = \
	@LUA52_TREE@/src/lapi.c \
	@LUA52_TREE@/src/lauxlib.c \
	@LUA52_TREE@/src/lbaselib.c \
	@LUA52_TREE@/src/lbitlib.c \
	@LUA52_TREE@/src/lcode.c \
	@LUA52_TREE@/src/lcorolib.c \
	@LUA52_TREE@/src/lctype.c \
	@LUA52_TREE@/src/ldblib.c \
	@LUA52_TREE@/src/ldebug.c \
	@LUA52_TREE@/src/ldo.c \
	@LUA52_TREE@/src/ldump.c \
	@LUA52_TREE@/src/lfunc.c \
	@LUA52_TREE@/src/lgc.c \
	@LUA52_TREE@/src/linit.c \
	@LUA52_TREE@/src/liolib.c \
	@LUA52_TREE@/src/llex.c \
	@LUA52_TREE@/src/lmathlib.c \
	@LUA52_TREE@/src/lmem.c \
	@LUA52_TREE@/src/loadlib.c \
	@LUA52_TREE@/src/lobject.c \
	@LUA52_TREE@/src/lopcodes.c \
	@LUA52_TREE@/src/loslib.c \
	@LUA52_TREE@/src/lparser.c \
	@LUA52_TREE@/src/lstate.c \
	@LUA52_TREE@/src/lstring.c \
	@LUA52_TREE@/src/lstrlib.c \
	@LUA52_TREE@/src/ltable.c \
	@LUA52_TREE@/src/ltablib.c \
	@LUA52_TREE@/src/ltm.c \
	@LUA52_TREE@/src/luaconf.h \
	@LUA52_TREE@/src/lundump.c \
	@LUA52_TREE@/src/lvm.c \
	@LUA52_TREE@/src/lzio.c