diff options
Diffstat (limited to 'src/Makefile.in')
-rw-r--r-- | src/Makefile.in | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/Makefile.in b/src/Makefile.in index 37f6b0579..35d2c7696 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -209,10 +209,12 @@ printf_LDADD = $(LDADD) @POW_LIB@ @LIBICONV@ seq_LDADD = $(LDADD) @SEQ_LIBM@ # If necessary, add -lm to resolve the `pow' reference in lib/strtod.c -# or for the fesetround reference in sleep.c. -sleep_LDADD = $(LDADD) @FESETROUND_LIBM@ @POW_LIB@ \ - @LIB_CLOCK_GETTIME@ @LIB_NANOSLEEP@ +# or for the fesetround reference in programs using nanosec.c. +nanosec_libs = \ + $(LDADD) @FESETROUND_LIBM@ @POW_LIB@ @LIB_CLOCK_GETTIME@ @LIB_NANOSLEEP@ +sleep_LDADD = $(nanosec_libs) +tail_LDADD = $(nanosec_libs) uptime_LDADD = $(LDADD) @GETLOADAVG_LIBS@ @@ -621,7 +623,6 @@ tac_DEPENDENCIES = ../lib/libfetish.a ../lib/libfetish.a tac_LDFLAGS = tail_SOURCES = tail.c tail_OBJECTS = tail$U.$(OBJEXT) -tail_LDADD = $(LDADD) tail_DEPENDENCIES = ../lib/libfetish.a ../lib/libfetish.a tail_LDFLAGS = tee_SOURCES = tee.c @@ -820,7 +821,7 @@ uninstall-binPROGRAMS: done clean-binPROGRAMS: - -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) + -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) > /dev/null 2>&1 || /bin/rm -f $(bin_PROGRAMS) installcheck-binPROGRAMS: $(bin_PROGRAMS) bad=0; pid=$$$$; list="$(bin_PROGRAMS)"; for p in $$list; do \ |