diff options
Diffstat (limited to 'gdb/RCS/Makefile,v')
-rw-r--r-- | gdb/RCS/Makefile,v | 367 |
1 files changed, 0 insertions, 367 deletions
diff --git a/gdb/RCS/Makefile,v b/gdb/RCS/Makefile,v deleted file mode 100644 index fd71c1c..0000000 --- a/gdb/RCS/Makefile,v +++ /dev/null @@ -1,367 +0,0 @@ -head 1.4; -access ; -symbols ; -locks ; strict; -comment @# @; - - -1.4 -date 89.03.27.21.28.33; author gnu; state Exp; -branches ; -next 1.3; - -1.3 -date 89.03.27.18.33.31; author gnu; state Exp; -branches ; -next 1.2; - -1.2 -date 89.03.13.19.02.58; author gnu; state Exp; -branches ; -next 1.1; - -1.1 -date 89.02.09.03.15.53; author gnu; state Exp; -branches ; -next ; - - -desc -@@ - - -1.4 -log -@More general support for ALLOCA and other local library routines; -other minor cleanup. -@ -text -@# On HPUX, you need to add -Ihp-include to CFLAGS. -# The headers in the directory hp-include override system headers -# and tell GDB to use BSD executable file format. -# You must also define REGEX & REGEX1 below and ALLOCA & ALLOCA1 (get -# alloca.c from the emacs distribution) to the CLIBS. -# If you compile GDB with GCC on HPUX, you must make sure that the "nm" used -# in "munch" is GNU's nm. This is because gcc uses a different .o -# file format than the native HPUX compiler. - -# On USG (System V) machines, you must make sure to setup REGEX & -# REGEX1 to point at regex.o and use the USG version of CLIBS. -# If your system has a broken alloca() -- most do -- then get -# alloca.c from the GNU Emacs distribution and set ALLOCA & ALLOCA1. -# Also, if you compile gdb with a compiler which uses the coff -# encapsulation feature (this is a function of the compiler used, NOT -# of the m-?.h file selected by config.gdb), you must make sure that -# the GNU nm is the one that is used by munch. - -# On Sunos 4.0 machines, make sure to compile *without* shared -# libraries if you want to run gdb on itself. Make sure to compile -# any program on which you want to run gdb without shared libraries. - -# If you are compiling with GCC, make sure that either 1) You use the -# -traditional flag, or 2) You have the fixed include files where GCC -# can reach them. Otherwise the ioctl calls in inflow.c will be -# incorrectly compiled. The "fixincludes" script in the gcc -# distribution will probably fix your include files up. - -CC=cc -SHELL=/bin/sh - -# Set this up with gcc if you have gnu ld and the loader will print out -# line numbers for undefinded refs. -CC-LD=${CC} - -# -I. for "#include <obstack.h>". Possibly regex.h also. -#CFLAGS = -g -pg -I. -O -CFLAGS = -I. -g -#LDFLAGS = -pg -g -LDFLAGS = -g - -# 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. Similarly with REGEX and "regex.o". -# You must define REGEX and REGEX1 on USG machines. -# If your system is missing alloca(), or, more likely, it's there but it -# doesn't work, define ALLOCA and ALLOCA1. -OBSTACK = obstack.o -OBSTACK1 = obstack.o -REGEX = regex.o -REGEX1 = regex.o -ALLOCA = alloca.o -ALLOCA1 = alloca.o -ADD_FILES = $(OBSTACK) $(REGEX) $(ALLOCA) $(GNU_MALLOC) -ADD_DEPS = $(OBSTACK1) $(REGEX1) $(ALLOCA1) $(GNU_MALLOC) - -# -# define this to be "malloc.o" if you want to use the gnu malloc routine -# (useful for debugging memory allocation problems in gdb). Otherwise, leave -# it blank. -GNU_MALLOC = -#GNU_MALLOC = malloc.o - -# Flags to be used in compiling malloc.o -# Specify range checking for storage allocation. -MALLOC_FLAGS = -#MALLOC_FLAGS = ${CFLAGS} -Drcheck -Dbotch=fatal -DMSTATS - -# for BSD -CLIBS = $(ADD_FILES) -# for USG -#CLIBS= $(ADD_FILES) -lPW - -SFILES = blockframe.c breakpoint.c coffread.c command.c core.c dbxread.c \ - environ.c eval.c expprint.c findvar.c infcmd.c inflow.c infrun.c \ - kdb-start.c main.c printcmd.c \ - remote.c source.c stack.c standalone.c stuff.c symmisc.c symtab.c \ - utils.c valarith.c valops.c valprint.c values.c version.c expread.y \ - xgdb.c - -DEPFILES = convex-dep.c umax-dep.c gould-dep.c default-dep.c sun3-dep.c \ - sparc-dep.c hp9k320-dep.c news-dep.c i386-dep.c - -PINSNS = gld-pinsn.c i386-pinsn.c sparc-pinsn.c vax-pinsn.c m68k-pinsn.c \ - ns32k-pinsn.c - -HFILES = command.h defs.h environ.h expression.h frame.h getpagesize.h \ - inferior.h symseg.h symtab.h value.h wait.h \ - a.out.encap.h a.out.gnu.h stab.gnu.h - -OPCODES = m68k-opcode.h pn-opcode.h sparc-opcode.h npl-opcode.h vax-opcode.h \ - ns32k-opcode.h - -MFILES = m-hp9k320.h m-i386.h m-i386gas.h m-isi.h m-merlin.h m-news.h \ - m-npl.h m-pn.h m-sparc.h m-sun2.h m-sun3.h m-sun2os4.h \ - m-sun3os4.h m-sun4os4.h m-umax.h m-vax.h - -POSSLIBS = obstack.h obstack.c regex.c regex.h malloc.c - -TESTS = testbpt.c testfun.c testrec.c testreg.c testregs.c - -OTHERS = Makefile createtags munch config.gdb ChangeLog README TAGS \ - gdb.texinfo .gdbinit COPYING expread.tab.c stab.def hp-include - -TAGFILES = ${SFILES} ${DEPFILES} ${PINSNS} ${HFILES} ${OPCODES} ${MFILES} \ - ${POSSLIBS} -TARFILES = ${TAGFILES} ${OTHERS} - -OBS = main.o 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 coffread.o dbxread.o infcmd.o infrun.o remote.o \ - command.o utils.o expread.o expprint.o pinsn.o environ.o version.o - -TSOBS = core.o inflow.o dep.o - -NTSOBS = standalone.o - -TSSTART = /lib/crt0.o - -NTSSTART = kdb-start.o - -gdb : $(OBS) $(TSOBS) $(ADD_DEPS) - -rm -f init.c - ./munch $(OBS) $(TSOBS) > init.c - ${CC-LD} $(LDFLAGS) -o gdb init.c $(OBS) $(TSOBS) $(CLIBS) - -xgdb : $(OBS) $(TSOBS) xgdb.o $(ADD_DEPS) - -rm -f init.c - ./munch $(OBS) $(TSOBS) xgdb.o > init.c - $(CC-LD) $(LDFLAGS) -o xgdb init.c $(OBS) $(TSOBS) xgdb.o \ - -lXaw -lXt -lX11 $(CLIBS) - -kdb : $(NTSSTART) $(OBS) $(NTSOBS) $(ADD_DEPS) - -rm -f init.c - ./munch $(OBS) $(NTSOBS) > init.c - $(CC-LD) $(LDFLAGS) -c init.c $(CLIBS) - ld -o kdb $(NTSSTART) $(OBS) $(NTSOBS) init.o -lc $(CLIBS) - -# If it can figure out the appropriate order, createtags will make sure -# that the proper m-*, *-dep, *-pinsn, and *-opcode files come first -# in the tags list. It will attempt to do the same for dbxread.c and -# coffread.c. This makes using M-. on machine dependent routines much -# easier. -# -TAGS: ${TAGFILES} - createtags ${TAGFILES} -tags: TAGS - -gdb.tar: ${TARFILES} - rm -f gdb.tar - mkdir dist-gdb - cd dist-gdb ; for i in ${TARFILES} ; do ln -s ../$$i . ; done - tar chf gdb.tar dist-gdb - rm -rf dist-gdb - -gdb.tar.Z: gdb.tar - compress gdb.tar - -clean: - -rm -f ${OBS} ${TSOBS} ${NTSOBS} ${OBSTACK} ${REGEX} - -rm -f init.c init.o - -rm -f gdb - -realclean: clean - -rm -f expread.tab.c tags TAGS - -xgdb.o : xgdb.c defs.h param.h symtab.h frame.h - $(CC) -c $(CFLAGS) xgdb.c -o $@@ - -expread.tab.c : expread.y - @@echo 'Expect 101 shift/reduce conflicts and 1 reduce/reduce conflict.' - 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 - -# -# Only useful if you are using the gnu malloc routines. -# -malloc.o : malloc.c - ${CC} -c ${MALLOC_FLAGS} malloc.c - -# -# dep.o depends on ALL the dep files since we don't know which one -# is really being used. -# -dep.o : ${DEPFILES} defs.h param.h frame.h inferior.h obstack.h \ - a.out.encap.h - -# pinsn.o depends on ALL the opcode printers -# since we don't know which one is really being used. -pinsn.o : ${PINSNS} defs.h param.h symtab.h obstack.h symseg.h frame.h \ - ${OPCODES} - -# -# The rest of this is a standard dependencies list (hand edited output of -# cpp -M). It does not include dependencies of .o files on .c files. -# -blockframe.o : defs.h param.h symtab.h obstack.h symseg.h frame.h -breakpoint.o : defs.h param.h symtab.h obstack.h symseg.h frame.h -coffread.o : defs.h param.h -command.o : command.h defs.h -core.o : defs.h param.h a.out.encap.h -dbxread.o : param.h defs.h symtab.h obstack.h symseg.h a.out.encap.h \ - stab.gnu.h -environ.o : environ.h -eval.o : defs.h param.h symtab.h obstack.h symseg.h value.h expression.h -expprint.o : defs.h symtab.h obstack.h symseg.h param.h expression.h -findvar.o : defs.h param.h symtab.h obstack.h symseg.h frame.h value.h -infcmd.o : defs.h param.h symtab.h obstack.h symseg.h frame.h inferior.h \ - environ.h value.h -inflow.o : defs.h param.h frame.h inferior.h -infrun.o : defs.h param.h symtab.h obstack.h symseg.h frame.h inferior.h \ - wait.h -kdb-start.o : defs.h param.h -main.o : defs.h command.h param.h -malloc.o : getpagesize.h -obstack.o : obstack.h -printcmd.o : defs.h param.h frame.h symtab.h obstack.h symseg.h value.h \ - expression.h -regex.o : regex.h -remote.o : defs.h param.h frame.h inferior.h wait.h -source.o : defs.h symtab.h obstack.h symseg.h param.h -stack.o : defs.h param.h symtab.h obstack.h symseg.h frame.h -standalone.o : defs.h param.h symtab.h obstack.h symseg.h frame.h \ - inferior.h wait.h -symmisc.o : defs.h symtab.h obstack.h symseg.h obstack.h -symtab.o : defs.h symtab.h obstack.h symseg.h param.h obstack.h -utils.o : defs.h param.h -valarith.o : defs.h param.h symtab.h obstack.h symseg.h value.h expression.h -valops.o : defs.h param.h symtab.h obstack.h symseg.h value.h frame.h \ - inferior.h -valprint.o : defs.h param.h symtab.h obstack.h symseg.h value.h -values.o : defs.h param.h symtab.h obstack.h symseg.h value.h - -robotussin.h : getpagesize.h -symtab.h : obstack.h symseg.h -a.out.encap.h : a.out.gnu.h -@ - - -1.3 -log -@A/UX changes. Use cc, use local regex.o, use local alloca.o -@ -text -@d4 2 -a5 2 -# You must also define REGEX & REGEX1 below and add alloca.o (from -# the emacs distribution) to the CLIBS. -d12 2 -d26 2 -a27 1 -# incorrectly compiled. -d46 2 -d52 4 -d70 1 -a70 1 -#CLIBS = $(OBSTACK) $(REGEX) $(GNU_MALLOC) -d72 1 -a72 1 -CLIBS= $(OBSTACK) $(REGEX) $(GNU_MALLOC) alloca.o -d122 1 -a122 1 -gdb : $(OBS) $(TSOBS) $(OBSTACK1) $(REGEX1) ${GNU_MALLOC} -d127 1 -a127 1 -xgdb : $(OBS) $(TSOBS) xgdb.o $(OBSTACK1) $(REGEX1) ${GNU_MALLOC} -d133 1 -a133 1 -kdb : $(NTSSTART) $(OBS) $(NTSOBS) $(OBSTACK1) $(REGEX1) ${GNU_MALLOC} -d161 1 -a161 1 - -rm -f init.c -d165 1 -a165 1 - -rm -f expread.tab.c -@ - - -1.2 -log -@All rm's to rm -f's. -@ -text -@d26 1 -a26 1 -CC=gcc -d45 2 -a46 2 -REGEX = -REGEX1 = -d61 1 -a61 1 -CLIBS = $(OBSTACK) $(REGEX) $(GNU_MALLOC) -d63 1 -a63 1 -#CLIBS= $(OBSTACK) $(REGEX) $(GNU_MALLOC) -lPW -@ - - -1.1 -log -@Initial revision -@ -text -@d26 1 -a26 1 -CC=/bin/cc -d114 1 -a114 1 - -rm init.c -d119 1 -a119 1 - -rm init.c -d125 1 -a125 1 - -rm init.c -d151 3 -a153 3 - -rm ${OBS} ${TSOBS} ${NTSOBS} ${OBSTACK} ${REGEX} - -rm init.c - -rm gdb -d156 1 -a156 1 - -rm expread.tab.c -@ |