NetBSD/distrib/utils/libhack/Makefile.inc

34 lines
801 B
PHP
Raw Normal View History

1997-12-12 06:36:38 +03:00
# $NetBSD: Makefile.inc,v 1.4 1997/12/12 03:36:38 gwr Exp $
# Include this fragment to build libhack.o
# It is .o and not .a to make sure these are the
# objects you get (and not the ones in libc.a)
1997-12-12 06:36:38 +03:00
HACKOBJS= getgrent.o gethost.o getnet.o getnetgr.o getpwent.o \
1996-10-09 04:13:36 +04:00
setlocale.o yplib.o
libhack.o : $(HACKOBJS)
$(LD) -r -o $@ $(HACKOBJS)
getgrent.o : ${HACKSRC}/getgrent.c
$(CC) -c ${HACKSRC}/getgrent.c
1997-12-12 06:36:38 +03:00
gethost.o : ${HACKSRC}/gethost.c
$(CC) -c ${HACKSRC}/gethost.c
getnet.o : ${HACKSRC}/getnet.c
$(CC) -c ${HACKSRC}/getnet.c
getnetgr.o : ${HACKSRC}/getnetgr.c
$(CC) -c ${HACKSRC}/getnetgr.c
1995-10-13 21:10:06 +03:00
1997-12-12 06:36:38 +03:00
getpwent.o : ${HACKSRC}/getpwent.c
$(CC) -c ${HACKSRC}/getpwent.c
1996-10-09 04:13:36 +04:00
setlocale.o : ${HACKSRC}/setlocale.c
$(CC) -c ${HACKSRC}/setlocale.c
1995-10-13 21:10:06 +03:00
yplib.o : ${HACKSRC}/yplib.c
$(CC) -c ${HACKSRC}/yplib.c