Home | History | Annotate | Line # | Download | only in libhack
Makefile.inc revision 1.1.1.1
      1  1.1  gwr # $NetBSD: Makefile.inc,v 1.1.1.1 1995/10/08 23:08:48 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.1  gwr HACKOBJS= gethost.o getpwent.o getgrent.o getnetgr.o
      7  1.1  gwr 
      8  1.1  gwr libhack.o : $(HACKOBJS)
      9  1.1  gwr 	$(LD) -r -o $@ $(HACKOBJS)
     10  1.1  gwr 
     11  1.1  gwr gethost.o : ${HACKSRC}/gethost.c
     12  1.1  gwr 	$(CC) -c ${HACKSRC}/gethost.c
     13  1.1  gwr 
     14  1.1  gwr getpwent.o : ${HACKSRC}/getpwent.c
     15  1.1  gwr 	$(CC) -c ${HACKSRC}/getpwent.c
     16  1.1  gwr 
     17  1.1  gwr getgrent.o : ${HACKSRC}/getgrent.c
     18  1.1  gwr 	$(CC) -c ${HACKSRC}/getgrent.c
     19  1.1  gwr 
     20  1.1  gwr getnetgr.o : ${HACKSRC}/getnetgr.c
     21  1.1  gwr 	$(CC) -c ${HACKSRC}/getnetgr.c
     22