2002-11-05 01:03:38 +03:00
|
|
|
# $NetBSD: Makefile,v 1.18 2002/11/04 22:03:38 christos Exp $
|
|
|
|
|
|
|
|
.include <bsd.own.mk>
|
1993-11-21 23:19:15 +03:00
|
|
|
|
1993-06-03 23:26:09 +04:00
|
|
|
PROG = rpc.rusersd
|
2002-11-05 01:03:38 +03:00
|
|
|
SRCS = rusersd.c rusers_proc.c utmpentry.c
|
1994-12-22 12:57:51 +03:00
|
|
|
MAN = rpc.rusersd.8
|
1995-04-12 04:47:27 +04:00
|
|
|
MLINKS= rpc.rusersd.8 rusersd.8
|
1993-06-03 23:26:09 +04:00
|
|
|
|
2002-11-05 01:03:38 +03:00
|
|
|
.PATH.c: ${NETBSDSRCDIR}/usr.bin/who
|
|
|
|
|
|
|
|
CPPFLAGS+=-I${NETBSDSRCDIR}/usr.bin/who -DSUPPORT_UTMPX -DSUPPORT_UTMP
|
|
|
|
|
|
|
|
|
1997-03-25 01:15:37 +03:00
|
|
|
DPADD+= ${LIBRPCSVC}
|
|
|
|
LDADD+= -lrpcsvc
|
1993-06-03 23:26:09 +04:00
|
|
|
|
2000-01-23 12:58:13 +03:00
|
|
|
.if exists(/usr/X11R6)
|
1994-02-16 04:06:26 +03:00
|
|
|
XINCDIR= /usr/X11R6/include
|
|
|
|
XLIBDIR= /usr/X11R6/lib
|
1993-07-22 17:09:47 +04:00
|
|
|
.endif
|
|
|
|
|
2000-01-23 12:58:13 +03:00
|
|
|
#.if defined(XINCDIR) && exists($(XINCDIR)/X11/extensions/xidle.h)
|
|
|
|
#CPPFLAGS+= -I$(XINCDIR) -DXIDLE
|
|
|
|
#LDADD+= -L$(XLIBDIR) -lXext -lX11
|
|
|
|
#.endif
|
1993-07-22 17:09:47 +04:00
|
|
|
|
1993-06-03 23:26:09 +04:00
|
|
|
.include <bsd.prog.mk>
|
1993-06-08 05:21:15 +04:00
|
|
|
|