rpm/lua/Makefile.am

85 lines
1.6 KiB
Makefile
Raw Normal View History

noinst_LTLIBRARIES = liblua.la
noinst_PROGRAMS = lua/lua luac/luac
EXTRA_DIST = \
COPYRIGHT \
HISTORY \
local/modemuncher.c \
local/userconfig.c \
local/linit.lua
LDADD = liblua.la
2007-10-17 22:41:59 +08:00
AM_CPPFLAGS = -I. -I$(srcdir) -I$(top_builddir)
AM_CPPFLAGS += -I$(srcdir)/include -I$(srcdir)/local
lua_lua_SOURCES = lua/lua.c
2007-08-13 13:44:54 +08:00
lua_lua_CPPFLAGS = $(AM_CPPFLAGS) -DLUA_USERCONFIG='"$(srcdir)/local/userconfig.c"'
2007-09-05 15:30:32 +08:00
lua_lua_CPPFLAGS += -DRPMCONFIGDIR="\"$(RPMCONFIGDIR)\""
2007-08-13 13:31:10 +08:00
lua_lua_LDADD = $(LDADD)
luac_luac_SOURCES = luac/luac.c luac/print.c lopcodes.c
2007-08-13 13:44:54 +08:00
luac_luac_CPPFLAGS = $(AM_CPPFLAGS) -DLUA_OPNAMES
2007-08-13 13:44:54 +08:00
liblua_la_CPPFLAGS = $(AM_CPPFLAGS) -DUSE_DLOPEN -DWITH_POSIX
liblua_la_LIBADD = -lm -ldl
liblua_la_SOURCES = \
local/linit.h \
local/linit.c \
local/linit.lch \
local/lposix.h \
local/lposix.c \
local/lrexlib.h \
local/lrexlib.c \
include/lauxlib.h \
include/lua.h \
include/lualib.h \
lib/lauxlib.c \
lib/lbaselib.c \
lib/ldblib.c \
lib/liolib.c \
lib/lmathlib.c \
lib/loadlib.c \
lib/lstrlib.c \
lib/ltablib.c \
lapi.c \
lapi.h \
lcode.c \
lcode.h \
ldebug.c \
ldebug.h \
ldo.c \
ldo.h \
ldump.c \
lfunc.c \
lfunc.h \
lgc.c \
lgc.h \
llex.c \
llex.h \
llimits.h \
lmem.c \
lmem.h \
lobject.c \
lobject.h \
lopcodes.c \
lopcodes.h \
lparser.c \
lparser.h \
lstate.c \
lstate.h \
lstring.c \
lstring.h \
ltable.c \
ltable.h \
ltests.c \
ltm.c \
ltm.h \
lundump.c \
lundump.h \
lvm.c \
lvm.h \
lzio.c \
lzio.h
local/linit.lch: local/linit.lua
bin2c local/linit.lua > local/linit.lch