From 7ac98b8adec22a5ea7a8fc2f3593aab088583d0c Mon Sep 17 00:00:00 2001 From: Enrico Scholz Date: Thu, 17 Jun 2004 21:31:09 +0000 Subject: [PATCH] added silent.% target include ensc_fmt/ and vserver-start/ files minor cosmetical fixes git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@1587 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- util-vserver/Makefile.am | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/util-vserver/Makefile.am b/util-vserver/Makefile.am index f2d1742..5a20d15 100644 --- a/util-vserver/Makefile.am +++ b/util-vserver/Makefile.am @@ -80,7 +80,8 @@ TESTS = TESTS_ENVIRONMENT = -AM_CPPFLAGS = -I $(top_srcdir)/lib -I $(top_srcdir)/ensc_wrappers -D _GNU_SOURCE $(RELEASE_CPPFLAGS) +AM_CPPFLAGS = -I $(top_srcdir)/lib -I $(top_srcdir)/ensc_wrappers \ + -D_GNU_SOURCE -D_REENTRANT $(RELEASE_CPPFLAGS) CLEANFILES = $(BUILT_SOURCES) \ .*.pathsubst.stamp */.*.pathsubst.stamp */*/.*.pathsubst.stamp \ @@ -112,6 +113,15 @@ endif VSERVER_LDADDS = lib/libvserver.la $(DIET_COMPAT_LDADDS) +silent.%: FORCE + @t=$$(mktemp /tmp/build.XXXXXX) && \ + $(MAKE) '$*' -s 2>$$t >/dev/null && \ + ( cat $$t | \ + grep -v ': In function' | \ + grep -v 'your code still has assertions enabled' | \ + grep -v ' is obsoleted' | \ + grep -v 'warning: #warning'; \ + rm -f $$t || : ) linuxcaps.h: ${kernelincludedir}/linux/capability.h Makefile @rm -f $@ @@ -248,9 +258,13 @@ include $(top_srcdir)/sysv/Makefile-files include $(top_srcdir)/contrib/Makefile-files include $(top_srcdir)/ensc_vector/Makefile-files include $(top_srcdir)/ensc_wrappers/Makefile-files +include $(top_srcdir)/ensc_fmt/Makefile-files include $(top_srcdir)/lib_internal/Makefile-files +include $(top_srcdir)/vserver-start/Makefile-files include $(top_srcdir)/m4/gpgsig.am include $(top_srcdir)/m4/validate.am include $(top_srcdir)/m4/changelog.am include $(top_srcdir)/m4/pkgconfig.am + +.PHONY: FORCE -- 1.8.1.5