Thread View: gnu.gdb.bug
1 messages
1 total messages
Started by Casey Leedom
Sun, 12 Nov 1989 09:26
Fixes for gdb 3.4 Makefile.dist
Author: Casey Leedom
Date: Sun, 12 Nov 1989 09:26
Date: Sun, 12 Nov 1989 09:26
71 lines
2668 bytes
2668 bytes
*** gdb/Makefile.dist-dist Wed Oct 18 11:43:59 1989
--- gdb/Makefile.dist Sun Nov 12 01:13:02 1989
***************
*** 1,6 ****
--- 1,22 ----
/* This file should be run through the C preprocessor by config.gdb
to produce the Makefile. */
+ /* DESTDIR is the top level directory into which things will be installed.
+ BINDIR is where gdb will be installed (relative to DESTDIR).
+ XBINDIR is where xgdb (if compiled) will be installed (relative to DESTDIR).
+
+ XGDB should be "xgdb" to compile xgdb or "" to skip compiling xgdb.
+ XCFLAGS are any extra cc flags necessary to compile xgdb.c.
+ XLDFLAGS are any extra flags necessary to load xgdb. */
+
+ DESTDIR=
+ BINDIR=/usr/local/bin
+ XBINDIR=/usr/local/bin/X11
+
+ XGDB=xgdb
+ XCFLAGS=-I/usr/local/include
+ XLDFLAGS=-L/usr/local/lib/X11
+
/* System V:
If your system has a broken alloca(), define ALLOCA & ALLOCA1 below.
Also, if you compile gdb with a compiler which uses the coff
***************
*** 193,198 ****
--- 209,222 ----
${CC} -c ${CFLAGS} $< */
TARGET_ARCH=
+ all : gdb $(XGDB)
+
+ install : gdb $(XGDB)
+ install -c gdb $(DESTDIR)$(BINDIR)/gdb
+ -if [ "$(XGDB)" = xgdb ]; then \
+ install -c xgdb $(DESTDIR)$(XBINDIR)/xgdb; \
+ fi
+
gdb : $(OBS) $(TSOBS) ${ADD_DEPS} ${RL_LIB}
rm -f init.c
./munch ${MUNCH_DEFINE} $(OBS) $(TSOBS) > init.c
***************
*** 215,221 ****
xgdb : $(OBS) $(TSOBS) xgdb.o ${ADD_DEPS} ${RL_LIB}
rm -f init.c
./munch ${MUNCH_DEFINE} $(OBS) $(TSOBS) xgdb.o > init.c
! $(CC-LD) $(LDFLAGS) -o xgdb init.c $(OBS) $(TSOBS) xgdb.o \
-lXaw -lXmu -lXt -lX11 ${RL_LIB} $(CLIBS)
/* Old (pre R3) xgdb comp.
--- 239,245 ----
xgdb : $(OBS) $(TSOBS) xgdb.o ${ADD_DEPS} ${RL_LIB}
rm -f init.c
./munch ${MUNCH_DEFINE} $(OBS) $(TSOBS) xgdb.o > init.c
! $(CC-LD) $(LDFLAGS) $(XLDFLAGS) -o xgdb init.c $(OBS) $(TSOBS) xgdb.o \
-lXaw -lXmu -lXt -lX11 ${RL_LIB} $(CLIBS)
/* Old (pre R3) xgdb comp.
***************
*** 272,277 ****
--- 296,302 ----
rm -f Makefile
xgdb.o : defs.h param.h symtab.h frame.h
+ $(CC) -c $(CFLAGS) $(XCFLAGS) xgdb.c
/* Make copying.c from COPYING */
copying.c : COPYING copying.awk
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads