glib/Makefile.am
Colin Walters f2f0625622 [girffi] Clean up API, add g_function_info_prep_invoker
Rather than having bindings use g_function_info_invoke, which is basically
a toy/demo API, export a convenience utility function which takes the introspection
information and sets up things we need to pass to libffi.

Then invocation can be done directly to libffi by a binding.

As part of this work, remove some (unused by gjs) public functions from the
girffi API, and instead export a function to map to libffi which can work
semi-correctly.

https://bugzilla.gnome.org/show_bug.cgi?id=604074
2009-12-16 18:17:12 -05:00

39 lines
1012 B
Makefile

include $(top_srcdir)/gcov.mak
GCOVSOURCES = $(libgirepository_1_0_la_SOURCES)
girepodir = $(includedir)/gobject-introspection-1.0/
girepo_HEADERS = girepository.h girffi.h
lib_LTLIBRARIES = libgirepository-1.0.la
noinst_LTLIBRARIES = libgirepository-parser.la
libgirepository_1_0_la_SOURCES = \
gdump.c \
gfield.c \
ginfo.c \
ginfo.h \
ginvoke.c \
girepository.c \
girffi.c \
girffi.h \
girffi-private.h \
glib-compat.h \
gtypelib.c \
gtypelib.h
libgirepository_1_0_la_CPPFLAGS = $(GIREPO_CFLAGS)
libgirepository_1_0_la_LIBADD = $(GIREPO_LIBS)
libgirepository_1_0_la_LDFLAGS = -no-undefined
libgirepository_parser_la_SOURCES = \
girmodule.c \
girmodule.h \
girnode.c \
girnode.h \
giroffsets.c \
girparser.c \
girparser.h
libgirepository_parser_la_CFLAGS = $(GIREPO_CFLAGS)