1ucl_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 5luaexec_LTLIBRARIES= ucl.la 6ucl_la_SOURCES= lua_ucl.c 7ucl_la_CFLAGS= $(ucl_common_cflags) \ 8 @LUA_INCLUDE@ 9ucl_la_LDFLAGS = -module -export-dynamic -avoid-version 10ucl_la_LIBADD= $(top_srcdir)/src/libucl.la \ 11 @LIBFETCH_LIBS@ \ 12 @LIBCRYPTO_LIB@ \ 13 @LIBREGEX_LIB@ \ 14 @CURL_LIBS@ \ 15 @LUA_LIB@ 16 17include_HEADERS= $(top_srcdir)/include/lua_ucl.h 18 19ROCKSPEC = $(PACKAGE)-$(VERSION)-1.rockspec 20EXTRA_DIST = $(PACKAGE).rockspec.in \ 21 test.lua 22DISTCLEANFILES = $(PACKAGE).rockspec 23 24$(ROCKSPEC): $(PACKAGE).rockspec dist 25 sed -e 's/@MD5@/'`$(MD5SUM) $(distdir).tar.gz | \ 26 cut -d " " -f 1`'/g' < $(PACKAGE).rockspec > $@