Annotation of 40BSD/cmd/px/makefile, revision 1.1.1.1

1.1       root        1: SCCSID = "@(#)makefile 4.1 10/10/80"
                      2: 
                      3: CFLAGS = -O -d2 -DVAX -DOBJ
                      4: INSTALLDIR =$(DESTDIR)/usr/ucb
                      5: CC = cc
                      6: AS = as
                      7: RM = rm -f
                      8: 
                      9: PXRUN =        int.c perror.c stats.c utilities.c
                     10: 
                     11: PXHDR =        00case.h OPnames.h h00vars.h objfmt.h
                     12: 
                     13: PXINT =        01int.s 02relset.s 03rel.s 04as.s 05index.s 06add.s 07sub.s \
                     14:        08call.s 10mul.s 12div.s 13mod.s 14neg.s 15bool.s 16dvd.s \
                     15:        17ind.s 18rv.s 20con.s 21rang.s 23case.s 24pxp.s 25set.s \
                     16:        26for.s 27conv.s 28fun.s 30read.s 31write.s 32iostat.s \
                     17:        33iofile.s 35iosubs.s
                     18: 
                     19: PXUTL =        malloc.c opc.c opoff.c pic.c version.c \
                     20:        make.ed1 make.ed2 errdata
                     21: 
                     22: px: Version.c int.o perror.o stats.o utilities.o malloc.o px.o
                     23:        ${CC} -O -o px Version.c int.o px.o utilities.o \
                     24:                perror.o stats.o malloc.o -lm
                     25: 
                     26: Version.c: version.c
                     27:        ${CC} -o version version.c
                     28:        ./version >Version.c
                     29:        ${RM}  version
                     30: int.o: h00vars.h objfmt.h
                     31: perror.o stats.o: h00vars.h h01errs.h
                     32: utilities.o: h00vars.h h01errs.h h02opcs.h
                     33: malloc.o: h01errs.h
                     34:        ${CC} -O -c -d2 -Ddebug malloc.c
                     35: px.o: 00case.s 34err.s ${PXINT}
                     36:        cat 00case.s 34err.s ${PXINT} | ${AS} -d2 -o px.o
                     37: 00case.s: OPnames.h 00case.h opoff.c
                     38:        ${CC} opoff.c -o opoff
                     39:        ./opoff >optab
                     40:        cat 00case.h optab >00case.s
                     41:        ${RM} opoff optab
                     42: h01errs.h 34err.s: errdata make.ed1
                     43:        ed - <make.ed1
                     44:        ${RM}  E.s
                     45: h02opcs.h: OPnames.h opc.c
                     46:        ${CC} opc.c -o opc
                     47:        ./opc >h02opcs.h
                     48:        ${RM} opc
                     49: 
                     50: install: px
                     51:        cp px ${INSTALLDIR}/px
                     52: 
                     53: clean:
                     54:        ${RM}  *.o px version 00case.s optab opoff opc pic errs h02opcs.h
                     55: 
                     56: print: 00case.s 34err.s OPnames.h make.ed2
                     57:        @pr READ_ME makefile
                     58:        @ls -l | pr
                     59:        @${CC} -o pic pic.c
                     60:        @pic | pr
                     61:        @pr h00vars.h Version.c int.c
                     62:        @cat [0-3][0-9]*.s >tmp
                     63:        @ed - tmp <make.ed2
                     64:        @cat -n <tmp | pr
                     65:        @pr perror.c stats.c utilities.c
                     66:        @${RM}  tmp pic*

unix.superglobalmegacorp.com

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