2009-10-18 16:11:42 +00:00
|
|
|
include $(top_srcdir)/build/autotools/Makefile.am.silent
|
|
|
|
|
2007-10-08 15:03:22 +00:00
|
|
|
source_c = \
|
2009-02-28 19:13:18 +00: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 15:03:22 +00:00
|
|
|
|
|
|
|
source_h = \
|
2009-02-28 19:13:18 +00: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 15:03:22 +00:00
|
|
|
|
2009-06-11 12:24:34 +00:00
|
|
|
source_h_priv = \
|
|
|
|
$(top_srcdir)/clutter/json/json-types-private.h
|
|
|
|
|
2007-10-08 15:03:22 +00:00
|
|
|
noinst_LTLIBRARIES = libclutter-json.la
|
|
|
|
|
|
|
|
INCLUDES = \
|
|
|
|
-I$(top_srcdir) \
|
2009-06-15 09:48:56 +00:00
|
|
|
-DG_DISABLE_SINGLE_INCLUDES \
|
2009-06-11 12:24:34 +00:00
|
|
|
-DG_LOG_DOMAIN=\"Clutter-Json\" \
|
2009-08-13 17:05:38 +00:00
|
|
|
-DG_DISABLE_DEPRECATED \
|
|
|
|
-DJSON_COMPILATION
|
2007-10-08 15:03:22 +00:00
|
|
|
|
2009-08-03 12:56:32 +00:00
|
|
|
AM_CFLAGS = $(MAINTAINER_CFLAGS)
|
2010-09-03 10:09:57 +00:00
|
|
|
AM_CPPFLAGS = $(CLUTTER_CFLAGS) $(CLUTTER_DEBUG_CFLAGS)
|
2009-08-03 12:56:32 +00:00
|
|
|
|
2009-08-10 16:19:04 +00:00
|
|
|
clutterjsondir = $(includedir)/clutter-@CLUTTER_API_VERSION@/clutter/json
|
2007-10-25 14:32:29 +00:00
|
|
|
clutterjson_HEADERS = $(source_h)
|
2009-02-20 14:39:51 +00:00
|
|
|
|
2010-09-03 10:09:57 +00:00
|
|
|
libclutter_json_la_SOURCES = $(source_c) $(source_h) $(source_h_priv)
|
|
|
|
|
2009-02-20 14:39:51 +00:00
|
|
|
noinst_DATA =
|
|
|
|
CLEANFILES =
|
|
|
|
|
2010-09-03 10:09:57 +00:00
|
|
|
-include $(INTROSPECTION_MAKEFILE)
|
|
|
|
|
|
|
|
INTROSPECTION_GIRS =
|
|
|
|
|
2009-02-20 14:39:51 +00:00
|
|
|
if HAVE_INTROSPECTION
|
2010-09-03 10:09:57 +00:00
|
|
|
|
2009-02-20 14:39:51 +00:00
|
|
|
BUILT_GIRSOURCES =
|
|
|
|
|
2010-09-03 10:09:57 +00:00
|
|
|
ClutterJson-@CLUTTER_API_VERSION@.gir: libclutter-json.la Makefile
|
|
|
|
|
|
|
|
ClutterJson_@CLUTTER_API_VERSION_AM@_gir_NAMESPACE = ClutterJson
|
|
|
|
ClutterJson_@CLUTTER_API_VERSION_AM@_gir_VERSION = @CLUTTER_API_VERSION@
|
|
|
|
ClutterJson_@CLUTTER_API_VERSION_AM@_gir_LIBS = libclutter-json.la
|
|
|
|
ClutterJson_@CLUTTER_API_VERSION_AM@_gir_FILES = $(clutterjson_HEADERS) $(source_c)
|
|
|
|
ClutterJson_@CLUTTER_API_VERSION_AM@_gir_CFLAGS = $(INCLUDES) $(AM_CPPFLAGS)
|
|
|
|
ClutterJson_@CLUTTER_API_VERSION_AM@_gir_INCLUDES = GObject-2.0
|
|
|
|
ClutterJson_@CLUTTER_API_VERSION_AM@_gir_SCANNERFLAGS = \
|
|
|
|
--warn-all \
|
|
|
|
--identifier-prefix=Json \
|
|
|
|
--symbol-prefix=json
|
2009-02-20 14:39:51 +00:00
|
|
|
|
2010-09-03 10:09:57 +00:00
|
|
|
INTROSPECTION_GIRS += ClutterJson-@CLUTTER_API_VERSION@.gir
|
2009-02-20 14:39:51 +00:00
|
|
|
|
2010-09-03 10:09:57 +00:00
|
|
|
girdir = $(datadir)/gir-1.0
|
|
|
|
dist_gir_DATA = $(INTROSPECTION_GIRS)
|
2009-02-20 14:39:51 +00:00
|
|
|
|
|
|
|
endif
|