From 3065ca6bae6418fe26a088a28b02e06095ee5ddf Mon Sep 17 00:00:00 2001 From: daniel Date: Mon, 22 Jan 2007 10:10:34 +0000 Subject: [PATCH] * Assume gdb 6.6 if no libgdb found. git-svn-id: trunk@6128 - --- packages/base/gdbint/Makefile | 6 +++++- packages/base/gdbint/Makefile.fpc | 8 ++++++-- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/packages/base/gdbint/Makefile b/packages/base/gdbint/Makefile index 41e64e5c30..a02a7cb064 100644 --- a/packages/base/gdbint/Makefile +++ b/packages/base/gdbint/Makefile @@ -2294,13 +2294,17 @@ gdbint$(PPUEXT): gdbint.pp gdbver.inc $(DEL) gdbver$(EXEEXT) gdbver$(OEXT) endif else -GDBVER=GDB_V6 +GDBVER=GDB_V606 +gdbver.inc: + $(ECHO) "{\$$define $(GDBVER)}" > gdbver.inc gdbint$(PPUEXT): gdbint.pp @$(ECHO) libgdb.a not found, using default GDB $(GDBVER) $(COMPILER) -d$(GDBVER) gdbint.pp endif else GDBVER=GDB_V5 +gdbver.inc: + $(ECHO) "{\$$define $(GDBVER)}" > gdbver.inc gdbint$(PPUEXT): gdbint.pp @$(ECHO) Different target os or cpu, using default GDB $(GDBVER) $(COMPILER) -d$(GDBVER) gdbint.pp diff --git a/packages/base/gdbint/Makefile.fpc b/packages/base/gdbint/Makefile.fpc index 84aa311df1..03301f8e44 100644 --- a/packages/base/gdbint/Makefile.fpc +++ b/packages/base/gdbint/Makefile.fpc @@ -92,8 +92,10 @@ gdbint$(PPUEXT): gdbint.pp gdbver.inc endif else -# libgdb.a not found, default to libgdb v5 -GDBVER=GDB_V6 +# libgdb.a not found, default to libgdb v6 +GDBVER=GDB_V606 +gdbver.inc: + $(ECHO) "{\$$define $(GDBVER)}" > gdbver.inc gdbint$(PPUEXT): gdbint.pp @$(ECHO) libgdb.a not found, using default GDB $(GDBVER) $(COMPILER) -d$(GDBVER) gdbint.pp @@ -102,6 +104,8 @@ endif else # Different OS_TARGET, default to libgdb v5 GDBVER=GDB_V5 +gdbver.inc: + $(ECHO) "{\$$define $(GDBVER)}" > gdbver.inc gdbint$(PPUEXT): gdbint.pp @$(ECHO) Different target os or cpu, using default GDB $(GDBVER) $(COMPILER) -d$(GDBVER) gdbint.pp