blob: 8a7678b806cfc6fe351870e84bb30d3c95eaeb54 (
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
89
|
TOPDIR = ../..
SUBDIRS =
PACKAGE_NAME = wolframe
.NOTPARALLEL:
-include $(TOPDIR)/makefiles/gmake/platform.mk
INCLUDE_LDFLAGS = \
$(LUA_PLATFORM_LDFLAGS)
INCLUDE_LIBS = \
$(LUA_PLATFORM_LIBS)
STATIC_LIB = liblua.a
DYNAMIC_LIB = liblua.so
DYNAMIC_LIB_MAJOR = 5
DYNAMIC_LIB_MINOR = 2
DYNAMIC_LIB_PATCH = 0
OBJS = \
lapi.o \
lauxlib.o \
lbaselib.o \
lbitlib.o \
lcode.o \
lcorolib.o \
lctype.o \
ldblib.o \
ldebug.o \
ldo.o \
ldump.o \
lfunc.o \
lgc.o \
linit.o \
liolib.o \
llex.o \
lmathlib.o \
lmem.o \
loadlib.o \
lobject.o \
lopcodes.o \
loslib.o \
lparser.o \
lstate.o \
lstring.o \
lstrlib.o \
ltable.o \
ltablib.o \
ltm.o \
lundump.o \
lvm.o \
lzio.o
BINS = \
lua$(EXE)
-include $(TOPDIR)/makefiles/gmake/sub.mk
# overwrite flags so they fit to how Lua people compile the software.
# we get too many spurios errors and problems (for instance in abuild
# checks on openSuSE). This doesn't mean they should not be fixed
# though upstream!
ALL_CFLAGS = $(OPTFLAGS) -Wall $(LUA_PLATFORM_CFLAGS) -I. $(SO_COMPILE_FLAGS)
lua$(EXE): $(STATIC_LIB) $(DYNAMIC_LIB).$(DYNAMIC_LIB_MAJOR).$(DYNAMIC_LIB_MINOR).$(DYNAMIC_LIB_PATCH)
local_all:
local_clean:
local_distclean:
DIST_HEADERS = \
lauxlib.h lua.h lua.hpp luaconf.h lualib.h
local_install:
$(INSTALL) -d -m 755 $(DESTDIR)$(includedir)/wolframe/lua
$(INSTALL) -m 644 $(DIST_HEADERS) $(DESTDIR)$(includedir)/wolframe/lua
local_uninstall:
-rm -rf $(DESTDIR)$(includedir)/wolframe/lua/*
-rmdir $(DESTDIR)$(includedir)/wolframe/lua
-rmdir $(DESTDIR)$(includedir)/wolframe
local_test:
|