diff options
author | Fernando Nasser <fnasser@redhat.com> | 2000-12-20 21:24:28 +0000 |
---|---|---|
committer | Fernando Nasser <fnasser@redhat.com> | 2000-12-20 21:24:28 +0000 |
commit | b4df4f6849c12bd0cca8534e7c17242d0209f130 (patch) | |
tree | 628f2b5be391176254ce4a91a577bda14c63f0b2 /gdb/Makefile.in | |
parent | 5bff4f5642edc6e44c15f3e189d683d5dde1a2c8 (diff) | |
download | gdb-b4df4f6849c12bd0cca8534e7c17242d0209f130.zip gdb-b4df4f6849c12bd0cca8534e7c17242d0209f130.tar.gz gdb-b4df4f6849c12bd0cca8534e7c17242d0209f130.tar.bz2 |
2000-12-20 Fernando Nasser <fnasser@redhat.com>
* Makefile.in (UIOUT_CFLAGS): New macro. CFLAGS needed for uiout code
to be compiled. Defines UI_OUT.
(SUBDIR_MI_CFLAGS): Defines MI_OUT, not UI_OUT.
(INTERNAL_WARN_CFLAGS): Also include UIOUT_CFLAGS.
* configure.in (UIOUT_CFLAGS): New configuration variable.
(--with-uiout): New configuration option. Causes uiout code to
be compiled, instead of the old *printf one.
* configure: Regenerate.
* top.c (print_gdb_version): Test for and print MI_OUT, not UI_OUT.
* testsuite/lib/mi-support.exp (mi_gdb_start): Test for MI_OUT,
not UI_OUT.
Diffstat (limited to 'gdb/Makefile.in')
-rw-r--r-- | gdb/Makefile.in | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/gdb/Makefile.in b/gdb/Makefile.in index e660103..cd9a15c 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -106,6 +106,9 @@ LIBIBERTY = ../libiberty/libiberty.a MMALLOC = @MMALLOC@ MMALLOC_CFLAGS = @MMALLOC_CFLAGS@ +# Configured by the --with-uiout option to configure. +UIOUT_CFLAGS = @UIOUT_CFLAGS@ + # We are using our own version of REGEX now to be consistent across # machines. REGEX = @REGEX@ @@ -169,7 +172,7 @@ SUBDIR_MI_INITS = \ mi/mi-cmds.c mi/mi-parse.c mi/mi-main.c mi/mi-out.c SUBDIR_MI_LDFLAGS= SUBDIR_MI_CFLAGS= \ - -DUI_OUT=1 + -DMI_OUT=1 SUBDIR_MI_ALL= SUBDIR_MI_CLEAN= SUBDIR_MI_INSTALL= @@ -318,7 +321,7 @@ INTERNAL_WARN_CFLAGS = \ $(CFLAGS) $(GLOBAL_CFLAGS) $(PROFILE_CFLAGS) \ $(GDB_CFLAGS) $(OPCODES_CFLAGS) $(READLINE_CFLAGS) \ $(BFD_CFLAGS) $(MMALLOC_CFLAGS) $(INCLUDE_CFLAGS) \ - $(INTL_CFLAGS) $(ENABLE_CFLAGS) \ + $(INTL_CFLAGS) $(ENABLE_CFLAGS) $(UIOUT_CFLAGS) \ $(GDB_WARN_CFLAGS) INTERNAL_CFLAGS = $(INTERNAL_WARN_CFLAGS) $(GDB_WERROR_CFLAGS) |