summaryrefslogtreecommitdiff
path: root/libexec/rpc.rusersd/Makefile
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1995-10-18 08:53:40 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1995-10-18 08:53:40 +0000
commitd6583bb2a13f329cf0332ef2570eb8bb8fc0e39c (patch)
treeece253b876159b39c620e62b6c9b1174642e070e /libexec/rpc.rusersd/Makefile
initial import of NetBSD tree
Diffstat (limited to 'libexec/rpc.rusersd/Makefile')
-rw-r--r--libexec/rpc.rusersd/Makefile35
1 files changed, 35 insertions, 0 deletions
diff --git a/libexec/rpc.rusersd/Makefile b/libexec/rpc.rusersd/Makefile
new file mode 100644
index 00000000000..db658c28292
--- /dev/null
+++ b/libexec/rpc.rusersd/Makefile
@@ -0,0 +1,35 @@
+# $Id: Makefile,v 1.1 1995/10/18 08:43:21 deraadt Exp $
+
+PROG = rpc.rusersd
+SRCS = rusersd.c rusers_proc.c
+MAN = rpc.rusersd.8
+MLINKS= rpc.rusersd.8 rusersd.8
+
+DPADD= ${LIBRPCSVC}
+LDADD= -lrpcsvc
+
+.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
+.endif
+
+
+.include <bsd.prog.mk>
+