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