Convert fatal to perror_with_name in IPA code
[platform/upstream/binutils.git] / gdb / gdbserver / Makefile.in
1 # Copyright (C) 1989-2014 Free Software Foundation, Inc.
2
3 # This file is part of GDB.
4
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
7 # the Free Software Foundation; either version 3 of the License, or
8 # (at your option) any later version.
9 #
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 # GNU General Public License for more details.
14 #
15 # You should have received a copy of the GNU General Public License
16 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
17
18 prefix = @prefix@
19 exec_prefix = @exec_prefix@
20
21 host_alias = @host_noncanonical@
22 target_alias = @target_noncanonical@
23 program_transform_name = @program_transform_name@
24 bindir = @bindir@
25 libdir = @libdir@
26 tooldir = $(libdir)/$(target_alias)
27
28 datarootdir = @datarootdir@
29 datadir = @datadir@
30 mandir = @mandir@
31 man1dir = $(mandir)/man1
32 man2dir = $(mandir)/man2
33 man3dir = $(mandir)/man3
34 man4dir = $(mandir)/man4
35 man5dir = $(mandir)/man5
36 man6dir = $(mandir)/man6
37 man7dir = $(mandir)/man7
38 man8dir = $(mandir)/man8
39 man9dir = $(mandir)/man9
40 infodir = @infodir@
41 htmldir = $(prefix)/html
42 includedir = @includedir@
43
44 SHELL = @SHELL@
45 EXEEXT = @EXEEXT@
46
47 INSTALL = @INSTALL@
48 INSTALL_PROGRAM = @INSTALL_PROGRAM@
49 INSTALL_DATA = @INSTALL_DATA@
50 RANLIB = @RANLIB@
51
52 CC = @CC@
53 AR = @AR@
54 AR_FLAGS = rc
55
56 # Dependency tracking information.
57 DEPMODE = @CCDEPMODE@
58 DEPDIR = @DEPDIR@
59 depcomp = $(SHELL) $(srcdir)/../depcomp
60
61 # Note that these are overridden by GNU make-specific code below if
62 # GNU make is used.  The overrides implement dependency tracking.
63 COMPILE.pre = $(CC)
64 COMPILE.post = -c -o $@
65 COMPILE = $(COMPILE.pre) $(INTERNAL_CFLAGS) $(COMPILE.post)
66 POSTCOMPILE = @true
67
68 # Directory containing source files.  Don't clean up the spacing,
69 # this exact string is matched for by the "configure" script.
70 srcdir = @srcdir@
71 abs_top_srcdir=@abs_top_srcdir@
72 abs_srcdir=@abs_srcdir@
73 VPATH = @srcdir@
74
75 # It is also possible that you will need to add -I/usr/include/sys to the
76 # CFLAGS section if your system doesn't have fcntl.h in /usr/include (which
77 # is where it should be according to Posix).
78
79 # Set this up with gcc if you have gnu ld and the loader will print out
80 # line numbers for undefinded refs.
81 #CC-LD=gcc -static
82 CC-LD=${CC}
83
84 # Where is the "include" directory?  Traditionally ../include or ./include
85 INCLUDE_DIR =  ${srcdir}/../../include
86 INCLUDE_DEP = $$(INCLUDE_DIR)
87
88 LIBIBERTY_BUILDDIR = build-libiberty-gdbserver
89 LIBIBERTY = $(LIBIBERTY_BUILDDIR)/libiberty.a
90
91 # Where is ust?  These will be empty if ust was not available.
92 ustlibs = @ustlibs@
93 ustinc = @ustinc@
94
95 # gnulib
96 GNULIB_BUILDDIR = build-gnulib-gdbserver
97 LIBGNU = $(GNULIB_BUILDDIR)/import/libgnu.a
98 INCGNU = -I$(srcdir)/../gnulib/import -I$(GNULIB_BUILDDIR)/import
99
100 # Generated headers in the gnulib directory.  These must be listed
101 # so that they are generated before other files are compiled.
102 GNULIB_H = $(GNULIB_BUILDDIR)/import/string.h @GNULIB_STDINT_H@
103
104 # All the includes used for CFLAGS and for lint.
105 # -I. for config files.
106 # -I${srcdir} for our headers.
107 # -I$(srcdir)/../regformats for regdef.h.
108 #
109 # We do not include ../target or ../nat in here because headers
110 # in those directories should be included with the subdirectory.
111 # e.g.: "target/wait.h".
112 #
113 INCLUDE_CFLAGS = -I. -I${srcdir} -I$(srcdir)/../common \
114         -I$(srcdir)/../regformats -I$(srcdir)/.. -I$(INCLUDE_DIR) \
115         $(INCGNU)
116
117 # M{H,T}_CFLAGS, if defined, has host- and target-dependent CFLAGS
118 # from the config/ directory.
119 GLOBAL_CFLAGS = ${MT_CFLAGS} ${MH_CFLAGS}
120 #PROFILE_CFLAGS = -pg
121
122 WARN_CFLAGS = @WARN_CFLAGS@
123 WERROR_CFLAGS = @WERROR_CFLAGS@
124
125 WARN_CFLAGS_NO_FORMAT = `echo " $(WARN_CFLAGS) " \
126                    | sed "s/ -Wformat-nonliteral / -Wno-format-nonliteral /g"`
127
128 # CFLAGS is specifically reserved for setting from the command line
129 # when running make.  I.E.  "make CFLAGS=-Wmissing-prototypes".
130 CFLAGS = @CFLAGS@
131
132 # INTERNAL_CFLAGS is the aggregate of all other *CFLAGS macros.
133 INTERNAL_CFLAGS_BASE =  ${CFLAGS} ${GLOBAL_CFLAGS} \
134         ${PROFILE_CFLAGS} ${INCLUDE_CFLAGS}
135 INTERNAL_WARN_CFLAGS =  ${INTERNAL_CFLAGS_BASE} $(WARN_CFLAGS)
136 INTERNAL_CFLAGS =  ${INTERNAL_WARN_CFLAGS} $(WERROR_CFLAGS) -DGDBSERVER
137
138 # LDFLAGS is specifically reserved for setting from the command line
139 # when running make.
140 LDFLAGS = @LDFLAGS@
141 INTERNAL_LDFLAGS = $(LDFLAGS) @RDYNAMIC@
142
143 # All source files that go into linking GDB remote server.
144
145 SFILES= $(srcdir)/gdbreplay.c $(srcdir)/inferiors.c $(srcdir)/dll.c \
146         $(srcdir)/mem-break.c $(srcdir)/proc-service.c \
147         $(srcdir)/proc-service.list $(srcdir)/regcache.c \
148         $(srcdir)/remote-utils.c $(srcdir)/server.c $(srcdir)/target.c \
149         $(srcdir)/thread-db.c $(srcdir)/utils.c $(srcdir)/debug.c \
150         $(srcdir)/linux-arm-low.c $(srcdir)/linux-bfin-low.c \
151         $(srcdir)/linux-cris-low.c $(srcdir)/linux-crisv32-low.c \
152         ${srcdir}/i386-low.c $(srcdir)/i387-fp.c \
153         $(srcdir)/linux-ia64-low.c $(srcdir)/linux-low.c \
154         $(srcdir)/linux-m32r-low.c \
155         $(srcdir)/linux-m68k-low.c $(srcdir)/linux-mips-low.c \
156         $(srcdir)/linux-nios2-low.c \
157         $(srcdir)/linux-ppc-low.c \
158         $(srcdir)/linux-s390-low.c \
159         $(srcdir)/linux-sh-low.c $(srcdir)/linux-sparc-low.c \
160         $(srcdir)/linux-x86-low.c \
161         $(srcdir)/linux-xtensa-low.c \
162         $(srcdir)/linux-tile-low.c \
163         $(srcdir)/win32-arm-low.c $(srcdir)/win32-i386-low.c \
164         $(srcdir)/win32-low.c $(srcdir)/wincecompat.c \
165         $(srcdir)/hostio.c $(srcdir)/hostio-errno.c \
166         $(srcdir)/common/vec.c $(srcdir)/common/gdb_vecs.c \
167         $(srcdir)/common/common-utils.c $(srcdir)/common/xml-utils.c \
168         $(srcdir)/nat/linux-osdata.c $(srcdir)/common/ptid.c \
169         $(srcdir)/common/buffer.c $(srcdir)/nat/linux-btrace.c \
170         $(srcdir)/common/filestuff.c $(srcdir)/target/waitstatus.c \
171         $(srcdir)/nat/mips-linux-watch.c $(srcdir)/common/print-utils.c \
172         $(srcdir)/common/rsp-low.c $(srcdir)/common/errors.c \
173         $(srcdir)/common/common-debug.c
174
175 DEPFILES = @GDBSERVER_DEPFILES@
176
177 LIBOBJS = @LIBOBJS@
178
179 SOURCES = $(SFILES)
180 TAGFILES = $(SOURCES) ${HFILES} ${ALLPARAM} ${POSSLIBS}
181
182 OBS = agent.o ax.o inferiors.o regcache.o remote-utils.o server.o signals.o \
183       target.o waitstatus.o utils.o debug.o version.o vec.o gdb_vecs.o \
184       mem-break.o hostio.o event-loop.o tracepoint.o xml-utils.o \
185       common-utils.o ptid.o buffer.o format.o filestuff.o dll.o notif.o \
186       tdesc.o print-utils.o rsp-low.o errors.o common-debug.o \
187       $(XML_BUILTIN) $(DEPFILES) $(LIBOBJS)
188 GDBREPLAY_OBS = gdbreplay.o version.o
189 GDBSERVER_LIBS = @GDBSERVER_LIBS@
190 XM_CLIBS = @LIBS@
191 CDEPS = $(srcdir)/proc-service.list
192
193 # XML files to compile in to gdbserver, if any.
194 XML_DIR = $(srcdir)/../features
195 XML_FILES = @srv_xmlfiles@
196 XML_BUILTIN = @srv_xmlbuiltin@
197
198 IPA_DEPFILES = @IPA_DEPFILES@
199 extra_libraries = @extra_libraries@
200
201 SUBDIRS = $(GNULIB_BUILDDIR) $(LIBIBERTY_BUILDDIR)
202 CLEANDIRS = $(SUBDIRS)
203
204 # List of subdirectories in the build tree that must exist.
205 # This is used to force build failures in existing trees when
206 # a new directory is added.
207 # The format here is for the `case' shell command.
208 REQUIRED_SUBDIRS = $(GNULIB_BUILDDIR) | $(LIBIBERTY_BUILDDIR)
209
210 FLAGS_TO_PASS = \
211         "prefix=$(prefix)" \
212         "exec_prefix=$(exec_prefix)" \
213         "infodir=$(infodir)" \
214         "datarootdir=$(datarootdir)" \
215         "docdir=$(docdir)" \
216         "htmldir=$(htmldir)" \
217         "pdfdir=$(pdfdir)" \
218         "libdir=$(libdir)" \
219         "mandir=$(mandir)" \
220         "datadir=$(datadir)" \
221         "includedir=$(includedir)" \
222         "against=$(against)" \
223         "DESTDIR=$(DESTDIR)" \
224         "AR=$(AR)" \
225         "AR_FLAGS=$(AR_FLAGS)" \
226         "CC=$(CC)" \
227         "CFLAGS=$(CFLAGS)" \
228         "CXX=$(CXX)" \
229         "CXXFLAGS=$(CXXFLAGS)" \
230         "DLLTOOL=$(DLLTOOL)" \
231         "LDFLAGS=$(LDFLAGS)" \
232         "RANLIB=$(RANLIB)" \
233         "MAKEINFO=$(MAKEINFO)" \
234         "MAKEHTML=$(MAKEHTML)" \
235         "MAKEHTMLFLAGS=$(MAKEHTMLFLAGS)" \
236         "INSTALL=$(INSTALL)" \
237         "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
238         "INSTALL_DATA=$(INSTALL_DATA)" \
239         "RUNTEST=$(RUNTEST)" \
240         "RUNTESTFLAGS=$(RUNTESTFLAGS)"
241
242 # All generated files which can be included by another file.
243 generated_files = config.h $(GNULIB_H)
244
245 .c.o:
246         $(COMPILE) $<
247         $(POSTCOMPILE)
248
249 all: gdbserver$(EXEEXT) gdbreplay$(EXEEXT) $(extra_libraries)
250         @$(MAKE) $(FLAGS_TO_PASS) DO=$@ "DODIRS=$(SUBDIRS)" subdir_do
251
252 # Traditionally "install" depends on "all".  But it may be useful
253 # not to; for example, if the user has made some trivial change to a
254 # source file and doesn't care about rebuilding or just wants to save the
255 # time it takes for make to check that all is up to date.
256 # install-only is intended to address that need.
257 install: all
258         @$(MAKE) $(FLAGS_TO_PASS) install-only
259
260 install-only:
261         n=`echo gdbserver | sed '$(program_transform_name)'`; \
262         if [ x$$n = x ]; then n=gdbserver; else true; fi; \
263         if [ x"$(IPA_DEPFILES)" != x ]; then \
264                 $(SHELL) $(srcdir)/../../mkinstalldirs $(DESTDIR)$(libdir); \
265                 $(INSTALL_PROGRAM) $(IPA_LIB) $(DESTDIR)$(libdir)/$(IPA_LIB); \
266         fi; \
267         $(SHELL) $(srcdir)/../../mkinstalldirs $(DESTDIR)$(bindir); \
268         $(INSTALL_PROGRAM) gdbserver$(EXEEXT) $(DESTDIR)$(bindir)/$$n$(EXEEXT)
269         # Note that we run install and not install-only, as the latter
270         # is not part of GNU standards and in particular not provided
271         # in libiberty.
272         @$(MAKE) $(FLAGS_TO_PASS) DO=install "DODIRS=$(SUBDIRS)" subdir_do
273
274 uninstall: force
275         n=`echo gdbserver | sed '$(program_transform_name)'`; \
276         if [ x$$n = x ]; then n=gdbserver; else true; fi; \
277         rm -f $(DESTDIR)/$(bindir)/$$n$(EXEEXT) $(DESTDIR)$(man1dir)/$$n.1
278         @$(MAKE) $(FLAGS_TO_PASS) DO=$@ "DODIRS=$(SUBDIRS)" subdir_do
279
280 installcheck:
281 check:
282 info dvi pdf:
283 install-info:
284 install-pdf:
285 html:
286 install-html:
287 clean-info: force
288         @$(MAKE) $(FLAGS_TO_PASS) DO=$@ "DODIRS=$(SUBDIRS)" subdir_do
289
290 gdbserver$(EXEEXT): $(OBS) ${ADD_DEPS} ${CDEPS} $(LIBGNU) $(LIBIBERTY)
291         rm -f gdbserver$(EXEEXT)
292         ${CC-LD} $(INTERNAL_CFLAGS) $(INTERNAL_LDFLAGS) -o gdbserver$(EXEEXT) $(OBS) \
293         $(LIBGNU) $(LIBIBERTY) $(GDBSERVER_LIBS) $(XM_CLIBS)
294
295 $(LIBGNU) $(LIBIBERTY) $(GNULIB_H): all-lib
296 all-lib: $(GNULIB_BUILDDIR)/Makefile $(LIBIBERTY_BUILDDIR)/Makefile
297         @$(MAKE) $(FLAGS_TO_PASS) DO=all DODIRS="$(SUBDIRS)" subdir_do
298 .PHONY: all-lib
299
300 gdbreplay$(EXEEXT): $(GDBREPLAY_OBS) $(LIBGNU) $(LIBIBERTY)
301         rm -f gdbreplay$(EXEEXT)
302         ${CC-LD} $(INTERNAL_CFLAGS) $(INTERNAL_LDFLAGS) -o gdbreplay$(EXEEXT) $(GDBREPLAY_OBS) \
303           $(XM_CLIBS) $(LIBGNU) $(LIBIBERTY)
304
305 IPA_OBJS=ax-ipa.o tracepoint-ipa.o format-ipa.o utils-ipa.o \
306         regcache-ipa.o remote-utils-ipa.o common-utils-ipa.o \
307         tdesc-ipa.o print-utils-ipa.o rsp-low-ipa.o errors-ipa.o \
308         ${IPA_DEPFILES}
309
310 IPA_LIB=libinproctrace.so
311
312 $(IPA_LIB): $(IPA_OBJS) ${ADD_DEPS} ${CDEPS}
313         rm -f $(IPA_LIB)
314         ${CC-LD} -shared -fPIC -Wl,--no-undefined $(INTERNAL_CFLAGS) \
315         $(INTERNAL_LDFLAGS) -o $(IPA_LIB) ${IPA_OBJS} -ldl -pthread
316
317 # Put the proper machine-specific files first, so M-. on a machine
318 # specific routine gets the one for the correct machine.
319 # The xyzzy stuff below deals with empty DEPFILES
320 TAGS:   ${TAGFILES}
321         etags `find ${srcdir}/../config -name $(DEPRECATED_TM_FILE) -print` \
322           `find ${srcdir}/../config -name ${XM_FILE} -print` \
323           `find ${srcdir}/../config -name ${NAT_FILE} -print` \
324           `for i in yzzy ${DEPFILES}; do \
325              if [ x$$i != xyzzy ]; then \
326                echo ${srcdir}/$$i | sed -e 's/\.o$$/\.c/' ; \
327              fi; \
328            done` \
329           ${TAGFILES}
330 tags: TAGS
331
332 clean:
333         rm -f *.o ${ADD_FILES} *~
334         rm -f version.c
335         rm -f gdbserver$(EXEEXT) gdbreplay$(EXEEXT) core make.log
336         rm -f $(IPA_LIB)
337         rm -f aarch64.c
338         rm -f reg-arm.c reg-bfin.c i386.c reg-ia64.c reg-m32r.c reg-m68k.c
339         rm -f reg-sh.c reg-sparc.c reg-spu.c amd64.c i386-linux.c
340         rm -f reg-cris.c reg-crisv32.c amd64-linux.c reg-xtensa.c
341         rm -f reg-tilegx.c reg-tilegx32.c
342         rm -f arm-with-iwmmxt.c
343         rm -f arm-with-vfpv2.c arm-with-vfpv3.c arm-with-neon.c
344         rm -f mips-linux.c mips64-linux.c
345         rm -f nios2-linux.c
346         rm -f powerpc-32.c powerpc-32l.c powerpc-64l.c powerpc-e500l.c
347         rm -f powerpc-altivec32l.c powerpc-cell32l.c powerpc-vsx32l.c
348         rm -f powerpc-altivec64l.c powerpc-cell64l.c powerpc-vsx64l.c
349         rm -f powerpc-isa205-32l.c powerpc-isa205-64l.c
350         rm -f powerpc-isa205-altivec32l.c powerpc-isa205-vsx32l.c powerpc-isa205-altivec64l.c
351         rm -f powerpc-isa205-vsx64l.c
352         rm -f s390-linux32.c s390-linux64.c s390x-linux64.c
353         rm -f s390-linux32v1.c s390-linux32v2.c s390-linux64v1.c
354         rm -f s390-linux64v2.c s390x-linux64v1.c s390x-linux64v2.c
355         rm -f s390-te-linux32.c s390-te-linux64.c
356         rm -f tic6x-c64xp-linux.c tic6x-c64x-linux.c tic6x-c62x-linux.c
357         rm -f xml-builtin.c stamp-xml
358         rm -f i386-avx.c i386-avx-linux.c
359         rm -f i386-mpx.c i386-mpx-linux.c
360         rm -f i386-avx512.c i386-avx512-linux.c
361         rm -f amd64-avx.c amd64-avx-linux.c
362         rm -f amd64-mpx.c amd64-mpx-linux.c
363         rm -f amd64-avx512.c amd64-avx512-linux.c
364         rm -f i386-mmx.c i386-mmx-linux.c
365         rm -f x32.c x32-linux.c
366         rm -f x32-avx.c x32-avx-linux.c
367         rm -f x32-avx512.c x32-avx512-linux.c
368         @$(MAKE) $(FLAGS_TO_PASS) DO=$@ "DODIRS=$(SUBDIRS)" subdir_do
369
370 maintainer-clean realclean distclean: clean
371         @$(MAKE) $(FLAGS_TO_PASS) DO=$@ "DODIRS=$(SUBDIRS)" subdir_do
372         rm -rf $(GNULIB_BUILDDIR)
373         rm -f Makefile config.status config.h stamp-h config.log
374         rm -f Makefile
375
376 subdir_do: force
377         @for i in $(DODIRS); do \
378                 case $$i in \
379                 $(REQUIRED_SUBDIRS)) \
380                         if [ ! -f ./$$i/Makefile ] ; then \
381                                 echo "Missing $$i/Makefile" >&2 ; \
382                                 exit 1 ; \
383                         fi ;; \
384                 esac ; \
385                 if [ -f ./$$i/Makefile ] ; then \
386                         if (cd ./$$i; \
387                                 $(MAKE) $(FLAGS_TO_PASS) $(DO)) ; then true ; \
388                         else exit 1 ; fi ; \
389                 else true ; fi ; \
390         done
391
392 config.h: stamp-h ; @true
393 stamp-h: config.in config.status
394         CONFIG_FILES="" CONFIG_HEADERS=config.h:config.in $(SHELL) ./config.status
395
396 Makefile: Makefile.in config.status
397         CONFIG_HEADERS="" $(SHELL) ./config.status
398
399 $(GNULIB_BUILDDIR)/Makefile: $(srcdir)/../gnulib/Makefile.in config.status
400           @cd $(GNULIB_BUILDDIR); CONFIG_FILES="Makefile" \
401           CONFIG_COMMANDS="depfiles" \
402           CONFIG_HEADERS= \
403           CONFIG_LINKS= \
404           $(SHELL) config.status
405
406 config.status: configure configure.srv $(srcdir)/../../bfd/development.sh
407         $(SHELL) ./config.status --recheck
408
409 # automatic rebuilding in automake-generated Makefiles requires
410 # this rule in the toplevel Makefile, which, with GNU make, causes
411 # the desired updates through the implicit regeneration of the Makefile
412 # and all of its prerequisites.
413 am--refresh:
414         @:
415
416 force:
417
418 version.c: Makefile $(srcdir)/../version.in $(srcdir)/../../bfd/version.h $(srcdir)/../common/create-version.sh
419         $(SHELL) $(srcdir)/../common/create-version.sh $(srcdir)/.. \
420             $(host_alias) $(target_alias) version.c
421
422 xml-builtin.c: stamp-xml; @true
423 stamp-xml: $(XML_DIR)/feature_to_c.sh Makefile $(XML_FILES)
424         rm -f xml-builtin.tmp
425         $(SHELL) $(XML_DIR)/feature_to_c.sh xml-builtin.tmp $(XML_FILES)
426         $(SHELL) $(srcdir)/../../move-if-change xml-builtin.tmp xml-builtin.c
427         echo stamp > stamp-xml
428
429 .PRECIOUS: xml-builtin.c
430
431 # GNU Make has an annoying habit of putting *all* the Makefile variables
432 # into the environment, unless you include this target as a circumvention.
433 # Rumor is that this will be fixed (and this target can be removed)
434 # in GNU Make 4.0.
435 .NOEXPORT:
436
437 # GNU Make 3.63 has a different problem: it keeps tacking command line
438 # overrides onto the definition of $(MAKE).  This variable setting
439 # will remove them.
440 MAKEOVERRIDES=
441
442 regdat_sh = $(srcdir)/../regformats/regdat.sh
443
444 UST_CFLAGS = $(ustinc) -DCONFIG_UST_GDB_INTEGRATION
445
446 # Note, we only build the IPA if -fvisibility=hidden is supported in
447 # the first place.
448 IPAGENT_CFLAGS = $(CPPFLAGS) $(INTERNAL_CFLAGS) $(UST_CFLAGS) \
449         -fPIC -DIN_PROCESS_AGENT \
450         -fvisibility=hidden
451
452 IPAGENT_COMPILE = $(COMPILE.pre) $(IPAGENT_CFLAGS) $(COMPILE.post)
453
454 # In-process agent object rules
455 ax-ipa.o: ax.c
456         $(IPAGENT_COMPILE) $(WARN_CFLAGS_NO_FORMAT) $<
457         $(POSTCOMPILE)
458 tracepoint-ipa.o: tracepoint.c
459         $(IPAGENT_COMPILE) $<
460         $(POSTCOMPILE)
461 utils-ipa.o: utils.c
462         $(IPAGENT_COMPILE) $<
463         $(POSTCOMPILE)
464 format-ipa.o: ../common/format.c
465         $(IPAGENT_COMPILE) $<
466         $(POSTCOMPILE)
467 common-utils-ipa.o: ../common/common-utils.c
468         $(IPAGENT_COMPILE) $<
469         $(POSTCOMPILE)
470 remote-utils-ipa.o: remote-utils.c
471         $(IPAGENT_COMPILE) $<
472         $(POSTCOMPILE)
473 regcache-ipa.o: regcache.c
474         $(IPAGENT_COMPILE) $<
475         $(POSTCOMPILE)
476 i386-linux-ipa.o: i386-linux.c
477         $(IPAGENT_COMPILE) $<
478         $(POSTCOMPILE)
479 linux-i386-ipa.o: linux-i386-ipa.c
480         $(IPAGENT_COMPILE) $<
481         $(POSTCOMPILE)
482 linux-amd64-ipa.o: linux-amd64-ipa.c
483         $(IPAGENT_COMPILE) $<
484         $(POSTCOMPILE)
485 amd64-linux-ipa.o: amd64-linux.c
486         $(IPAGENT_COMPILE) $<
487         $(POSTCOMPILE)
488 tdesc-ipa.o: tdesc.c
489         $(IPAGENT_COMPILE) $<
490         $(POSTCOMPILE)
491 print-utils-ipa.o: ../common/print-utils.c
492         $(IPAGENT_COMPILE) $<
493         $(POSTCOMPILE)
494 rsp-low-ipa.o: ../common/rsp-low.c
495         $(IPAGENT_COMPILE) $<
496         $(POSTCOMPILE)
497 errors-ipa.o: ../common/errors.c
498         $(IPAGENT_COMPILE) $<
499         $(POSTCOMPILE)
500
501 ax.o: ax.c
502         $(COMPILE) $(WARN_CFLAGS_NO_FORMAT) $<
503         $(POSTCOMPILE)
504
505 signals.o: ../common/signals.c
506         $(COMPILE) $<
507         $(POSTCOMPILE)
508 print-utils.o: ../common/print-utils.c
509         $(COMPILE) $<
510         $(POSTCOMPILE)
511 rsp-low.o: ../common/rsp-low.c
512         $(COMPILE) $<
513         $(POSTCOMPILE)
514 common-utils.o: ../common/common-utils.c
515         $(COMPILE) $<
516         $(POSTCOMPILE)
517 vec.o: ../common/vec.c
518         $(COMPILE) $<
519         $(POSTCOMPILE)
520 gdb_vecs.o: ../common/gdb_vecs.c
521         $(COMPILE) $<
522         $(POSTCOMPILE)
523 xml-utils.o: ../common/xml-utils.c
524         $(COMPILE) $<
525         $(POSTCOMPILE)
526 ptid.o: ../common/ptid.c
527         $(COMPILE) $<
528         $(POSTCOMPILE)
529 buffer.o: ../common/buffer.c
530         $(COMPILE) $<
531         $(POSTCOMPILE)
532 format.o: ../common/format.c
533         $(COMPILE) $<
534         $(POSTCOMPILE)
535 filestuff.o: ../common/filestuff.c
536         $(COMPILE) $<
537         $(POSTCOMPILE)
538 agent.o: ../common/agent.c
539         $(COMPILE) $<
540         $(POSTCOMPILE)
541 errors.o: ../common/errors.c
542         $(COMPILE) $<
543         $(POSTCOMPILE)
544 common-debug.o: ../common/common-debug.c
545         $(COMPILE) $<
546         $(POSTCOMPILE)
547 waitstatus.o: ../target/waitstatus.c
548         $(COMPILE) $<
549         $(POSTCOMPILE)
550
551 # Native object files rules from ../nat
552
553 i386-dregs.o: ../nat/i386-dregs.c
554         $(COMPILE) $<
555         $(POSTCOMPILE)
556 linux-btrace.o: ../nat/linux-btrace.c
557         $(COMPILE) $<
558         $(POSTCOMPILE)
559 linux-osdata.o: ../nat/linux-osdata.c
560         $(COMPILE) $<
561         $(POSTCOMPILE)
562 linux-procfs.o: ../nat/linux-procfs.c
563         $(COMPILE) $<
564         $(POSTCOMPILE)
565 linux-ptrace.o: ../nat/linux-ptrace.c
566         $(COMPILE) $<
567         $(POSTCOMPILE)
568 linux-waitpid.o: ../nat/linux-waitpid.c
569         $(COMPILE) $<
570         $(POSTCOMPILE)
571 mips-linux-watch.o: ../nat/mips-linux-watch.c
572         $(COMPILE) $<
573         $(POSTCOMPILE)
574
575 aarch64.c : $(srcdir)/../regformats/aarch64.dat $(regdat_sh)
576         $(SHELL) $(regdat_sh) $(srcdir)/../regformats/aarch64.dat aarch64.c
577 reg-arm.c : $(srcdir)/../regformats/reg-arm.dat $(regdat_sh)
578         $(SHELL) $(regdat_sh) $(srcdir)/../regformats/reg-arm.dat reg-arm.c
579 arm-with-iwmmxt.c : $(srcdir)/../regformats/arm-with-iwmmxt.dat $(regdat_sh)
580         $(SHELL) $(regdat_sh) $(srcdir)/../regformats/arm-with-iwmmxt.dat arm-with-iwmmxt.c
581 arm-with-vfpv2.c : $(srcdir)/../regformats/arm-with-vfpv2.dat $(regdat_sh)
582         $(SHELL) $(regdat_sh) $(srcdir)/../regformats/arm-with-vfpv2.dat arm-with-vfpv2.c
583 arm-with-vfpv3.c : $(srcdir)/../regformats/arm-with-vfpv3.dat $(regdat_sh)
584         $(SHELL) $(regdat_sh) $(srcdir)/../regformats/arm-with-vfpv3.dat arm-with-vfpv3.c
585 arm-with-neon.c : $(srcdir)/../regformats/arm-with-neon.dat $(regdat_sh)
586         $(SHELL) $(regdat_sh) $(srcdir)/../regformats/arm-with-neon.dat arm-with-neon.c
587 reg-bfin.c : $(srcdir)/../regformats/reg-bfin.dat $(regdat_sh)
588         $(SHELL) $(regdat_sh) $(srcdir)/../regformats/reg-bfin.dat reg-bfin.c
589 reg-cris.c : $(srcdir)/../regformats/reg-cris.dat $(regdat_sh)
590         $(SHELL) $(regdat_sh) $(srcdir)/../regformats/reg-cris.dat reg-cris.c
591 reg-crisv32.c : $(srcdir)/../regformats/reg-crisv32.dat $(regdat_sh)
592         $(SHELL) $(regdat_sh) $(srcdir)/../regformats/reg-crisv32.dat reg-crisv32.c
593 i386.c : $(srcdir)/../regformats/i386/i386.dat $(regdat_sh)
594         $(SHELL) $(regdat_sh) $(srcdir)/../regformats/i386/i386.dat i386.c
595 i386-linux.c : $(srcdir)/../regformats/i386/i386-linux.dat $(regdat_sh)
596         $(SHELL) $(regdat_sh) $(srcdir)/../regformats/i386/i386-linux.dat i386-linux.c
597 i386-avx.c : $(srcdir)/../regformats/i386/i386-avx.dat $(regdat_sh)
598         $(SHELL) $(regdat_sh) $(srcdir)/../regformats/i386/i386-avx.dat i386-avx.c
599 i386-avx-linux.c : $(srcdir)/../regformats/i386/i386-avx-linux.dat $(regdat_sh)
600         $(SHELL) $(regdat_sh) $(srcdir)/../regformats/i386/i386-avx-linux.dat i386-avx-linux.c
601 i386-avx512.c : $(srcdir)/../regformats/i386/i386-avx512.dat $(regdat_sh)
602         $(SHELL) $(regdat_sh) $(srcdir)/../regformats/i386/i386-avx512.dat i386-avx512.c
603 i386-avx512-linux.c : $(srcdir)/../regformats/i386/i386-avx512-linux.dat $(regdat_sh)
604         $(SHELL) $(regdat_sh) $(srcdir)/../regformats/i386/i386-avx512-linux.dat i386-avx512-linux.c
605 i386-mpx.c : $(srcdir)/../regformats/i386/i386-mpx.dat $(regdat_sh)
606         $(SHELL) $(regdat_sh) $(srcdir)/../regformats/i386/i386-mpx.dat i386-mpx.c
607 i386-mpx-linux.c : $(srcdir)/../regformats/i386/i386-mpx-linux.dat $(regdat_sh)
608         $(SHELL) $(regdat_sh) $(srcdir)/../regformats/i386/i386-mpx-linux.dat i386-mpx-linux.c
609 i386-mmx.c : $(srcdir)/../regformats/i386/i386-mmx.dat $(regdat_sh)
610         $(SHELL) $(regdat_sh) $(srcdir)/../regformats/i386/i386-mmx.dat i386-mmx.c
611 i386-mmx-linux.c : $(srcdir)/../regformats/i386/i386-mmx-linux.dat $(regdat_sh)
612         $(SHELL) $(regdat_sh) $(srcdir)/../regformats/i386/i386-mmx-linux.dat i386-mmx-linux.c
613 reg-ia64.c : $(srcdir)/../regformats/reg-ia64.dat $(regdat_sh)
614         $(SHELL) $(regdat_sh) $(srcdir)/../regformats/reg-ia64.dat reg-ia64.c
615 reg-m32r.c : $(srcdir)/../regformats/reg-m32r.dat $(regdat_sh)
616         $(SHELL) $(regdat_sh) $(srcdir)/../regformats/reg-m32r.dat reg-m32r.c
617 reg-m68k.c : $(srcdir)/../regformats/reg-m68k.dat $(regdat_sh)
618         $(SHELL) $(regdat_sh) $(srcdir)/../regformats/reg-m68k.dat reg-m68k.c
619 reg-cf.c : $(srcdir)/../regformats/reg-cf.dat $(regdat_sh)
620         $(SHELL) $(regdat_sh) $(srcdir)/../regformats/reg-cf.dat reg-cf.c
621 mips-linux.c : $(srcdir)/../regformats/mips-linux.dat $(regdat_sh)
622         $(SHELL) $(regdat_sh) $(srcdir)/../regformats/mips-linux.dat mips-linux.c
623 mips-dsp-linux.c : $(srcdir)/../regformats/mips-dsp-linux.dat $(regdat_sh)
624         $(SHELL) $(regdat_sh) $(srcdir)/../regformats/mips-dsp-linux.dat mips-dsp-linux.c
625 mips64-linux.c : $(srcdir)/../regformats/mips64-linux.dat $(regdat_sh)
626         $(SHELL) $(regdat_sh) $(srcdir)/../regformats/mips64-linux.dat mips64-linux.c
627 mips64-dsp-linux.c : $(srcdir)/../regformats/mips64-dsp-linux.dat $(regdat_sh)
628         $(SHELL) $(regdat_sh) $(srcdir)/../regformats/mips64-dsp-linux.dat mips64-dsp-linux.c
629 nios2-linux.c : $(srcdir)/../regformats/nios2-linux.dat $(regdat_sh)
630         $(SHELL) $(regdat_sh) $(srcdir)/../regformats/nios2-linux.dat nios2-linux.c
631 powerpc-32.c : $(srcdir)/../regformats/rs6000/powerpc-32.dat $(regdat_sh)
632         $(SHELL) $(regdat_sh) $(srcdir)/../regformats/rs6000/powerpc-32.dat powerpc-32.c
633 powerpc-32l.c : $(srcdir)/../regformats/rs6000/powerpc-32l.dat $(regdat_sh)
634         $(SHELL) $(regdat_sh) $(srcdir)/../regformats/rs6000/powerpc-32l.dat powerpc-32l.c
635 powerpc-altivec32l.c : $(srcdir)/../regformats/rs6000/powerpc-altivec32l.dat $(regdat_sh)
636         $(SHELL) $(regdat_sh) $(srcdir)/../regformats/rs6000/powerpc-altivec32l.dat powerpc-altivec32l.c
637 powerpc-cell32l.c : $(srcdir)/../regformats/rs6000/powerpc-cell32l.dat $(regdat_sh)
638         $(SHELL) $(regdat_sh) $(srcdir)/../regformats/rs6000/powerpc-cell32l.dat powerpc-cell32l.c
639 powerpc-vsx32l.c : $(srcdir)/../regformats/rs6000/powerpc-vsx32l.dat $(regdat_sh)
640         $(SHELL) $(regdat_sh) $(srcdir)/../regformats/rs6000/powerpc-vsx32l.dat powerpc-vsx32l.c
641 powerpc-isa205-32l.c : $(srcdir)/../regformats/rs6000/powerpc-isa205-32l.dat $(regdat_sh)
642         $(SHELL) $(regdat_sh) $(srcdir)/../regformats/rs6000/powerpc-isa205-32l.dat powerpc-isa205-32l.c
643 powerpc-isa205-altivec32l.c : $(srcdir)/../regformats/rs6000/powerpc-isa205-altivec32l.dat $(regdat_sh)
644         $(SHELL) $(regdat_sh) $(srcdir)/../regformats/rs6000/powerpc-isa205-altivec32l.dat powerpc-isa205-altivec32l.c
645 powerpc-isa205-vsx32l.c : $(srcdir)/../regformats/rs6000/powerpc-isa205-vsx32l.dat $(regdat_sh)
646         $(SHELL) $(regdat_sh) $(srcdir)/../regformats/rs6000/powerpc-isa205-vsx32l.dat powerpc-isa205-vsx32l.c
647 powerpc-e500l.c : $(srcdir)/../regformats/rs6000/powerpc-e500l.dat $(regdat_sh)
648         $(SHELL) $(regdat_sh) $(srcdir)/../regformats/rs6000/powerpc-e500l.dat powerpc-e500l.c
649 powerpc-64l.c : $(srcdir)/../regformats/rs6000/powerpc-64l.dat $(regdat_sh)
650         $(SHELL) $(regdat_sh) $(srcdir)/../regformats/rs6000/powerpc-64l.dat powerpc-64l.c
651 powerpc-altivec64l.c : $(srcdir)/../regformats/rs6000/powerpc-altivec64l.dat $(regdat_sh)
652         $(SHELL) $(regdat_sh) $(srcdir)/../regformats/rs6000/powerpc-altivec64l.dat powerpc-altivec64l.c
653 powerpc-cell64l.c : $(srcdir)/../regformats/rs6000/powerpc-cell64l.dat $(regdat_sh)
654         $(SHELL) $(regdat_sh) $(srcdir)/../regformats/rs6000/powerpc-cell64l.dat powerpc-cell64l.c
655 powerpc-vsx64l.c : $(srcdir)/../regformats/rs6000/powerpc-vsx64l.dat $(regdat_sh)
656         $(SHELL) $(regdat_sh) $(srcdir)/../regformats/rs6000/powerpc-vsx64l.dat powerpc-vsx64l.c
657 powerpc-isa205-64l.c : $(srcdir)/../regformats/rs6000/powerpc-isa205-64l.dat $(regdat_sh)
658         $(SHELL) $(regdat_sh) $(srcdir)/../regformats/rs6000/powerpc-isa205-64l.dat powerpc-isa205-64l.c
659 powerpc-isa205-altivec64l.c : $(srcdir)/../regformats/rs6000/powerpc-isa205-altivec64l.dat $(regdat_sh)
660         $(SHELL) $(regdat_sh) $(srcdir)/../regformats/rs6000/powerpc-isa205-altivec64l.dat powerpc-isa205-altivec64l.c
661 powerpc-isa205-vsx64l.c : $(srcdir)/../regformats/rs6000/powerpc-isa205-vsx64l.dat $(regdat_sh)
662         $(SHELL) $(regdat_sh) $(srcdir)/../regformats/rs6000/powerpc-isa205-vsx64l.dat powerpc-isa205-vsx64l.c
663 s390-linux32.c : $(srcdir)/../regformats/s390-linux32.dat $(regdat_sh)
664         $(SHELL) $(regdat_sh) $(srcdir)/../regformats/s390-linux32.dat s390-linux32.c
665 s390-linux32v1.c : $(srcdir)/../regformats/s390-linux32v1.dat $(regdat_sh)
666         $(SHELL) $(regdat_sh) $(srcdir)/../regformats/s390-linux32v1.dat s390-linux32v1.c
667 s390-linux32v2.c : $(srcdir)/../regformats/s390-linux32v2.dat $(regdat_sh)
668         $(SHELL) $(regdat_sh) $(srcdir)/../regformats/s390-linux32v2.dat s390-linux32v2.c
669 s390-linux64.c : $(srcdir)/../regformats/s390-linux64.dat $(regdat_sh)
670         $(SHELL) $(regdat_sh) $(srcdir)/../regformats/s390-linux64.dat s390-linux64.c
671 s390-linux64v1.c : $(srcdir)/../regformats/s390-linux64v1.dat $(regdat_sh)
672         $(SHELL) $(regdat_sh) $(srcdir)/../regformats/s390-linux64v1.dat s390-linux64v1.c
673 s390-linux64v2.c : $(srcdir)/../regformats/s390-linux64v2.dat $(regdat_sh)
674         $(SHELL) $(regdat_sh) $(srcdir)/../regformats/s390-linux64v2.dat s390-linux64v2.c
675 s390-te-linux64.c : $(srcdir)/../regformats/s390-te-linux64.dat $(regdat_sh)
676         $(SHELL) $(regdat_sh) $(srcdir)/../regformats/s390-te-linux64.dat s390-te-linux64.c
677 s390x-linux64.c : $(srcdir)/../regformats/s390x-linux64.dat $(regdat_sh)
678         $(SHELL) $(regdat_sh) $(srcdir)/../regformats/s390x-linux64.dat s390x-linux64.c
679 s390x-linux64v1.c : $(srcdir)/../regformats/s390x-linux64v1.dat $(regdat_sh)
680         $(SHELL) $(regdat_sh) $(srcdir)/../regformats/s390x-linux64v1.dat s390x-linux64v1.c
681 s390x-linux64v2.c : $(srcdir)/../regformats/s390x-linux64v2.dat $(regdat_sh)
682         $(SHELL) $(regdat_sh) $(srcdir)/../regformats/s390x-linux64v2.dat s390x-linux64v2.c
683 s390x-te-linux64.c : $(srcdir)/../regformats/s390x-te-linux64.dat $(regdat_sh)
684         $(SHELL) $(regdat_sh) $(srcdir)/../regformats/s390x-te-linux64.dat s390x-te-linux64.c
685
686 tic6x-c64xp-linux.c : $(srcdir)/../regformats/tic6x-c64xp-linux.dat $(regdat_sh)
687         $(SHELL) $(regdat_sh) $(srcdir)/../regformats/tic6x-c64xp-linux.dat tic6x-c64xp-linux.c
688 tic6x-c64x-linux.c : $(srcdir)/../regformats/tic6x-c64x-linux.dat $(regdat_sh)
689         $(SHELL) $(regdat_sh) $(srcdir)/../regformats/tic6x-c64x-linux.dat tic6x-c64x-linux.c
690 tic6x-c62x-linux.c : $(srcdir)/../regformats/tic6x-c62x-linux.dat $(regdat_sh)
691         $(SHELL) $(regdat_sh) $(srcdir)/../regformats/tic6x-c62x-linux.dat tic6x-c62x-linux.c
692
693 reg-sh.c : $(srcdir)/../regformats/reg-sh.dat $(regdat_sh)
694         $(SHELL) $(regdat_sh) $(srcdir)/../regformats/reg-sh.dat reg-sh.c
695 reg-sparc64.c : $(srcdir)/../regformats/reg-sparc64.dat $(regdat_sh)
696         $(SHELL) $(regdat_sh) $(srcdir)/../regformats/reg-sparc64.dat reg-sparc64.c
697 reg-spu.c : $(srcdir)/../regformats/reg-spu.dat $(regdat_sh)
698         $(SHELL) $(regdat_sh) $(srcdir)/../regformats/reg-spu.dat reg-spu.c
699 amd64.c : $(srcdir)/../regformats/i386/amd64.dat $(regdat_sh)
700         $(SHELL) $(regdat_sh) $(srcdir)/../regformats/i386/amd64.dat amd64.c
701 amd64-linux.c : $(srcdir)/../regformats/i386/amd64-linux.dat $(regdat_sh)
702         $(SHELL) $(regdat_sh) $(srcdir)/../regformats/i386/amd64-linux.dat amd64-linux.c
703 amd64-avx.c : $(srcdir)/../regformats/i386/amd64-avx.dat $(regdat_sh)
704         $(SHELL) $(regdat_sh) $(srcdir)/../regformats/i386/amd64-avx.dat amd64-avx.c
705 amd64-avx-linux.c : $(srcdir)/../regformats/i386/amd64-avx-linux.dat $(regdat_sh)
706         $(SHELL) $(regdat_sh) $(srcdir)/../regformats/i386/amd64-avx-linux.dat amd64-avx-linux.c
707 amd64-avx512.c : $(srcdir)/../regformats/i386/amd64-avx512.dat $(regdat_sh)
708         $(SHELL) $(regdat_sh) $(srcdir)/../regformats/i386/amd64-avx512.dat amd64-avx512.c
709 amd64-avx512-linux.c : $(srcdir)/../regformats/i386/amd64-avx512-linux.dat $(regdat_sh)
710         $(SHELL) $(regdat_sh) $(srcdir)/../regformats/i386/amd64-avx512-linux.dat amd64-avx512-linux.c
711 amd64-mpx.c : $(srcdir)/../regformats/i386/amd64-mpx.dat $(regdat_sh)
712         $(SHELL) $(regdat_sh) $(srcdir)/../regformats/i386/amd64-mpx.dat amd64-mpx.c
713 amd64-mpx-linux.c : $(srcdir)/../regformats/i386/amd64-mpx-linux.dat $(regdat_sh)
714         $(SHELL) $(regdat_sh) $(srcdir)/../regformats/i386/amd64-mpx-linux.dat amd64-mpx-linux.c
715 x32.c : $(srcdir)/../regformats/i386/x32.dat $(regdat_sh)
716         $(SHELL) $(regdat_sh) $(srcdir)/../regformats/i386/x32.dat x32.c
717 x32-linux.c : $(srcdir)/../regformats/i386/x32-linux.dat $(regdat_sh)
718         $(SHELL) $(regdat_sh) $(srcdir)/../regformats/i386/x32-linux.dat x32-linux.c
719 x32-avx.c : $(srcdir)/../regformats/i386/x32-avx.dat $(regdat_sh)
720         $(SHELL) $(regdat_sh) $(srcdir)/../regformats/i386/x32-avx.dat x32-avx.c
721 x32-avx-linux.c : $(srcdir)/../regformats/i386/x32-avx-linux.dat $(regdat_sh)
722         $(SHELL) $(regdat_sh) $(srcdir)/../regformats/i386/x32-avx-linux.dat x32-avx-linux.c
723 x32-avx512.c : $(srcdir)/../regformats/i386/x32-avx512.dat $(regdat_sh)
724         $(SHELL) $(regdat_sh) $(srcdir)/../regformats/i386/x32-avx512.dat x32-avx512.c
725 x32-avx512-linux.c : $(srcdir)/../regformats/i386/x32-avx512-linux.dat $(regdat_sh)
726         $(SHELL) $(regdat_sh) $(srcdir)/../regformats/i386/x32-avx512-linux.dat x32-avx512-linux.c
727 reg-xtensa.c : $(srcdir)/../regformats/reg-xtensa.dat $(regdat_sh)
728         $(SHELL) $(regdat_sh) $(srcdir)/../regformats/reg-xtensa.dat reg-xtensa.c
729 reg-tilegx.c : $(srcdir)/../regformats/reg-tilegx.dat $(regdat_sh)
730         $(SHELL) $(regdat_sh) $(srcdir)/../regformats/reg-tilegx.dat reg-tilegx.c
731 reg-tilegx32.c : $(srcdir)/../regformats/reg-tilegx32.dat $(regdat_sh)
732         $(SHELL) $(regdat_sh) $(srcdir)/../regformats/reg-tilegx32.dat reg-tilegx32.c
733
734 #
735 # Dependency tracking.  Most of this is conditional on GNU Make being
736 # found by configure; if GNU Make is not found, we fall back to a
737 # simpler scheme.
738 #
739
740 @GMAKE_TRUE@ifeq ($(DEPMODE),depmode=gcc3)
741 # Note that we put the dependencies into a .Tpo file, then move them
742 # into place if the compile succeeds.  We need this because gcc does
743 # not atomically write the dependency output file.
744 @GMAKE_TRUE@override COMPILE.post = -c -o $@ -MT $@ -MMD -MP \
745 @GMAKE_TRUE@    -MF $(DEPDIR)/$(basename $(@F)).Tpo
746 @GMAKE_TRUE@override POSTCOMPILE = @mv $(DEPDIR)/$(basename $(@F)).Tpo \
747 @GMAKE_TRUE@    $(DEPDIR)/$(basename $(@F)).Po
748 @GMAKE_TRUE@else
749 @GMAKE_TRUE@override COMPILE.pre = source='$<' object='$@' libtool=no \
750 @GMAKE_TRUE@    DEPDIR=$(DEPDIR) $(DEPMODE) $(depcomp) $(CC)
751 # depcomp handles atomicity for us, so we don't need a postcompile
752 # step.
753 @GMAKE_TRUE@override POSTCOMPILE =
754 @GMAKE_TRUE@endif
755
756 # A list of all the objects we might care about in this build, for
757 # dependency tracking.
758 all_object_files = $(OBS) $(GDBREPLAY_OBS)
759
760 # Ensure that generated files are created early.  Use order-only
761 # dependencies if available.  They require GNU make 3.80 or newer,
762 # and the .VARIABLES variable was introduced at the same time.
763 @GMAKE_TRUE@ifdef .VARIABLES
764 @GMAKE_TRUE@$(all_object_files): | $(generated_files)
765 @GMAKE_TRUE@else
766 $(all_object_files) : $(generated_files)
767 @GMAKE_TRUE@endif
768
769 # Dependencies.
770 @GMAKE_TRUE@-include $(patsubst %.o, $(DEPDIR)/%.Po, $(all_object_files))
771
772 # This is the end of "Makefile.in".