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