Makefile (052238b16cf05cb96be651f5ab80deacf8d6cf0a) Makefile (422e293c7f933ae77a55a66891f64d8a041049b7)
1# $FreeBSD$
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.
1# $FreeBSD$
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#WARNS?= 2
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
17sm_inter_svc.c: ${RPCSRC}
18 ${RPCGEN} -m -o ${.TARGET} ${RPCSRC}
19
20sm_inter.h: ${RPCSRC}
21 ${RPCGEN} -h -o ${.TARGET} ${RPCSRC}
22
23test: test.c
24 cc -o test test.c -lrpcsvc
25
26.include <bsd.prog.mk>
9
10DPADD= ${LIBRPCSVC}
11LDADD= -lrpcsvc
12
13CLEANFILES= sm_inter_svc.c sm_inter.h
14
15RPCSRC= ${DESTDIR}/usr/include/rpcsvc/sm_inter.x
16RPCGEN= rpcgen -L -C
17
18sm_inter_svc.c: ${RPCSRC}
19 ${RPCGEN} -m -o ${.TARGET} ${RPCSRC}
20
21sm_inter.h: ${RPCSRC}
22 ${RPCGEN} -h -o ${.TARGET} ${RPCSRC}
23
24test: test.c
25 cc -o test test.c -lrpcsvc
26
27.include <bsd.prog.mk>