4
### things relative to the C library part
5
CLIB_CFLAGS=$(shell pkg-config gobject-introspection-1.0 --cflags)
6
CLIB_LDFLAGS=$(shell pkg-config gobject-introspection-1.0 --libs)
7
CLIB_LDFLAGS_STATIC=$(shell pkg-config gobject-introspection-1.0 --libs --static)
8
CLIB_OBJS=$(patsubst %.c,%.lo, $(wildcard lgi/*.c))
9
LUA_MODNAME_CPART=lgi.corelgilua51
11
### things relative to the lua library part
13
LUA_SOURCES=lgi.lua $(wildcard lgi/*.lua) $(wildcard lgi/override/*.lua)
15
LUA_TEST=tests/test.lua
17
### this part is relative to pkg-config
18
PKG_VERSION=$(shell dpkg-parsechangelog|grep ^Ver|cut -d ' ' -f 2|cut -d '-' -f 1)
20
PKG_URL=https://github.com/pavouk/lgi
21
PKG_REQUIRES=gobject-introspection-1.0