1 1.2.6.1 gwr # $NetBSD: Makefile.inc,v 1.2.6.1 1996/09/13 20:01:57 gwr Exp $ 2 1.1 gwr # Include this fragment to build libhack.o 3 1.1 gwr # It is .o and not .a to make sure these are the 4 1.1 gwr # objects you get (and not the ones in libc.a) 5 1.1 gwr 6 1.2.6.1 gwr HACKOBJS= gethost.o getpwent.o getgrent.o getnetgr.o \ 7 1.2.6.1 gwr setlocale.o yplib.o 8 1.1 gwr 9 1.1 gwr libhack.o : $(HACKOBJS) 10 1.1 gwr $(LD) -r -o $@ $(HACKOBJS) 11 1.1 gwr 12 1.1 gwr gethost.o : ${HACKSRC}/gethost.c 13 1.1 gwr $(CC) -c ${HACKSRC}/gethost.c 14 1.1 gwr 15 1.1 gwr getpwent.o : ${HACKSRC}/getpwent.c 16 1.1 gwr $(CC) -c ${HACKSRC}/getpwent.c 17 1.1 gwr 18 1.1 gwr getgrent.o : ${HACKSRC}/getgrent.c 19 1.1 gwr $(CC) -c ${HACKSRC}/getgrent.c 20 1.1 gwr 21 1.1 gwr getnetgr.o : ${HACKSRC}/getnetgr.c 22 1.1 gwr $(CC) -c ${HACKSRC}/getnetgr.c 23 1.2.6.1 gwr 24 1.2.6.1 gwr setlocale.o : ${HACKSRC}/setlocale.c 25 1.2.6.1 gwr $(CC) -c ${HACKSRC}/setlocale.c 26 1.2 gwr 27 1.2 gwr yplib.o : ${HACKSRC}/yplib.c 28 1.2 gwr $(CC) -c ${HACKSRC}/yplib.c 29 1.2 gwr 30