move TZDIR back to /etc, expect to have high number of accesses
[unix-history] / usr / src / include / Makefile.install
index 12e3a66..8079ac1 100644 (file)
@@ -1,9 +1,20 @@
 #
 #
-# Copyright (c) 1983,1986 Regents of the University of California.
-# All rights reserved.  The Berkeley software License Agreement
-# specifies the terms and conditions for redistribution.
+# Copyright (c) 1983, 1986, 1989 The Regents of the University of California.
+# All rights reserved.
 #
 #
-#      @(#)Makefile.install    5.4 (Berkeley) %G%
+# Redistribution and use in source and binary forms are permitted
+# provided that the above copyright notice and this paragraph are
+# duplicated in all such forms and that any documentation,
+# advertising materials, and other materials related to such
+# distribution and use acknowledge that the software was developed
+# by the University of California, Berkeley.  The name of the
+# University may not be used to endorse or promote products derived
+# from this software without specific prior written permission.
+# THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+# IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+#
+#      @(#)Makefile.install    5.6 (Berkeley) %G%
 #
 # Makefile for /usr/include, used to convert system include subdirectories
 # between symbolic links and copies of kernel headers.
 #
 # Makefile for /usr/include, used to convert system include subdirectories
 # between symbolic links and copies of kernel headers.
@@ -16,7 +27,7 @@ DESTDIR=
 MACHDEP.vax=   vaxif vaxmba vaxuba
 MACHDEP.tahoe= tahoeif tahoevba
 NETDIRS=       net netimp netinet netns
 MACHDEP.vax=   vaxif vaxmba vaxuba
 MACHDEP.tahoe= tahoeif tahoevba
 NETDIRS=       net netimp netinet netns
-SYSDIRS=       ${NETDIRS} ${MACHINE}
+SYSDIRS=       sys ${NETDIRS} ${MACHINE}
 SYS=/sys
 
 all:
 SYS=/sys
 
 all:
@@ -28,8 +39,7 @@ symlinks: symlinks.${MACHINE}
                rm -rf $$i; \
                ln -s ${SYS}/$$i $$i; \
        done
                rm -rf $$i; \
                ln -s ${SYS}/$$i $$i; \
        done
-       rm -rf sys machine
-       ln -s ${SYS}/h sys
+       rm -rf machine
        ln -s ${MACHINE} machine
 
 symlinks.vax:
        ln -s ${MACHINE} machine
 
 symlinks.vax:
@@ -49,10 +59,6 @@ copies: copies.${MACHINE}
                rm -rf $$i; \
                (cd ${SYS}; tar cf - $$i/*.h) | tar xpfB -; \
        done
                rm -rf $$i; \
                (cd ${SYS}; tar cf - $$i/*.h) | tar xpfB -; \
        done
-       rm -rf sys;
-       mkdir sys; 
-       chmod 775 sys;
-       -(cd ${SYS}/h; tar cf - *.h) | (cd sys; tar xpfB -)
        rm -f machine
        ln -s ${MACHINE} machine
 
        rm -f machine
        ln -s ${MACHINE} machine
 
@@ -79,11 +85,6 @@ update: update.${MACHINE}
                        install -c -m 444 ${SYS}/$$i/$$j $$i/$$j; \
                done; \
        done
                        install -c -m 444 ${SYS}/$$i/$$j $$i/$$j; \
                done; \
        done
-       for j in `cd ${SYS}/h; echo *.[ih]`; do \
-               cmp -s ${SYS}/h/$$j sys/$$j || \
-               { echo "install -c -m 444 ${SYS}/h/$$j sys/$$j"; \
-               install -c -m 444 ${SYS}/h/$$j sys/$$j; } \
-       done;
        rm -f machine
        ln -s ${MACHINE} machine
 
        rm -f machine
        ln -s ${MACHINE} machine