Home | History | Annotate | Line # | Download | only in rpc.lockd
Makefile revision 1.1
      1  1.1  scottr #	$NetBSD: Makefile,v 1.1 1997/03/10 06:26:19 scottr Exp $
      2  1.1  scottr 
      3  1.1  scottr #	$Id: Makefile,v 1.1 1997/03/10 06:26:19 scottr Exp $
      4  1.1  scottr 
      5  1.1  scottr PROG=	rpc.lockd
      6  1.1  scottr SRCS=	nlm_prot_svc.c lockd.c lock_proc.c
      7  1.1  scottr MAN=	rpc.lockd.8
      8  1.1  scottr MLINKS=	rpc.lockd.8 lockd.8
      9  1.1  scottr 
     10  1.1  scottr CFLAGS+= -I.
     11  1.1  scottr 
     12  1.1  scottr DPADD=	${LIBRPCSVC}
     13  1.1  scottr LDADD=	-lrpcsvc
     14  1.1  scottr 
     15  1.1  scottr CLEANFILES= nlm_prot_svc.c nlm_prot.x nlm_prot.h test
     16  1.1  scottr 
     17  1.1  scottr nlm_prot_svc.c: ${DESTDIR}/usr/include/rpcsvc/nlm_prot.x
     18  1.1  scottr 	rm -f nlm_prot.x
     19  1.1  scottr 	ln -s ${DESTDIR}/usr/include/rpcsvc/nlm_prot.x .
     20  1.1  scottr 	rm -f nlm_prot.h
     21  1.1  scottr 	ln -s ${DESTDIR}/usr/include/rpcsvc/nlm_prot.h .
     22  1.1  scottr 	rpcgen -m -o $@ nlm_prot.x
     23  1.1  scottr 
     24  1.1  scottr test: ${.CURDIR}/test.c
     25  1.1  scottr 	cc -o test ${.CURDIR}/test.c -lrpcsvc
     26  1.1  scottr 
     27  1.1  scottr .include <bsd.prog.mk>
     28