NetBSD/usr.sbin/rwalld/Makefile

24 lines
475 B
Makefile

#
# a makefile for /usr/sbin/rwalld
#
# $Header: /cvsroot/src/usr.sbin/rwalld/Attic/Makefile,v 1.2 1993/04/10 17:59:27 cgd Exp $
#
PROG = rwalld
SRCS = rwalld.c rwall_svc.c
CLEANFILES += rwall_svc.c
NOMAN= noman
RPCCOM = rpcgen
RPCDLOC= /usr/include
RPCDESC= rpcsvc/rwall.x
DPADD= ${LIBRPC} ${LIBUTIL}
LDADD= -lrpc -lutil
rwall_svc.c: ${RPCDLOC}/${RPCDESC}
@echo generating $@...
@PWD=`pwd` ; cd ${RPCDLOC} ; ${RPCCOM} -m ${RPCDESC} -o $$PWD/$@
.include <bsd.prog.mk>