Annotation of 42BSD/lib/libc/Makefile, revision 1.1.1.1

1.1       root        1: #      Makefile        4.6     83/07/02
                      2: #
                      3: # The system has two monitoring schemes, utilizing either ``prof''
                      4: # or ``gprof''. DFLMON determines the default profiler; mon.o
                      5: # specifies that ``prof'' is the default, gmon.o specifies that
                      6: # ``gprof'' is the default.
                      7: #
                      8: # Machine dependent routines are located in a subtree which parallels
                      9: # the top directories.  This subtree is identified by the machine name.
                     10: #
                     11: # Compatibility routines are kept in directories with a prefixing
                     12: # ``compat'' (so they all sort together).
                     13: # 
                     14: # The C run-time startup code is always machine dependent and expected
                     15: # to be located in ${MACHINE}/csu
                     16: #
                     17: DESTDIR=
                     18: INSTALL=install -m 644
                     19: DFLMON=        mon.o
                     20: MACHINE=vax
                     21: COMPAT=        compat-4.1 compat-sys5
                     22: ALL=   gen inet net stdio ${MACHINE} ${COMPAT}
                     23: 
                     24: libc.a libc_p.a: ${MACHINE}/csu ${ALL}
                     25:        -mkdir tmp
                     26:        for i in ${ALL}; do (cd tmp; ar x ../$$i/$${i}lib); done
                     27:        ls tmp/*.o | sort -t/ +1 > t1
                     28:        ar cr libc.a `lorder \`cat t1\` | tsort` ${MACHINE}/csu/${DFLMON}
                     29:        ar ma flsbuf.o libc.a exit.o
                     30:        rm -f t1 tmp/*
                     31:        for i in ${ALL}; do (cd tmp; ar x ../$$i/$${i}lib_p); done
                     32:        ls tmp/*.o | sort -t/ +1 > t1
                     33:        ar cr libc_p.a `lorder \`cat t1\` | tsort` ${MACHINE}/csu/${DFLMON}
                     34:        ar ma flsbuf.o libc_p.a exit.o
                     35:        rm -rf t1 tmp
                     36: 
                     37: ${MACHINE}/csu ${ALL}: FRC
                     38:        cd $@; make ${MFLAGS}
                     39: 
                     40: FRC:
                     41: 
                     42: clean:
                     43:        for i in ${MACHINE}/csu ${ALL}; do (cd $$i; make ${MFLAGS} clean); done
                     44:        rm -f t1 tmp/*.o
                     45:        -rmdir tmp
                     46: 
                     47: install: 
                     48:        ${INSTALL} libc.a ${DESTDIR}/lib/libc.a
                     49:        ranlib ${DESTDIR}/lib/libc.a
                     50:        ${INSTALL} libc_p.a ${DESTDIR}/usr/lib/libc_p.a
                     51:        ranlib ${DESTDIR}/usr/lib/libc_p.a
                     52:        cd ${MACHINE}/csu; make DESTDIR=${DESTDIR} install

unix.superglobalmegacorp.com

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