$NetBSD: patch-ah,v 1.4 1999/05/01 18:35:22 tron Exp $ --- config/Makefile.in.orig Fri Mar 22 05:29:54 1996 +++ config/Makefile.in Sat May 1 20:27:07 1999 @@ -18,8 +18,8 @@ # Standard bsd install rules look for the "install" program, rather than # using some variable. So, hack things so that that install rule works. -BINGRP != echo " " `groups` " " | sed 's/ [0-9][0-9]* / /g' | awk '{print $$1}' -BINOWN != echo $${USER} +#BINGRP != echo " " `groups` " " | sed 's/ [0-9][0-9]* / /g' | awk '{print $$1}' +#BINOWN != echo $${USER} LIBMODE = 644 # so ranlib can run! .include "config.flags" @@ -29,7 +29,7 @@ # pathname for srcdir here, and live with it. srcdir = $(srctop) -beforeinstall:: install-dirs +beforeinstall: install-dirs .include "${srcdir}/pthreads/Makefile.inc" .include "${srcdir}/stdlib/Makefile.inc" @@ -40,6 +40,12 @@ .include "${srcdir}/scripts/Makefile.inc" .include + +.ifdef OBJECT_FMT +.if (${OBJECT_FMT} == "a.out") +SHLIB_LDSTARTFILE = /usr/lib/c++rt0.o +.endif +.endif $(OBJS) : $(config) $(types) $(paths)