1 BUILT_SOURCES = lua-token.h lua-token.c
2 DISTCLEANFILES = $(BUILT_SOURCES)
4 .cpkg.c: ; ./luapkg2c.pl -c $< > $@
5 .cpkg.li: ; ./luapkg2c.pl -h $< > $@
7 noinst_LIBRARIES = liblua.a
9 liblua_a_DEPENDENCIES = madmutt.li
10 liblua_a_SOURCES = madmutt.cpkg \
15 noinst_HEADERS = lib-lua.h
17 lua-token.c lua-token.h: lua-token.sh
18 sh $< $@ || (rm -f $@; exit 1)
20 DEFS=-DPKGDATADIR=\"$(pkgdatadir)\" -DSYSCONFDIR=\"$(sysconfdir)\" \
21 -DBINDIR=\"$(bindir)\" -DMUTTLOCALEDIR=\"$(datadir)/locale\" \
22 -DHAVE_CONFIG_H=1 -DPKGDOCDIR=\"$(docdir)\"