2002-09-18 07:54:26 +04:00
|
|
|
# $NetBSD: Makefile,v 1.16 2002/09/18 03:54:33 lukem Exp $
|
1994-05-18 05:25:37 +04:00
|
|
|
# @(#)Makefile 8.1 (Berkeley) 6/6/93
|
1993-03-21 12:45:37 +03:00
|
|
|
|
2002-09-18 07:54:26 +04:00
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
1993-03-21 12:45:37 +03:00
|
|
|
PROG= lpd
|
1994-12-22 14:32:57 +03:00
|
|
|
MAN= lpd.8
|
2000-05-30 05:07:43 +04:00
|
|
|
SRCS= lpd.c printjob.c recvjob.c lpdchar.c key.c modes.c ttcompat.c rcmd.c
|
|
|
|
|
2002-08-12 22:03:41 +04:00
|
|
|
CPPFLAGS+=-DLIBWRAP
|
|
|
|
LDADD+= -lwrap
|
|
|
|
DPADD+= ${LIBWRAP}
|
|
|
|
|
2000-05-30 05:07:43 +04:00
|
|
|
# the ugly hack is to correctly include lib/libc/include/pathnames.h,
|
|
|
|
# not usr.sbin/lpr/common_source/pathnames.h
|
|
|
|
rcmd.o: rcmd.c
|
2002-09-18 07:54:26 +04:00
|
|
|
${CC} ${CFLAGS} -I${NETBSDSRCDIR}/lib/libc/include -DINET6 \
|
2000-06-05 21:41:19 +04:00
|
|
|
${CPPFLAGS} -c ${.IMPSRC}
|
2000-05-30 05:07:43 +04:00
|
|
|
|
2002-09-18 07:54:26 +04:00
|
|
|
.PATH: ${NETBSDSRCDIR}/lib/libc/net
|
1993-03-21 12:45:37 +03:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|