diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2024-03-26 15:06:43 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2024-03-26 21:09:19 -0400 |
commit | 2f3dfa7f90806fe1bbaeb16d22d0740a5cde69a2 (patch) | |
tree | d07589445b6be9a30f611b82778f725a6670edcf /gdb | |
parent | f61e97cc86a4003e4c731e356985fdd291d7cb69 (diff) | |
download | binutils-2f3dfa7f90806fe1bbaeb16d22d0740a5cde69a2.zip binutils-2f3dfa7f90806fe1bbaeb16d22d0740a5cde69a2.tar.gz binutils-2f3dfa7f90806fe1bbaeb16d22d0740a5cde69a2.tar.bz2 |
gdb, gdbserver, gdbsupport: reformat some Makefile variables, one entry per line
Reformat some variables definitions. I think it makes them easier to
read, and it also makes diffs clearer.
Change-Id: I82f63ba0e6d0fe268eb1f1ad5ab22c3cd016ab02
Approved-By: Pedro Alves <pedro@palves.net>
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/Makefile.in | 39 |
1 files changed, 30 insertions, 9 deletions
diff --git a/gdb/Makefile.in b/gdb/Makefile.in index 3316203..bf57a9a 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -260,7 +260,9 @@ LIBBACKTRACE_LIB=@LIBBACKTRACE_LIB@ SUPPORT = ../gdbsupport LIBSUPPORT = $(SUPPORT)/libgdbsupport.a -INCSUPPORT = -I$(srcdir)/.. -I.. +INCSUPPORT = \ + -I$(srcdir)/.. \ + -I.. # # CLI sub directory definitons @@ -601,8 +603,12 @@ CONFIG_DEP_SUBDIR = $(addsuffix /$(DEPDIR),$(CONFIG_SRC_SUBDIR)) # your system doesn't have fcntl.h in /usr/include (which is where it # should be according to Posix). DEFS = @DEFS@ -GDB_CFLAGS = -I. -I$(srcdir) -I$(srcdir)/config \ - -DLOCALEDIR="\"$(localedir)\"" $(DEFS) +GDB_CFLAGS = \ + -I. \ + -I$(srcdir) \ + -I$(srcdir)/config \ + -DLOCALEDIR="\"$(localedir)\"" \ + $(DEFS) # MH_CFLAGS, if defined, has host-dependent CFLAGS from the config directory. GLOBAL_CFLAGS = $(MH_CFLAGS) @@ -626,12 +632,27 @@ INTERNAL_CPPFLAGS = $(CPPFLAGS) @GUILE_CPPFLAGS@ @PYTHON_CPPFLAGS@ \ # INTERNAL_CFLAGS is the aggregate of all other *CFLAGS macros. INTERNAL_CFLAGS_BASE = \ - $(GLOBAL_CFLAGS) $(PROFILE_CFLAGS) \ - $(GDB_CFLAGS) $(OPCODES_CFLAGS) $(BFD_CFLAGS) $(INCLUDE_CFLAGS) \ - $(READLINE_CFLAGS) $(ZLIBINC) $(ZSTD_CFLAGS) $(LIBDECNUMBER_CFLAGS) \ - $(INTL_CFLAGS) $(INCGNU) $(INCSUPPORT) $(LIBBACKTRACE_INC) \ - $(ENABLE_CFLAGS) $(INTERNAL_CPPFLAGS) $(SRCHIGH_CFLAGS) \ - $(TOP_CFLAGS) $(PTHREAD_CFLAGS) $(DEBUGINFOD_CFLAGS) $(GMPINC) \ + $(GLOBAL_CFLAGS) \ + $(PROFILE_CFLAGS) \ + $(GDB_CFLAGS) \ + $(OPCODES_CFLAGS) \ + $(BFD_CFLAGS) \ + $(INCLUDE_CFLAGS) \ + $(READLINE_CFLAGS) \ + $(ZLIBINC) \ + $(ZSTD_CFLAGS) \ + $(LIBDECNUMBER_CFLAGS) \ + $(INTL_CFLAGS) \ + $(INCGNU) \ + $(INCSUPPORT) \ + $(LIBBACKTRACE_INC) \ + $(ENABLE_CFLAGS) \ + $(INTERNAL_CPPFLAGS) \ + $(SRCHIGH_CFLAGS) \ + $(TOP_CFLAGS) \ + $(PTHREAD_CFLAGS) \ + $(DEBUGINFOD_CFLAGS) \ + $(GMPINC) \ $(AMD_DBGAPI_CFLAGS) INTERNAL_WARN_CFLAGS = $(INTERNAL_CFLAGS_BASE) $(GDB_WARN_CFLAGS) INTERNAL_CFLAGS = $(INTERNAL_WARN_CFLAGS) $(GDB_WERROR_CFLAGS) |