NetBSD/usr.sbin/lpr/lpd/Makefile

23 lines
556 B
Makefile
Raw Normal View History

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
SRCS= lpd.c printjob.c recvjob.c lpdchar.c key.c modes.c ttcompat.c rcmd.c
CPPFLAGS+=-DLIBWRAP
LDADD+= -lwrap
DPADD+= ${LIBWRAP}
# 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 \
${CPPFLAGS} -c ${.IMPSRC}
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>