+2001-07-18 Stephane Carrez <Stephane.Carrez@worldnet.fr>
+
+ * Makefile.in (COMMON_OBS): Remove tui-file.o.
+ (SUBDIR_TUI_OBS): Add it here.
+ (SUBDIR_TUI_SRCS): Move tui-file.c and tui-file.h here.
+ (main.o): Remove dependency with tui-file.h.
+
2001-07-17 Elena Zannoni <ezannoni@redhat.com>
* Makefile.in (tui-file.o): Update dependencies.
# TUI sub directory definitions
#
SUBDIR_TUI_OBS = \
- tui.o tuiData.o tuiSource.o tuiStack.o tuiIO.o \
+ tui-file.o tui.o tuiData.o tuiSource.o tuiStack.o tuiIO.o \
tuiGeneralWin.o tuiLayout.o tuiWin.o tuiCommand.o \
tuiDisassem.o tuiSourceWin.o tuiRegs.o tuiDataWin.o
SUBDIR_TUI_SRCS = \
- tui/tui.c tui/tuiData.c tui/tuiSource.c \
+ tui/tui-file.c tui/tui.c tui/tuiData.c tui/tuiSource.c \
tui/tuiStack.c tui/tuiIO.c \
tui/tuiGeneralWin.c tui/tuiLayout.c \
tui/tuiWin.c tui/tuiCommand.c \
c-typeprint.o ch-typeprint.o f-typeprint.o m2-typeprint.o \
c-valprint.o cp-valprint.o ch-valprint.o f-valprint.o m2-valprint.o \
nlmread.o serial.o mdebugread.o os9kread.o top.o utils.o \
- ui-file.o tui-file.o \
+ ui-file.o \
frame.o \
gnu-v2-abi.o gnu-v3-abi.o hpacc-abi.o cp-abi.o
# FIXME: There are 2 problems with this approach. First, if the INIT_FILES
# list includes a file twice (because of some mistake somewhere else)
# the _initialize_* function will be included twice in init.c. Second,
-# init.c may force unnecessary files to be linked in. Like for instance
-# tui-file.c.
+# init.c may force unnecessary files to be linked in.
#
INIT_FILES = $(OBS) $(TSOBS) $(CONFIG_OBS) $(CONFIG_INITS)
mac-nat.o: mac-nat.c $(defs_h) $(gdb_string_h) $(regcache_h)
main.o: main.c top.h $(defs_h) $(gdb_string_h) $(event_loop_h) \
- symfile.h $(gdbcore_h) $(srcdir)/tui/tui-file.h $(ui_out_h)
+ symfile.h $(gdbcore_h) $(ui_out_h)
maint.o: maint.c $(defs_h) $(gdbcmd_h) $(gdbtypes_h) $(symtab_h) language.h \
$(expression_h) objfiles.h symfile.h