mirror of
https://github.com/brl/mutter.git
synced 2024-11-26 18:11:05 -05:00
2f54f8f0ea
--quiet has been added to g-ir-scanner in the 0.9.1 cycle. We really want to be able to compile clutter with 0.6.14 to be able to reuse gir files that are distributed in current distributions. Use the INTROSPECTION_SCANNER_ARGS (previously unused) variable to convey --quiet when necessary. Fixes: http://bugzilla.clutter-project.org/show_bug.cgi?id=2265
64 lines
1.6 KiB
Makefile
64 lines
1.6 KiB
Makefile
include $(top_srcdir)/build/autotools/Makefile.am.silent
|
|
|
|
source_c = \
|
|
$(srcdir)/json-array.c \
|
|
$(srcdir)/json-generator.c \
|
|
$(srcdir)/json-marshal.c \
|
|
$(srcdir)/json-node.c \
|
|
$(srcdir)/json-object.c \
|
|
$(srcdir)/json-parser.c
|
|
|
|
source_h = \
|
|
$(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
|
|
|
|
source_h_priv = \
|
|
$(top_srcdir)/clutter/json/json-types-private.h
|
|
|
|
noinst_LTLIBRARIES = libclutter-json.la
|
|
|
|
libclutter_json_la_SOURCES = $(source_c) $(source_h) $(source_h_priv)
|
|
libclutter_json_la_CPPFLAGS = $(CLUTTER_CFLAGS) $(CLUTTER_DEBUG_CFLAGS)
|
|
|
|
INCLUDES = \
|
|
-I$(top_srcdir) \
|
|
-DG_DISABLE_SINGLE_INCLUDES \
|
|
-DG_LOG_DOMAIN=\"Clutter-Json\" \
|
|
-DG_DISABLE_DEPRECATED \
|
|
-DJSON_COMPILATION
|
|
|
|
AM_CFLAGS = $(MAINTAINER_CFLAGS)
|
|
|
|
clutterjsondir = $(includedir)/clutter-@CLUTTER_API_VERSION@/clutter/json
|
|
clutterjson_HEADERS = $(source_h)
|
|
|
|
noinst_DATA =
|
|
CLEANFILES =
|
|
|
|
if HAVE_INTROSPECTION
|
|
BUILT_GIRSOURCES =
|
|
|
|
ClutterJson-@CLUTTER_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libclutter-json.la
|
|
$(QUIET_SCAN)$(INTROSPECTION_SCANNER) \
|
|
$(INTROSPECTION_SCANNER_ARGS) \
|
|
--namespace ClutterJson --nsversion=@CLUTTER_API_VERSION@ \
|
|
$(INCLUDES) \
|
|
--add-include-path=$(srcdir) --add-include-path=. \
|
|
--include=GObject-2.0 \
|
|
--library=libclutter-json.la \
|
|
--libtool="$(top_builddir)/libtool" \
|
|
--pkg gobject-2.0 \
|
|
--output $@ \
|
|
$(clutterjson_HEADERS) \
|
|
$(source_c)
|
|
|
|
BUILT_GIRSOURCES += ClutterJson-@CLUTTER_API_VERSION@.gir
|
|
|
|
noinst_DATA += $(BUILT_GIRSOURCES)
|
|
|
|
CLEANFILES += $(BUILT_GIRSOURCES)
|
|
endif
|