Home | History | Annotate | Line # | Download | only in libhack
Makefile.inc revision 1.4
      1  1.4  gwr # $NetBSD: Makefile.inc,v 1.4 1997/12/12 03:36:38 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.4  gwr HACKOBJS= getgrent.o gethost.o getnet.o getnetgr.o getpwent.o \
      7  1.3  jtc 	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.4  gwr 
     13  1.4  gwr getgrent.o : ${HACKSRC}/getgrent.c
     14  1.4  gwr 	$(CC) -c ${HACKSRC}/getgrent.c
     15  1.4  gwr 
     16  1.1  gwr gethost.o : ${HACKSRC}/gethost.c
     17  1.1  gwr 	$(CC) -c ${HACKSRC}/gethost.c
     18  1.1  gwr 
     19  1.4  gwr getnet.o : ${HACKSRC}/getnet.c
     20  1.4  gwr 	$(CC) -c ${HACKSRC}/getnet.c
     21  1.1  gwr 
     22  1.1  gwr getnetgr.o : ${HACKSRC}/getnetgr.c
     23  1.1  gwr 	$(CC) -c ${HACKSRC}/getnetgr.c
     24  1.4  gwr 
     25  1.4  gwr getpwent.o : ${HACKSRC}/getpwent.c
     26  1.4  gwr 	$(CC) -c ${HACKSRC}/getpwent.c
     27  1.3  jtc 
     28  1.3  jtc setlocale.o : ${HACKSRC}/setlocale.c
     29  1.3  jtc 	$(CC) -c ${HACKSRC}/setlocale.c
     30  1.2  gwr 
     31  1.2  gwr yplib.o : ${HACKSRC}/yplib.c
     32  1.2  gwr 	$(CC) -c ${HACKSRC}/yplib.c
     33  1.2  gwr 
     34