123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475 |
- # -I. for "#include <obstack.h>"
- CFLAGS = -g -I.
- # define this to be "obstack.o" if you don't have the obstack library installed
- # you must at the same time define OBSTACK1 as "obstack.o"
- # so that the dependencies work right.
- #OBSTACK = -lobstack
- OBSTACK = obstack.o
- OBSTACK1 =
- STARTOBS = main.o firstfile.o
- OBS = blockframe.o breakpoint.o findvar.o stack.o source.o \
- values.o eval.o valops.o valarith.o valprint.o printcmd.o \
- symtab.o symmisc.o dbxread.o infcmd.o infrun.o
- TSOBS = core.o inflow.o
- NTSOBS = standalone.o
- ENDOBS = lastfile.o command.o utils.o expread.o expprint.o pinsn.o \
- environ.o version.o
- TSSTART = /lib/crt0.o
- NTSSTART = kdb-start.o
- gdb : $(STARTOBS) $(OBS) $(TSOBS) $(ENDOBS) $(OBSTACK1)
- ld -o gdb $(TSSTART) $(STARTOBS) $(OBS) $(TSOBS) $(ENDOBS) -lc -lg $(OBSTACK)
- kdb : $(NTSSTART) $(STARTOBS) $(OBS) $(NTSOBS) $(ENDOBS) $(OBSTACK1)
- ld -o kdb $(NTSSTART) $(STARTOBS) $(OBS) $(NTSOBS) $(ENDOBS) -lc -lg $(OBSTACK)
- blockframe.o : blockframe.c defs.h initialize.h param.h symtab.h frame.h
- breakpoint.o : breakpoint.c defs.h initialize.h param.h symtab.h frame.h
- command.o : command.c command.h
- core.o : core.c defs.h initialize.h param.h
- dbxread.o : dbxread.c defs.h initialize.h param.h symtab.h
- environ.o : environ.c environ.h
- expprint.o : expprint.c defs.h symtab.h expression.h
- expread.tab.c : expread.y
- @echo 'Expect 96 shift/reduce conflicts.'
- yacc expread.y
- mv y.tab.c expread.tab.c
- expread.o : expread.tab.c defs.h param.h symtab.h frame.h expression.h
- cc -c ${CFLAGS} expread.tab.c
- mv expread.tab.o expread.o
- eval.o : eval.c defs.h initialize.h symtab.h value.h expression.h
- findvar.o : findvar.c defs.h initialize.h param.h symtab.h frame.h value.h
- firstfile.o : firstfile.c initialize.h
- infcmd.o : infcmd.c defs.h initialize.h param.h symtab.h frame.h inferior.h environ.h value.h
- inflow.o : inflow.c defs.h initialize.h param.h frame.h inferior.h
- infrun.o : infrun.c defs.h initialize.h param.h symtab.h frame.h inferior.h wait.h
- kdb-start.o : kdb-start.c defs.h param.h
- lastfile.o : lastfile.c
- main.o : main.c defs.h command.h
- # pinsn.o depends on ALL the opcode printers
- # since we don't know which one is really being used.
- pinsn.o : pinsn.c defs.h param.h symtab.h \
- vax-opcode.h vax-pinsn.c m68k-opcode.h m68k-pinsn.c
- printcmd.o : printcmd.c defs.h initialize.h param.h symtab.h value.h expression.h
- source.o : source.c defs.h initialize.h symtab.h
- stack.o : stack.c defs.h initialize.h param.h symtab.h frame.h
- standalone.o : standalone.c defs.h initialize.h param.h symtab.h frame.h inferior.h wait.h
- symmisc.o : symmisc.c defs.h initialize.h symtab.h
- symtab.o : symtab.c defs.h initialize.h param.h symtab.h
- utils.o : utils.c defs.h
- valarith.o : valarith.c defs.h initialize.h param.h symtab.h value.h expression.h
- valops.o : valops.c defs.h initialize.h param.h symtab.h value.h
- valprint.o : valprint.c defs.h initialize.h symtab.h value.h
- values.o : values.c defs.h initialize.h param.h symtab.h value.h
- version.o : version.c
- obstack.o : obstack.c
|