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