| OLD | NEW |
| 1 # Copyright (C) 1989-2012 Free Software Foundation, Inc. | 1 # Copyright (C) 1989-2012 Free Software Foundation, Inc. |
| 2 | 2 |
| 3 # This file is part of GDB. | 3 # This file is part of GDB. |
| 4 | 4 |
| 5 # This program is free software; you can redistribute it and/or modify | 5 # This program is free software; you can redistribute it and/or modify |
| 6 # it under the terms of the GNU General Public License as published by | 6 # it under the terms of the GNU General Public License as published by |
| 7 # the Free Software Foundation; either version 3 of the License, or | 7 # the Free Software Foundation; either version 3 of the License, or |
| 8 # (at your option) any later version. | 8 # (at your option) any later version. |
| 9 # | 9 # |
| 10 # This program is distributed in the hope that it will be useful, | 10 # This program is distributed in the hope that it will be useful, |
| (...skipping 29 matching lines...) Expand all Loading... |
| 40 infodir = @infodir@ | 40 infodir = @infodir@ |
| 41 htmldir = $(prefix)/html | 41 htmldir = $(prefix)/html |
| 42 includedir = @includedir@ | 42 includedir = @includedir@ |
| 43 | 43 |
| 44 SHELL = /bin/sh | 44 SHELL = /bin/sh |
| 45 EXEEXT = @EXEEXT@ | 45 EXEEXT = @EXEEXT@ |
| 46 | 46 |
| 47 INSTALL = @INSTALL@ | 47 INSTALL = @INSTALL@ |
| 48 INSTALL_PROGRAM = @INSTALL_PROGRAM@ | 48 INSTALL_PROGRAM = @INSTALL_PROGRAM@ |
| 49 INSTALL_DATA = @INSTALL_DATA@ | 49 INSTALL_DATA = @INSTALL_DATA@ |
| 50 RANLIB = @RANLIB@ |
| 50 | 51 |
| 51 CC = @CC@ | 52 CC = @CC@ |
| 52 | 53 |
| 53 # Directory containing source files. Don't clean up the spacing, | 54 # Directory containing source files. Don't clean up the spacing, |
| 54 # this exact string is matched for by the "configure" script. | 55 # this exact string is matched for by the "configure" script. |
| 55 srcdir = @srcdir@ | 56 srcdir = @srcdir@ |
| 57 abs_top_srcdir=@abs_top_srcdir@ |
| 58 abs_srcdir=@abs_srcdir@ |
| 56 VPATH = @srcdir@ | 59 VPATH = @srcdir@ |
| 57 | 60 |
| 58 # It is also possible that you will need to add -I/usr/include/sys to the | 61 # It is also possible that you will need to add -I/usr/include/sys to the |
| 59 # CFLAGS section if your system doesn't have fcntl.h in /usr/include (which | 62 # CFLAGS section if your system doesn't have fcntl.h in /usr/include (which |
| 60 # is where it should be according to Posix). | 63 # is where it should be according to Posix). |
| 61 | 64 |
| 62 # Set this up with gcc if you have gnu ld and the loader will print out | 65 # Set this up with gcc if you have gnu ld and the loader will print out |
| 63 # line numbers for undefinded refs. | 66 # line numbers for undefinded refs. |
| 64 #CC-LD=gcc -static | 67 #CC-LD=gcc -static |
| 65 CC-LD=${CC} | 68 CC-LD=${CC} |
| 66 | 69 |
| 67 # Where is the "include" directory? Traditionally ../include or ./include | 70 # Where is the "include" directory? Traditionally ../include or ./include |
| 68 INCLUDE_DIR = ${srcdir}/../../include | 71 INCLUDE_DIR = ${srcdir}/../../include |
| 69 INCLUDE_DEP = $$(INCLUDE_DIR) | 72 INCLUDE_DEP = $$(INCLUDE_DIR) |
| 70 | 73 |
| 71 # Where is ust? These will be empty if ust was not available. | 74 # Where is ust? These will be empty if ust was not available. |
| 72 ustlibs = @ustlibs@ | 75 ustlibs = @ustlibs@ |
| 73 ustinc = @ustinc@ | 76 ustinc = @ustinc@ |
| 74 | 77 |
| 78 # gnulib |
| 79 GNULIB_BUILDDIR = build-gnulib-gdbserver |
| 80 LIBGNU = $(GNULIB_BUILDDIR)/import/libgnu.a |
| 81 INCGNU = -I$(srcdir)/../gnulib/import -I$(GNULIB_BUILDDIR)/import |
| 82 |
| 83 # Generated headers in the gnulib directory. These must be listed |
| 84 # so that they are generated before other files are compiled. |
| 85 GNULIB_H = $(GNULIB_BUILDDIR)/import/string.h @GNULIB_STDINT_H@ |
| 86 |
| 75 # All the includes used for CFLAGS and for lint. | 87 # All the includes used for CFLAGS and for lint. |
| 76 # -I. for config files. | 88 # -I. for config files. |
| 77 # -I${srcdir} for our headers. | 89 # -I${srcdir} for our headers. |
| 78 # -I$(srcdir)/../regformats for regdef.h. | 90 # -I$(srcdir)/../regformats for regdef.h. |
| 79 INCLUDE_CFLAGS = -I. -I${srcdir} -I$(srcdir)/../common \ | 91 INCLUDE_CFLAGS = -I. -I${srcdir} -I$(srcdir)/../common \ |
| 80 » -I$(srcdir)/../regformats -I$(INCLUDE_DIR) | 92 » -I$(srcdir)/../regformats -I$(INCLUDE_DIR) \ |
| 93 » $(INCGNU) |
| 81 | 94 |
| 82 # M{H,T}_CFLAGS, if defined, has host- and target-dependent CFLAGS | 95 # M{H,T}_CFLAGS, if defined, has host- and target-dependent CFLAGS |
| 83 # from the config/ directory. | 96 # from the config/ directory. |
| 84 GLOBAL_CFLAGS = ${MT_CFLAGS} ${MH_CFLAGS} | 97 GLOBAL_CFLAGS = ${MT_CFLAGS} ${MH_CFLAGS} |
| 85 #PROFILE_CFLAGS = -pg | 98 #PROFILE_CFLAGS = -pg |
| 86 | 99 |
| 87 WARN_CFLAGS = @WARN_CFLAGS@ | 100 WARN_CFLAGS = @WARN_CFLAGS@ |
| 88 WERROR_CFLAGS = @WERROR_CFLAGS@ | 101 WERROR_CFLAGS = @WERROR_CFLAGS@ |
| 89 | 102 |
| 103 WARN_CFLAGS_NO_FORMAT = `echo " $(WARN_CFLAGS) " \ |
| 104 | sed "s/ -Wformat-nonliteral / -Wno-format-nonliteral /g"` |
| 105 |
| 90 # CFLAGS is specifically reserved for setting from the command line | 106 # CFLAGS is specifically reserved for setting from the command line |
| 91 # when running make. I.E. "make CFLAGS=-Wmissing-prototypes". | 107 # when running make. I.E. "make CFLAGS=-Wmissing-prototypes". |
| 92 CFLAGS = @CFLAGS@ | 108 CFLAGS = @CFLAGS@ |
| 93 | 109 |
| 94 # INTERNAL_CFLAGS is the aggregate of all other *CFLAGS macros. | 110 # INTERNAL_CFLAGS is the aggregate of all other *CFLAGS macros. |
| 95 INTERNAL_CFLAGS_BASE = ${CFLAGS} ${GLOBAL_CFLAGS} \ | 111 INTERNAL_CFLAGS_BASE = ${CFLAGS} ${GLOBAL_CFLAGS} \ |
| 96 ${PROFILE_CFLAGS} ${INCLUDE_CFLAGS} | 112 ${PROFILE_CFLAGS} ${INCLUDE_CFLAGS} |
| 97 INTERNAL_WARN_CFLAGS = ${INTERNAL_CFLAGS_BASE} $(WARN_CFLAGS) | 113 INTERNAL_WARN_CFLAGS = ${INTERNAL_CFLAGS_BASE} $(WARN_CFLAGS) |
| 98 INTERNAL_CFLAGS = ${INTERNAL_WARN_CFLAGS} $(WERROR_CFLAGS) | 114 INTERNAL_CFLAGS = ${INTERNAL_WARN_CFLAGS} $(WERROR_CFLAGS) |
| 99 | 115 |
| 100 # LDFLAGS is specifically reserved for setting from the command line | 116 # LDFLAGS is specifically reserved for setting from the command line |
| 101 # when running make. | 117 # when running make. |
| 102 LDFLAGS = @LDFLAGS@ | 118 LDFLAGS = @LDFLAGS@ |
| 103 INTERNAL_LDFLAGS = $(LDFLAGS) @RDYNAMIC@ | 119 INTERNAL_LDFLAGS = $(LDFLAGS) @RDYNAMIC@ |
| 104 | 120 |
| 105 # All source files that go into linking GDB remote server. | 121 # All source files that go into linking GDB remote server. |
| 106 | 122 |
| 107 SFILES=»$(srcdir)/gdbreplay.c $(srcdir)/inferiors.c \ | 123 SFILES=»$(srcdir)/gdbreplay.c $(srcdir)/inferiors.c $(srcdir)/dll.c \ |
| 108 $(srcdir)/mem-break.c $(srcdir)/proc-service.c \ | 124 $(srcdir)/mem-break.c $(srcdir)/proc-service.c \ |
| 109 $(srcdir)/proc-service.list $(srcdir)/regcache.c \ | 125 $(srcdir)/proc-service.list $(srcdir)/regcache.c \ |
| 110 $(srcdir)/remote-utils.c $(srcdir)/server.c $(srcdir)/target.c \ | 126 $(srcdir)/remote-utils.c $(srcdir)/server.c $(srcdir)/target.c \ |
| 111 $(srcdir)/thread-db.c $(srcdir)/utils.c \ | 127 $(srcdir)/thread-db.c $(srcdir)/utils.c \ |
| 112 $(srcdir)/linux-arm-low.c $(srcdir)/linux-bfin-low.c \ | 128 $(srcdir)/linux-arm-low.c $(srcdir)/linux-bfin-low.c \ |
| 113 $(srcdir)/linux-cris-low.c $(srcdir)/linux-crisv32-low.c \ | 129 $(srcdir)/linux-cris-low.c $(srcdir)/linux-crisv32-low.c \ |
| 114 ${srcdir}/i386-low.c $(srcdir)/i387-fp.c \ | 130 ${srcdir}/i386-low.c $(srcdir)/i387-fp.c \ |
| 115 $(srcdir)/linux-ia64-low.c $(srcdir)/linux-low.c \ | 131 $(srcdir)/linux-ia64-low.c $(srcdir)/linux-low.c \ |
| 116 $(srcdir)/linux-m32r-low.c \ | 132 $(srcdir)/linux-m32r-low.c \ |
| 117 $(srcdir)/linux-m68k-low.c $(srcdir)/linux-mips-low.c \ | 133 $(srcdir)/linux-m68k-low.c $(srcdir)/linux-mips-low.c \ |
| 118 $(srcdir)/linux-ppc-low.c \ | 134 $(srcdir)/linux-ppc-low.c \ |
| 119 $(srcdir)/linux-s390-low.c \ | 135 $(srcdir)/linux-s390-low.c \ |
| 120 $(srcdir)/linux-sh-low.c $(srcdir)/linux-sparc-low.c \ | 136 $(srcdir)/linux-sh-low.c $(srcdir)/linux-sparc-low.c \ |
| 121 $(srcdir)/linux-x86-low.c \ | 137 $(srcdir)/linux-x86-low.c \ |
| 122 $(srcdir)/linux-xtensa-low.c \ | 138 $(srcdir)/linux-xtensa-low.c \ |
| 139 $(srcdir)/linux-tile-low.c \ |
| 123 $(srcdir)/win32-arm-low.c $(srcdir)/win32-i386-low.c \ | 140 $(srcdir)/win32-arm-low.c $(srcdir)/win32-i386-low.c \ |
| 124 $(srcdir)/win32-low.c $(srcdir)/wincecompat.c \ | 141 $(srcdir)/win32-low.c $(srcdir)/wincecompat.c \ |
| 125 $(srcdir)/hostio.c $(srcdir)/hostio-errno.c \ | 142 $(srcdir)/hostio.c $(srcdir)/hostio-errno.c \ |
| 143 $(srcdir)/common/vec.c \ |
| 126 $(srcdir)/common/common-utils.c $(srcdir)/common/xml-utils.c \ | 144 $(srcdir)/common/common-utils.c $(srcdir)/common/xml-utils.c \ |
| 127 $(srcdir)/common/linux-osdata.c $(srcdir)/common/ptid.c \ | 145 $(srcdir)/common/linux-osdata.c $(srcdir)/common/ptid.c \ |
| 128 $(srcdir)/common/buffer.c | 146 $(srcdir)/common/buffer.c |
| 129 | 147 |
| 130 DEPFILES = @GDBSERVER_DEPFILES@ | 148 DEPFILES = @GDBSERVER_DEPFILES@ |
| 131 | 149 |
| 132 LIBOBJS = @LIBOBJS@ | 150 LIBOBJS = @LIBOBJS@ |
| 133 | 151 |
| 134 SOURCES = $(SFILES) | 152 SOURCES = $(SFILES) |
| 135 TAGFILES = $(SOURCES) ${HFILES} ${ALLPARAM} ${POSSLIBS} | 153 TAGFILES = $(SOURCES) ${HFILES} ${ALLPARAM} ${POSSLIBS} |
| 136 | 154 |
| 137 OBS = inferiors.o regcache.o remote-utils.o server.o signals.o target.o \ | 155 OBS = agent.o ax.o inferiors.o regcache.o remote-utils.o server.o signals.o targ
et.o \ |
| 138 » utils.o version.o \ | 156 » utils.o version.o vec.o \ |
| 139 mem-break.o hostio.o event-loop.o tracepoint.o \ | 157 mem-break.o hostio.o event-loop.o tracepoint.o \ |
| 140 » xml-utils.o common-utils.o ptid.o buffer.o \ | 158 » xml-utils.o common-utils.o ptid.o buffer.o format.o \ |
| 159 » dll.o \ |
| 141 $(XML_BUILTIN) \ | 160 $(XML_BUILTIN) \ |
| 142 $(DEPFILES) $(LIBOBJS) | 161 $(DEPFILES) $(LIBOBJS) |
| 143 GDBREPLAY_OBS = gdbreplay.o version.o | 162 GDBREPLAY_OBS = gdbreplay.o version.o |
| 144 GDBSERVER_LIBS = @GDBSERVER_LIBS@ | 163 GDBSERVER_LIBS = @GDBSERVER_LIBS@ |
| 145 XM_CLIBS = @LIBS@ | 164 XM_CLIBS = @LIBS@ |
| 146 CDEPS = $(srcdir)/proc-service.list | 165 CDEPS = $(srcdir)/proc-service.list |
| 147 | 166 |
| 148 # XML files to compile in to gdbserver, if any. | 167 # XML files to compile in to gdbserver, if any. |
| 149 XML_DIR = $(srcdir)/../features | 168 XML_DIR = $(srcdir)/../features |
| 150 XML_FILES = @srv_xmlfiles@ | 169 XML_FILES = @srv_xmlfiles@ |
| 151 XML_BUILTIN = @srv_xmlbuiltin@ | 170 XML_BUILTIN = @srv_xmlbuiltin@ |
| 152 | 171 |
| 153 IPA_DEPFILES = @IPA_DEPFILES@ | 172 IPA_DEPFILES = @IPA_DEPFILES@ |
| 154 extra_libraries = @extra_libraries@ | 173 extra_libraries = @extra_libraries@ |
| 155 | 174 |
| 175 SUBDIRS = $(GNULIB_BUILDDIR) |
| 176 CLEANDIRS = $(SUBDIRS) |
| 177 |
| 178 # List of subdirectories in the build tree that must exist. |
| 179 # This is used to force build failures in existing trees when |
| 180 # a new directory is added. |
| 181 # The format here is for the `case' shell command. |
| 182 REQUIRED_SUBDIRS = $(GNULIB_BUILDDIR) |
| 183 |
| 156 FLAGS_TO_PASS = \ | 184 FLAGS_TO_PASS = \ |
| 157 "prefix=$(prefix)" \ | 185 "prefix=$(prefix)" \ |
| 158 "exec_prefix=$(exec_prefix)" \ | 186 "exec_prefix=$(exec_prefix)" \ |
| 159 "infodir=$(infodir)" \ | 187 "infodir=$(infodir)" \ |
| 160 "datarootdir=$(datarootdir)" \ | 188 "datarootdir=$(datarootdir)" \ |
| 161 "docdir=$(docdir)" \ | 189 "docdir=$(docdir)" \ |
| 162 "htmldir=$(htmldir)" \ | 190 "htmldir=$(htmldir)" \ |
| 163 "pdfdir=$(pdfdir)" \ | 191 "pdfdir=$(pdfdir)" \ |
| 164 "libdir=$(libdir)" \ | 192 "libdir=$(libdir)" \ |
| 165 "mandir=$(mandir)" \ | 193 "mandir=$(mandir)" \ |
| (...skipping 12 matching lines...) Expand all Loading... |
| 178 "RANLIB=$(RANLIB)" \ | 206 "RANLIB=$(RANLIB)" \ |
| 179 "MAKEINFO=$(MAKEINFO)" \ | 207 "MAKEINFO=$(MAKEINFO)" \ |
| 180 "MAKEHTML=$(MAKEHTML)" \ | 208 "MAKEHTML=$(MAKEHTML)" \ |
| 181 "MAKEHTMLFLAGS=$(MAKEHTMLFLAGS)" \ | 209 "MAKEHTMLFLAGS=$(MAKEHTMLFLAGS)" \ |
| 182 "INSTALL=$(INSTALL)" \ | 210 "INSTALL=$(INSTALL)" \ |
| 183 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \ | 211 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \ |
| 184 "INSTALL_DATA=$(INSTALL_DATA)" \ | 212 "INSTALL_DATA=$(INSTALL_DATA)" \ |
| 185 "RUNTEST=$(RUNTEST)" \ | 213 "RUNTEST=$(RUNTEST)" \ |
| 186 "RUNTESTFLAGS=$(RUNTESTFLAGS)" | 214 "RUNTESTFLAGS=$(RUNTESTFLAGS)" |
| 187 | 215 |
| 216 # All generated files which can be included by another file. |
| 217 generated_files = config.h $(GNULIB_H) |
| 218 |
| 188 # Prevent Sun make from putting in the machine type. Setting | 219 # Prevent Sun make from putting in the machine type. Setting |
| 189 # TARGET_ARCH to nothing works for SunOS 3, 4.0, but not for 4.1. | 220 # TARGET_ARCH to nothing works for SunOS 3, 4.0, but not for 4.1. |
| 190 .c.o: | 221 .c.o: |
| 191 ${CC} -c ${INTERNAL_CFLAGS} $< | 222 ${CC} -c ${INTERNAL_CFLAGS} $< |
| 192 | 223 |
| 193 all: gdbserver$(EXEEXT) gdbreplay$(EXEEXT) $(extra_libraries) | 224 all: gdbserver$(EXEEXT) gdbreplay$(EXEEXT) $(extra_libraries) |
| 225 @$(MAKE) $(FLAGS_TO_PASS) DO=$@ "DODIRS=$(SUBDIRS)" subdir_do |
| 194 | 226 |
| 195 # Traditionally "install" depends on "all". But it may be useful | 227 # Traditionally "install" depends on "all". But it may be useful |
| 196 # not to; for example, if the user has made some trivial change to a | 228 # not to; for example, if the user has made some trivial change to a |
| 197 # source file and doesn't care about rebuilding or just wants to save the | 229 # source file and doesn't care about rebuilding or just wants to save the |
| 198 # time it takes for make to check that all is up to date. | 230 # time it takes for make to check that all is up to date. |
| 199 # install-only is intended to address that need. | 231 # install-only is intended to address that need. |
| 200 install: all | 232 install: all |
| 201 @$(MAKE) $(FLAGS_TO_PASS) install-only | 233 @$(MAKE) $(FLAGS_TO_PASS) install-only |
| 202 | 234 |
| 203 install-only: | 235 install-only: |
| 204 n=`echo gdbserver | sed '$(program_transform_name)'`; \ | 236 n=`echo gdbserver | sed '$(program_transform_name)'`; \ |
| 205 if [ x$$n = x ]; then n=gdbserver; else true; fi; \ | 237 if [ x$$n = x ]; then n=gdbserver; else true; fi; \ |
| 206 if [ x"$(IPA_DEPFILES)" != x ]; then \ | 238 if [ x"$(IPA_DEPFILES)" != x ]; then \ |
| 207 $(SHELL) $(srcdir)/../../mkinstalldirs $(DESTDIR)$(libdir); \ | 239 $(SHELL) $(srcdir)/../../mkinstalldirs $(DESTDIR)$(libdir); \ |
| 208 $(INSTALL_PROGRAM) $(IPA_LIB) $(DESTDIR)$(libdir)/$(IPA_LIB); \ | 240 $(INSTALL_PROGRAM) $(IPA_LIB) $(DESTDIR)$(libdir)/$(IPA_LIB); \ |
| 209 fi; \ | 241 fi; \ |
| 210 $(SHELL) $(srcdir)/../../mkinstalldirs $(DESTDIR)$(bindir); \ | 242 $(SHELL) $(srcdir)/../../mkinstalldirs $(DESTDIR)$(bindir); \ |
| 211 $(INSTALL_PROGRAM) gdbserver$(EXEEXT) $(DESTDIR)$(bindir)/$$n$(EXEEXT);
\ | 243 $(INSTALL_PROGRAM) gdbserver$(EXEEXT) $(DESTDIR)$(bindir)/$$n$(EXEEXT);
\ |
| 212 $(SHELL) $(srcdir)/../../mkinstalldirs $(DESTDIR)$(man1dir); \ | 244 $(SHELL) $(srcdir)/../../mkinstalldirs $(DESTDIR)$(man1dir); \ |
| 213 $(INSTALL_DATA) $(srcdir)/gdbserver.1 $(DESTDIR)$(man1dir)/$$n.1 | 245 $(INSTALL_DATA) $(srcdir)/gdbserver.1 $(DESTDIR)$(man1dir)/$$n.1 |
| 246 @$(MAKE) $(FLAGS_TO_PASS) DO=$@ "DODIRS=$(SUBDIRS)" subdir_do |
| 214 | 247 |
| 215 uninstall: force | 248 uninstall: force |
| 216 n=`echo gdbserver | sed '$(program_transform_name)'`; \ | 249 n=`echo gdbserver | sed '$(program_transform_name)'`; \ |
| 217 if [ x$$n = x ]; then n=gdbserver; else true; fi; \ | 250 if [ x$$n = x ]; then n=gdbserver; else true; fi; \ |
| 218 rm -f $(DESTDIR)/$(bindir)/$$n$(EXEEXT) $(DESTDIR)$(man1dir)/$$n.1 | 251 rm -f $(DESTDIR)/$(bindir)/$$n$(EXEEXT) $(DESTDIR)$(man1dir)/$$n.1 |
| 252 @$(MAKE) $(FLAGS_TO_PASS) DO=$@ "DODIRS=$(SUBDIRS)" subdir_do |
| 219 | 253 |
| 220 installcheck: | 254 installcheck: |
| 221 check: | 255 check: |
| 222 info dvi pdf: | 256 info dvi pdf: |
| 223 install-info: | 257 install-info: |
| 224 install-pdf: | 258 install-pdf: |
| 225 html: | 259 html: |
| 226 install-html: | 260 install-html: |
| 227 clean-info: | 261 clean-info: force |
| 262 » @$(MAKE) $(FLAGS_TO_PASS) DO=$@ "DODIRS=$(SUBDIRS)" subdir_do |
| 228 | 263 |
| 229 gdbserver$(EXEEXT): $(OBS) ${ADD_DEPS} ${CDEPS} | 264 gdbserver$(EXEEXT): $(OBS) ${ADD_DEPS} ${CDEPS} $(LIBGNU) |
| 230 rm -f gdbserver$(EXEEXT) | 265 rm -f gdbserver$(EXEEXT) |
| 231 ${CC-LD} $(INTERNAL_CFLAGS) $(INTERNAL_LDFLAGS) -o gdbserver$(EXEEXT) $(
OBS) \ | 266 ${CC-LD} $(INTERNAL_CFLAGS) $(INTERNAL_LDFLAGS) -o gdbserver$(EXEEXT) $(
OBS) \ |
| 232 » $(GDBSERVER_LIBS) $(XM_CLIBS) | 267 » $(LIBGNU) $(GDBSERVER_LIBS) $(XM_CLIBS) |
| 268 |
| 269 $(LIBGNU) $(GNULIB_H): all-lib |
| 270 all-lib: $(GNULIB_BUILDDIR)/Makefile |
| 271 » @$(MAKE) $(FLAGS_TO_PASS) DO=all DODIRS=$(GNULIB_BUILDDIR) subdir_do |
| 272 .PHONY: all-lib |
| 233 | 273 |
| 234 gdbreplay$(EXEEXT): $(GDBREPLAY_OBS) | 274 gdbreplay$(EXEEXT): $(GDBREPLAY_OBS) |
| 235 rm -f gdbreplay$(EXEEXT) | 275 rm -f gdbreplay$(EXEEXT) |
| 236 ${CC-LD} $(INTERNAL_CFLAGS) $(INTERNAL_LDFLAGS) -o gdbreplay$(EXEEXT) $(
GDBREPLAY_OBS) \ | 276 ${CC-LD} $(INTERNAL_CFLAGS) $(INTERNAL_LDFLAGS) -o gdbreplay$(EXEEXT) $(
GDBREPLAY_OBS) \ |
| 237 $(XM_CLIBS) | 277 $(XM_CLIBS) |
| 238 | 278 |
| 239 IPA_OBJS=tracepoint-ipa.o utils-ipa.o regcache-ipa.o remote-utils-ipa.o common-u
tils-ipa.o ${IPA_DEPFILES} | 279 IPA_OBJS=ax-ipa.o tracepoint-ipa.o format-ipa.o utils-ipa.o regcache-ipa.o remot
e-utils-ipa.o common-utils-ipa.o ${IPA_DEPFILES} |
| 240 | 280 |
| 241 IPA_LIB=libinproctrace.so | 281 IPA_LIB=libinproctrace.so |
| 242 | 282 |
| 243 $(IPA_LIB): $(IPA_OBJS) ${ADD_DEPS} ${CDEPS} | 283 $(IPA_LIB): $(IPA_OBJS) ${ADD_DEPS} ${CDEPS} |
| 244 rm -f $(IPA_LIB) | 284 rm -f $(IPA_LIB) |
| 245 ${CC-LD} -shared -fPIC -Wl,--no-undefined $(INTERNAL_CFLAGS) \ | 285 ${CC-LD} -shared -fPIC -Wl,--no-undefined $(INTERNAL_CFLAGS) \ |
| 246 $(INTERNAL_LDFLAGS) -o $(IPA_LIB) ${IPA_OBJS} -ldl -pthread | 286 $(INTERNAL_LDFLAGS) -o $(IPA_LIB) ${IPA_OBJS} -ldl -pthread |
| 247 | 287 |
| 248 # Put the proper machine-specific files first, so M-. on a machine | 288 # Put the proper machine-specific files first, so M-. on a machine |
| 249 # specific routine gets the one for the correct machine. | 289 # specific routine gets the one for the correct machine. |
| (...skipping 26 matching lines...) Expand all Loading... |
| 276 rm -f powerpc-altivec64l.c powerpc-cell64l.c powerpc-vsx64l.c | 316 rm -f powerpc-altivec64l.c powerpc-cell64l.c powerpc-vsx64l.c |
| 277 rm -f powerpc-isa205-32l.c powerpc-isa205-64l.c | 317 rm -f powerpc-isa205-32l.c powerpc-isa205-64l.c |
| 278 rm -f powerpc-isa205-altivec32l.c powerpc-isa205-vsx32l.c powerpc-isa205
-altivec64l.c | 318 rm -f powerpc-isa205-altivec32l.c powerpc-isa205-vsx32l.c powerpc-isa205
-altivec64l.c |
| 279 rm -f powerpc-isa205-vsx64l.c | 319 rm -f powerpc-isa205-vsx64l.c |
| 280 rm -f s390-linux32.c s390-linux64.c s390x-linux64.c | 320 rm -f s390-linux32.c s390-linux64.c s390x-linux64.c |
| 281 rm -f tic6x-c64xp-linux.c tic6x-c64x-linux.c tic6x-c62x-linux.c | 321 rm -f tic6x-c64xp-linux.c tic6x-c64x-linux.c tic6x-c62x-linux.c |
| 282 rm -f xml-builtin.c stamp-xml | 322 rm -f xml-builtin.c stamp-xml |
| 283 rm -f i386-avx.c i386-avx-linux.c | 323 rm -f i386-avx.c i386-avx-linux.c |
| 284 rm -f amd64-avx.c amd64-avx-linux.c | 324 rm -f amd64-avx.c amd64-avx-linux.c |
| 285 rm -f i386-mmx.c i386-mmx-linux.c | 325 rm -f i386-mmx.c i386-mmx-linux.c |
| 326 rm -f x32.c x32-linux.c |
| 327 rm -f x32-avx.c x32-avx-linux.c |
| 328 @$(MAKE) $(FLAGS_TO_PASS) DO=$@ "DODIRS=$(SUBDIRS)" subdir_do |
| 286 | 329 |
| 287 maintainer-clean realclean distclean: clean | 330 maintainer-clean realclean distclean: clean |
| 288 » rm -f nm.h tm.h xm.h config.status config.h stamp-h config.log | 331 » @$(MAKE) $(FLAGS_TO_PASS) DO=$@ "DODIRS=$(SUBDIRS)" subdir_do |
| 332 » rm -rf $(GNULIB_BUILDDIR) |
| 333 » rm -f Makefile config.status config.h stamp-h config.log |
| 289 rm -f Makefile | 334 rm -f Makefile |
| 290 | 335 |
| 336 subdir_do: force |
| 337 @for i in $(DODIRS); do \ |
| 338 case $$i in \ |
| 339 $(REQUIRED_SUBDIRS)) \ |
| 340 if [ ! -f ./$$i/Makefile ] ; then \ |
| 341 echo "Missing $$i/Makefile" >&2 ; \ |
| 342 exit 1 ; \ |
| 343 fi ;; \ |
| 344 esac ; \ |
| 345 if [ -f ./$$i/Makefile ] ; then \ |
| 346 if (cd ./$$i; \ |
| 347 $(MAKE) $(FLAGS_TO_PASS) $(DO)) ; then true ; \ |
| 348 else exit 1 ; fi ; \ |
| 349 else true ; fi ; \ |
| 350 done |
| 351 |
| 291 config.h: stamp-h ; @true | 352 config.h: stamp-h ; @true |
| 292 stamp-h: config.in config.status | 353 stamp-h: config.in config.status |
| 293 CONFIG_FILES="" CONFIG_HEADERS=config.h:config.in $(SHELL) ./config.stat
us | 354 CONFIG_FILES="" CONFIG_HEADERS=config.h:config.in $(SHELL) ./config.stat
us |
| 294 | 355 |
| 295 Makefile: Makefile.in config.status | 356 Makefile: Makefile.in config.status |
| 296 CONFIG_HEADERS="" $(SHELL) ./config.status | 357 CONFIG_HEADERS="" $(SHELL) ./config.status |
| 297 | 358 |
| 359 $(GNULIB_BUILDDIR)/Makefile: $(srcdir)/../gnulib/Makefile.in config.status |
| 360 @cd $(GNULIB_BUILDDIR); CONFIG_FILES="Makefile" \ |
| 361 CONFIG_COMMANDS="depfiles" \ |
| 362 CONFIG_HEADERS= \ |
| 363 CONFIG_LINKS= \ |
| 364 $(SHELL) config.status |
| 365 |
| 298 config.status: configure configure.srv | 366 config.status: configure configure.srv |
| 299 $(SHELL) ./config.status --recheck | 367 $(SHELL) ./config.status --recheck |
| 300 | 368 |
| 369 # automatic rebuilding in automake-generated Makefiles requires |
| 370 # this rule in the toplevel Makefile, which, with GNU make, causes |
| 371 # the desired updates through the implicit regeneration of the Makefile |
| 372 # and all of its prerequisites. |
| 373 am--refresh: |
| 374 @: |
| 375 |
| 301 force: | 376 force: |
| 302 | 377 |
| 303 version.c: Makefile $(srcdir)/../version.in | 378 version.c: Makefile $(srcdir)/../version.in |
| 304 rm -f version.c-tmp version.c | 379 rm -f version.c-tmp version.c |
| 305 echo '#include "server.h"' >> version.c-tmp | 380 echo '#include "server.h"' >> version.c-tmp |
| 306 echo 'const char version[] = "'"`sed q ${srcdir}/../version.in`"'";' >>
version.c-tmp | 381 echo 'const char version[] = "'"`sed q ${srcdir}/../version.in`"'";' >>
version.c-tmp |
| 307 echo 'const char host_name[] = "$(host_alias)";' >> version.c-tmp | 382 echo 'const char host_name[] = "$(host_alias)";' >> version.c-tmp |
| 308 mv version.c-tmp version.c | 383 mv version.c-tmp version.c |
| 309 version.o: version.c $(server_h) | 384 version.o: version.c $(server_h) |
| 310 | 385 |
| (...skipping 17 matching lines...) Expand all Loading... |
| 328 # will remove them. | 403 # will remove them. |
| 329 MAKEOVERRIDES= | 404 MAKEOVERRIDES= |
| 330 | 405 |
| 331 gdb_proc_service_h = $(srcdir)/gdb_proc_service.h | 406 gdb_proc_service_h = $(srcdir)/gdb_proc_service.h |
| 332 regdat_sh = $(srcdir)/../regformats/regdat.sh | 407 regdat_sh = $(srcdir)/../regformats/regdat.sh |
| 333 regdef_h = $(srcdir)/../regformats/regdef.h | 408 regdef_h = $(srcdir)/../regformats/regdef.h |
| 334 regcache_h = $(srcdir)/regcache.h | 409 regcache_h = $(srcdir)/regcache.h |
| 335 signals_def = $(srcdir)/../../include/gdb/signals.def | 410 signals_def = $(srcdir)/../../include/gdb/signals.def |
| 336 signals_h = $(srcdir)/../../include/gdb/signals.h $(signals_def) | 411 signals_h = $(srcdir)/../../include/gdb/signals.h $(signals_def) |
| 337 ptid_h = $(srcdir)/../common/ptid.h | 412 ptid_h = $(srcdir)/../common/ptid.h |
| 413 ax_h = $(srcdir)/ax.h |
| 414 agent_h = $(srcdir)/../common/agent.h |
| 338 linux_osdata_h = $(srcdir)/../common/linux-osdata.h | 415 linux_osdata_h = $(srcdir)/../common/linux-osdata.h |
| 339 server_h = $(srcdir)/server.h $(regcache_h) config.h $(srcdir)/target.h \ | 416 vec_h = $(srcdir)/../common/vec.h |
| 417 # Since everything must include server.h, we make that depend on |
| 418 # generated files. |
| 419 server_h = $(srcdir)/server.h $(regcache_h) $(srcdir)/target.h \ |
| 340 $(srcdir)/mem-break.h $(srcdir)/../common/gdb_signals.h \ | 420 $(srcdir)/mem-break.h $(srcdir)/../common/gdb_signals.h \ |
| 341 $(srcdir)/../common/common-utils.h \ | 421 $(srcdir)/../common/common-utils.h \ |
| 342 $(srcdir)/../common/xml-utils.h \ | 422 $(srcdir)/../common/xml-utils.h \ |
| 343 $(srcdir)/../common/buffer.h \ | 423 $(srcdir)/../common/buffer.h \ |
| 344 $(srcdir)/../common/gdb_assert.h \ | 424 $(srcdir)/../common/gdb_assert.h \ |
| 345 $(srcdir)/../common/gdb_locale.h \ | 425 $(srcdir)/../common/gdb_locale.h \ |
| 346 $(ptid_h) \ | 426 $(ptid_h) \ |
| 347 » » $(signals_h) | 427 » » $(signals_h) \ |
| 428 » » $(generated_files) |
| 348 | 429 |
| 349 linux_low_h = $(srcdir)/linux-low.h | 430 gdbthread_h = $(srcdir)/gdbthread.h $(target_h) $(srcdir)/server.h |
| 431 linux_low_h = $(srcdir)/linux-low.h $(gdbthread_h) |
| 350 | 432 |
| 351 linux_ptrace_h = $(srcdir)/../common/linux-ptrace.h | 433 linux_ptrace_h = $(srcdir)/../common/linux-ptrace.h |
| 352 | 434 |
| 353 gdb_thread_db_h = $(srcdir)/../common/gdb_thread_db.h | 435 gdb_thread_db_h = $(srcdir)/../common/gdb_thread_db.h |
| 354 | 436 |
| 355 linux_procfs_h = $(srcdir)/../common/linux-procfs.h | 437 linux_procfs_h = $(srcdir)/../common/linux-procfs.h |
| 356 | 438 |
| 357 lynx_low_h = $(srcdir)/lynx-low.h $(srcdir)/server.h | 439 lynx_low_h = $(srcdir)/lynx-low.h $(srcdir)/server.h |
| 358 | 440 |
| 359 nto_low_h = $(srcdir)/nto-low.h | 441 nto_low_h = $(srcdir)/nto-low.h |
| 360 | 442 |
| 361 UST_CFLAGS = $(ustinc) -DCONFIG_UST_GDB_INTEGRATION | 443 UST_CFLAGS = $(ustinc) -DCONFIG_UST_GDB_INTEGRATION |
| 362 | 444 |
| 363 # Note, we only build the IPA if -fvisibility=hidden is supported in | 445 # Note, we only build the IPA if -fvisibility=hidden is supported in |
| 364 # the first place. | 446 # the first place. |
| 365 IPAGENT_CFLAGS = $(CPPFLAGS) $(INTERNAL_CFLAGS) $(UST_CFLAGS) \ | 447 IPAGENT_CFLAGS = $(CPPFLAGS) $(INTERNAL_CFLAGS) $(UST_CFLAGS) \ |
| 366 -fPIC -DGDBSERVER -DIN_PROCESS_AGENT \ | 448 -fPIC -DGDBSERVER -DIN_PROCESS_AGENT \ |
| 367 -fvisibility=hidden | 449 -fvisibility=hidden |
| 368 | 450 |
| 369 # In-process agent object rules | 451 # In-process agent object rules |
| 370 tracepoint-ipa.o: tracepoint.c $(server_h) $(srcdir)/../common/ax.def | 452 ax-ipa.o: ax.c $(server_h) $(ax_h) $(srcdir)/../common/ax.def |
| 453 » $(CC) -c $(IPAGENT_CFLAGS) $(WARN_CFLAGS_NO_FORMAT) $< -o ax-ipa.o |
| 454 tracepoint-ipa.o: tracepoint.c $(server_h) ${ax_h} |
| 371 $(CC) -c $(IPAGENT_CFLAGS) $< -o tracepoint-ipa.o | 455 $(CC) -c $(IPAGENT_CFLAGS) $< -o tracepoint-ipa.o |
| 372 utils-ipa.o: utils.c $(server_h) | 456 utils-ipa.o: utils.c $(server_h) |
| 373 $(CC) -c $(IPAGENT_CFLAGS) $< -o utils-ipa.o | 457 $(CC) -c $(IPAGENT_CFLAGS) $< -o utils-ipa.o |
| 458 format-ipa.o: ../common/format.c $(server_h) ${ax_h} |
| 459 $(CC) -c $(IPAGENT_CFLAGS) $< -o format-ipa.o |
| 374 common-utils-ipa.o: ../common/common-utils.c $(server_h) | 460 common-utils-ipa.o: ../common/common-utils.c $(server_h) |
| 375 $(CC) -c $(IPAGENT_CFLAGS) $< -o common-utils-ipa.o | 461 $(CC) -c $(IPAGENT_CFLAGS) $< -o common-utils-ipa.o |
| 376 remote-utils-ipa.o: remote-utils.c $(server_h) | 462 remote-utils-ipa.o: remote-utils.c $(server_h) |
| 377 $(CC) -c $(IPAGENT_CFLAGS) $< -o remote-utils-ipa.o | 463 $(CC) -c $(IPAGENT_CFLAGS) $< -o remote-utils-ipa.o |
| 378 regcache-ipa.o: regcache.c $(server_h) | 464 regcache-ipa.o: regcache.c $(server_h) |
| 379 $(CC) -c $(IPAGENT_CFLAGS) $< -o regcache-ipa.o | 465 $(CC) -c $(IPAGENT_CFLAGS) $< -o regcache-ipa.o |
| 380 i386-linux-ipa.o : i386-linux.c $(regdef_h) | 466 i386-linux-ipa.o : i386-linux.c $(regdef_h) |
| 381 $(CC) -c $(IPAGENT_CFLAGS) $< -o i386-linux-ipa.o | 467 $(CC) -c $(IPAGENT_CFLAGS) $< -o i386-linux-ipa.o |
| 382 linux-i386-ipa.o: linux-i386-ipa.c $(server_h) | 468 linux-i386-ipa.o: linux-i386-ipa.c $(server_h) |
| 383 $(CC) -c $(IPAGENT_CFLAGS) $< -o linux-i386-ipa.o | 469 $(CC) -c $(IPAGENT_CFLAGS) $< -o linux-i386-ipa.o |
| 384 linux-amd64-ipa.o: linux-amd64-ipa.c $(server_h) | 470 linux-amd64-ipa.o: linux-amd64-ipa.c $(server_h) |
| 385 $(CC) -c $(IPAGENT_CFLAGS) $< -o linux-amd64-ipa.o | 471 $(CC) -c $(IPAGENT_CFLAGS) $< -o linux-amd64-ipa.o |
| 386 amd64-linux-ipa.o : amd64-linux.c $(regdef_h) | 472 amd64-linux-ipa.o : amd64-linux.c $(regdef_h) |
| 387 $(CC) -c $(IPAGENT_CFLAGS) $< -o amd64-linux-ipa.o | 473 $(CC) -c $(IPAGENT_CFLAGS) $< -o amd64-linux-ipa.o |
| 388 | 474 |
| 475 ax.o: ax.c $(server_h) $(ax_h) $(srcdir)/../common/ax.def |
| 476 $(CC) -c $(CPPFLAGS) $(INTERNAL_CFLAGS) $(WARN_CFLAGS_NO_FORMAT) $< |
| 389 event-loop.o: event-loop.c $(server_h) | 477 event-loop.o: event-loop.c $(server_h) |
| 390 hostio.o: hostio.c $(server_h) | 478 hostio.o: hostio.c $(server_h) |
| 391 hostio-errno.o: hostio-errno.c $(server_h) | 479 hostio-errno.o: hostio-errno.c $(server_h) |
| 392 inferiors.o: inferiors.c $(server_h) | 480 inferiors.o: inferiors.c $(server_h) $(gdbthread_h) |
| 393 mem-break.o: mem-break.c $(server_h) | 481 mem-break.o: mem-break.c $(server_h) $(ax_h) |
| 394 proc-service.o: proc-service.c $(server_h) $(gdb_proc_service_h) | 482 proc-service.o: proc-service.c $(server_h) $(gdb_proc_service_h) |
| 395 regcache.o: regcache.c $(server_h) $(regdef_h) | 483 regcache.o: regcache.c $(server_h) $(regdef_h) $(gdbthread_h) |
| 396 remote-utils.o: remote-utils.c terminal.h $(server_h) | 484 remote-utils.o: remote-utils.c terminal.h $(server_h) $(gdbthread_h) |
| 397 server.o: server.c $(server_h) | 485 server.o: server.c $(server_h) $(agent_h) $(gdbthread_h) |
| 398 target.o: target.c $(server_h) | 486 target.o: target.c $(server_h) |
| 399 thread-db.o: thread-db.c $(server_h) $(linux_low_h) $(gdb_proc_service_h) \ | 487 thread-db.o: thread-db.c $(server_h) $(linux_low_h) $(gdb_proc_service_h) \ |
| 400 $(gdb_thread_db_h) | 488 $(gdb_thread_db_h) |
| 401 tracepoint.o: tracepoint.c $(server_h) $(srcdir)/../common/ax.def | 489 tracepoint.o: tracepoint.c $(server_h) $(ax_h) $(agent_h) $(gdbthread_h) |
| 402 utils.o: utils.c $(server_h) | 490 utils.o: utils.c $(server_h) |
| 403 gdbreplay.o: gdbreplay.c config.h | 491 gdbreplay.o: gdbreplay.c config.h |
| 492 dll.o: dll.c $(server_h) |
| 404 | 493 |
| 405 signals.o: ../common/signals.c $(server_h) $(signals_def) | 494 signals.o: ../common/signals.c $(server_h) $(signals_def) |
| 406 $(CC) -c $(CPPFLAGS) $(INTERNAL_CFLAGS) $< -DGDBSERVER | 495 $(CC) -c $(CPPFLAGS) $(INTERNAL_CFLAGS) $< -DGDBSERVER |
| 407 | 496 |
| 408 linux-procfs.o: ../common/linux-procfs.c $(server_h) | 497 linux-procfs.o: ../common/linux-procfs.c $(server_h) |
| 409 $(CC) -c $(CPPFLAGS) $(INTERNAL_CFLAGS) $< -DGDBSERVER | 498 $(CC) -c $(CPPFLAGS) $(INTERNAL_CFLAGS) $< -DGDBSERVER |
| 410 | 499 |
| 500 linux-ptrace.o: ../common/linux-ptrace.c $(server_h) |
| 501 $(CC) -c $(CPPFLAGS) $(INTERNAL_CFLAGS) $< -DGDBSERVER |
| 502 |
| 411 common-utils.o: ../common/common-utils.c $(server_h) | 503 common-utils.o: ../common/common-utils.c $(server_h) |
| 412 $(CC) -c $(CPPFLAGS) $(INTERNAL_CFLAGS) $< -DGDBSERVER | 504 $(CC) -c $(CPPFLAGS) $(INTERNAL_CFLAGS) $< -DGDBSERVER |
| 413 | 505 |
| 506 vec.o: ../common/vec.c $(vec_h) |
| 507 $(CC) -c $(CPPFLAGS) $(INTERNAL_CFLAGS) $< -DGDBSERVER |
| 508 |
| 414 xml-utils.o: ../common/xml-utils.c $(server_h) | 509 xml-utils.o: ../common/xml-utils.c $(server_h) |
| 415 $(CC) -c $(CPPFLAGS) $(INTERNAL_CFLAGS) $< -DGDBSERVER | 510 $(CC) -c $(CPPFLAGS) $(INTERNAL_CFLAGS) $< -DGDBSERVER |
| 416 | 511 |
| 417 linux-osdata.o: ../common/linux-osdata.c $(server_h) $(linux_osdata_h) ../common
/gdb_dirent.h | 512 linux-osdata.o: ../common/linux-osdata.c $(server_h) $(linux_osdata_h) ../common
/gdb_dirent.h |
| 418 $(CC) -c $(CPPFLAGS) $(INTERNAL_CFLAGS) $< -DGDBSERVER | 513 $(CC) -c $(CPPFLAGS) $(INTERNAL_CFLAGS) $< -DGDBSERVER |
| 419 | 514 |
| 420 ptid.o: ../common/ptid.c $(ptid_h) | 515 ptid.o: ../common/ptid.c $(ptid_h) |
| 421 $(CC) -c $(CPPFLAGS) $(INTERNAL_CFLAGS) $< -DGDBSERVER | 516 $(CC) -c $(CPPFLAGS) $(INTERNAL_CFLAGS) $< -DGDBSERVER |
| 422 | 517 |
| 423 buffer.o: ../common/buffer.c $(server_h) | 518 buffer.o: ../common/buffer.c $(server_h) |
| 424 $(CC) -c $(CPPFLAGS) $(INTERNAL_CFLAGS) $< -DGDBSERVER | 519 $(CC) -c $(CPPFLAGS) $(INTERNAL_CFLAGS) $< -DGDBSERVER |
| 425 | 520 |
| 426 # We build memmem.c without -Werror because this file is not under | 521 format.o: ../common/format.c $(server_h) |
| 427 # our control. On LynxOS, the compiler generates some warnings | 522 » $(CC) -c $(CPPFLAGS) $(INTERNAL_CFLAGS) $< -DGDBSERVER |
| 428 # because str-two-way.h uses a constant (MAX_SIZE) whose definition | 523 |
| 429 # makes it ambiguous whether it is signed or unsigned ("warning: this | 524 agent.o: ../common/agent.c $(server_h) $(agent_h) |
| 430 # decimal constant is unsigned only in ISO C90"). | 525 » $(CC) -c $(CPPFLAGS) $(INTERNAL_CFLAGS) $< -DGDBSERVER |
| 431 memmem.o: ../gnulib/memmem.c | |
| 432 » $(CC) -o memmem.o -c $(CPPFLAGS) $(INTERNAL_WARN_CFLAGS) $< | |
| 433 | 526 |
| 434 # We build vasprintf with -DHAVE_CONFIG_H because we want that unit to | 527 # We build vasprintf with -DHAVE_CONFIG_H because we want that unit to |
| 435 # include our config.h file. Otherwise, some system headers do not get | 528 # include our config.h file. Otherwise, some system headers do not get |
| 436 # included, and the compiler emits a warning about implicitly defined | 529 # included, and the compiler emits a warning about implicitly defined |
| 437 # functions (missing declaration). | 530 # functions (missing declaration). |
| 438 vasprintf.o: $(srcdir)/../../libiberty/vasprintf.c | 531 vasprintf.o: $(srcdir)/../../libiberty/vasprintf.c |
| 439 $(CC) -o vasprintf.o -c $(CPPFLAGS) $(INTERNAL_CFLAGS) -DHAVE_CONFIG_H $
< | 532 $(CC) -o vasprintf.o -c $(CPPFLAGS) $(INTERNAL_CFLAGS) -DHAVE_CONFIG_H $
< |
| 440 vsnprintf.o: $(srcdir)/../../libiberty/vsnprintf.c | 533 vsnprintf.o: $(srcdir)/../../libiberty/vsnprintf.c |
| 441 $(CC) -o vsnprintf.o -c $(CPPFLAGS) $(INTERNAL_CFLAGS) $< | 534 $(CC) -o vsnprintf.o -c $(CPPFLAGS) $(INTERNAL_CFLAGS) $< |
| 442 | 535 |
| 443 i386_low_h = $(srcdir)/i386-low.h | 536 i386_low_h = $(srcdir)/i386-low.h |
| 444 | 537 |
| 445 i386-low.o: i386-low.c $(i386_low_h) $(server_h) $(target_h) | 538 i386-low.o: i386-low.c $(i386_low_h) $(server_h) $(target_h) |
| 446 | 539 |
| 447 i387-fp.o: i387-fp.c $(server_h) | 540 i387-fp.o: i387-fp.c $(server_h) |
| 448 | 541 |
| 449 linux-low.o: linux-low.c $(linux_low_h) $(linux_ptrace_h) $(linux_procfs_h) \ | 542 linux-low.o: linux-low.c $(linux_low_h) $(linux_ptrace_h) $(linux_procfs_h) \ |
| 450 » $(server_h) $(linux_osdata_h) | 543 » $(server_h) $(linux_osdata_h) $(agent_h) |
| 451 $(CC) -c $(CPPFLAGS) $(INTERNAL_CFLAGS) $< @USE_THREAD_DB@ | 544 $(CC) -c $(CPPFLAGS) $(INTERNAL_CFLAGS) $< @USE_THREAD_DB@ |
| 452 | 545 |
| 453 linux-arm-low.o: linux-arm-low.c $(linux_low_h) $(server_h) \ | 546 linux-arm-low.o: linux-arm-low.c $(linux_low_h) $(server_h) \ |
| 454 $(gdb_proc_service_h) | 547 $(gdb_proc_service_h) |
| 455 linux-bfin-low.o: linux-bfin-low.c $(linux_low_h) $(server_h) | 548 linux-bfin-low.o: linux-bfin-low.c $(linux_low_h) $(server_h) |
| 456 linux-cris-low.o: linux-cris-low.c $(linux_low_h) $(server_h) | 549 linux-cris-low.o: linux-cris-low.c $(linux_low_h) $(server_h) |
| 457 linux-crisv32-low.o: linux-crisv32-low.c $(linux_low_h) $(server_h) | 550 linux-crisv32-low.o: linux-crisv32-low.c $(linux_low_h) $(server_h) |
| 458 linux-ia64-low.o: linux-ia64-low.c $(linux_low_h) $(server_h) | 551 linux-ia64-low.o: linux-ia64-low.c $(linux_low_h) $(server_h) |
| 459 linux-m32r-low.o: linux-m32r-low.c $(linux_low_h) $(server_h) | 552 linux-m32r-low.o: linux-m32r-low.c $(linux_low_h) $(server_h) |
| 460 linux-mips-low.o: linux-mips-low.c $(linux_low_h) $(server_h) \ | 553 linux-mips-low.o: linux-mips-low.c $(linux_low_h) $(server_h) \ |
| 461 $(gdb_proc_service_h) | 554 $(gdb_proc_service_h) |
| 462 linux-ppc-low.o: linux-ppc-low.c $(linux_low_h) $(server_h) | 555 linux-ppc-low.o: linux-ppc-low.c $(linux_low_h) $(server_h) |
| 463 linux-s390-low.o: linux-s390-low.c $(linux_low_h) $(server_h) | 556 linux-s390-low.o: linux-s390-low.c $(linux_low_h) $(server_h) |
| 464 linux-sh-low.o: linux-sh-low.c $(linux_low_h) $(server_h) | 557 linux-sh-low.o: linux-sh-low.c $(linux_low_h) $(server_h) |
| 465 linux-tic6x-low.o: linux-tic6x-low.c $(linux_low_h) $(server_h) | 558 linux-tic6x-low.o: linux-tic6x-low.c $(linux_low_h) $(server_h) |
| 466 linux-x86-low.o: linux-x86-low.c $(linux_low_h) $(server_h) \ | 559 linux-x86-low.o: linux-x86-low.c $(linux_low_h) $(server_h) \ |
| 467 » $(gdb_proc_service_h) $(i386_low_h) | 560 » $(gdb_proc_service_h) $(i386_low_h) $(agent_h) |
| 468 linux-xtensa-low.o: linux-xtensa-low.c xtensa-xtregs.c $(linux_low_h) $(server_h
) | 561 linux-xtensa-low.o: linux-xtensa-low.c xtensa-xtregs.c $(linux_low_h) $(server_h
) |
| 562 linux-tile-low.o: linux-tile-low.c $(linux_low_h) $(server_h) |
| 469 | 563 |
| 470 lynx-low.o: lynx-low.c $(server_h) $(target_h) $(lynx_low_h) | 564 lynx-low.o: lynx-low.c $(server_h) $(target_h) $(lynx_low_h) |
| 471 lynx-ppc-low.o: lynx-ppc-low.c $(server_h) $(lynx_low_h) | 565 lynx-ppc-low.o: lynx-ppc-low.c $(server_h) $(lynx_low_h) |
| 472 nto-low.o: nto-low.c $(server_h) $(nto_low_h) | 566 nto-low.o: nto-low.c $(server_h) $(nto_low_h) $(gdbthread_h) |
| 473 nto-x86-low.o: nto-x86-low.c $(server_h) $(nto_low_h) $(regdef_h) $(regcache_h) | 567 nto-x86-low.o: nto-x86-low.c $(server_h) $(nto_low_h) $(regdef_h) $(regcache_h) |
| 474 | 568 |
| 475 win32_low_h = $(srcdir)/win32-low.h | 569 win32_low_h = $(srcdir)/win32-low.h |
| 476 | 570 |
| 477 win32-low.o: win32-low.c $(win32_low_h) $(server_h) $(regdef_h) $(regcache_h) | 571 win32-low.o: win32-low.c $(win32_low_h) $(server_h) $(regdef_h) $(regcache_h) $(
gdbthread_h) |
| 478 | 572 |
| 479 win32-arm-low.o: win32-arm-low.c $(win32_low_h) $(server_h) | 573 win32-arm-low.o: win32-arm-low.c $(win32_low_h) $(server_h) |
| 480 win32-i386-low.o: win32-i386-low.c $(win32_low_h) $(server_h) $(i386_low_h) | 574 win32-i386-low.o: win32-i386-low.c $(win32_low_h) $(server_h) $(i386_low_h) |
| 481 | 575 |
| 482 spu-low.o: spu-low.c $(server_h) | 576 spu-low.o: spu-low.c $(server_h) |
| 483 | 577 |
| 484 reg-arm.o : reg-arm.c $(regdef_h) | 578 reg-arm.o : reg-arm.c $(regdef_h) |
| 485 reg-arm.c : $(srcdir)/../regformats/reg-arm.dat $(regdat_sh) | 579 reg-arm.c : $(srcdir)/../regformats/reg-arm.dat $(regdat_sh) |
| 486 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/reg-arm.dat reg-arm.c | 580 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/reg-arm.dat reg-arm.c |
| 487 arm-with-iwmmxt.o : arm-with-iwmmxt.c $(regdef_h) | 581 arm-with-iwmmxt.o : arm-with-iwmmxt.c $(regdef_h) |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 531 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/reg-m32r.dat reg-m32r.c | 625 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/reg-m32r.dat reg-m32r.c |
| 532 reg-m68k.o : reg-m68k.c $(regdef_h) | 626 reg-m68k.o : reg-m68k.c $(regdef_h) |
| 533 reg-m68k.c : $(srcdir)/../regformats/reg-m68k.dat $(regdat_sh) | 627 reg-m68k.c : $(srcdir)/../regformats/reg-m68k.dat $(regdat_sh) |
| 534 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/reg-m68k.dat reg-m68k.c | 628 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/reg-m68k.dat reg-m68k.c |
| 535 reg-cf.o : reg-cf.c $(regdef_h) | 629 reg-cf.o : reg-cf.c $(regdef_h) |
| 536 reg-cf.c : $(srcdir)/../regformats/reg-cf.dat $(regdat_sh) | 630 reg-cf.c : $(srcdir)/../regformats/reg-cf.dat $(regdat_sh) |
| 537 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/reg-cf.dat reg-cf.c | 631 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/reg-cf.dat reg-cf.c |
| 538 mips-linux.o : mips-linux.c $(regdef_h) | 632 mips-linux.o : mips-linux.c $(regdef_h) |
| 539 mips-linux.c : $(srcdir)/../regformats/mips-linux.dat $(regdat_sh) | 633 mips-linux.c : $(srcdir)/../regformats/mips-linux.dat $(regdat_sh) |
| 540 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/mips-linux.dat mips-linux.
c | 634 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/mips-linux.dat mips-linux.
c |
| 635 mips-dsp-linux.o : mips-dsp-linux.c $(regdef_h) |
| 636 mips-dsp-linux.c : $(srcdir)/../regformats/mips-dsp-linux.dat $(regdat_sh) |
| 637 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/mips-dsp-linux.dat mips-ds
p-linux.c |
| 541 mips64-linux.o : mips64-linux.c $(regdef_h) | 638 mips64-linux.o : mips64-linux.c $(regdef_h) |
| 542 mips64-linux.c : $(srcdir)/../regformats/mips64-linux.dat $(regdat_sh) | 639 mips64-linux.c : $(srcdir)/../regformats/mips64-linux.dat $(regdat_sh) |
| 543 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/mips64-linux.dat mips64-li
nux.c | 640 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/mips64-linux.dat mips64-li
nux.c |
| 641 mips64-dsp-linux.o : mips64-dsp-linux.c $(regdef_h) |
| 642 mips64-dsp-linux.c : $(srcdir)/../regformats/mips64-dsp-linux.dat $(regdat_sh) |
| 643 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/mips64-dsp-linux.dat mips6
4-dsp-linux.c |
| 544 powerpc-32.o : powerpc-32.c $(regdef_h) | 644 powerpc-32.o : powerpc-32.c $(regdef_h) |
| 545 powerpc-32.c : $(srcdir)/../regformats/rs6000/powerpc-32.dat $(regdat_sh) | 645 powerpc-32.c : $(srcdir)/../regformats/rs6000/powerpc-32.dat $(regdat_sh) |
| 546 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/rs6000/powerpc-32.dat powe
rpc-32.c | 646 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/rs6000/powerpc-32.dat powe
rpc-32.c |
| 547 powerpc-32l.o : powerpc-32l.c $(regdef_h) | 647 powerpc-32l.o : powerpc-32l.c $(regdef_h) |
| 548 powerpc-32l.c : $(srcdir)/../regformats/rs6000/powerpc-32l.dat $(regdat_sh) | 648 powerpc-32l.c : $(srcdir)/../regformats/rs6000/powerpc-32l.dat $(regdat_sh) |
| 549 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/rs6000/powerpc-32l.dat pow
erpc-32l.c | 649 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/rs6000/powerpc-32l.dat pow
erpc-32l.c |
| 550 powerpc-altivec32l.o : powerpc-altivec32l.c $(regdef_h) | 650 powerpc-altivec32l.o : powerpc-altivec32l.c $(regdef_h) |
| 551 powerpc-altivec32l.c : $(srcdir)/../regformats/rs6000/powerpc-altivec32l.dat $(r
egdat_sh) | 651 powerpc-altivec32l.c : $(srcdir)/../regformats/rs6000/powerpc-altivec32l.dat $(r
egdat_sh) |
| 552 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/rs6000/powerpc-altivec32l.
dat powerpc-altivec32l.c | 652 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/rs6000/powerpc-altivec32l.
dat powerpc-altivec32l.c |
| 553 powerpc-cell32l.o : powerpc-cell32l.c $(regdef_h) | 653 powerpc-cell32l.o : powerpc-cell32l.c $(regdef_h) |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 641 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/i386/amd64.dat amd64.c | 741 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/i386/amd64.dat amd64.c |
| 642 amd64-linux.o : amd64-linux.c $(regdef_h) | 742 amd64-linux.o : amd64-linux.c $(regdef_h) |
| 643 amd64-linux.c : $(srcdir)/../regformats/i386/amd64-linux.dat $(regdat_sh) | 743 amd64-linux.c : $(srcdir)/../regformats/i386/amd64-linux.dat $(regdat_sh) |
| 644 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/i386/amd64-linux.dat amd64
-linux.c | 744 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/i386/amd64-linux.dat amd64
-linux.c |
| 645 amd64-avx.o : amd64-avx.c $(regdef_h) | 745 amd64-avx.o : amd64-avx.c $(regdef_h) |
| 646 amd64-avx.c : $(srcdir)/../regformats/i386/amd64-avx.dat $(regdat_sh) | 746 amd64-avx.c : $(srcdir)/../regformats/i386/amd64-avx.dat $(regdat_sh) |
| 647 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/i386/amd64-avx.dat amd64-a
vx.c | 747 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/i386/amd64-avx.dat amd64-a
vx.c |
| 648 amd64-avx-linux.o : amd64-avx-linux.c $(regdef_h) | 748 amd64-avx-linux.o : amd64-avx-linux.c $(regdef_h) |
| 649 amd64-avx-linux.c : $(srcdir)/../regformats/i386/amd64-avx-linux.dat $(regdat_sh
) | 749 amd64-avx-linux.c : $(srcdir)/../regformats/i386/amd64-avx-linux.dat $(regdat_sh
) |
| 650 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/i386/amd64-avx-linux.dat a
md64-avx-linux.c | 750 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/i386/amd64-avx-linux.dat a
md64-avx-linux.c |
| 751 x32.o : x32.c $(regdef_h) |
| 752 x32.c : $(srcdir)/../regformats/i386/x32.dat $(regdat_sh) |
| 753 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/i386/x32.dat x32.c |
| 754 x32-linux.o : x32-linux.c $(regdef_h) |
| 755 x32-linux.c : $(srcdir)/../regformats/i386/x32-linux.dat $(regdat_sh) |
| 756 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/i386/x32-linux.dat x32-lin
ux.c |
| 757 x32-avx.o : x32-avx.c $(regdef_h) |
| 758 x32-avx.c : $(srcdir)/../regformats/i386/x32-avx.dat $(regdat_sh) |
| 759 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/i386/x32-avx.dat x32-avx.c |
| 760 x32-avx-linux.o : x32-avx-linux.c $(regdef_h) |
| 761 x32-avx-linux.c : $(srcdir)/../regformats/i386/x32-avx-linux.dat $(regdat_sh) |
| 762 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/i386/x32-avx-linux.dat x32
-avx-linux.c |
| 651 reg-xtensa.o : reg-xtensa.c $(regdef_h) | 763 reg-xtensa.o : reg-xtensa.c $(regdef_h) |
| 652 reg-xtensa.c : $(srcdir)/../regformats/reg-xtensa.dat $(regdat_sh) | 764 reg-xtensa.c : $(srcdir)/../regformats/reg-xtensa.dat $(regdat_sh) |
| 653 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/reg-xtensa.dat reg-xtensa.
c | 765 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/reg-xtensa.dat reg-xtensa.
c |
| 766 reg-tilegx.o : reg-tilegx.c $(regdef_h) |
| 767 reg-tilegx.c : $(srcdir)/../regformats/reg-tilegx.dat $(regdat_sh) |
| 768 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/reg-tilegx.dat reg-tilegx.
c |
| 654 # This is the end of "Makefile.in". | 769 # This is the end of "Makefile.in". |
| OLD | NEW |