summaryrefslogtreecommitdiffstats
path: root/usr.sbin/amd/include/Makefile
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2001-03-21 10:56:29 +0000
committerru <ru@FreeBSD.org>2001-03-21 10:56:29 +0000
commitc2deb094a860c4b2c18a7f820b2e357d6e2e93f8 (patch)
tree74f8018f190823d8f74016239f81a51fff4f523c /usr.sbin/amd/include/Makefile
parentdc0e22cfaf1b407ad08776ab7386543ad024a76c (diff)
downloadFreeBSD-src-c2deb094a860c4b2c18a7f820b2e357d6e2e93f8.zip
FreeBSD-src-c2deb094a860c4b2c18a7f820b2e357d6e2e93f8.tar.gz
Properly fix the world breakage.
Unpollute the Makefile.inc's abuse of SRCS variable, and move the generation of header files into include/ subdirecory. Reviewed by: buildworld
Diffstat (limited to 'usr.sbin/amd/include/Makefile')
-rw-r--r--usr.sbin/amd/include/Makefile13
1 files changed, 12 insertions, 1 deletions
diff --git a/usr.sbin/amd/include/Makefile b/usr.sbin/amd/include/Makefile
index 0bf2c8e..f8e141f 100644
--- a/usr.sbin/amd/include/Makefile
+++ b/usr.sbin/amd/include/Makefile
@@ -8,6 +8,17 @@
# $NetBSD: Makefile,v 1.8 1998/08/08 22:33:37 christos Exp $
#
-all: config_local.h
+SRCS= config_local.h mount.h nfs_prot.h
+CLEANFILES= ${SRCS}
+
+config_local.h: newvers.sh
+ @rm -f ${.TARGET}
+ sh ${.ALLSRC} > ${.TARGET}
+
+mount.h: ${MOUNT_X}
+ ${RPCCOM} -h -C -DWANT_NFS3 ${MOUNT_X} -o ${.TARGET}
+
+nfs_prot.h: ${NFS_PROT_X}
+ ${RPCCOM} -h -C -DWANT_NFS3 ${NFS_PROT_X} -o ${.TARGET}
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud