Annotation of researchv9/sys/conf/mkfile, revision 1.1.1.1

1.1       root        1: #
                      2: # Makefile for Research V9.
                      3: #
                      4: C2=    /lib/c2
                      5: CC=    cc -m68020
                      6: AS=    as -m68020
                      7: LD=    ld
                      8: NPROC= 2
                      9: 
                     10: COPTS= ${IDENT} -DKERNEL
                     11: CFLAGS=        -O ${COPTS} -fsingle
                     12: 
                     13: FOBJS=Faddd.o Fadds.o Fdtos.o Ffloat.o Fflts.o Fmuls.o Fstod.o fp_globals.o
                     14: 
                     15: %OBJS
                     16: 
                     17: %CFILES
                     18: 
                     19: %SFILES
                     20: 
                     21: %LOAD
                     22: 
                     23: clean:
                     24:        rm -f eddep *unix* tags *.o locore.i [a-tv-z]*.s errs linterrs
                     25: 
                     26: lint:Q: /tmp
                     27:        lint -hbxn -I. -DGENERIC ${COPTS} ../sys/Locore.c ${CFILES} ../dev/swapgeneric.c ioconf.c |
                     28:            grep -v 'struct/union .* never defined' |
                     29:            grep -v 'possible pointer alignment problem'
                     30: 
                     31: ${FOBJS}: /lib/libc.a
                     32:        ar x /lib/libc.a ${FOBJS}
                     33: 
                     34: stab.o: ../sys/stab.c
                     35:        cc -I. ${COPTS} -g -c ../sys/stab.c
                     36: 
                     37: assym.s: ../h/param.h ../h/buf.h ../h/vmmeter.h ../h/vmparam.h \
                     38:        ../h/user.h ../h/cmap.h ../h/map.h ../h/proc.h \
                     39:        ../h/msgbuf.h ../machine/pte.h ../machine/reg.h \
                     40:        ../machine/psl.h ../machine/mmu.h ../machine/cpu.h \
                     41:        ../machine/zscom.h ../machine/scb.h ../conf/genassym.c \
                     42:        ../h/dir.h
                     43:        cc -I. ${COPTS} ../conf/genassym.c; ./a.out >assym.s; \
                     44:        rm -f a.out
                     45: 
                     46: ../h/param.h: ../machine/param.h ../h/signal.h ../h/types.h
                     47:        touch ../h/param.h
                     48: ../h/user.h: ../machine/pcb.h ../machine/reg.h ../h/dmap.h ../h/vtimes.h \
                     49:        ../h/types.h ../h/errno.h 
                     50:        touch ../h/user.h
                     51: ../h/vm.h: ../h/vmmac.h ../h/vmmeter.h ../h/vmparam.h ../h/vmsystm.h
                     52:        touch ../h/vm.h
                     53: ../h/vmparam.h: ../machine/vmparam.h
                     54:        touch ../h/vmparam.h
                     55: ../h/proc.h: ../h/lnode.h
                     56:        touch ../h/proc.h
                     57: ../machine/cpu.h: ../machine/sunromvec.h
                     58:        touch ../machine/cpu.h
                     59: ../sys/sysent.c: ../sys/vmsysent.c
                     60:        touch ../sys/sysent.c
                     61: 
                     62: depend:Q:
                     63:        grep '^#include' ${CFILES} ${SFILES} | grep -v '<' |
                     64:              sed 's/:[^"]*"\([^"]*\)".*/: \1/
                     65:                 s/\.c/.o/; s,../[a-z]*/,,' | \
                     66:        awk ' { if ($1 != prev) { print rec; rec = $0; prev = $1; }
                     67:                else { if (length(rec $2) > 78) { print rec; rec = $0; }
                     68:                       else rec = rec " " $2 } } ;
                     69:              END { print rec } ' > makedep
                     70:        echo '$r makedep
                     71:        /^# DO NOT DELETE THIS LINE/+1,$d
                     72:        $r makedep
                     73:        w' >eddep
                     74:        cp mkfile mkfile.bak
                     75:        ed - mkfile < eddep
                     76:        rm eddep makedep
                     77: 
                     78: ioconf.o: ioconf.c ../h/param.h ../machine/pte.h ../h/buf.h ../h/map.h \
                     79:     ../h/vm.h ../machine/mbvar.h
                     80:        ${CC} -I. -c ${CFLAGS} ioconf.c
                     81: 
                     82: ubglue.o: ubglue.s
                     83:        /lib/cpp -E -I. -DLOCORE ${IDENT} -DKERNEL ubglue.s >ubglue.i
                     84:        ${AS} -o ubglue.o ubglue.i
                     85:        rm -f ubglue.i
                     86: 
                     87: param.c: ../sys/param.c
                     88:        cp ../sys/param.c .
                     89: 
                     90: param.o: param.c mkfile
                     91:        ${CC} -c ${CFLAGS} ${PARAM} param.c
                     92: 
                     93: %RULES
                     94: 
                     95: # DO NOT DELETE THIS LINE -- mk depend uses it
                     96: 

unix.superglobalmegacorp.com

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