aboutsummaryrefslogtreecommitdiff
path: root/gdb/Makefile.in
diff options
context:
space:
mode:
authorStu Grossman <grossman@cygnus>1994-08-18 06:32:55 +0000
committerStu Grossman <grossman@cygnus>1994-08-18 06:32:55 +0000
commitb7da24943dbe07851c083336f4c352e6e2e41d74 (patch)
treea4e317f709103fd5840b842e74f8a6aee753e05d /gdb/Makefile.in
parent8c074d7ada27e4eecda9fa92c79e5bc5cf23f77b (diff)
downloadgdb-b7da24943dbe07851c083336f4c352e6e2e41d74.zip
gdb-b7da24943dbe07851c083336f4c352e6e2e41d74.tar.gz
gdb-b7da24943dbe07851c083336f4c352e6e2e41d74.tar.bz2
* Makefile.in (TARGET_FLAGS_TO_PASS): Pass down LD_FOR_TARGET and
NLMCONV_FOR_TARGET. (SUBDIRS): Add nlm target. * configure.in (powerpc-*-netware*): Automatically configure nlm subdir. * nlm/Makefile.in: Add {CC NLMCONV LD}_FOR_TARGET. Remove alpha specific stuff. Make things more configurable. * nlm/configure.in: Add powerpc-*-netware* target. Use gdbserve.mt/cpu.c/cpu.h for target stuff. Get rid of tm/xm/nm.h files. * nlm/gdbserve.c: Move Alpha specific stuff into other files. Remove lots of architecture-specific stuff. * nlm/gdbserve.def: Add new imports. * nlm/ppc.c, nlm/ppc.h: New files that contain PowerPC specific code. * nlm/prelude.c: Don't include libhooks.h, get rid of call to register library. * nlm/prelude.o: What was this doing here?
Diffstat (limited to 'gdb/Makefile.in')
-rw-r--r--gdb/Makefile.in13
1 files changed, 9 insertions, 4 deletions
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index d01dd07..cb54b34 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -307,6 +307,7 @@ TARGET_FLAGS_TO_PASS = \
"prefix=$(prefix)" \
"exec_prefix=$(exec_prefix)" \
"against=$(against)" \
+ "BISON=$(BISON)" \
'CC=$$(CC_FOR_TARGET)' \
"CC_FOR_TARGET=$(CC_FOR_TARGET)" \
"CFLAGS=$(CFLAGS)" \
@@ -317,13 +318,14 @@ TARGET_FLAGS_TO_PASS = \
'CXX=$$(CXX_FOR_TARGET)' \
"CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
"CXXFLAGS=$(CXXFLAGS)" \
- "MAKEINFO=$(MAKEINFO)" \
"INSTALL=$(INSTALL)" \
"INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
"INSTALL_DATA=$(INSTALL_DATA)" \
+ "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
+ "MAKEINFO=$(MAKEINFO)" \
+ "NLMCONV_FOR_TARGET=$(NLMCONV_FOR_TARGET)" \
"RUNTEST=$(RUNTEST)" \
- "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
- "BISON=$(BISON)"
+ "RUNTESTFLAGS=$(RUNTESTFLAGS)"
# All source files that go into linking GDB.
# Links made at configuration time should not be specified here, since
@@ -462,7 +464,7 @@ NTSOBS = standalone.o
NTSSTART = kdb-start.o
-SUBDIRS = doc testsuite
+SUBDIRS = doc testsuite nlm
# For now, shortcut the "configure GDB for fewer languages" stuff.
YYFILES = c-exp.tab.c m2-exp.tab.c ch-exp.tab.c
@@ -584,6 +586,9 @@ nlmstub.nlm: nlmstub.o $(srcdir)/nlmstub.def
nlmstub: nlmstub.nlm
+nlm: force
+ rootme=`pwd`; export rootme; $(MAKE) $(TARGET_FLAGS_TO_PASS) DO=all DODIRS=nlm subdir_do
+
# 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