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