Home | History | Annotate | Line # | Download | only in libhack
Makefile.inc revision 1.6
      1 # $NetBSD: Makefile.inc,v 1.6 1999/05/06 18:48:23 wrstuden 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= getcap.o 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 getcap.o : ${HACKSRC}/getcap.c
     13 
     14 getgrent.o : ${HACKSRC}/getgrent.c
     15 
     16 gethost.o : ${HACKSRC}/gethost.c
     17 
     18 getnet.o : ${HACKSRC}/getnet.c
     19 
     20 getnetgr.o : ${HACKSRC}/getnetgr.c
     21 
     22 getpwent.o : ${HACKSRC}/getpwent.c
     23 
     24 setlocale.o : ${HACKSRC}/setlocale.c
     25 
     26 yplib.o : ${HACKSRC}/yplib.c
     27 
     28