Subject: Re: libhack strangeness
To: abs <abs@mono.org>
From: Patrick Welche <prlw1@newn.cam.ac.uk>
List: current-users
Date: 09/22/1999 20:48:48
David/abs wrote:
>
> Could it be some strange fallout of make changes?
> Have you rebuilt 'make'?
Yup - built on 21 September source, last changes seem to be 16 Sep..
I'm still trying to get my first cvs checkout, so haven't got as far
as /usr/share/mk, but they would be current of 21st too..
Cheers,
Patrick
> On Wed, 22 Sep 1999, Patrick Welche wrote:
>
> > For some strange reason, when building src/distrib/utils/libhack,
> >
> > SRCS= getcap.c getgrent.c gethost.c getnet.c getnetgr.c getpwent.c \
> > localeconv.c perror.c setlocale.c \
> > strerror.c strsignal.c utmp.c yplib.c
> > .ifndef NOLIBHACKOPENDIR
> > SRCS+= opendir.c
> > .endif
> >
> > libhack.o : $(OBJS)
> > $(LD) -r -o $@ $(OBJS)
> >
> > seems to be expanded as
> >
> > ld -r -o libhack.o getcap.o getgrent.o gethost.o getnet.o getnetgr.o getpwent.o localeconv.o perror.o setlocale.o strerror.o strsignal.o utmp.o yplib.o opendir.o getcap.o getgrent.o gethost.o getnet.o getnetgr.o getpwent.o localeconv.o perror.o setlocale.o strerror.o strsignal.o utmp.o yplib.o opendir.o
> >
> > ie., I get $(OBJS) twice...