diff options
author | Marc Espie <espie@cvs.openbsd.org> | 1999-09-30 12:10:57 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 1999-09-30 12:10:57 +0000 |
commit | 82700fa896c7067cca8013f265fc24717b846621 (patch) | |
tree | 8aac06ed61725becef1d4a1cc59a54a800665010 /gnu | |
parent | 5756ea2552cc9ebe1d0757f4186a4ead8cab439c (diff) |
In the construct
VAR!=cat file
make warns if file exists, but is empty
(couldn't read shell output, or such bullshit)
Weird, as everything actually went right.
As I don't want to change that behavior so close to release, and since
the needed-list may again be needed in the future, the line
VAR!=cat file && echo
is used instead. make will happily get a new line to eat, that it will
strip right away => no more warning.
Go figure.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/egcs/libiberty/Makefile.bsd-wrapper | 4 | ||||
-rw-r--r-- | gnu/egcs/libstdc++/Makefile.bsd-wrapper | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/gnu/egcs/libiberty/Makefile.bsd-wrapper b/gnu/egcs/libiberty/Makefile.bsd-wrapper index 8f546f7297f..fda9e6eacac 100644 --- a/gnu/egcs/libiberty/Makefile.bsd-wrapper +++ b/gnu/egcs/libiberty/Makefile.bsd-wrapper @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.bsd-wrapper,v 1.3 1999/06/01 09:15:13 espie Exp $ +# $OpenBSD: Makefile.bsd-wrapper,v 1.4 1999/09/30 12:10:56 espie Exp $ LIB= iberty CPPFLAGS+= -I$(.CURDIR) -I$(.CURDIR)/../include -I$(.OBJDIR) @@ -13,7 +13,7 @@ PREREQ!= test ! -f $(.OBJDIR)/needed-list && \ (cd $(.CURDIR); \ $(MAKE) -f Makefile.bsd-wrapper1 needed-list); \ echo 'Prerequistes made' -HOST_FILES!= cat $(.OBJDIR)/needed-list +HOST_FILES!= cat $(.OBJDIR)/needed-list && echo .endif SRCS= argv.c choose-temp.c concat.c cplus-dem.c \ diff --git a/gnu/egcs/libstdc++/Makefile.bsd-wrapper b/gnu/egcs/libstdc++/Makefile.bsd-wrapper index 256049412d3..cb1a42323ae 100644 --- a/gnu/egcs/libstdc++/Makefile.bsd-wrapper +++ b/gnu/egcs/libstdc++/Makefile.bsd-wrapper @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.bsd-wrapper,v 1.4 1999/07/18 18:19:17 espie Exp $ +# $OpenBSD: Makefile.bsd-wrapper,v 1.5 1999/09/30 12:10:55 espie Exp $ IO_DIR= $(.CURDIR)/../libio LIBIBERTY_DIR= $(.CURDIR)/../libiberty @@ -50,7 +50,7 @@ PREREQ!= test ! -f $(IO_OBJDIR)/iostream.list && \ IO_OBJS!= cat $(IO_OBJDIR)/iostream.list QIO_OBJS= $(IO_OBJS:S/^/$(IO_OBJDIR)\//g) -LIBIBERTY_SRCS!=cat $(LIBIBERTY_OBJDIR)/needed-list +LIBIBERTY_SRCS!=cat $(LIBIBERTY_OBJDIR)/needed-list && echo LIBIBERTY_OBJS=$(LIBIBERTY_SRCS:N*.h:S/.c$/.o/g) # XXX why does strerror.o need to be hardwired? LIBIBERTY_OBJS+=strerror.o |