1 1.5.2.2 perry # $NetBSD: Makefile.inc,v 1.5.2.2 1999/07/01 19:39:50 perry 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.5.2.2 perry localeconv.o perror.o setlocale.o \ 8 1.5.2.1 perry strerror.o strsignal.o utmp.o yplib.o 9 1.5.2.2 perry .ifndef NOLIBHACKOPENDIR 10 1.5.2.2 perry HACKOBJS+= opendir.o 11 1.5.2.2 perry .endif 12 1.1 gwr 13 1.1 gwr libhack.o : $(HACKOBJS) 14 1.1 gwr $(LD) -r -o $@ $(HACKOBJS) 15 1.1 gwr 16 1.5.2.1 perry .PATH: ${HACKSRC} 17 1.2 gwr 18