|
|
1.1 ! root 1: # @(#)Makefile 1.22 (Berkeley) 6/29/90 ! 2: # ! 3: # make file for pdx ! 4: # ! 5: # For best results edit this file in vi with tabstop=4. ! 6: # ! 7: # The file "defs.h" is included by all, it has most of the type ! 8: # declarations (since you can't have forward type references in C). ! 9: # It also defines various things of general use and includes <stdio.h>. ! 10: # ! 11: # The file "library.c" contains routines which are generally useful ! 12: # and are independent from pdx. ! 13: # ! 14: # N.B.: My version of cerror in "cerror.s" automatically catches certain ! 15: # errors such as out of memory, I/O error. If you re-make pdx with ! 16: # the standard cerror, the program could fault unexpectedly. ! 17: ! 18: PROG= pdx ! 19: CFLAGS= -DOBJ -DADDR32 -I. -I${.CURDIR} -I${.CURDIR}/../src ! 20: .PATH: ${.CURDIR}/breakpoint ${.CURDIR}/object ${.CURDIR}/mappings \ ! 21: ${.CURDIR}/main ${.CURDIR}/symtab ${.CURDIR}/process \ ! 22: ${.CURDIR}/command ${.CURDIR}/source ${.CURDIR}/tree ${.CURDIR}/sym \ ! 23: ${.CURDIR}/runtime ${.CURDIR}/machine ${.CURDIR}/../src ! 24: ! 25: SRCS= address.c assign.c attributes.c bp.c bpact.c build.c callproc.c \ ! 26: entry.c eval.c fixbps.c frame.c functab.c isactive.c library.c \ ! 27: main.c maketypes.c misc.c nextaddr.c objaddr.c opinfo.c optab.c \ ! 28: predicates.c print.c printdata.c printdecl.c printerror.c \ ! 29: printinst.c printnews.c printval.c prtree.c pstatus.c ptrace.c \ ! 30: rdwr.c readobj.c readsym.c remake.c resume.c runcont.c setbp.c \ ! 31: setbps.c source.c srcfile.c srcline.c start.c status.c step.c \ ! 32: symtab.c tfree.c tr_equal.c tracestop.c trcond.c tree.c trinfo.c \ ! 33: wheredump.c which.c ! 34: OBJS+= cerror.o grammar.o token.o ! 35: CLEANFILES+=h02opcs.h grammar.o opc token.o y.tab.c y.tab.h ! 36: ! 37: cerror.o: ! 38: ${CC} -c ${.CURDIR}/${MACHINE}/${.PREFIX}.s ! 39: ! 40: h02opcs.h: opc ${.CURDIR}/../src/OPnames.h ! 41: ./opc > ${.TARGET} ! 42: ! 43: opc: opc.c ! 44: ${CC} ${CFLAGS} ${.ALLSRC} -o ${.TARGET} ! 45: ! 46: .include <bsd.prog.mk> ! 47: ! 48: token.o: grammar.o ! 49: ${OBJS} .depend: h02opcs.h
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.