1 ucl_common_cflags= -I$(top_srcdir)/src \
2 -I$(top_srcdir)/include \
3 -I$(top_srcdir)/uthash \
4 -Wall -W -Wno-unused-parameter -Wno-pointer-sign
5 luaexec_LTLIBRARIES= ucl.la
6 ucl_la_SOURCES= lua_ucl.c
7 ucl_la_CFLAGS= $(ucl_common_cflags) \
9 ucl_la_LDFLAGS = -module -export-dynamic -avoid-version
10 ucl_la_LIBADD= $(top_srcdir)/src/libucl.la \
17 include_HEADERS= $(top_srcdir)/include/lua_ucl.h
19 ROCKSPEC = $(PACKAGE)-$(VERSION)-1.rockspec
20 EXTRA_DIST = $(PACKAGE).rockspec.in \
22 DISTCLEANFILES = $(PACKAGE).rockspec
24 $(ROCKSPEC): $(PACKAGE).rockspec dist
25 sed -e 's/@MD5@/'`$(MD5SUM) $(distdir).tar.gz | \
26 cut -d " " -f 1`'/g' < $(PACKAGE).rockspec > $@