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