From 3a8a7a5d00c7052c46cef2342792d6a0829db897 Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Mon, 22 Apr 2002 02:11:31 +0000 Subject: Updates and fixes for CVS builds. Created a README.cvs describing the procedure. --- Makefile.am | 25 +++++++------------------ 1 file changed, 7 insertions(+), 18 deletions(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 753ca9b..dfd6929 100644 --- a/Makefile.am +++ b/Makefile.am @@ -32,6 +32,7 @@ DEFS = -DLOCALEDIR=\"$(localedir)\" -DLIBDIR=\"$(libdir)\" -DINCLUDEDIR=\"$(inc AM_CPPFLAGS = $(GLOBINC) + EXTRA_DIST = build.sh.in $(man_MANS)\ README.customs\ make-stds.texi SCOPTIONS SMakefile\ @@ -41,10 +42,6 @@ EXTRA_DIST = build.sh.in $(man_MANS)\ readme.vms makefile.vms makefile.com config.h-vms \ vmsdir.h vmsfunctions.c vmsify.c - -MOSTLYCLEANFILES = loadavg.c -CLEANFILES = loadavg - MAKE_HOST = @MAKE_HOST@ @@ -105,25 +102,17 @@ check-local: check-regression check-loadavg .PHONY: check-loadavg check-regression -# > check-loadavg -# -loadavg: loadavg.c config.h - @rm -f loadavg - $(LINK) -DTEST $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(make_LDFLAGS) loadavg.c $(LIBS) - -# We copy getloadavg.c into a different file rather than compiling it -# directly because some compilers clobber getloadavg.o in the process. -# -loadavg.c: getloadavg.c - ln $(srcdir)/getloadavg.c loadavg.c || \ - cp $(srcdir)/getloadavg.c loadavg.c - check-loadavg: loadavg @echo The system uptime program believes the load average to be: -uptime - @echo The GNU load average checking code believes: + @echo The GNU load average checking code thinks: -./loadavg +# The loadavg function is invoked during "make check" to test getloadavg. +noinst_PROGRAMS = loadavg +loadavg_SOURCES = getloadavg.c +loadavg_CFLAGS = -DTEST + # > check-regression # # Look for the make test suite, and run it if found and we can find perl. -- cgit v1.2.3