aboutsummaryrefslogtreecommitdiff
path: root/gdb/Makefile.in
diff options
context:
space:
mode:
authorStu Grossman <grossman@cygnus>1994-07-23 00:53:28 +0000
committerStu Grossman <grossman@cygnus>1994-07-23 00:53:28 +0000
commitcad1498f8a8aaa41ca54ffdde76263740372975a (patch)
treeeaf8dfd3a65cdb20fc02c37c7ec9ae5c44dad53f /gdb/Makefile.in
parentf2c2e75ce090e3a012a942077587b2acc948e4ee (diff)
downloadgdb-cad1498f8a8aaa41ca54ffdde76263740372975a.zip
gdb-cad1498f8a8aaa41ca54ffdde76263740372975a.tar.gz
gdb-cad1498f8a8aaa41ca54ffdde76263740372975a.tar.bz2
* Makefile.in: Add stuff to build nlmstub.
* Add rule for annotate.o to keep Sun make happy. * configure.in: Add config for powerpc/Netware. * partial-stab.h (near N_SO): Don't call START_PSYMTAB with null filename. This speeds up handling of trailing N_SO stabs (they mark the end of a .o file). * target.c, target.h: Change the way pushing and popping of targets work to support target overlays and inheritance. * corelow.c, hppa-tdep.c, inflow.c, remote-nindy.c, utils.c: Fixup references to current_target, due to previous changes. * config/i386/tm-i386nw.h: Enable longjmp support. More work is needed to get the address of longjmp out of the target.
Diffstat (limited to 'gdb/Makefile.in')
-rw-r--r--gdb/Makefile.in41
1 files changed, 41 insertions, 0 deletions
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index 0f2eed8..dc8008b 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -268,6 +268,31 @@ CHILL_FOR_TARGET = ` \
fi`
CHILL_LIB = -lchill
+NLMCONV_FOR_TARGET = ` \
+ if [ -f $${rootme}/../binutils/nlmconv ] ; then \
+ echo $${rootme}/../binutils/nlmconv; \
+ else \
+ if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
+ echo $(NLMCONV); \
+ else \
+ t='$(program_transform_name)'; echo nlmconv | sed -e '' $$t; \
+ fi; \
+ fi`
+
+NWSOURCE = /gaunt/grossman/unsupported/Novell
+NWINCLUDES = $(NWSOURCE)/novh40
+
+LD_FOR_TARGET = ` \
+ if [ -f $${rootme}/../binutils/ld ] ; then \
+ echo $${rootme}/../binutils/ld; \
+ else \
+ if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
+ echo $(LD); \
+ else \
+ t='$(program_transform_name)'; echo ld | sed -e '' $$t; \
+ fi; \
+ fi`
+
# The use of $$(x_FOR_TARGET) reduces the command line length by not
# duplicating the lengthy definition.
TARGET_FLAGS_TO_PASS = \
@@ -559,6 +584,20 @@ gdb: $(OBS) $(TSOBS) $(ADD_DEPS) $(CDEPS) init.o
$(CC-LD) $(INTERNAL_LDFLAGS) -o gdb \
init.o $(OBS) $(TSOBS) $(ADD_FILES) $(CLIBS) $(LOADLIBES)
+prelude.o: $(NWSOURCE)/prelude.c
+ rootme=`pwd`; export rootme; $(CC_FOR_TARGET) -g -I $(NWINCLUDES) -c $(NWSOURCE)/prelude.c
+
+i386-nlmstub.o: $(srcdir)/i386-nlmstub.c
+ rootme=`pwd`; export rootme; $(CC_FOR_TARGET) -g -I $(NWINCLUDES) -c $(srcdir)/i386-nlmstub.c
+
+nlmstub.o: prelude.o i386-nlmstub.o
+ rootme=`pwd`; export rootme; $(LD_FOR_TARGET) -r -o nlmstub.o prelude.o i386-nlmstub.o
+
+nlmstub.nlm: nlmstub.o $(srcdir)/nlmstub.def
+ rootme=`pwd`; export rootme; $(NLMCONV_FOR_TARGET) -T $(srcdir)/nlmstub.def nlmstub.o nlmstub.nlm
+
+nlmstub: nlmstub.nlm
+
# libproc is not listed here because all-libproc is a dependency of all-gui,
# not all-gdb, and thus might be built after us.
LIBGDBDEPS=$(COMMON_OBS) $(LIBGDB_OBS) $(TSOBS) $(ADD_DEPS) $(CDEPS) init.o
@@ -1301,6 +1340,8 @@ top.o: top.c top.h $(bfd_h) $(getopt_h) $(readline_headers) call-cmds.h \
main.o: main.c top.h $(defs_h)
+annotate.o: annotate.c annotate.h $(defs_h) value.h target.h $(gdbtypes_h)
+
maint.o: maint.c $(defs_h) $(gdbcmd_h) $(gdbtypes_h) $(symtab_h) language.h \
$(expression_h)