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
ENABLE_IDE= @ENABLE_IDE@
FOUNDRY_LIB_BASE= @FOUNDRY_LIB_BASE@
-LIBGUI = @LIBGUI@
-GUI_CFLAGS_X = @GUI_CFLAGS_X@
IDE_CFLAGS_X = @IDE_CFLAGS_X@
IDE_X = @IDE_X@
LIBIDETCL = @LIBIDETCL@
LIBIDE = @LIBIDE@
IDE_DEPS = @IDE_DEPS@
IDE=$(IDE_X)
-IDE_CFLAGS=$(GUI_CFLAGS_X) $(IDE_CFLAGS_X)
#end-sanitize-ide
+LIBGUI = @LIBGUI@
+GUI_CFLAGS_X = @GUI_CFLAGS_X@
+IDE_CFLAGS=$(GUI_CFLAGS_X) $(IDE_CFLAGS_X)
#end-sanitize-gdbtk
ENABLE_CFLAGS= @ENABLE_CFLAGS@
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
# 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)/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)
#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