1 include $(top_srcdir)/build/Makefile.am.common
3 API_VERSION= ADG_API_VERSION
4 BUILT_SOURCES= $(abs_builddir)/api.lua \
5 $(abs_builddir)/iface.c
6 CLEANFILES= generator.log \
12 cmoddir= $(LUA_CMODULEDIR)/lgob
13 cmod_LTLIBRARIES= adg.la
14 nodist_adg_la_SOURCES= iface.c
15 adg_la_CFLAGS= -I $(LUA_INCLUDEDIR) \
17 adg_la_LDFLAGS= -module \
21 $(abs_builddir)/iface.c: $(abs_srcdir)/adg.ovr $(abs_builddir)/api.lua
22 $(GENERATE) -i $< -o $@ -v $(API_VERSION)
24 $(abs_builddir)/api.lua:
25 $(PARSE) -i $(GIRDIR)/Adg-1.0.gir -o $@