1 1.12 cjs # $NetBSD: Makefile,v 1.12 1997/05/26 03:59:47 cjs Exp $ 2 1.2 deraadt 3 1.2 deraadt CFLAGS+=-DYP 4 1.1 deraadt 5 1.1 deraadt PROG= rpc.bootparamd 6 1.1 deraadt SRCS= bootparamd.c bootparam_prot_svc.c 7 1.7 cgd MAN= bootparams.5 rpc.bootparamd.8 8 1.6 gwr MLINKS= rpc.bootparamd.8 bootparamd.8 9 1.1 deraadt 10 1.5 cgd DPADD= ${LIBRPCSVC} 11 1.5 cgd LDADD= -lrpcsvc 12 1.1 deraadt 13 1.12 cjs .include <bsd.own.mk> # for BUILDDIR 14 1.12 cjs 15 1.12 cjs bootparam_prot_svc.c: ${BUILDDIR}/usr/include/rpcsvc/bootparam_prot.x 16 1.4 deraadt rm -f bootparam_prot.x 17 1.12 cjs ln -s ${BUILDDIR}/usr/include/rpcsvc/bootparam_prot.x . 18 1.4 deraadt rm -f bootparam_prot.h 19 1.12 cjs ln -s ${BUILDDIR}/usr/include/rpcsvc/bootparam_prot.h . 20 1.1 deraadt rpcgen -m -o $@ bootparam_prot.x 21 1.1 deraadt 22 1.1 deraadt CLEANFILES += bootparam_prot_svc.c bootparam_prot.x bootparam_prot.h 23 1.1 deraadt 24 1.1 deraadt .include <bsd.prog.mk> 25