kernel: Fix a -Wundef warning.
[dragonfly.git] / usr.sbin / rpc.statd / Makefile
blobe998ec04217da1b248feea5269e0007ef6c8c3bf
1 # $FreeBSD: src/usr.sbin/rpc.statd/Makefile,v 1.9.2.1 2001/04/25 12:10:45 ru Exp $
3 PROG = rpc.statd
4 SRCS = file.c sm_inter_svc.c sm_inter.h statd.c procs.c
5 MAN = rpc.statd.8
7 DPADD= ${LIBRPCSVC}
8 LDADD= -lrpcsvc
10 CFLAGS+= -I.
12 CLEANFILES= sm_inter_svc.c sm_inter.h
14 RPCSRC= ${DESTDIR}/usr/include/rpcsvc/sm_inter.x
15 RPCGEN= rpcgen -L -C
17 sm_inter_svc.c: ${RPCSRC}
18 ${RPCGEN} -m -o ${.TARGET} ${RPCSRC}
20 sm_inter.h: ${RPCSRC}
21 ${RPCGEN} -h -o ${.TARGET} ${RPCSRC}
23 test: test.c
24 cc -o test test.c -lrpcsvc
26 .include <bsd.prog.mk>