Annotation of 43BSDReno/include/Makefile, revision 1.1

1.1     ! root        1: #      @(#)Makefile    5.39 (Berkeley) 7/1/90
        !             2: #
        !             3: # Doing a make install builds /usr/include
        !             4: #
        !             5: # The ``rm -rf''s used below are safe because rm doesn't follow symbolic
        !             6: # links.
        !             7: #
        !             8: all clean cleandir depend lint tags:
        !             9: 
        !            10: SUBDIRS=arpa protocols
        !            11: STD=   a.out.h ar.h assert.h bitstring.h ctype.h ndbm.h \
        !            12:        dirent.h disktab.h fstab.h fts.h glob.h grp.h kvm.h limits.h \
        !            13:        math.h memory.h mp.h netdb.h nlist.h paths.h pcc.h pwd.h ranlib.h \
        !            14:        regexp.h resolv.h setjmp.h sgtty.h stab.h stdarg.h stddef.h \
        !            15:        stdlib.h stdio.h string.h strings.h struct.h sysexits.h time.h \
        !            16:        ttyent.h tzfile.h utmp.h varargs.h vfont.h vis.h
        !            17: LMCH=  float.h frame.h
        !            18: LSYS=  errno.h fcntl.h signal.h syslog.h termios.h unistd.h
        !            19: NOOBJ= noobj
        !            20: 
        !            21: DIRS=  sys net netimp netinet netiso netns ufs nfs
        !            22: .if   (${MACHINE} == "hp300")
        !            23: DIRS+= hp300 hpdev
        !            24: .elif (${MACHINE} == "tahoe")
        !            25: DIRS+= tahoe tahoemath tahoevba tahoeif
        !            26: .elif (${MACHINE} == "vax")
        !            27: DIRS+= vax vaxmba vaxuba vaxif
        !            28: .endif
        !            29: 
        !            30: # Define SHARED to indicate whether you want symbolic links to the system
        !            31: # source (``symlinks''), or a separate copy (``copies''); (latter useful
        !            32: # in environments where it's not possible to keep /sys publicly readable)
        !            33: # SHARED=      copies
        !            34: SHARED=        symlinks
        !            35: 
        !            36: all include clean cleandir depend lint tags:
        !            37: 
        !            38: install: ${SHARED}
        !            39:        @echo installing ${STD}
        !            40:        @-for i in ${STD}; do \
        !            41:                cmp -s $$i ${DESTDIR}/usr/include/$$i || \
        !            42:                    install -c -o ${BINOWN} -g ${BINGRP} -m 444 $$i \
        !            43:                    ${DESTDIR}/usr/include/$$i; \
        !            44:        done
        !            45:        @echo installing ${SUBDIRS}
        !            46:        @-for i in ${SUBDIRS}; do \
        !            47:                if [ ! -d ${DESTDIR}/usr/include/$$i ]; \
        !            48:                then \
        !            49:                        mkdir ${DESTDIR}/usr/include/$$i; \
        !            50:                fi; \
        !            51:                chown ${BINOWN}.${BINGRP} ${DESTDIR}/usr/include/$$i; \
        !            52:                chmod 755 ${DESTDIR}/usr/include/$$i; \
        !            53:                (cd $$i; for j in *.[ih]; do \
        !            54:                        cmp -s $$j ${DESTDIR}/usr/include/$$i/$$j || \
        !            55:                        install -c -o ${BINOWN} -g ${BINGRP} -m 444 $$j \
        !            56:                            ${DESTDIR}/usr/include/$$i/$$j; \
        !            57:                done); \
        !            58:        done
        !            59:        install -c -o ${BINOWN} -g ${BINGRP} -m 444 Makefile.install \
        !            60:            ${DESTDIR}/usr/include/Makefile
        !            61:        rm -f ${DESTDIR}/usr/include/machine
        !            62:        ln -s ./${MACHINE} ${DESTDIR}/usr/include/machine
        !            63:        chown ${BINOWN}.${BINGRP} ${DESTDIR}/usr/include/machine;
        !            64:        @echo installing ${LSYS}
        !            65:        @-for i in ${LSYS}; do \
        !            66:                rm -f ${DESTDIR}/usr/include/$$i; \
        !            67:                ln -s sys/$$i ${DESTDIR}/usr/include/$$i; \
        !            68:                chown ${BINOWN}.${BINGRP} ${DESTDIR}/usr/include/$$i; \
        !            69:        done
        !            70:        @echo installing ${LMCH}
        !            71:        @-for i in ${LMCH}; do \
        !            72:                rm -f ${DESTDIR}/usr/include/$$i; \
        !            73:                ln -s machine/$$i ${DESTDIR}/usr/include/$$i; \
        !            74:                chown ${BINOWN}.${BINGRP} ${DESTDIR}/usr/include/$$i; \
        !            75:        done
        !            76: 
        !            77: symlinks:
        !            78:        @echo installing ${DIRS}
        !            79:        @-for i in ${DIRS}; do \
        !            80:                rm -rf ${DESTDIR}/usr/include/$$i; \
        !            81:                if [ ! -s ${DESTDIR}/usr/include/$$i ]; \
        !            82:                then \
        !            83:                        ln -s /sys/$$i ${DESTDIR}/usr/include/$$i; \
        !            84:                        chown ${BINOWN}.${BINGRP} ${DESTDIR}/usr/include/$$i; \
        !            85:                else \
        !            86:                        echo ${DESTDIR}/usr/include/$$i not removed; \
        !            87:                fi; \
        !            88:        done
        !            89: 
        !            90: copies:
        !            91:        @echo installing ${DIRS}
        !            92:        @-for i in ${DIRS}; do \
        !            93:                rm -rf ${DESTDIR}/usr/include/$$i; \
        !            94:                cd /sys; \
        !            95:                tar cf - $$i/*.h | (cd ${DESTDIR}/usr/include; tar xpfB -); \
        !            96:        done
        !            97: 
        !            98: .include <bsd.prog.mk>

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.