datarootdir = @datarootdir@
datadir = @datadir@
+include $(srcdir)/../silent-rules.mk
+
SHELL = @SHELL@
LN_S = @LN_S@
all: stamp-syscalls stamp-python stamp-guile stamp-system-gdbinit
%.xml: @MAINTAINER_MODE_TRUE@ %.xml.in apply-defaults.xsl linux-defaults.xml.in
- $(XSLTPROC) -o $(SYSCALLS_SRCDIR)/$@ $(SYSCALLS_SRCDIR)/apply-defaults.xsl\
+ $(ECHO_GEN) $(XSLTPROC) -o $(SYSCALLS_SRCDIR)/$@ $(SYSCALLS_SRCDIR)/apply-defaults.xsl \
$(SYSCALLS_SRCDIR)/$@.in
.PHONY: syscall-xml
# For portability's sake, we need to handle systems that don't have
# symbolic links.
stamp-syscalls: Makefile $(SYSCALLS_FILES)
- rm -rf ./$(SYSCALLS_DIR)
- mkdir ./$(SYSCALLS_DIR)
- files='$(SYSCALLS_FILES)' ; \
+ $(ECHO_GEN)
+ $(SILENCE) rm -rf ./$(SYSCALLS_DIR)
+ $(SILENCE) mkdir ./$(SYSCALLS_DIR)
+ $(SILENCE) files='$(SYSCALLS_FILES)' ; \
for file in $$files ; do \
f=$(SYSCALLS_SRCDIR)/$$file ; \
if test -f $$f ; then \
$(INSTALL_DATA) $$f ./$(SYSCALLS_DIR) ; \
fi ; \
done
- touch $@
+ $(SILENCE) touch $@
.PHONY: clean-syscalls
clean-syscalls:
done
stamp-python: Makefile $(PYTHON_FILES)
- rm -rf ./$(PYTHON_DIR)
- files='$(PYTHON_FILES)' ; \
+ $(ECHO_GEN)
+ $(SILENCE) rm -rf ./$(PYTHON_DIR)
+ $(SILENCE) files='$(PYTHON_FILES)' ; \
if test "x$$files" != x ; then \
for file in $$files ; do \
dir=`echo "$$file" | sed 's,/[^/]*$$,,'` ; \
$(INSTALL_DATA) $(PYTHON_SRCDIR)/$$file ./$(PYTHON_DIR)/$$dir ; \
done ; \
fi
- touch $@
+ $(SILENCE) touch $@
.PHONY: clean-python
clean-python:
fi
stamp-guile: Makefile $(GUILE_SOURCE_FILES)
- rm -rf ./$(GUILE_DIR)
- if test "x$(GUILE_FILES)" != x ; then \
+ $(ECHO_GEN)
+ $(SILENCE) rm -rf ./$(GUILE_DIR)
+ $(SILENCE) if test "x$(GUILE_FILES)" != x ; then \
files='$(GUILE_SOURCE_FILES)' ; \
for file in $$files ; do \
dir=`echo "$$file" | sed 's,/[^/]*$$,,'` ; \
cd ./$(GUILE_DIR) ; \
for go in $$files ; do \
source="`echo $$go | sed 's/\.go$$/.scm/'`" ; \
- echo $(GUILD) compile $(GUILD_COMPILE_FLAGS) -o "$$go" "$$source" ; \
+ $(SILENT_ECHO) $(GUILD) compile $(GUILD_COMPILE_FLAGS) -o "$$go" "$$source" ; \
$(GUILD) compile $(GUILD_COMPILE_FLAGS) -o "$$go" "$$source" || exit 1 ; \
done ; \
fi
- touch $@
+ $(SILENCE) touch $@
.PHONY: clean-guile
clean-guile:
fi
stamp-system-gdbinit: Makefile $(SYSTEM_GDBINIT_FILES)
- rm -rf ./$(SYSTEM_GDBINIT_DIR)
- mkdir ./$(SYSTEM_GDBINIT_DIR)
- files='$(SYSTEM_GDBINIT_FILES)' ; \
+ $(ECHO_GEN)
+ $(SILENCE) rm -rf ./$(SYSTEM_GDBINIT_DIR)
+ $(SILENCE) mkdir ./$(SYSTEM_GDBINIT_DIR)
+ $(SILENCE) files='$(SYSTEM_GDBINIT_FILES)' ; \
for file in $$files ; do \
f=$(SYSTEM_GDBINIT_SRCDIR)/$$file ; \
if test -f $$f ; then \
$(INSTALL_DATA) $$f ./$(SYSTEM_GDBINIT_DIR) ; \
fi ; \
done
- touch $@
+ $(SILENCE) touch $@
.PHONY: clean-system-gdbinit
clean-system-gdbinit:
MAKEOVERRIDES=
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
- cd .. && $(SHELL) ./config.status data-directory/Makefile
+ $(ECHO_GEN) cd .. && $(SHELL) ./config.status $(SILENT_FLAG) data-directory/Makefile
# Disable implicit make rules.
include $(srcdir)/../disable-implicit-rules.mk