Added Foundry SDK changes.

This commit is contained in:
Drew Moseley 1998-08-13 20:24:45 +00:00
parent 341fb6f336
commit c076f1ed1c
3 changed files with 346 additions and 233 deletions

View File

@ -1,3 +1,15 @@
start-sanitize-ide
Thu Aug 13 15:15:59 1998 Drew Moseley <dmoseley@cygnus.com>
* Makefile.in (FOUNDRY_LIB_BASE): Added the Foundry SDK code that allows
gdbtk to be linked with the Foundry libraries provided by a prebuilt/released
binary version of Foundry. The libraries and header files need to come from
the installed location of Foundry rather than the devo subdirectories.
* configure.in (ENABLE_IDE): Foundry SDK additions. Added the "with-foundry-libs"
configure option.
* configure: Foundry SDK additions. Regenerated from configure.in.
end-sanitize-ide
Thu Aug 13 15:09:59 1998 Drew Moseley <dmoseley@cygnus.com> Thu Aug 13 15:09:59 1998 Drew Moseley <dmoseley@cygnus.com>
* gdbtk.c (gdbtk_cleanup): added a scope-level around the contents * gdbtk.c (gdbtk_cleanup): added a scope-level around the contents

523
gdb/configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -304,6 +304,50 @@ else
fi fi
AC_SUBST(ENABLE_IDE) AC_SUBST(ENABLE_IDE)
AC_ARG_WITH(foundry-libs,
[ --with-foundry-libs=directory use the Foundry SDK in directory],
[FOUNDRY_LIB_BASE=${withval}])
AC_SUBST(FOUNDRY_LIB_BASE)
#
# This is the Foundry SDK
#
# These variables are used to determine where the Foundry libs and
# header files are located.
#
if test "$FOUNDRY_LIB_BASE" != ""; then
LIBGUI="${FOUNDRY_LIB_BASE}/lib/libgui.a"
GUI_CFLAGS_X="-I${FOUNDRY_LIB_BASE}/include"
if test x$enable_ide = xyes; then
IDE_CFLAGS_X="-I${FOUNDRY_LIB_BASE}/include -DIDE"
IDE_X="-L${FOUNDRY_LIB_BASE}/lib -lilu-Tk -lilu-c -lilu"
else
IDE_CFLAGS_X="-I${FOUNDRY_LIB_BASE}/include"
fi
LIBIDETCL="${FOUNDRY_LIB_BASE}/lib/libidetcl.a"
LIBIDE="${FOUNDRY_LIB_BASE}/lib/libide.a"
IDE_DEPS="${FOUNDRY_LIB_BASE}/lib/libilu-Tk.a ${FOUNDRY_LIB_BASE}/lib/libilu-c.a ${FOUNDRY_LIB_BASE}/lib/libilu.a"
else
LIBGUI="../libgui/src/libgui.a"
GUI_CFLAGS_X="-I${srcdir}/../libgui/src"
if test x$enable_ide = xyes; then
IDE_CFLAGS_X="-I${srcdir}/../libidetcl/src -I${srcdir}/../libide/src -DIDE -I${srcdir}/../ilu/runtime/mainloop"
IDE_X="-L../ilu/runtime/mainloop -lilu-Tk -L../ilu/runtime/c -lilu-c -L../ilu/runtime/kernel -lilu"
else
IDE_CFLAGS_X="-I${srcdir}/../libidetcl/src -I${srcdir}/../libide/src"
fi
LIBIDETCL="../libidetcl/src/libidetcl.a"
LIBIDE="../libide/src/libide.a"
IDE_DEPS="../ilu/runtime/mainloop/libilu-Tk.a ../ilu/runtime/c/libilu-c.a ../ilu/runtime/kernel/libilu.a"
fi
AC_SUBST(LIBGUI)
AC_SUBST(GUI_CFLAGS_X)
AC_SUBST(IDE_CFLAGS_X)
AC_SUBST(IDE_X)
AC_SUBST(LIBIDETCL)
AC_SUBST(LIBIDE)
AC_SUBST(IDE_DEPS)
ENABLE_GDBTK= ENABLE_GDBTK=
AC_ARG_ENABLE(gdbtk, AC_ARG_ENABLE(gdbtk,