2007-10-08 11:03:22 -04:00
|
|
|
source_c = \
|
2009-02-28 14:13:18 -05:00
|
|
|
$(srcdir)/json-array.c \
|
|
|
|
$(srcdir)/json-generator.c \
|
|
|
|
$(srcdir)/json-marshal.c \
|
|
|
|
$(srcdir)/json-node.c \
|
|
|
|
$(srcdir)/json-object.c \
|
|
|
|
$(srcdir)/json-parser.c
|
2007-10-08 11:03:22 -04:00
|
|
|
|
|
|
|
source_h = \
|
2009-02-28 14:13:18 -05:00
|
|
|
$(top_srcdir)/clutter/json/json-generator.h \
|
|
|
|
$(top_srcdir)/clutter/json/json-glib.h \
|
|
|
|
$(top_srcdir)/clutter/json/json-marshal.h \
|
|
|
|
$(top_srcdir)/clutter/json/json-parser.h \
|
|
|
|
$(top_srcdir)/clutter/json/json-types.h
|
2007-10-08 11:03:22 -04:00
|
|
|
|
2009-06-11 08:24:34 -04:00
|
|
|
source_h_priv = \
|
|
|
|
$(top_srcdir)/clutter/json/json-types-private.h
|
|
|
|
|
2007-10-08 11:03:22 -04:00
|
|
|
noinst_LTLIBRARIES = libclutter-json.la
|
|
|
|
|
2009-06-11 08:24:34 -04:00
|
|
|
libclutter_json_la_SOURCES = $(source_c) $(source_h) $(source_h_priv)
|
|
|
|
libclutter_json_la_CPPFLAGS = $(CLUTTER_CFLAGS) $(CLUTTER_DEBUG_CFLAGS)
|
2007-10-08 11:03:22 -04:00
|
|
|
|
|
|
|
INCLUDES = \
|
|
|
|
-I$(top_srcdir) \
|
2009-06-15 05:48:56 -04:00
|
|
|
-DG_DISABLE_SINGLE_INCLUDES \
|
2009-06-11 08:24:34 -04:00
|
|
|
-DG_LOG_DOMAIN=\"Clutter-Json\" \
|
2009-08-13 13:05:38 -04:00
|
|
|
-DG_DISABLE_DEPRECATED \
|
|
|
|
-DJSON_COMPILATION
|
2007-10-08 11:03:22 -04:00
|
|
|
|
2009-08-03 08:56:32 -04:00
|
|
|
AM_CFLAGS = $(MAINTAINER_CFLAGS)
|
|
|
|
|
2009-08-10 12:19:04 -04:00
|
|
|
clutterjsondir = $(includedir)/clutter-@CLUTTER_API_VERSION@/clutter/json
|
2007-10-25 10:32:29 -04:00
|
|
|
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@ \
|
2009-08-13 13:05:38 -04:00
|
|
|
$(INCLUDES) \
|
2009-02-20 09:39:51 -05:00
|
|
|
--add-include-path=$(srcdir) --add-include-path=. \
|
|
|
|
--include=GObject-2.0 \
|
2009-08-17 09:12:21 -04:00
|
|
|
--library=libclutter-json.la \
|
2009-07-17 15:10:06 -04:00
|
|
|
--libtool="$(top_builddir)/libtool" \
|
2009-02-20 09:39:51 -05:00
|
|
|
--pkg gobject-2.0 \
|
|
|
|
--output $@ \
|
|
|
|
$(clutterjson_HEADERS) \
|
|
|
|
$(source_c)
|
|
|
|
|
|
|
|
BUILT_GIRSOURCES += ClutterJson-@CLUTTER_API_VERSION@.gir
|
|
|
|
|
|
|
|
noinst_DATA += $(BUILT_GIRSOURCES)
|
|
|
|
|
|
|
|
CLEANFILES += $(BUILT_GIRSOURCES)
|
|
|
|
endif
|