+include $(top_srcdir)/build/autotools/Makefile.am.silent
+
NULL =
SUBDIRS = build clutter tests po
NULL =
EXTRA_DIST = \
+ Makefile.am.silent \
dolt.m4 \
introspection.m4 \
gtk-doc.m4 \
--- /dev/null
+# custom rules for quiet builds
+
+if USE_SHAVE
+QUIET_GEN = $(Q:@=@echo ' GEN '$@;)
+QUIET_LN = $(Q:@=@echo ' LN '$@;)
+QUIET_RM = $(Q:@=@echo ' RM '$@;)
+else
+QUIET_GEN = $(AM_V_GEN)
+
+QUIET_LN = $(QUIET_LN_$(V))
+QUIET_LN_ = $(QUIET_LN_$(AM_DEFAULT_VERBOSITY))
+QUIET_LN_0 = @echo ' LN '$@;
+
+QUIET_RM = $(QUIET_RM_$(V))
+QUIET_RM_ = $(QUIET_RM_$(AM_DEFAULT_VERBOSITY))
+QUIET_RM_0 = @echo ' RM '$@;
+endif # USE_SHAVE
-NULL =
+include $(top_srcdir)/build/autotools/Makefile.am.silent
-if USE_SHAVE
-QUIET_GEN = $(Q:@=@echo ' GEN '$@;)
-else
-QUIET_GEN = $(AM_V_GEN)
-endif # USE_SHAVE
+NULL =
SUBDIRS = cogl pango $(backendextra) $(clutterbackend)
# subdir Makefile.am, so just extract them from cogl.h instead. The doc
# comments for COGL are in the headers, so we don't need the source files.
Clutter-@CLUTTER_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libclutter-@CLUTTER_FLAVOUR@-@CLUTTER_API_VERSION@.la
- $(INTROSPECTION_SCANNER) -v \
+ $(QUIET_GEN)$(INTROSPECTION_SCANNER) -v \
--namespace Clutter --nsversion=@CLUTTER_API_VERSION@ \
$(INCLUDES) \
--add-include-path=cogl \
# that we compile and install, we transfer the shared-library="" line from
# Clutter.gir to Cogl.gir
Cogl-@CLUTTER_API_VERSION@.gir: Clutter-@CLUTTER_API_VERSION@.gir cogl/Cogl-@CLUTTER_API_VERSION@.gir
+ $(QUIET_GEN) \
shlib=`sed -n 's/.*shared-library="\([^"]*\)".*/\1/p' < Clutter-@CLUTTER_API_VERSION@.gir` ; \
sed "s/shared-library=\"[^\"]*\"/shared-library=\"$$shlib\"/"< cogl/Cogl-@CLUTTER_API_VERSION@.gir > $@
# If we are building it, ClutterJson gets the same handling as described
# for Cogl above
ClutterJson-@CLUTTER_API_VERSION@.gir: Clutter-@CLUTTER_API_VERSION@.gir json/ClutterJson-@CLUTTER_API_VERSION@.gir
+ $(QUIET_GEN) \
shlib=`sed -n 's/.*shared-library="\([^"]*\)".*/\1/p' < Clutter-@CLUTTER_API_VERSION@.gir` ; \
sed "s/shared-library=\"[^\"]*\"/shared-library=\"$$shlib\"/"< json/ClutterJson-@CLUTTER_API_VERSION@.gir > $@
-NULL =
+include $(top_srcdir)/build/autotools/Makefile.am.silent
-if USE_SHAVE
-QUIET_GEN = $(Q:@=@echo ' GEN '$@;)
-else
-QUIET_GEN = $(AM_V_GEN)
-endif # USE_SHAVE
+NULL =
SUBDIRS = common $(CLUTTER_COGL)
-NULL =
+include $(top_srcdir)/build/autotools/Makefile.am.silent
-if USE_SHAVE
-QUIET_GEN = $(Q:@=@echo ' GEN '$@;)
-else
-QUIET_GEN = $(AM_V_GEN)
-endif # USE_SHAVE
+NULL =
INCLUDES = \
-I$(top_srcdir) \
+include $(top_srcdir)/build/autotools/Makefile.am.silent
+
NULL =
cogl_headers = \
+include $(top_srcdir)/build/autotools/Makefile.am.silent
+
libclutterincludedir = $(includedir)/clutter-@CLUTTER_API_VERSION@/cogl
libclutterinclude_HEADERS = \
$(top_builddir)/clutter/cogl/cogl.h \
+include $(top_srcdir)/build/autotools/Makefile.am.silent
+
libclutter_glx_includedir = $(includedir)/clutter-@CLUTTER_API_VERSION@/clutter/glx
libclutter_glx_include_HEADERS = clutter-glx.h clutter-glx-texture-pixmap.h
+include $(top_srcdir)/build/autotools/Makefile.am.silent
+
source_c = \
cogl-pango-display-list.c \
cogl-pango-fontmap.c \
+include $(top_srcdir)/build/autotools/Makefile.am.silent
+
INCLUDES = \
-DG_LOG_DOMAIN=\"ClutterX11\" \
-DCLUTTER_COMPILATION \
+include $(top_srcdir)/build/autotools/Makefile.am.silent
+
NULL =
noinst_PROGRAMS = test-conformance
@for i in $(UNIT_TESTS); \
do \
unit=`basename $$i | sed -e s/_/-/g`; \
- echo " GEN $$unit"; \
+ echo " GEN $$unit"; \
( echo "#!/bin/sh" ; echo "$(top_srcdir)/tests/conform/test-launcher.sh '$$i'" ) > $$unit$(EXEEXT) ; \
chmod +x $$unit$(EXEEXT); \
done \
@for i in $(UNIT_TESTS); \
do \
unit=`basename $$i | sed -e s/_/-/g`; \
- echo "RM $$unit"; \
+ echo " RM $$unit"; \
rm -f $$unit$(EXEEXT) ; \
done \
&& rm -f stamp-test-conformance
# we override the clean-generic target to clean up the wrappers so
# we cannot use CLEANFILES
clean-generic: clean-wrappers
- rm -f $(XML_REPORTS) $(HTML_REPORTS)
+ $(QUIET_RM)rm -f $(XML_REPORTS) $(HTML_REPORTS)
-
EXTRA_DIST = \
redhand.png \
redhand_alpha.png \
+include $(top_srcdir)/build/autotools/Makefile.am.silent
UNIT_TESTS = \
test-textures.c \
#FIXME - this is is a bit of a yukky way of ensuring the tests find our data:
test-script.json:
- ln -sf $(top_srcdir)/tests/data/test-script.json
+ $(QUIET_LN)ln -sf $(top_srcdir)/tests/data/test-script.json
redhand.png:
- ln -sf $(top_srcdir)/tests/data/redhand.png
+ $(QUIET_LN)ln -sf $(top_srcdir)/tests/data/redhand.png
redhand_alpha.png:
- ln -sf $(top_srcdir)/tests/data/redhand_alpha.png
+ $(QUIET_LN)ln -sf $(top_srcdir)/tests/data/redhand_alpha.png
light0.png:
- ln -sf $(top_srcdir)/tests/data/light0.png
+ $(QUIET_LN)ln -sf $(top_srcdir)/tests/data/light0.png
# For convenience, this provides a way to easily run individual unit tests:
.PHONY: wrappers
wrappers: test-interactive$(EXEEXT)
- for i in $(UNIT_TESTS); \
+ $(QUIET_GEN)for i in $(UNIT_TESTS); \
do \
ln -sf $(top_srcdir)/tests/interactive/wrapper.sh $${i%*.c}; \
done
+include $(top_srcdir)/build/autotools/Makefile.am.silent
+
noinst_PROGRAMS = \
test-text \
test-picking \
+include $(top_srcdir)/build/autotools/Makefile.am.silent
+
noinst_LTLIBRARIES =
build_shared_libs =
all-local : disable-npots.sh $(build_shared_libs)
clean-local :
- rm -f disable-npots.sh libdisable-npots.la
+ $(QUIET_RM)rm -f disable-npots.sh libdisable-npots.la
disable-npots.sh : $(top_builddir)/tests/tools/disable-npots.sh.in
- sed 's|--builddir--|'`cd '$(top_builddir)' && pwd`'|' < $< > $@ && \
- chmod 755 disable-npots.sh
+ $(QUIET_GEN) \
+ sed 's|--builddir--|'`cd '$(top_builddir)' && pwd`'|' < $< > $@ \
+ && chmod 755 disable-npots.sh
# Also put the static library into a shared library. We need to do
# this without the automake magic because we don't want it to get