Cross Reference: Makefile
xref: /src/usr.sbin/rpc.statd/Makefile
  • Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /src/usr.sbin/rpc.statd/
Makefile revision 1.10
1#	$NetBSD: Makefile,v 1.10 2002/01/31 15:21:09 tv Exp $
2
3PROG=	rpc.statd
4SRCS=	sm_inter_svc.c statd.c stat_proc.c
5MAN=	rpc.statd.8
6MLINKS=	rpc.statd.8 statd.8
7
8CPPFLAGS+= -I.
9
10DPADD=	${LIBRPCSVC} ${LIBUTIL}
11LDADD=	-lrpcsvc -lutil
12
13CLEANFILES+= sm_inter_svc.c sm_inter.x sm_inter.h test
14
15.include <bsd.prog.mk>
16
17sm_inter.x: ${DESTDIR}/usr/include/rpcsvc/sm_inter.x
18	rm -f ${.TARGET}
19	ln -s ${.ALLSRC} ${.TARGET}
20
21sm_inter.h: ${DESTDIR}/usr/include/rpcsvc/sm_inter.h
22	rm -f ${.TARGET}
23	ln -s ${.ALLSRC} ${.TARGET}
24
25sm_inter_svc.c: sm_inter.x sm_inter.h
26	${RPCGEN} -C -L -m -o ${.TARGET} sm_inter.x
27
28test: ${.CURDIR}/test.c
29	cc -o test ${.CURDIR}/test.c -lrpcsvc
30

Indexes created Mon Dec 22 00:09:26 GMT 2025