diff options
author | bde <bde@FreeBSD.org> | 1997-03-02 14:06:24 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1997-03-02 14:06:24 +0000 |
commit | 3ae3c618658ba88bde6accca774374860521bc62 (patch) | |
tree | d286da7c065903c6fbdb17288457e3636e3d72c1 /include/Makefile | |
parent | 5983c0835645a063fb7c7ba8eb780499015d951f (diff) | |
download | FreeBSD-src-3ae3c618658ba88bde6accca774374860521bc62.zip FreeBSD-src-3ae3c618658ba88bde6accca774374860521bc62.tar.gz |
Install headers for isofs/cd9660 and msdosfs. The mount utilities need
them now that <sys/mount.h> no longer declares filesytem-specific mount
args structs.
Renamed some macros to be less ufs-centric.
Fixed order of mkdirs. The order has been broken since the backwards
`.for' loop bug was fixed in `make' on 1996/09/21.
Diffstat (limited to 'include/Makefile')
-rw-r--r-- | include/Makefile | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/include/Makefile b/include/Makefile index c8dc71a..9b37e45 100644 --- a/include/Makefile +++ b/include/Makefile @@ -1,5 +1,5 @@ # From: @(#)Makefile 8.2 (Berkeley) 1/4/94 -# $Id$ +# $Id: Makefile,v 1.50 1997/02/23 09:17:12 peter Exp $ # # Doing a make install builds /usr/include # @@ -32,11 +32,11 @@ RPCFILES= auth.h auth_unix.h clnt.h pmap_clnt.h pmap_prot.h pmap_rmt.h \ MFILES= float.h floatingpoint.h stdarg.h varargs.h LFILES= errno.h fcntl.h syslog.h termios.h -LDIRS= net netns netatalk netinet netipx netkey nfs pccard sys vm \ +LDIRS= msdosfs net netns netatalk netinet netipx netkey nfs pccard sys vm \ # netccitt netiso -LUDIR= ufs -UDIRS= ufs/ffs ufs/lfs ufs/mfs ufs/ufs +LNOHEADERDIRS= isofs ufs +LSUBDIRS= isofs/cd9660 ufs/ffs ufs/lfs ufs/mfs ufs/ufs # Define SHARED to indicate whether you want symbolic links to the system # source (``symlinks''), or a separate copy (``copies''); (latter useful @@ -80,19 +80,19 @@ beforeinstall: ${SHARED} .endfor copies: -.for i in ${LDIRS} ${UDIRS} ${LUDIR} machine +.for i in ${LDIRS} ${LNOHEADERDIRS} machine if [ -h ${DESTDIR}/usr/include/$i ]; then \ rm -f ${DESTDIR}/usr/include/$i; \ fi .endfor -.for i in ${LDIRS} ${UDIRS} ${LUDIR} machine +.for i in ${LDIRS} ${LNOHEADERDIRS} ${LSUBDIRS} machine if [ ! -d ${DESTDIR}/usr/include/$i ]; then \ mkdir ${DESTDIR}/usr/include/$i; \ chown ${BINOWN}.${BINGRP} ${DESTDIR}/usr/include/$i; \ chmod 755 ${DESTDIR}/usr/include/$i; \ fi .endfor -.for i in ${LDIRS} ${UDIRS} +.for i in ${LDIRS} ${LSUBDIRS} cd ${.CURDIR}/../sys; \ ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 $i/*.h \ ${DESTDIR}/usr/include/$i @@ -105,7 +105,7 @@ copies: symlinks: @${ECHO} "Setting up symlinks to kernel source tree..." -.for i in ${LDIRS} ${LUDIR} +.for i in ${LDIRS} ${LNOHEADERDIRS} rm -rf ${DESTDIR}/usr/include/$i ln -s /sys/$i ${DESTDIR}/usr/include/$i .endfor |