From: John Gilmore Date: Mon, 13 May 1991 23:44:37 +0000 (+0000) Subject: Update "make saber_gdb" a bit. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=852f8c2121cee55660ab7957cd3314c8676c671a;p=binutils-gdb.git Update "make saber_gdb" a bit. --- diff --git a/gdb/Makefile b/gdb/Makefile index 504e1b54a61..525e945f0f3 100755 --- a/gdb/Makefile +++ b/gdb/Makefile @@ -311,7 +311,8 @@ CFLAGS = ${GLOBAL_CFLAGS} ${PROFILE_CFLAGS} ${MALLOC_CFLAGS} ${INCLUDE_CFLAGS} LDFLAGS = $(CFLAGS) # Where is the "-liberty" library, containing getopt and obstack? -LIBIBERTY = ${srcdir}/../libiberty${subdir}/libiberty.a +LIBIBERTY_DIR = ${srcdir}/../libiberty +LIBIBERTY = ${LIBIBERTY_DIR}${subdir}/libiberty.a # Flags that describe where you can find the termcap library. # You may need to make other arrangements for USG. @@ -471,17 +472,18 @@ gdb: $(OBS) $(TSOBS) ${ADD_DEPS} ${RL_LIB_DEP} ${CDEPS} init.o ${RL_LIB} $(CLIBS) saber_gdb: $(SFILES) $(DEPFILES) copying.c version.c - #setopt load_flags $(CFLAGS) -I$(BFD_DIR) + #setopt load_flags $(CFLAGS) -I$(BFD_DIR) -DHOST_SYS=SUN4_SYS #load ./init.c $(SFILES) - #unload ${srcdir}/expread.y + #unload ${srcdir}/expread.y ${srcdir}/vx-share/*.h + #unload ${srcdir}/nindy-share/[A-Z]* #load ${srcdir}/expread.tab.c readline/libreadline.a #load copying.c version.c #load `echo " "$(DEPFILES) | sed -e 's/\.o/.c/g' -e 's, , ../,g'` - #load ${LIBIBERTY}/*.c + #load ${LIBIBERTY_DIR}/*.c #load ${BFD_DIR}/*.c #load -ltermcap ##void mcheck(a) void (*a)(); { } - ##void mtrace(a) void (*a)(); { } + ##void mtrace() { }