[PATCH] allowing silent rules in build
Reuben Hawkins
reubenhwk at gmail.com
Fri Feb 18 00:26:59 EST 2011
modified: configure.in
modified: lib/Makefile.am
---
configure.in | 1 +
lib/Makefile.am | 4 ++--
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/configure.in b/configure.in
index 18d2716..b333d33 100644
--- a/configure.in
+++ b/configure.in
@@ -13,6 +13,7 @@ AC_INIT(libnl, 2.0, tgraf at suug.ch)
AC_CONFIG_HEADERS([lib/defs.h])
AC_CONFIG_MACRO_DIR([m4])
AM_INIT_AUTOMAKE([-Wall foreign subdir-objects])
+m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES(yes)], [])
AC_PROG_CC
AM_PROG_CC_C_O
diff --git a/lib/Makefile.am b/lib/Makefile.am
index 92a916e..800d479 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -30,10 +30,10 @@ CLEANFILES = \
# Hack to avoid using ylwrap. It does not function correctly in combination
# with --header-file=
route/pktloc_grammar.c: route/pktloc_grammar.l
- $(LEX) --header-file=route/pktloc_grammar.h $(LFLAGS) -o $@ $^
+ $(AM_V_GEN) $(LEX) --header-file=route/pktloc_grammar.h $(LFLAGS) -o $@ $^
route/pktloc_syntax.c: route/pktloc_syntax.y
- $(YACC) -d $(YFLAGS) -o $@ $^
+ $(AM_V_GEN) $(YACC) -d $(YFLAGS) -o $@ $^
libnl_route_la_LDFLAGS = -version-info 2:0:0
libnl_route_la_LIBADD = libnl.la
--
1.7.0.4
--------------010206020104020100040800--
More information about the libnl
mailing list