Cross Reference: Makefile
xref: /src/usr.sbin/rpc.statd/Makefile
  • Home
  • History
  • AnnotateAnnotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /src/usr.sbin/rpc.statd/
Makefile revision 1.5
11.5Slukem#	$NetBSD: Makefile,v 1.5 1997/10/17 16:02:51 lukem Exp $
21.1Sscottr
31.1SscottrPROG=	rpc.statd
41.1SscottrSRCS=	sm_inter_svc.c statd.c stat_proc.c
51.1SscottrMAN=	rpc.statd.8
61.1SscottrMLINKS=	rpc.statd.8 statd.8
71.1Sscottr
81.1SscottrCFLAGS+= -I.
91.1Sscottr
101.1SscottrDPADD=	${LIBRPCSVC}
111.1SscottrLDADD=	-lrpcsvc
121.1Sscottr
131.1SscottrCLEANFILES+= sm_inter_svc.c sm_inter.x sm_inter.h test
141.1Sscottr
151.4Scjssm_inter_svc.c: ${RPCSRC} ${DESTDIR}/usr/include/rpcsvc/sm_inter.x
161.1Sscottr	rm -f sm_inter.x
171.4Scjs	ln -s ${DESTDIR}/usr/include/rpcsvc/sm_inter.x .
181.1Sscottr	rm -f sm_inter.h
191.4Scjs	ln -s ${DESTDIR}/usr/include/rpcsvc/sm_inter.h .
201.5Slukem	rpcgen -C -L -m -o ${.TARGET} sm_inter.x
211.1Sscottr
221.1Sscottrtest: ${.CURDIR}/test.c
231.1Sscottr	cc -o test ${.CURDIR}/test.c -lrpcsvc
241.1Sscottr
251.1Sscottr.include <bsd.prog.mk>
26

Indexes created Wed Dec 31 17:09:26 GMT 2025