X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/blobdiff_plain/fdb8e4aac282b72d4670aa3a26d9bba07afc7e6f..1c15e88899094343f75aeba04122cd96a96b428e:/usr/src/include/Makefile diff --git a/usr/src/include/Makefile b/usr/src/include/Makefile index ea8256e859..d868360983 100644 --- a/usr/src/include/Makefile +++ b/usr/src/include/Makefile @@ -1,4 +1,4 @@ -# @(#)Makefile 5.40 (Berkeley) %G% +# @(#)Makefile 5.39 (Berkeley) 7/1/90 # # Doing a make install builds /usr/include # @@ -8,12 +8,12 @@ all clean cleandir depend lint tags: SUBDIRS=arpa protocols -STD= a.out.h ar.h assert.h bitstring.h ctype.h dirent.h disktab.h \ - fstab.h fts.h glob.h grp.h kvm.h limits.h math.h memory.h mp.h \ - ndbm.h netdb.h nlist.h paths.h pcc.h pwd.h ranlib.h regexp.h \ - resolv.h setjmp.h sgtty.h stab.h stdarg.h stddef.h stdio.h \ - stdlib.h string.h strings.h struct.h sysexits.h time.h ttyent.h \ - tzfile.h utmp.h varargs.h vfont.h vis.h +STD= a.out.h ar.h assert.h bitstring.h ctype.h ndbm.h \ + dirent.h disktab.h fstab.h fts.h glob.h grp.h kvm.h limits.h \ + math.h memory.h mp.h netdb.h nlist.h paths.h pcc.h pwd.h ranlib.h \ + regexp.h resolv.h setjmp.h sgtty.h stab.h stdarg.h stddef.h \ + stdlib.h stdio.h string.h strings.h struct.h sysexits.h time.h \ + ttyent.h tzfile.h utmp.h varargs.h vfont.h vis.h LMCH= float.h frame.h LSYS= errno.h fcntl.h signal.h syslog.h termios.h unistd.h NOOBJ= noobj @@ -24,7 +24,7 @@ DIRS+= hp300 hpdev .elif (${MACHINE} == "tahoe") DIRS+= tahoe tahoemath tahoevba tahoeif .elif (${MACHINE} == "vax") -DIRS+= vax vaxbi vaxif vaxmba vaxuba +DIRS+= vax vaxmba vaxuba vaxif .endif # Define SHARED to indicate whether you want symbolic links to the system @@ -33,6 +33,8 @@ DIRS+= vax vaxbi vaxif vaxmba vaxuba # SHARED= copies SHARED= symlinks +all include clean cleandir depend lint tags: + install: ${SHARED} @echo installing ${STD} @-for i in ${STD}; do \ @@ -58,7 +60,7 @@ install: ${SHARED} ${DESTDIR}/usr/include/Makefile rm -f ${DESTDIR}/usr/include/machine ln -s ./${MACHINE} ${DESTDIR}/usr/include/machine - chown ${BINOWN}.${BINGRP} ${DESTDIR}/usr/include/machine + chown ${BINOWN}.${BINGRP} ${DESTDIR}/usr/include/machine; @echo installing ${LSYS} @-for i in ${LSYS}; do \ rm -f ${DESTDIR}/usr/include/$$i; \ @@ -72,14 +74,9 @@ install: ${SHARED} chown ${BINOWN}.${BINGRP} ${DESTDIR}/usr/include/$$i; \ done -copies: - @echo copies: ${DIRS} +symlinks: + @echo installing ${DIRS} @-for i in ${DIRS}; do \ - rm -rf ${DESTDIR}/usr/include/$$i; \ - cd /sys; \ - tar cf - $$i/*.h | (cd ${DESTDIR}/usr/include; tar xpfB -); \ - done - rm -rf ${DESTDIR}/usr/include/$$i; \ if [ ! -s ${DESTDIR}/usr/include/$$i ]; \ then \ @@ -90,15 +87,12 @@ copies: fi; \ done - if [ ! -d $$i ]; \ - then \ - mkdir $$i; \ - fi; \ - for j in `cd /sys/$$i; echo *.h`; do \ - cmp -s /sys/$$i/$$j $$i/$$j || \ - install -c -o ${BINOWN} -g ${BINGRP} -m 444 \ - ${SYS}/$$i/$$j $$i/$$j; \ - done; \ +copies: + @echo installing ${DIRS} + @-for i in ${DIRS}; do \ + rm -rf ${DESTDIR}/usr/include/$$i; \ + cd /sys; \ + tar cf - $$i/*.h | (cd ${DESTDIR}/usr/include; tar xpfB -); \ done .include