freebsd-dev/usr.sbin/rpc.statd/Makefile
Bruce Evans 3f9035b74a Don't use the FreeBSD misfeature DPSRCS or give explicit dependencies
on generated headers.  Just put generated headers in SRCS so that
bsd.*.mk can generate better dependencies.
1998-03-06 07:00:28 +00:00

27 lines
511 B
Makefile

# $Id: Makefile,v 1.6 1997/05/23 08:43:27 asami Exp $
PROG = rpc.statd
SRCS = file.c sm_inter_svc.c sm_inter.h statd.c procs.c
MAN8 = rpc.statd.8
DPADD= ${LIBRPCSVC}
LDADD= -lrpcsvc
CFLAGS+= -I.
CLEANFILES= sm_inter_svc.c sm_inter.h
RPCSRC= ${DESTDIR}/usr/include/rpcsvc/sm_inter.x
RPCGEN= rpcgen -L -C
sm_inter_svc.c: ${RPCSRC} sm_inter.h
${RPCGEN} -m -o ${.TARGET} ${RPCSRC}
sm_inter.h: ${RPCSRC}
${RPCGEN} -h -o ${.TARGET} ${RPCSRC}
test: test.c
cc -o test test.c -lrpcsvc
.include <bsd.prog.mk>