summaryrefslogtreecommitdiff
path: root/usr.sbin/bootparamd/callbootd
diff options
context:
space:
mode:
authorDavid Greenman <dg@FreeBSD.org>1995-10-06 10:12:53 +0000
committerDavid Greenman <dg@FreeBSD.org>1995-10-06 10:12:53 +0000
commitb56830a31d083dd7bc3a46f7291c2e6359eeb8dc (patch)
tree32e77776e6d642f3d8400dfb79fefac4a6092bba /usr.sbin/bootparamd/callbootd
parent516e0a12c2fc58e45c97093351d317161d794e23 (diff)
Notes
Diffstat (limited to 'usr.sbin/bootparamd/callbootd')
-rw-r--r--usr.sbin/bootparamd/callbootd/Makefile25
1 files changed, 10 insertions, 15 deletions
diff --git a/usr.sbin/bootparamd/callbootd/Makefile b/usr.sbin/bootparamd/callbootd/Makefile
index bc447616d6e6..f9123e6b1c18 100644
--- a/usr.sbin/bootparamd/callbootd/Makefile
+++ b/usr.sbin/bootparamd/callbootd/Makefile
@@ -1,26 +1,21 @@
# from: @(#)Makefile 5.8 (Berkeley) 7/28/90
-# $Id: Makefile,v 1.4 1995/03/02 22:00:33 wpaul Exp $
+# $Id: Makefile,v 1.6 1995/07/04 08:39:07 bde Exp $
PROG= callbootd
SRCS= bootparam_prot_xdr.c bootparam_prot_clnt.c callbootd.c
NOMAN=
CFLAGS+= -I.
-CLEANFILES= bootparam_prot_clnt.c bootparam_prot_xdr.c \
- bootparam_prot.h bootparam_prot.x
+CLEANFILES= bootparam_prot_clnt.c bootparam_prot_xdr.c bootparam_prot.h
-bootparam_prot_clnt.c: bootparam_prot.h
- rm -f bootparam_prot.x
- cp ${DESTDIR}/usr/include/rpcsvc/bootparam_prot.x .
- rpcgen -l -o bootparam_prot_clnt.c bootparam_prot.x
+RPCSRC= ${DESTDIR}/usr/include/rpcsvc/bootparam_prot.x
-bootparam_prot_xdr.c: bootparam_prot.h
- rm -f bootparam_prot.x
- cp ${DESTDIR}/usr/include/rpcsvc/bootparam_prot.x .
- rpcgen -c -o bootparam_prot_xdr.c bootparam_prot.x
+bootparam_prot_clnt.c: ${RPCSRC} bootparam_prot.h
+ rpcgen -l -o ${.TARGET} ${RPCSRC}
-bootparam_prot.h:
- rm -f bootparam_prot.x
- cp ${DESTDIR}/usr/include/rpcsvc/bootparam_prot.x .
- rpcgen -h -o bootparam_prot.h bootparam_prot.x
+bootparam_prot_xdr.c: ${RPCSRC} bootparam_prot.h
+ rpcgen -c -o ${.TARGET} ${RPCSRC}
+
+bootparam_prot.h: ${RPCSRC}
+ rpcgen -h -o ${.TARGET} ${RPCSRC}
.include <bsd.prog.mk>