1996-08-31 00:15:06 +04:00
|
|
|
# $NetBSD: Makefile,v 1.12 1996/08/30 20:19:41 thorpej Exp $
|
1993-11-21 23:19:15 +03:00
|
|
|
|
1993-06-03 23:26:09 +04:00
|
|
|
PROG = rpc.rusersd
|
1993-11-21 23:19:15 +03:00
|
|
|
SRCS = rusersd.c rusers_proc.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
|
|
|
|
1994-01-28 03:31:32 +03:00
|
|
|
DPADD= ${LIBRPCSVC}
|
|
|
|
LDADD= -lrpcsvc
|
1993-06-03 23:26:09 +04:00
|
|
|
|
1994-02-16 04:06:26 +03:00
|
|
|
.if exists(/usr/X11)
|
|
|
|
XINCDIR= /usr/X11/include
|
|
|
|
XLIBDIR= /usr/X11/lib
|
|
|
|
.elif exists(/usr/X11R6)
|
|
|
|
XINCDIR= /usr/X11R6/include
|
|
|
|
XLIBDIR= /usr/X11R6/lib
|
|
|
|
.elif exists(/usr/X11R5)
|
|
|
|
XINCDIR= /usr/X11R5/include
|
|
|
|
XLIBDIR= /usr/X11R5/lib
|
|
|
|
.elif exists(/usr/X11R4)
|
|
|
|
XINCDIR= /usr/X11R4/include
|
|
|
|
XLIBDIR= /usr/X11R4/lib
|
|
|
|
.elif exists(/usr/X386)
|
|
|
|
XINCDIR= /usr/X386/include
|
|
|
|
XLIBDIR= /usr/X386/lib
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(XINCDIR) && exists($(XINCDIR)/X11/extensions/xidle.h)
|
|
|
|
CFLAGS+= -I$(XINCDIR) -DXIDLE
|
|
|
|
LDADD+= -L$(XLIBDIR) -lXext -lX11
|
1993-07-22 17:09:47 +04:00
|
|
|
.endif
|
|
|
|
|
|
|
|
|
1993-06-03 23:26:09 +04:00
|
|
|
.include <bsd.prog.mk>
|
1993-06-08 05:21:15 +04:00
|
|
|
|