aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver/Makefile.in
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>2000-02-13 01:06:58 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>2000-02-13 01:06:58 +0000
commitd6e9fb0513bda136112dbed6a19d39b41e70ed47 (patch)
treee4434b156e0eb80d788d439d36d4fe79db44573a /gdb/gdbserver/Makefile.in
parent41c8e0096baad3729ace2e98acccb93af4cee668 (diff)
downloadgdb-d6e9fb0513bda136112dbed6a19d39b41e70ed47.zip
gdb-d6e9fb0513bda136112dbed6a19d39b41e70ed47.tar.gz
gdb-d6e9fb0513bda136112dbed6a19d39b41e70ed47.tar.bz2
2000-02-10 J.T. Conklin <jtc@redback.com>
* config/i386/nbsd.mt (GDBSERVER_DEPFILES): Add low-nbsd.o * configure.tgt (i[3456]86-*-netbsd*): add gdbserver to configdirs. * gdbserver/low-nbsd.c: New file. * gdbserver/Makefile.in: convert to autoconf. * gdbserver/configure.in: likewise. * gdbserver/configure: generate.
Diffstat (limited to 'gdb/gdbserver/Makefile.in')
-rw-r--r--gdb/gdbserver/Makefile.in53
1 files changed, 29 insertions, 24 deletions
diff --git a/gdb/gdbserver/Makefile.in b/gdb/gdbserver/Makefile.in
index e714e32..79b882e 100644
--- a/gdb/gdbserver/Makefile.in
+++ b/gdb/gdbserver/Makefile.in
@@ -1,4 +1,4 @@
-#Copyright 1989, 90, 91, 92, 93, 94, 95, 96, 1997
+#Copyright 1989, 90, 91, 92, 93, 94, 95, 96, 97, 99, 2000
#Free Software Foundation, Inc.
# This file is part of GDB.
@@ -17,16 +17,18 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-prefix = /usr/local
+prefix = @prefix@
+exec_prefix = @exec_prefix@
-program_transform_name =
-exec_prefix = $(prefix)
-bindir = $(exec_prefix)/bin
-libdir = $(exec_prefix)/lib
+host_alias = @host_alias@
+target_alias = @target_alias@
+program_transform_name = @program_transform_name@
+bindir = @bindir@
+libdir = @libdir@
tooldir = $(libdir)/$(target_alias)
-datadir = $(prefix)/share
-mandir = $(prefix)/man
+datadir = @datadir@
+mandir = @mandir@
man1dir = $(mandir)/man1
man2dir = $(mandir)/man2
man3dir = $(mandir)/man3
@@ -36,15 +38,15 @@ man6dir = $(mandir)/man6
man7dir = $(mandir)/man7
man8dir = $(mandir)/man8
man9dir = $(mandir)/man9
-infodir = $(prefix)/info
+infodir = @infodir@
htmldir = $(prefix)/html
-includedir = $(prefix)/include
+includedir = @includedir@
SHELL = /bin/sh
-INSTALL = `cd $(srcdir)/../..;pwd`/install-sh -c
-INSTALL_PROGRAM = $(INSTALL)
-INSTALL_DATA = $(INSTALL)
+INSTALL = @INSTALL@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_DATA = @INSTALL_DATA@
AR = ar
AR_FLAGS = qv
@@ -61,7 +63,8 @@ GCC=gcc
# Directory containing source files. Don't clean up the spacing,
# this exact string is matched for by the "configure" script.
-srcdir = .
+srcdir = @srcdir@
+VPATH = @srcdir@
# It is also possible that you will need to add -I/usr/include/sys to the
# CFLAGS section if your system doesn't have fcntl.h in /usr/include (which
@@ -117,14 +120,16 @@ LINT=/usr/5bin/lint
LINTFLAGS= $(BFD_CFLAGS)
# Host and target-dependent makefile fragments come in here.
-####
+@host_makefile_frag@
+@target_makefile_frag@
# End of host and target-dependent makefile fragments
# All source files that go into linking GDB remote server.
-SFILES = $(srcdir)/low-lynx.c $(srcdir)/low-sparc.c $(srcdir)/low-sun3.c \
- $(srcdir)/low-hppabsd.c \
- $(srcdir)/utils.c $(srcdir)/server.c $(srcdir)/remote-utils.c
+SFILES = $(srcdir)/low-hppabsd.c $(srcdir)/low-linux.c $(srcdir)/low-lynx.c \
+ $(srcdir)/low-nbsd.c $(srcdir)/low-sim.c $(srcdir)/low-sparc.c \
+ $(srcdir)/low-sun3.c $(srcdir)/utils.c $(srcdir)/server.c \
+ $(srcdir)/remote-utils.c
DEPFILES = $(GDBSERVER_DEPFILES)
@@ -175,10 +180,6 @@ gdbreplay: gdbreplay.o
${CC-LD} $(GLOBAL_CFLAGS) $(LDFLAGS) -o gdbreplay gdbreplay.o \
$(XM_CLIBS)
-config.status:
- @echo "You must configure gdbserver. Look at the README file for details."
- @false
-
# Put the proper machine-specific files first, so M-. on a machine
# specific routine gets the one for the correct machine.
# The xyzzy stuff below deals with empty DEPFILES
@@ -196,7 +197,7 @@ tags: TAGS
clean:
rm -f *.o ${ADD_FILES} *~
- rm -f gdbserver core make.log
+ rm -f gdbserver gdbreplay core make.log
distclean: clean
rm -f nm.h tm.h xm.h config.status
@@ -208,9 +209,12 @@ maintainer-clean realclean: clean
STAGESTUFF=${OBS} ${TSOBS} ${NTSOBS} ${ADD_FILES} init.c init.o version.c gdb
-Makefile: $(srcdir)/Makefile.in $(host_makefile_frag) $(target_makefile_frag)
+Makefile: Makefile.in config.status @frags@
$(SHELL) ./config.status
+config.status: configure
+ $(SHELL) ./config.status --recheck
+
force:
version.c: Makefile
@@ -236,6 +240,7 @@ server.o : ${srcdir}/server.c ${srcdir}/server.h
remote-utils.o : ${srcdir}/remote-utils.c ${srcdir}/server.h
low-linux.o : ${srcdir}/low-linux.c ${srcdir}/server.h
low-lynx.o : ${srcdir}/low-lynx.c ${srcdir}/server.h
+low-nbsd.o : ${srcdir}/low-nbsd.c ${srcdir}/server.h
low-sim.o : ${srcdir}/low-sim.c ${srcdir}/server.h
low-sparc.o : $(srcdir)/low-sparc.c $(srcdir)/server.h
low-sun3.o : $(srcdir)/low-sun3.c $(srcdir)/server.h