From 9052b52dfc69d9567e2e664b0f096bfae535bcad Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Fri, 10 May 2002 03:15:07 +0000 Subject: Fix Debian bug #144306: pass target-specific variables into the environment properly. Fix configure: allow cross-compilation; fix getloadavg (still needs _lots_ of work!) Let $(call ...) functions to be self-referencing. Lets us do transitive closures, for example. --- Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 770f803..c393a96 100644 --- a/Makefile.am +++ b/Makefile.am @@ -23,7 +23,7 @@ EXTRA_make_SOURCES = remote-stub.c remote-cstms.c noinst_HEADERS = commands.h dep.h filedef.h job.h make.h rule.h variable.h \ debug.h getopt.h gettext.h -make_LDADD = @LIBOBJS@ @ALLOCA@ $(GLOBLIB) +make_LDADD = @LIBOBJS@ @ALLOCA@ $(GLOBLIB) @GETLOADAVG_LIBS@ man_MANS = make.1 info_TEXINFOS = make.texinfo @@ -117,6 +117,7 @@ check-loadavg: loadavg noinst_PROGRAMS = loadavg loadavg_SOURCES = getloadavg.c loadavg_CFLAGS = -DTEST +loadavg_LDADD = @GETLOADAVG_LIBS@ # > check-regression # -- cgit v1.2.3