From b326e0b1bd740a02aeba07f37950cadcfe876e84 Mon Sep 17 00:00:00 2001 From: Matthew Dillon Date: Fri, 14 Nov 2003 20:12:53 +0000 Subject: [PATCH] Add a make variable listing obsolete header files that need to be removed from the target directory. Set it to machine/ansi.h and sys/inttypes.h. machine/ansi.h's functionality has been taken over by machine/stdint.h. --- include/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/include/Makefile b/include/Makefile index c42ceea66d..56a24cfb5a 100644 --- a/include/Makefile +++ b/include/Makefile @@ -1,6 +1,6 @@ # @(#)Makefile 8.2 (Berkeley) 1/4/94 # $FreeBSD: src/include/Makefile,v 1.109.2.27 2003/01/24 05:12:29 sam Exp $ -# $DragonFly: src/include/Makefile,v 1.9 2003/11/09 02:22:28 dillon Exp $ +# $DragonFly: src/include/Makefile,v 1.10 2003/11/14 20:12:53 dillon Exp $ # # Doing a make install builds /usr/include # @@ -74,6 +74,9 @@ LSUBDIRS3= vfs/isofs/cd9660 net/i4b/include \ LSYMSUBDIRS= ${LSUBDIRS:Nbus/cam/scsi:Nnetproto/atm/*:Nnet/*:Nnetgraph/*} LSYMSUBDIRS3= ${LSUBDIRS3:Nnet/*} +# For obsolete headers which need to be removed +RMHEADERS= machine/ansi.h sys/inttypes.h + # Define SHARED to indicate whether you want symbolic links to the system # source (``symlinks''), or a separate copy (``copies''). ``symlinks'' is # probably only useful for developers and should be avoided if you do not @@ -165,6 +168,9 @@ copies: mtree_setup .for i in ${SHDRS} ln -sf ../sys/$i ${DESTDIR}/usr/include/machine/$i .endfor +.for i in ${RMHEADERS} + rm -f ${DESTDIR}/usr/include/$i +.endfor symlinks: mtree_setup @${ECHO} "Setting up symlinks to kernel source tree..." -- 2.41.0