# you can use 'CLIBS=$(INSTALLED_LIBS)' 'CDEPS='
INSTALLED_LIBS=-lbfd -lreadline $(TERMCAP) -lopcodes -lmmalloc \
-liberty $(XM_CLIBS) $(TM_CLIBS) $(NAT_CLIBS)
# you can use 'CLIBS=$(INSTALLED_LIBS)' 'CDEPS='
INSTALLED_LIBS=-lbfd -lreadline $(TERMCAP) -lopcodes -lmmalloc \
-liberty $(XM_CLIBS) $(TM_CLIBS) $(NAT_CLIBS)
-CLIBS = $(BFD) $(READLINE) $(TERMCAP) $(OPCODES) $(MMALLOC) \
- $(LIBIBERTY) $(XM_CLIBS) $(TM_CLIBS) $(NAT_CLIBS)
+CLIBS = $(BFD) $(READLINE) $(OPCODES) $(MMALLOC) \
+ $(LIBIBERTY) $(TERMCAP) $(XM_CLIBS) $(TM_CLIBS) $(NAT_CLIBS)
# Host and target-dependent makefile fragments come in here.
####
# End of host and target-dependent makefile fragments
# Host and target-dependent makefile fragments come in here.
####
# End of host and target-dependent makefile fragments
dbxread.c demangle.c dwarfread.c elfread.c environ.c eval.c expprint.c \
findvar.c gdbtypes.c infcmd.c inflow.c infrun.c language.c putenv.c \
m2-exp.y m2-lang.c m2-typeprint.c m2-valprint.c main.c maint.c \
dbxread.c demangle.c dwarfread.c elfread.c environ.c eval.c expprint.c \
findvar.c gdbtypes.c infcmd.c inflow.c infrun.c language.c putenv.c \
m2-exp.y m2-lang.c m2-typeprint.c m2-valprint.c main.c maint.c \
- mem-break.c minsyms.c mipsread.c objfiles.c parse.c printcmd.c \
- remote.c source.c stabsread.c stack.c symfile.c symmisc.c symtab.c \
- target.c typeprint.c utils.c valarith.c valops.c valprint.c values.c \
- serial.c ser-unix.c
+ mem-break.c minsyms.c mipsread.c nlmread.c objfiles.c parse.c \
+ printcmd.c remote.c source.c stabsread.c stack.c symfile.c symmisc.c \
+ symtab.c target.c typeprint.c utils.c valarith.c valops.c valprint.c \
+ values.c serial.c ser-unix.c
Projects .gdbinit COPYING $(YYFILES) copying.c copying.awk \
saber.suppress standalone.c stuff.c kdb-start.c gcc.patch \
nindy-share/Makefile nindy-share/VERSION nindy-share/README \
Projects .gdbinit COPYING $(YYFILES) copying.c copying.awk \
saber.suppress standalone.c stuff.c kdb-start.c gcc.patch \
nindy-share/Makefile nindy-share/VERSION nindy-share/README \
config/m68k/xm-m68k.h config/sparc/xm-sparc.h config/xm-sysv4.h \
config/vax/xm-vax.h config/nm-trash.h $(udiheaders) \
29k-share/udi/udiids.h 29k-share/udi_soc nindy-share/b.out.h \
config/m68k/xm-m68k.h config/sparc/xm-sparc.h config/xm-sysv4.h \
config/vax/xm-vax.h config/nm-trash.h $(udiheaders) \
29k-share/udi/udiids.h 29k-share/udi_soc nindy-share/b.out.h \
- nindy-share/block_io.h nindy-share/coff.h nindy-share/demux.h \
- nindy-share/env.h nindy-share/stop.h nindy-share/ttycntl.h \
+ nindy-share/block_io.h nindy-share/coff.h \
+ nindy-share/env.h nindy-share/stop.h \
vx-share/dbgRpcLib.h vx-share/ptrace.h vx-share/vxTypes.h \
vx-share/vxWorks.h vx-share/wait.h vx-share/xdr_ld.h \
vx-share/dbgRpcLib.h vx-share/ptrace.h vx-share/vxTypes.h \
vx-share/vxWorks.h vx-share/wait.h vx-share/xdr_ld.h \
SOURCES = $(SFILES) $(ALLDEPFILES) $(YYFILES)
# Don't include YYFILES (*.tab.c) because we already include *.y in SFILES,
# and it's more useful to see it in the .y file.
SOURCES = $(SFILES) $(ALLDEPFILES) $(YYFILES)
# Don't include YYFILES (*.tab.c) because we already include *.y in SFILES,
# and it's more useful to see it in the .y file.
TARFILES = $(SFILES) $(HFILES) $(NONSRC) $(ALLDEPFILES) $(ALLCONFIG) \
$(ALLPARAM) $(INFOFILES) $(POSSLIBS) $(REMOTE_EXAMPLES)
TARFILES = $(SFILES) $(HFILES) $(NONSRC) $(ALLDEPFILES) $(ALLCONFIG) \
$(ALLPARAM) $(INFOFILES) $(POSSLIBS) $(REMOTE_EXAMPLES)
utils.o expprint.o environ.o gdbtypes.o copying.o $(DEPFILES) \
mem-break.o target.o putenv.o parse.o language.o $(YYOBJ) buildsym.o \
objfiles.o minsyms.o maint.o demangle.o dbxread.o coffread.o elfread.o \
dwarfread.o mipsread.o stabsread.o core.o c-lang.o ch-lang.o m2-lang.o \
complaints.o typeprint.o c-typeprint.o ch-typeprint.o m2-typeprint.o \
utils.o expprint.o environ.o gdbtypes.o copying.o $(DEPFILES) \
mem-break.o target.o putenv.o parse.o language.o $(YYOBJ) buildsym.o \
objfiles.o minsyms.o maint.o demangle.o dbxread.o coffread.o elfread.o \
dwarfread.o mipsread.o stabsread.o core.o c-lang.o ch-lang.o m2-lang.o \
complaints.o typeprint.o c-typeprint.o ch-typeprint.o m2-typeprint.o \
# Traditionally "install" depends on "all". But it may be useful
# not to; for example, if the user has made some trivial change to a
# source file and doesn't care about rebuilding or just wants to save the
# Traditionally "install" depends on "all". But it may be useful
# not to; for example, if the user has made some trivial change to a
# source file and doesn't care about rebuilding or just wants to save the
$(CC-LD) $(GLOBAL_CFLAGS) $(LDFLAGS) -o gdb \
init.o $(OBS) $(TSOBS) $(ADD_FILES) $(CLIBS) $(LOADLIBES)
$(CC-LD) $(GLOBAL_CFLAGS) $(LDFLAGS) -o gdb \
init.o $(OBS) $(TSOBS) $(ADD_FILES) $(CLIBS) $(LOADLIBES)
rm -f rapp_init.c
$(srcdir)/munch $(MUNCH_DEFINE) $(RAPP_OBS) > rapp_init.c
$(CC-LD) $(LDFLAGS) -o $@ rapp_init.c $(RAPP_OBS)
rm -f rapp_init.c
$(srcdir)/munch $(MUNCH_DEFINE) $(RAPP_OBS) > rapp_init.c
$(CC-LD) $(LDFLAGS) -o $@ rapp_init.c $(RAPP_OBS)
# Build a tar file from a proto-gdb.dir.
gdb-$(VERSION).tar.Z: force_update
rm -f gdb.tar gdb-$(VERSION).tar.Z
# Build a tar file from a proto-gdb.dir.
gdb-$(VERSION).tar.Z: force_update
rm -f gdb.tar gdb-$(VERSION).tar.Z
distclean: clean
@$(MAKE) $(FLAGS_TO_PASS) DO=distclean "DODIRS=$(SUBDIRS)" subdir_do
rm -f nm.h tm.h xm.h config.status
distclean: clean
@$(MAKE) $(FLAGS_TO_PASS) DO=distclean "DODIRS=$(SUBDIRS)" subdir_do
rm -f nm.h tm.h xm.h config.status
# c-exp.tab.c is generated in objdir from c-exp.y if it doesn't exist
# in srcdir, then compiled in objdir to c-exp.tab.o.
# c-exp.tab.c is generated in objdir from c-exp.y if it doesn't exist
# in srcdir, then compiled in objdir to c-exp.tab.o.
-# c-exp.tab.c is so the command argument will never match c-exp.y
-# (some "makes" rewrite the VPATH into command arguments if they match deps).
+
+# If we said c-exp.tab.c rather than ./c-exp.tab.c some makes
+# would sometimes re-write it into $(srcdir)/c-exp.tab.c.
+
# ch-exp.tab.c is generated in objdir from ch-exp.y if it doesn't exist
# in srcdir, then compiled in objdir to ch-exp.tab.o.
# ch-exp.tab.c is generated in objdir from ch-exp.y if it doesn't exist
# in srcdir, then compiled in objdir to ch-exp.tab.o.
# m2-exp.tab.c is generated in objdir from m2-exp.y if it doesn't exist
# in srcdir, then compiled in objdir to m2-exp.tab.o.
# m2-exp.tab.c is generated in objdir from m2-exp.y if it doesn't exist
# in srcdir, then compiled in objdir to m2-exp.tab.o.
# These files are updated atomically, so make never has to remove them
.PRECIOUS: m2-exp.tab.c ch-exp.tab.c c-exp.tab.c
# These files are updated atomically, so make never has to remove them
.PRECIOUS: m2-exp.tab.c ch-exp.tab.c c-exp.tab.c
# These are things from config/*/*.m? fragments. There is no good reason
# why they are separate from the lists of files above.
# These are things from config/*/*.m? fragments. There is no good reason
# why they are separate from the lists of files above.
a29k-pinsn.c a29k-tdep.c a68v-nat.c altos-xdep.c arm-convert.s \
arm-pinsn.c arm-tdep.c arm-xdep.c convex-pinsn.c convex-tdep.c \
a29k-pinsn.c a29k-tdep.c a68v-nat.c altos-xdep.c arm-convert.s \
arm-pinsn.c arm-tdep.c arm-xdep.c convex-pinsn.c convex-tdep.c \
go32-xdep.c gould-pinsn.c gould-xdep.c h8300-tdep.c h8500-tdep.c \
hp300ux-nat.c hppa-pinsn.c hppa-tdep.c hppab-nat.c hppah-nat.c \
i386-pinsn.c i386-tdep.c i386b-nat.c i386mach-nat.c i386v-nat.c \
go32-xdep.c gould-pinsn.c gould-xdep.c h8300-tdep.c h8500-tdep.c \
hp300ux-nat.c hppa-pinsn.c hppa-tdep.c hppab-nat.c hppah-nat.c \
i386-pinsn.c i386-tdep.c i386b-nat.c i386mach-nat.c i386v-nat.c \
infptrace.c inftarg.c irix4-nat.c isi-xdep.c m68k-pinsn.c m68k-tdep.c \
m88k-nat.c m88k-pinsn.c m88k-tdep.c mips-nat.c mips-pinsn.c \
mips-tdep.c news-xdep.c nindy-share/Onindy.c nindy-share/nindy.c \
infptrace.c inftarg.c irix4-nat.c isi-xdep.c m68k-pinsn.c m68k-tdep.c \
m88k-nat.c m88k-pinsn.c m88k-tdep.c mips-nat.c mips-pinsn.c \
mips-tdep.c news-xdep.c nindy-share/Onindy.c nindy-share/nindy.c \
ns32k-pinsn.c paread.c procfs.c pyr-pinsn.c pyr-tdep.c pyr-xdep.c \
remote-adapt.c remote-eb.c remote-es.c remote-hms.c remote-mips.c \
remote-mm.c remote-monitor.c remote-nindy.c remote-sim.c remote-st.c \
remote-udi.c remote-vx.c remote-z8k.c rs6000-nat.c rs6000-pinsn.c \
rs6000-tdep.c ser-go32.c ser-tcp.c sh-tdep.c solib.c sparc-nat.c \
sparc-pinsn.c sparc-tdep.c sun3-nat.c sun386-nat.c symm-tdep.c \
ns32k-pinsn.c paread.c procfs.c pyr-pinsn.c pyr-tdep.c pyr-xdep.c \
remote-adapt.c remote-eb.c remote-es.c remote-hms.c remote-mips.c \
remote-mm.c remote-monitor.c remote-nindy.c remote-sim.c remote-st.c \
remote-udi.c remote-vx.c remote-z8k.c rs6000-nat.c rs6000-pinsn.c \
rs6000-tdep.c ser-go32.c ser-tcp.c sh-tdep.c solib.c sparc-nat.c \
sparc-pinsn.c sparc-tdep.c sun3-nat.c sun386-nat.c symm-tdep.c \
vax-pinsn.c vx-share/xdr_ld.c vx-share/xdr_ptrace.c vx-share/xdr_rdb.c \
xcoffexec.c xcoffread.c xcoffsolib.c z8k-tdep.c
ALLPARAM = config/a29k/nm-ultra3.h config/a29k/tm-a29k.h \
vax-pinsn.c vx-share/xdr_ld.c vx-share/xdr_ptrace.c vx-share/xdr_rdb.c \
xcoffexec.c xcoffread.c xcoffsolib.c z8k-tdep.c
ALLPARAM = config/a29k/nm-ultra3.h config/a29k/tm-a29k.h \
config/arm/xm-arm.h config/convex/tm-convex.h \
config/convex/xm-convex.h config/gould/tm-np1.h config/gould/tm-pn.h \
config/gould/xm-np1.h config/gould/xm-pn.h config/h8300/tm-h8300.h \
config/arm/xm-arm.h config/convex/tm-convex.h \
config/convex/xm-convex.h config/gould/tm-np1.h config/gould/tm-pn.h \
config/gould/xm-np1.h config/gould/xm-pn.h config/h8300/tm-h8300.h \
config/m68k/xm-sun2.h config/m68k/xm-sun3.h config/m68k/xm-sun3os4.h \
config/m88k/nm-m88k.h config/m88k/tm-delta88.h config/m88k/tm-m88k.h \
config/m88k/xm-delta88.h config/m88k/xm-m88k.h config/mips/nm-irix3.h \
config/m68k/xm-sun2.h config/m68k/xm-sun3.h config/m68k/xm-sun3os4.h \
config/m88k/nm-m88k.h config/m88k/tm-delta88.h config/m88k/tm-m88k.h \
config/m88k/xm-delta88.h config/m88k/xm-m88k.h config/mips/nm-irix3.h \
config/none/nm-none.h config/none/tm-none.h config/none/xm-none.h \
config/ns32k/nm-umax.h config/ns32k/tm-merlin.h config/ns32k/tm-umax.h \
config/ns32k/xm-merlin.h config/ns32k/xm-umax.h config/pa/nm-hppab.h \
config/pa/nm-hppah.h config/pa/tm-hppab.h config/pa/tm-hppah.h \
config/none/nm-none.h config/none/tm-none.h config/none/xm-none.h \
config/ns32k/nm-umax.h config/ns32k/tm-merlin.h config/ns32k/tm-umax.h \
config/ns32k/xm-merlin.h config/ns32k/xm-umax.h config/pa/nm-hppab.h \
config/pa/nm-hppah.h config/pa/tm-hppab.h config/pa/tm-hppah.h \
config/pyr/xm-pyr.h config/romp/xm-rtbsd.h config/rs6000/nm-rs6000.h \
config/rs6000/tm-rs6000.h config/rs6000/xm-rs6000.h config/sh/tm-sh.h \
config/sparc/nm-sun4os4.h config/sparc/tm-sparclite.h \
config/pyr/xm-pyr.h config/romp/xm-rtbsd.h config/rs6000/nm-rs6000.h \
config/rs6000/tm-rs6000.h config/rs6000/xm-rs6000.h config/sh/tm-sh.h \
config/sparc/nm-sun4os4.h config/sparc/tm-sparclite.h \
ALLCONFIG = config/a29k/a29k-kern.mt config/a29k/a29k-udi.mt \
config/a29k/a29k.mt config/a29k/ultra3.mh config/a29k/ultra3.mt \
ALLCONFIG = config/a29k/a29k-kern.mt config/a29k/a29k-udi.mt \
config/a29k/a29k.mt config/a29k/ultra3.mh config/a29k/ultra3.mt \
config/arm/arm.mh config/arm/arm.mt config/convex/convex.mh \
config/convex/convex.mt config/gould/np1.mh config/gould/np1.mt \
config/gould/pn.mh config/gould/pn.mt config/h8300/h8300hms.mt \
config/arm/arm.mh config/arm/arm.mt config/convex/convex.mh \
config/convex/convex.mt config/gould/np1.mh config/gould/np1.mt \
config/gould/pn.mh config/gould/pn.mt config/h8300/h8300hms.mt \
config/i386/i386sol2.mh config/i386/i386sol2.mt config/i386/i386v.mh \
config/i386/i386v.mt config/i386/i386v32.mh config/i386/i386v4.mh \
config/i386/i386v4.mt config/i386/linux.mh config/i386/linux.mt \
config/i386/i386sol2.mh config/i386/i386sol2.mt config/i386/i386v.mh \
config/i386/i386v.mt config/i386/i386v32.mh config/i386/i386v4.mh \
config/i386/i386v4.mt config/i386/linux.mh config/i386/linux.mt \
config/i386/sun386.mt config/i386/symmetry.mh config/i386/symmetry.mt \
config/i960/nindy960.mt config/i960/vxworks960.mt config/m68k/3b1.mh \
config/m68k/3b1.mt config/m68k/altos.mh config/m68k/altos.mt \
config/i386/sun386.mt config/i386/symmetry.mh config/i386/symmetry.mt \
config/i960/nindy960.mt config/i960/vxworks960.mt config/m68k/3b1.mh \
config/m68k/3b1.mt config/m68k/altos.mh config/m68k/altos.mt \
demangle.o: demangle.c $(defs_h) $(gdbcmd_h)
dwarfread.o: dwarfread.c $(bfd_h) buildsym.h complaints.h $(defs_h) \
demangle.o: demangle.c $(defs_h) $(gdbcmd_h)
dwarfread.o: dwarfread.c $(bfd_h) buildsym.h complaints.h $(defs_h) \
$(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/nindy-share/Onindy.c
nindy.o: nindy-share/nindy.c $(wait_h) nindy-share/block_io.h \
$(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/nindy-share/Onindy.c
nindy.o: nindy-share/nindy.c $(wait_h) nindy-share/block_io.h \
-ttybreak.o: nindy-share/ttybreak.c nindy-share/ttycntl.h
- $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/nindy-share/ttybreak.c
+nlmread.o: nlmread.c $(bfd_h) buildsym.h complaints.h $(defs_h) \
+ gdb-stabs.h objfiles.h symfile.h $(symtab_h)
$(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/nindy-share/ttyflush.c
nindy-tdep.o: nindy-tdep.c $(defs_h) $(frame_h) $(symtab_h)
$(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/nindy-share/ttyflush.c
nindy-tdep.o: nindy-tdep.c $(defs_h) $(frame_h) $(symtab_h)
$(gdbcore_h) monitor.h serial.h target.h
remote-nindy.o: remote-nindy.c $(ieee-float_h) $(wait_h) $(command_h) \
$(gdbcore_h) monitor.h serial.h target.h
remote-nindy.o: remote-nindy.c $(ieee-float_h) $(wait_h) $(command_h) \
- $(defs_h) $(gdbcore_h) $(inferior_h) nindy-share/demux.h \
- nindy-share/env.h nindy-share/stop.h nindy-share/ttycntl.h \
+ $(defs_h) $(gdbcore_h) $(inferior_h) \
+ nindy-share/env.h nindy-share/stop.h \
language.h objfiles.h symfile.h $(symtab_h) target.h
symm-tdep.o: symm-tdep.c $(defs_h) $(gdbcore_h) $(inferior_h)
language.h objfiles.h symfile.h $(symtab_h) target.h
symm-tdep.o: symm-tdep.c $(defs_h) $(gdbcore_h) $(inferior_h)
symmisc.o: symmisc.c $(bfd_h) $(breakpoint_h) $(command_h) $(defs_h) \
$(expression_h) $(gdbtypes_h) language.h objfiles.h symfile.h \
$(symtab_h)
symmisc.o: symmisc.c $(bfd_h) $(breakpoint_h) $(command_h) $(defs_h) \
$(expression_h) $(gdbtypes_h) language.h objfiles.h symfile.h \
$(symtab_h)
typeprint.o: typeprint.c $(defs_h) $(expression_h) $(gdbcmd_h) \
$(gdbcore_h) $(gdbtypes_h) language.h $(symtab_h) target.h \
$(value_h)
ultra3-nat.o: ultra3-nat.c $(defs_h) $(gdbcore_h) $(inferior_h)
typeprint.o: typeprint.c $(defs_h) $(expression_h) $(gdbcmd_h) \
$(gdbcore_h) $(gdbtypes_h) language.h $(symtab_h) target.h \
$(value_h)
ultra3-nat.o: ultra3-nat.c $(defs_h) $(gdbcore_h) $(inferior_h)
-ultra3-xdep.o: ultra3-xdep.c $(defs_h) $(gdbcore_h) $(inferior_h
-umax-xdep.o: umax-xdep.c $(defs_h) $(gdbcore_h) $(inferior_h
+ultra3-xdep.o: ultra3-xdep.c $(defs_h) $(gdbcore_h) $(inferior_h)
+umax-xdep.o: umax-xdep.c $(defs_h) $(gdbcore_h) $(inferior_h)
utils.o: utils.c $(bfd_h) $(defs_h) $(expression_h) $(gdbcmd_h) \
language.h signals.h target.h terminal.h
valarith.o: valarith.c $(bfd_h) $(defs_h) $(expression_h) \
$(gdbtypes_h) language.h $(symtab_h) target.h $(value_h)
utils.o: utils.c $(bfd_h) $(defs_h) $(expression_h) $(gdbcmd_h) \
language.h signals.h target.h terminal.h
valarith.o: valarith.c $(bfd_h) $(defs_h) $(expression_h) \
$(gdbtypes_h) language.h $(symtab_h) target.h $(value_h)
valprint.o: valprint.c $(defs_h) $(expression_h) $(gdbcmd_h) \
$(gdbcore_h) $(gdbtypes_h) language.h $(symtab_h) target.h \
$(value_h)
valprint.o: valprint.c $(defs_h) $(expression_h) $(gdbcmd_h) \
$(gdbcore_h) $(gdbtypes_h) language.h $(symtab_h) target.h \
$(value_h)