diff options
| author | Russ Allbery <rra@stanford.edu> | 2010-02-09 19:43:15 -0800 | 
|---|---|---|
| committer | Russ Allbery <rra@stanford.edu> | 2010-02-09 19:43:15 -0800 | 
| commit | 77d967fb11a4e63967ad1e80929b7096f9d58c05 (patch) | |
| tree | c2146b703e67f4fae4547666dfecc0f151515636 | |
| parent | 31c47c6f5efde6df930b11be281470f75e685324 (diff) | |
Enable silent rule support and use it for make warnings
| -rw-r--r-- | Makefile.am | 4 | ||||
| -rw-r--r-- | README | 13 | ||||
| -rw-r--r-- | configure.ac | 2 | 
3 files changed, 12 insertions, 7 deletions
diff --git a/Makefile.am b/Makefile.am index 056229b..77514a7 100644 --- a/Makefile.am +++ b/Makefile.am @@ -70,8 +70,8 @@ WARNINGS = -g -O -DDEBUG=1 -Wall -W -Wendif-labels -Wpointer-arith \  	-Wmissing-prototypes -Wnested-externs -Werror  warnings: -	$(MAKE) CFLAGS='$(WARNINGS)' -	$(MAKE) CFLAGS='$(WARNINGS)' $(check_PROGRAMS) +	$(MAKE) V=0 CFLAGS='$(WARNINGS)' +	$(MAKE) V=0 CFLAGS='$(WARNINGS)' $(check_PROGRAMS)  # Remove some additional files.  DISTCLEANFILES = perl/Makefile @@ -127,10 +127,11 @@ REQUIREMENTS    srvtab with ADMIN access to a test AFS kaserver, and some additional    configuration. -  If you change the Automake files and need to regenerate Makefile.in, you -  will need Automake 1.10 or later.  If you change configure.ac or any of -  the m4 files it includes and need to regenerate configure or -  config.h.in, you will need Autoconf 2.61 or later. +  To bootstrap from a Git checkout, or if you change the Automake files +  and need to regenerate Makefile.in, you will need Automake 1.11 or +  later.  For bootstrap or if you change configure.ac or any of the m4 +  files it includes and need to regenerate configure or config.h.in, you +  will need Autoconf 2.64 or later.  BUILD AND INSTALLATION @@ -140,6 +141,10 @@ BUILD AND INSTALLATION        make        make install +  Pass --enable-silent-rules to configure for a quieter build (similar to +  the Linux kernel).  Use make warnings instead of make to build with full +  GCC compiler warnings (requires a relatively current version of GCC). +    The last step will probably have to be done as root.  Currently, this    always installs both the client and the server. diff --git a/configure.ac b/configure.ac index 0330aa9..0597859 100644 --- a/configure.ac +++ b/configure.ac @@ -13,7 +13,7 @@ AC_INIT([wallet], [0.9], [rra@stanford.edu])  AC_CONFIG_AUX_DIR([build-aux])  AC_CONFIG_LIBOBJ_DIR([portable])  AC_CONFIG_MACRO_DIR([m4]) -AM_INIT_AUTOMAKE([1.11 check-news]) +AM_INIT_AUTOMAKE([1.11 check-news silent-rules])  AM_MAINTAINER_MODE  AC_PROG_CC  | 
