summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bootparamd/callbootd/Makefile
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>1995-02-26 23:40:53 +0000
committerwpaul <wpaul@FreeBSD.org>1995-02-26 23:40:53 +0000
commit3d7a6e262b86c7c803cf9ce87bbc84ae2b8bef84 (patch)
tree3012a19322d01a3afd16fd186df2dc911e97a2ef /usr.sbin/bootparamd/callbootd/Makefile
downloadFreeBSD-src-3d7a6e262b86c7c803cf9ce87bbc84ae2b8bef84.zip
FreeBSD-src-3d7a6e262b86c7c803cf9ce87bbc84ae2b8bef84.tar.gz
Obtained from: The Xkernel source distribution
I hope I'm doing this right. This is an initial version of bootparamd for FreeBSD based on a public domain rpc.bootparamd implementation by a gentleman named Klas Heggemann. This program has apparently been around for a while. The README explicitly lists the code as public domain, so I guess it's safe to use. This program is needed for booting diskless SunOS and Solaris machines. rarpd is also required, but that's in the works too. I have made two changes to this code: - Implemented NIS lookups. If /etc/bootparams contains a '+' then the bootparams map is consulted. - Allow 0.0.0.0 as a user-specified router address. The SunOS rpc.bootparamd returns this value in many cases.
Diffstat (limited to 'usr.sbin/bootparamd/callbootd/Makefile')
-rw-r--r--usr.sbin/bootparamd/callbootd/Makefile28
1 files changed, 28 insertions, 0 deletions
diff --git a/usr.sbin/bootparamd/callbootd/Makefile b/usr.sbin/bootparamd/callbootd/Makefile
new file mode 100644
index 0000000..9be4af3
--- /dev/null
+++ b/usr.sbin/bootparamd/callbootd/Makefile
@@ -0,0 +1,28 @@
+# from: @(#)Makefile 5.8 (Berkeley) 7/28/90
+# $Id: Makefile,v 1.1 1994/08/08 01:03:57 wollman Exp $
+
+PROG= callbootd
+SRCS= bootparam_prot_xdr.c bootparam_prot_clnt.c callbootd.c
+NOMAN=
+CLEANFILES= bootparam_prot_clnt.c bootparam_prot_xdr.c \
+ bootparam_prot.h bootparam_prot.x
+
+bootparam_prot_clnt.c: bootparam_prot.h
+ rm -f ${.CURDIR}/bootparam_prot.x
+ cp /usr/include/rpcsvc/bootparam_prot.x ${.CURDIR}
+ rpcgen -l -o ${.CURDIR}/bootparam_prot_clnt.c \
+ ${.CURDIR}/bootparam_prot.x
+
+bootparam_prot_xdr.c: bootparam_prot.h
+ rm -f ${.CURDIR}/bootparam_prot.x
+ cp /usr/include/rpcsvc/bootparam_prot.x ${.CURDIR}
+ rpcgen -c -o ${.CURDIR}/bootparam_prot_xdr.c \
+ ${.CURDIR}/bootparam_prot.x
+
+bootparam_prot.h:
+ rm -f ${.CURDIR}/bootparam_prot.x
+ cp /usr/include/rpcsvc/bootparam_prot.x ${.CURDIR}
+ rpcgen -h -o ${.CURDIR}/bootparam_prot.h \
+ ${.CURDIR}/bootparam_prot.x
+
+.include <bsd.prog.mk>
OpenPOWER on IntegriCloud