Home | History | Annotate | Line # | Download | only in libhack
Makefile.inc revision 1.9
      1 # $NetBSD: Makefile.inc,v 1.9 1999/06/30 22:21:57 fvdl 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 	localeconv.o perror.o setlocale.o \
      8 	strerror.o strsignal.o utmp.o yplib.o
      9 .ifndef NOLIBHACKOPENDIR
     10 HACKOBJS+= opendir.o
     11 .endif
     12 
     13 libhack.o : $(HACKOBJS)
     14 	$(LD) -r -o $@ $(HACKOBJS)
     15 
     16 # XXX .PATH won't work here, because of crunchgen used in the i386 build
     17 
     18 getcap.o: ${HACKSRC}/getcap.c
     19 getgrent.o: ${HACKSRC}/getgrent.c
     20 gethost.o: ${HACKSRC}/gethost.c
     21 getnet.o: ${HACKSRC}/getnet.c
     22 getnetgr.o: ${HACKSRC}/getnetgr.c
     23 getpwent.o: ${HACKSRC}/getpwent.c
     24 localeconv.o: ${HACKSRC}/localeconv.c
     25 perror.o: ${HACKSRC}/perror.c
     26 setlocale.o: ${HACKSRC}/setlocale.c
     27 strerror.o: ${HACKSRC}/strerror.c
     28 strsignal.o: ${HACKSRC}/strsignal.c
     29 utmp.o: ${HACKSRC}/utmp.c
     30 yplib.o: ${HACKSRC}/yplib.c
     31 opendir.o: ${HACKSRC}/opendir.c
     32