Annotation of 43BSDTahoe/ucb/dbx/tests/pc/Makefile, revision 1.1.1.1

1.1       root        1: #
                      2: # Makefile for testing dbx.
                      3: #
                      4: 
                      5: .SUFFIXES:
                      6: 
                      7: .SUFFIXES: .p .i .s .o .x .t .in .tst .out
                      8: 
                      9: #
                     10: # Suffix conventions:
                     11: #
                     12: #      .p      Pascal source
                     13: #      .i      Pascal definitions file
                     14: #      .s      assembly code file
                     15: #      .o      object file
                     16: #      .x      executable file
                     17: #      .t      dummy file represented last time tested
                     18: #      .in     input for testing
                     19: #      .tst    test output
                     20: #      .out    expected output
                     21: #
                     22: 
                     23: PC = pc
                     24: PCFLAGS = -g -w
                     25: TESTDBX = ../../tdbx
                     26: TESTS = arrays.t assign.t bigsym.t bool.t call.t enum.t incltest.t longsym.t \
                     27:     nested.t reals.t records.t sets.t const.t
                     28: 
                     29: PROGS = arrays.x assign.x bigsym.x bool.x call.x enum.x incltest.x longsym.x \
                     30:     nested.x reals.x records.x sets.x const.x
                     31: 
                     32: .p.x:
                     33:        ${PC} ${PCFLAGS} $*.p -o $*.x
                     34: 
                     35: .p.o:
                     36:        ${PC} -c ${PCFLAGS} $*.p
                     37: 
                     38: .in.tst:
                     39:        @rm -f $*.tst
                     40:        ../runtest ${TESTDBX} $* > $*.tst
                     41: 
                     42: .x.t:
                     43:        @echo "    $*"
                     44:        @rm -f tmp
                     45:        @../runtest ${TESTDBX} $* > tmp
                     46:        @../check tmp $*.out
                     47:        @rm -f tmp
                     48:        @rm -f $*.t
                     49:        @touch $*.t
                     50: 
                     51: passed: ${PROGS} beforemsg ${TESTS}
                     52:        @echo "passed Pascal tests"
                     53: 
                     54: beforemsg:
                     55:        @echo ""
                     56:        @echo "Pascal tests:"
                     57: 
                     58: INCLOBJ = includes.o included.o
                     59: 
                     60: incltest.x: ${INCLOBJ}
                     61:        ${PC} -g ${INCLOBJ} -o incltest.x
                     62: 
                     63: arrays.t: arrays.x ${TESTDBX}
                     64: assign.t: assign.x ${TESTDBX}
                     65: bigsym.t: bigsym.x ${TESTDBX}
                     66: bool.t: bool.x ${TESTDBX}
                     67: call.t: call.x ${TESTDBX}
                     68: enum.t: enum.x ${TESTDBX}
                     69: incltest.t: incltest.x ${TESTDBX}
                     70: longsym.t: longsym.x ${TESTDBX}
                     71: nested.t: nested.x ${TESTDBX}
                     72: reals.t: reals.x ${TESTDBX}
                     73: records.t: records.x ${TESTDBX}
                     74: sets.t: sets.x ${TESTDBX}
                     75: const.t: const.x ${TESTDBX}

unix.superglobalmegacorp.com

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