AR = @AR@
AR_FLAGS = qv
RANLIB = @RANLIB@
-AWK = @AWK@
DLLTOOL = @DLLTOOL@
WINDRES = @WINDRES@
# Flags that describe where you can find the termcap library.
# This can be overridden in the host Makefile fragment file.
-TERMCAP = -ltermcap
+TERMCAP = @TERM_LIB@
# If you are compiling with GCC, make sure that either 1) You have the
# fixed include files where GCC can reach them, or 2) You use the
READLINE_DIR = ../readline
READLINE = $(READLINE_DIR)/libreadline.a
READLINE_SRC = $(srcdir)/$(READLINE_DIR)
-READLINE_CFLAGS = -I$(READLINE_SRC)
+READLINE_CFLAGS = -I$(READLINE_SRC)/..
+
+WARN_CFLAGS = @WARN_CFLAGS@
# Where is the INTL library? Typically in ../intl.
INTL_DIR = ../intl
WIN32LIBS = @WIN32LIBS@
ENABLE_GDBTK= @ENABLE_GDBTK@
+#start-sanitize-ide
ENABLE_IDE= @ENABLE_IDE@
-LIBGUI = ../libgui/src/libgui.a
-
-GUI_CFLAGS_X = -I$(srcdir)/../libgui/src
-
-IDE_CFLAGS_X = -I$(srcdir)/../libidetcl/src -I$(srcdir)/../libide/src \
- `if [ x"$(ENABLE_IDE)" != x ] ; then \
- echo -DIDE -I$(srcdir)/../ilu/runtime/mainloop;\
- fi`
-
-LIBIDETCL = ../libidetcl/src/libidetcl.a
-LIBIDE = ../libide/src/libide.a
-
-IDE_X = ` \
- if [ x"$(ENABLE_IDE)" != x ] ; then \
- echo -L../ilu/runtime/mainloop -lilu-Tk -L../ilu/runtime/c -lilu-c -L../ilu/runtime/kernel -lilu;\
- fi`
-
-IDE_DEPS = ../ilu/runtime/mainloop/libilu-Tk.a \
- ../ilu/runtime/c/libilu-c.a ../ilu/runtime/kernel/libilu.a
-
+FOUNDRY_LIB_BASE= @FOUNDRY_LIB_BASE@
+IDE_CFLAGS_X = @IDE_CFLAGS_X@
+IDE_X = @IDE_X@
+LIBIDETCL = @LIBIDETCL@
+LIBIDE = @LIBIDE@
+IDE_DEPS = @IDE_DEPS@
IDE=$(IDE_X)
+#end-sanitize-ide
+LIBGUI = @LIBGUI@
+GUI_CFLAGS_X = @GUI_CFLAGS_X@
IDE_CFLAGS=$(GUI_CFLAGS_X) $(IDE_CFLAGS_X)
#end-sanitize-gdbtk
INTERNAL_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) $(WARN_CFLAGS)
# LDFLAGS is specifically reserved for setting from the command line
# when running make.
ANNOTATE_OBS = annotate.o
+# start-sanitize-carp
+# Multi-arch enabled gdb targets
+MACHINE_OBS = @MACHINE_OBS@
+
+# end-sanitize-carp
# Host and target-dependent makefile fragments come in here.
@host_makefile_frag@
@target_makefile_frag@
command.c complaints.c corefile.c cp-valprint.c dbxread.c \
demangle.c dwarfread.c dwarf2read.c elfread.c environ.c eval.c \
expprint.c f-exp.y f-lang.c f-typeprint.c f-valprint.c \
- findvar.c gdbtypes.c infcmd.c inflow.c infrun.c language.c \
+ findvar.c gdbarch.c gdbtypes.c infcmd.c inflow.c infrun.c language.c \
$(start-sanitize-java) \
jv-exp.y jv-lang.c jv-valprint.c jv-typeprint.c \
$(end-sanitize-java) \
command_h = command.h
gdbcmd_h = gdbcmd.h $(command_h)
-defs_h = defs.h xm.h tm.h nm.h config.status config.h
+defs_h = defs.h xm.h tm.h nm.h config.status config.h gdbarch.h
inferior_h = inferior.h $(breakpoint_h)
tracepoint_h = tracepoint.h
+ax_h = ax.h
# Header files that need to have srcdir added. Note that in the cases
# where we use a macro like $(gdbcmd_h), things are carefully arranged
# Makefile.in
DEPFILES = $(TDEPFILES) $(XDEPFILES) $(SER_HARDWIRE) $(NATDEPFILES) \
+ $(start-sanitize-carp) \
+ $(MACHINE_OBS) \
+ $(end-sanitize-carp) \
$(REMOTE_OBS) $(SIM_OBS) @CONFIG_OBS@
SOURCES = $(SFILES) $(ALLDEPFILES) $(YYFILES) @CONFIG_SRCS@
COMMON_OBS = version.o blockframe.o breakpoint.o findvar.o stack.o thread.o \
source.o values.o eval.o valops.o valarith.o valprint.o printcmd.o \
symtab.o symfile.o symmisc.o infcmd.o infrun.o command.o \
- expprint.o environ.o gdbtypes.o copying.o $(DEPFILES) \
+ expprint.o environ.o gdbarch.o gdbtypes.o copying.o $(DEPFILES) \
mem-break.o target.o parse.o language.o $(YYOBJ) buildsym.o \
exec.o bcache.o objfiles.o minsyms.o maint.o demangle.o \
dbxread.o coffread.o elfread.o \
SUBDIRS = doc \
testsuite \
- $(start-sanitize-mswin) \
- mswin \
- $(end-sanitize-mswin) \
nlm
# For now, shortcut the "configure GDB for fewer languages" stuff.
$(TCL_CFLAGS) $(TK_CFLAGS) $(X11_CFLAGS) \
$(srcdir)/gdbtk.c -DGDBTK_LIBRARY=\"$(datadir)/gdbtcl\"
-gdbtk_cmds.o: gdbtk_cmds.c gdbtk.h $(defs_h) $(symtab_h) $(inferior_h) $(command_h) \
+gdbtk-cmds.o: gdbtk-cmds.c gdbtk.h $(defs_h) $(symtab_h) $(inferior_h) $(command_h) \
$(bfd_h) symfile.h objfiles.h target.h gdb_string.h $(tracepoint_h)
$(CC) -c $(INTERNAL_CFLAGS) $(IDE_CFLAGS) $(ITCL_CFLAGS) $(TIX_CFLAGS) \
$(TCL_CFLAGS) $(TK_CFLAGS) $(X11_CFLAGS) \
- $(srcdir)/gdbtk_cmds.c -DGDBTK_LIBRARY=\"$(datadir)/gdbtcl\"
+ $(srcdir)/gdbtk-cmds.c -DGDBTK_LIBRARY=\"$(datadir)/gdbtcl\"
-gdbtk_hooks.o: gdbtk_hooks.c gdbtk.h $(defs_h) $(symtab_h) $(inferior_h) $(command_h) \
+gdbtk-hooks.o: gdbtk-hooks.c gdbtk.h $(defs_h) $(symtab_h) $(inferior_h) $(command_h) \
$(bfd_h) symfile.h objfiles.h target.h gdb_string.h $(tracepoint_h)
$(CC) -c $(INTERNAL_CFLAGS) $(IDE_CFLAGS) $(ITCL_CFLAGS) $(TIX_CFLAGS) \
$(TCL_CFLAGS) $(TK_CFLAGS) $(X11_CFLAGS) \
- $(srcdir)/gdbtk_hooks.c -DGDBTK_LIBRARY=\"$(datadir)/gdbtcl\"
+ $(srcdir)/gdbtk-hooks.c -DGDBTK_LIBRARY=\"$(datadir)/gdbtcl\"
tracepoint.o: tracepoint.c $(defs_h) $(symtab_h) $(frame_h) $(tracepoint_h) \
$(gdbtypes_h) $(expression_h) $(gdbcmd_h) $(value_h) target.h \
language.h gdb_string.h $(readline_headers)
# end-sanitize-gdbtk
+v850ice.o: v850ice.c $(defs_h) $(symtab_h) $(inferior_h) $(command_h) \
+ $(frame_h) $(breakpoint_h) $(gdbcore_h) $(value_h) symfile.h \
+ gdb_string.h target.h objfiles.h
+ $(CC) -c $(INTERNAL_CFLAGS) $(IDE_CFLAGS) $(ITCL_CFLAGS) $(TIX_CFLAGS) \
+ $(TCL_CFLAGS) $(TK_CFLAGS) $(X11_CFLAGS) \
+ $(srcdir)/v850ice.c
+
+gdbarch.o: gdbarch.c $(defs_h) $(bfd_h) $(gdbcmd_h)
+
gdbtypes.o: gdbtypes.c $(bfd_h) complaints.h $(defs_h) $(expression_h) \
$(gdbtypes_h) language.h objfiles.h symfile.h $(symtab_h) target.h \
$(value_h) gdb_string.h
m68kly-nat.o: m68kly-nat.c $(defs_h) $(frame_h) $(inferior_h) target.h
+m68klinux-nat.o: m68klinux-nat.c $(defs_h) $(frame_h) $(inferior_h) \
+ $(language_h) $(gdbcore_h) $(floatformat_h) target.h
+
m88k-nat.o: m88k-nat.c $(defs_h) $(gdbcore_h) $(inferior_h)
m88k-tdep.o: m88k-tdep.c $(defs_h) $(gdbcore_h) $(inferior_h)
stack.o: stack.c $(defs_h) $(gdbcmd_h) $(gdbcore_h) $(inferior_h) \
language.h target.h gdb_string.h
-ax-general.o: ax-general.c $(ax_h)
+ax-general.o: ax-general.c $(ax_h) $(defs_h)
ax-gdb.o: ax-gdb.c $(defs_h) $(symtab_h) symfile.h $(gdbtypes_h) \
$(value_h) $(expression_h) $(command_h) $(ax_h) $(gdbcmd_h) ax-gdb.h
#start-sanitize-tic80
tic80-tdep.o: tic80-tdep.c $(defs_h)
-#end-sanitize-tic80
+#end-sanitize-tic80
target.o: target.c $(bfd_h) $(defs_h) $(gdbcmd_h) $(inferior_h) \
objfiles.h symfile.h target.h gdb_string.h