2007-10-08 11:03:22 -04:00
|
|
|
source_c = \
|
|
|
|
json-array.c \
|
|
|
|
json-generator.c \
|
|
|
|
json-marshal.c \
|
|
|
|
json-node.c \
|
|
|
|
json-object.c \
|
|
|
|
json-parser.c
|
|
|
|
|
|
|
|
source_h = \
|
|
|
|
json-generator.h \
|
|
|
|
json-glib.h \
|
|
|
|
json-marshal.h \
|
|
|
|
json-parser.h \
|
|
|
|
json-types.h
|
|
|
|
|
|
|
|
noinst_LTLIBRARIES = libclutter-json.la
|
|
|
|
|
|
|
|
libclutter_json_la_SOURCES = $(source_c) $(source_h)
|
|
|
|
|
|
|
|
INCLUDES = \
|
|
|
|
-I$(top_srcdir) \
|
|
|
|
-DG_DISABLE_DEPRECATED \
|
|
|
|
$(GCC_FLAGS) \
|
|
|
|
$(CLUTTER_CFLAGS) \
|
|
|
|
$(CLUTTER_DEBUG_CFLAGS)
|
|
|
|
|
2007-10-25 10:32:29 -04:00
|
|
|
clutterjsondir = $(includedir)/clutter-@CLUTTER_MAJORMINOR@/clutter/json
|
|
|
|
clutterjson_HEADERS = $(source_h)
|
2009-02-20 09:39:51 -05:00
|
|
|
|
|
|
|
noinst_DATA =
|
|
|
|
CLEANFILES =
|
|
|
|
|
|
|
|
if HAVE_INTROSPECTION
|
|
|
|
BUILT_GIRSOURCES =
|
|
|
|
|
|
|
|
ClutterJson-@CLUTTER_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libclutter-json.la
|
|
|
|
$(INTROSPECTION_SCANNER) -v --namespace ClutterJson --nsversion=@CLUTTER_API_VERSION@ \
|
|
|
|
--add-include-path=$(srcdir) --add-include-path=. \
|
|
|
|
--include=GObject-2.0 \
|
|
|
|
--library=clutter-json \
|
|
|
|
--libtool="$(top_builddir)/doltlibtool" \
|
|
|
|
--pkg gobject-2.0 \
|
|
|
|
--output $@ \
|
|
|
|
$(clutterjson_HEADERS) \
|
|
|
|
$(source_c)
|
|
|
|
|
|
|
|
BUILT_GIRSOURCES += ClutterJson-@CLUTTER_API_VERSION@.gir
|
|
|
|
|
|
|
|
noinst_DATA += $(BUILT_GIRSOURCES)
|
|
|
|
|
|
|
|
CLEANFILES += $(BUILT_GIRSOURCES)
|
|
|
|
endif
|