Makefile.inc revision 1.8 1 # $NetBSD: Makefile.inc,v 1.8 1999/06/27 12:56:01 mrg 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 .PATH: ${HACKSRC}
17
18