PACKAGE = @PACKAGE@
CATALOGS = @CATALOGS@
-# 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
-# -traditional flag. Otherwise the ioctl calls in inflow.c
-# will be incorrectly compiled. The "fixincludes" script in the gcc
-# distribution will fix your include files up.
CC = @CC@
CXX = @CXX@
CXX_DIALECT = @CXX_DIALECT@
GDB_WARN_CFLAGS = $(WARN_CFLAGS)
GDB_WERROR_CFLAGS = $(WERROR_CFLAGS)
-GDB_WARN_CFLAGS_NO_FORMAT = `echo " $(GDB_WARN_CFLAGS) " \
- | sed "s/ -Wformat-nonliteral / -Wno-format-nonliteral /g"`
-GDB_WARN_CFLAGS_NO_DEFS = `echo " $(GDB_WARN_CFLAGS) " \
- | sed "s/ -Wold-style-definition / -Wno-old-style-definition /g"`
-
RDYNAMIC = @RDYNAMIC@
# Where is the INTL library? Typically in ../intl.
compile/compile-c-support.c \
compile/compile-c-symbols.c \
compile/compile-c-types.c \
+ compile/compile-cplus-symbols.c \
+ compile/compile-cplus-types.c \
compile/compile-loc2c.c \
compile/compile-object-load.c \
compile/compile-object-run.c
# Where are the other opcode tables which only have header file
# versions?
OP_INCLUDE = $(INCLUDE_DIR)/opcode
-# Some source files like to use #include "opcodes/file.h"
-OPCODES_CFLAGS = -I$(OP_INCLUDE) -I$(OPCODES_SRC)/..
+OPCODES_CFLAGS = -I$(OP_INCLUDE)
# The simulator is usually nonexistent; targets that include one
# should set this to list all the .o or .a files to be linked in.
bsd-uthread.o \
cris-linux-tdep.o \
cris-tdep.o \
+ csky-linux-tdep.o \
+ csky-tdep.o \
dicos-tdep.o \
fbsd-tdep.o \
frv-linux-tdep.o \
ppc-sysv-tdep.o \
ppc64-tdep.o \
ravenscar-thread.o \
+ riscv-fbsd-tdep.o \
riscv-linux-tdep.o \
riscv-tdep.o \
rl78-tdep.o \
completer.h \
cp-abi.h \
cp-support.h \
+ csky-tdep.h \
ctf.h \
d-lang.h \
darwin-nat.h \
remote.h \
remote-fileio.h \
remote-notif.h \
+ riscv-fbsd-tdep.h \
riscv-tdep.h \
rs6000-aix-tdep.h \
rs6000-tdep.h \
common/gdb_assert.h \
common/gdb_tilde_expand.h \
common/gdb_locale.h \
+ common/gdb_proc_service.h \
common/gdb_setjmp.h \
common/gdb_signals.h \
common/gdb_sys_time.h \
common/xml-utils.h \
compile/compile.h \
compile/compile-c.h \
+ compile/compile-cplus.h \
compile/compile-internal.h \
compile/compile-object-load.h \
compile/compile-object-run.h \
+ compile/gcc-c-plugin.h \
+ compile/gcc-cp-plugin.h \
config/nm-linux.h \
config/nm-nto.h \
config/djgpp/langinfo.h \
else \
true ; \
fi ; \
- $(INSTALL_PROGRAM) $(srcdir)/contrib/gdb-add-index.sh \
- $(DESTDIR)$(bindir)/$$transformed_name$(EXEEXT)
+ $(INSTALL_SCRIPT) $(srcdir)/contrib/gdb-add-index.sh \
+ $(DESTDIR)$(bindir)/$$transformed_name
@$(MAKE) DO=install "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS) subdir_do
install-strip:
# against that.
#
# init.o is very important. It pulls in the rest of GDB.
-LIBGDB_OBS = $(COMMON_OBS) init.o
+LIBGDB_OBS = $(sort $(COMMON_OBS)) init.o
libgdb.a: $(LIBGDB_OBS)
-rm -f libgdb.a
$(AR) q libgdb.a $(LIBGDB_OBS)
bfin-tdep.c \
bsd-kvm.c \
bsd-uthread.c \
+ csky-linux-tdep.c \
+ csky-tdep.c \
darwin-nat.c \
dicos-tdep.c \
fbsd-nat.c \
i386-sol2-nat.c \
i386-sol2-tdep.c \
i386-tdep.c \
- i386-v4-nat.c \
i387-tdep.c \
ia64-libunwind-tdep.c \
ia64-linux-nat.c \
procfs.c \
ravenscar-thread.c \
remote-sim.c \
+ riscv-fbsd-tdep.c \
riscv-linux-nat.c \
riscv-linux-tdep.c \
riscv-tdep.c \
ser-mingw.c \
ser-pipe.c \
ser-tcp.c \
+ ser-uds.c \
sh-nbsd-nat.c \
sh-nbsd-tdep.c \
sh-tdep.c \
# Some files need explicit build rules (due to -Werror problems) or due
# to sub-directory fun 'n' games.
-# Do not try to build "printcmd.c" with -Wformat-nonliteral. It manually
-# checks format strings.
-printcmd.o: $(srcdir)/printcmd.c
- $(ECHO_CXX) $(COMPILE.pre) $(INTERNAL_CFLAGS) \
- $(GDB_WARN_CFLAGS_NO_FORMAT) $(COMPILE.post) \
- $(srcdir)/printcmd.c
- $(POSTCOMPILE)
-
-# Same for "target-float.c".
-target-float.o: $(srcdir)/target-float.c
- $(ECHO_CXX) $(COMPILE.pre) $(INTERNAL_CFLAGS) \
- $(GDB_WARN_CFLAGS_NO_FORMAT) $(COMPILE.post) \
- $(srcdir)/target-float.c
-
# ada-exp.c can appear in srcdir, for releases; or in ., for
# development builds.
ADA_EXP_C = `if test -f ada-exp.c; then echo ada-exp.c; else echo $(srcdir)/ada-exp.c; fi`
-# Some versions of flex give output that triggers
-# -Wold-style-definition.
ada-exp.o: ada-exp.c
- $(ECHO_CXX) $(COMPILE.pre) $(INTERNAL_CFLAGS) \
- $(GDB_WARN_CFLAGS_NO_DEFS) $(COMPILE.post) $(ADA_EXP_C)
+ $(COMPILE) $(ADA_EXP_C)
$(POSTCOMPILE)
# Message files. Based on code in gcc/Makefile.in.