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.3
11.3Scjs#	$NetBSD: Makefile,v 1.3 1997/05/26 04:00:02 cjs 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.3Scjs.include <bsd.own.mk>	# for BUILDDIR
161.3Scjs
171.3Scjssm_inter_svc.c: ${RPCSRC} ${BUILDDIR}/usr/include/rpcsvc/sm_inter.x
181.1Sscottr	rm -f sm_inter.x
191.3Scjs	ln -s ${BUILDDIR}/usr/include/rpcsvc/sm_inter.x .
201.1Sscottr	rm -f sm_inter.h
211.3Scjs	ln -s ${BUILDDIR}/usr/include/rpcsvc/sm_inter.h .
221.1Sscottr	rpcgen -m -o $@ sm_inter.x
231.1Sscottr
241.1Sscottrtest: ${.CURDIR}/test.c
251.1Sscottr	cc -o test ${.CURDIR}/test.c -lrpcsvc
261.1Sscottr
271.1Sscottr.include <bsd.prog.mk>
28

Indexes created Wed Dec 31 21:09:29 GMT 2025