]> git.saurik.com Git - apple/network_cmds.git/blame_incremental - rpc_statd.tproj/Makefile.dist
network_cmds-176.tar.gz
[apple/network_cmds.git] / rpc_statd.tproj / Makefile.dist
... / ...
CommitLineData
1# $FreeBSD: src/usr.sbin/rpc.statd/Makefile,v 1.14 2002/07/11 18:45:14 alfred Exp $
2
3PROG= rpc.statd
4MAN= rpc.statd.8
5SRCS= file.c sm_inter_svc.c sm_inter.h statd.c procs.c
6
7CFLAGS+= -I.
8
9DPADD= ${LIBRPCSVC}
10LDADD= -lrpcsvc
11
12CLEANFILES= sm_inter_svc.c sm_inter.h
13
14RPCSRC= ${DESTDIR}/usr/include/rpcsvc/sm_inter.x
15RPCGEN= rpcgen -L -C
16
17WARNS?= 4
18NO_WERROR= 1
19
20sm_inter_svc.c: ${RPCSRC}
21 ${RPCGEN} -m -o ${.TARGET} ${RPCSRC}
22
23sm_inter.h: ${RPCSRC}
24 ${RPCGEN} -h -o ${.TARGET} ${RPCSRC}
25
26test: test.c
27 cc -o test test.c -lrpcsvc
28
29.include <bsd.prog.mk>