aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2010-12-29 16:26:25 +0100
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2010-12-29 16:26:25 +0100
commitd3148268857e01116d5d3c99ac0a43bc6a54b13c (patch)
tree6ae273025ef73942c0ac748e715a7f281a6af114 /src/Makefile.am
downloadlspipat-d3148268857e01116d5d3c99ac0a43bc6a54b13c.tar.gz
initial checkin (v0.1 release)HEADv0.1master
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
new file mode 100644
index 0000000..de6160b
--- /dev/null
+++ b/src/Makefile.am
@@ -0,0 +1,28 @@
+# Main lspipat Automake file
+# processed automatically
+
+AM_CFLAGS = -std=c99 -Wall
+
+lualib_lspipat_LTLIBRARIES = core.la
+core_la_SOURCES = lspipat.c lspipat.h \
+ call.c compose.c unary.c render.c misc.c \
+ simple.c string.c uint.c
+core_la_LDFLAGS = -module
+
+if LUA_PRECOMPILE
+
+lualib_DATA = lspipat.out
+CLEANFILES = $(lualib_DATA)
+EXTRA_DIST = lspipat.lua
+
+lspipat.out : lspipat.lua
+ @LUAC@ @LUAC_FLAGS@ -o $@ $<
+
+install-data-hook :
+ mv -f $(DESTDIR)$(lualibdir)/lspipat.out $(DESTDIR)$(lualibdir)/lspipat.lua
+
+else
+
+dist_lualib_DATA = lspipat.lua
+
+endif