1 # Copyright (C) 1989-2012 Free Software Foundation, Inc.
3 # This file is part of GDB.
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.
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.
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/>.
19 exec_prefix = @
exec_prefix@
21 host_alias
= @host_alias@
22 target_alias
= @target_alias@
23 program_transform_name
= @program_transform_name@
26 tooldir
= $(libdir)/$(target_alias
)
28 datarootdir
= @datarootdir@
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
41 htmldir
= $(prefix)/html
42 includedir = @
includedir@
48 INSTALL_PROGRAM
= @INSTALL_PROGRAM@
49 INSTALL_DATA
= @INSTALL_DATA@
53 # Directory containing source files. Don't clean up the spacing,
54 # this exact string is matched for by the "configure" script.
58 # 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
60 # is where it should be according to Posix).
62 # Set this up with gcc if you have gnu ld and the loader will print out
63 # line numbers for undefinded refs.
67 # Where is the "include" directory? Traditionally ../include or ./include
68 INCLUDE_DIR
= ${srcdir}/..
/..
/include
69 INCLUDE_DEP
= $$(INCLUDE_DIR
)
71 # Where is ust? These will be empty if ust was not available.
75 # All the includes used for CFLAGS and for lint.
76 # -I. for config files.
77 # -I${srcdir} for our headers.
78 # -I$(srcdir)/../regformats for regdef.h.
79 INCLUDE_CFLAGS
= -I.
-I
${srcdir} -I
$(srcdir)/..
/common \
80 -I
$(srcdir)/..
/regformats
-I
$(INCLUDE_DIR
)
82 # M{H,T}_CFLAGS, if defined, has host- and target-dependent CFLAGS
83 # from the config/ directory.
84 GLOBAL_CFLAGS
= ${MT_CFLAGS} ${MH_CFLAGS}
87 WARN_CFLAGS
= @WARN_CFLAGS@
88 WERROR_CFLAGS
= @WERROR_CFLAGS@
90 # CFLAGS is specifically reserved for setting from the command line
91 # when running make. I.E. "make CFLAGS=-Wmissing-prototypes".
94 # INTERNAL_CFLAGS is the aggregate of all other *CFLAGS macros.
95 INTERNAL_CFLAGS_BASE
= ${CFLAGS} ${GLOBAL_CFLAGS} \
96 ${PROFILE_CFLAGS} ${INCLUDE_CFLAGS}
97 INTERNAL_WARN_CFLAGS
= ${INTERNAL_CFLAGS_BASE} $(WARN_CFLAGS
)
98 INTERNAL_CFLAGS
= ${INTERNAL_WARN_CFLAGS} $(WERROR_CFLAGS
)
100 # LDFLAGS is specifically reserved for setting from the command line
103 INTERNAL_LDFLAGS
= $(LDFLAGS
) @RDYNAMIC@
105 # All source files that go into linking GDB remote server.
107 SFILES
= $(srcdir)/gdbreplay.c
$(srcdir)/inferiors.c
$(srcdir)/dll.c \
108 $(srcdir)/mem-break.c
$(srcdir)/proc-service.c \
109 $(srcdir)/proc-service.list
$(srcdir)/regcache.c \
110 $(srcdir)/remote-utils.c
$(srcdir)/server.c
$(srcdir)/target.c \
111 $(srcdir)/thread-db.c
$(srcdir)/utils.c \
112 $(srcdir)/linux-arm-low.c
$(srcdir)/linux-bfin-low.c \
113 $(srcdir)/linux-cris-low.c
$(srcdir)/linux-crisv32-low.c \
114 ${srcdir}/i386-low.c
$(srcdir)/i387-fp.c \
115 $(srcdir)/linux-ia64-low.c
$(srcdir)/linux-low.c \
116 $(srcdir)/linux-m32r-low.c \
117 $(srcdir)/linux-m68k-low.c
$(srcdir)/linux-mips-low.c \
118 $(srcdir)/linux-ppc-low.c \
119 $(srcdir)/linux-s390-low.c \
120 $(srcdir)/linux-sh-low.c
$(srcdir)/linux-sparc-low.c \
121 $(srcdir)/linux-x86-low.c \
122 $(srcdir)/linux-xtensa-low.c \
123 $(srcdir)/win32-arm-low.c
$(srcdir)/win32-i386-low.c \
124 $(srcdir)/win32-low.c
$(srcdir)/wincecompat.c \
125 $(srcdir)/hostio.c
$(srcdir)/hostio-errno.c \
126 $(srcdir)/common
/common-utils.c
$(srcdir)/common
/xml-utils.c \
127 $(srcdir)/common
/linux-osdata.c
$(srcdir)/common
/ptid.c \
128 $(srcdir)/common
/buffer.c
130 DEPFILES
= @GDBSERVER_DEPFILES@
135 TAGFILES
= $(SOURCES
) ${HFILES} ${ALLPARAM} ${POSSLIBS}
137 OBS
= agent.o ax.o inferiors.o regcache.o remote-utils.o server.o signals.o target.o \
139 mem-break.o hostio.o event-loop.o tracepoint.o \
140 xml-utils.o common-utils.o ptid.o buffer.o \
143 $(DEPFILES
) $(LIBOBJS
)
144 GDBREPLAY_OBS
= gdbreplay.o version.o
145 GDBSERVER_LIBS
= @GDBSERVER_LIBS@
147 CDEPS
= $(srcdir)/proc-service.list
149 # XML files to compile in to gdbserver, if any.
150 XML_DIR
= $(srcdir)/..
/features
151 XML_FILES
= @srv_xmlfiles@
152 XML_BUILTIN
= @srv_xmlbuiltin@
154 IPA_DEPFILES
= @IPA_DEPFILES@
155 extra_libraries
= @extra_libraries@
159 "exec_prefix=$(exec_prefix)" \
160 "infodir=$(infodir)" \
161 "datarootdir=$(datarootdir)" \
163 "htmldir=$(htmldir)" \
167 "datadir=$(datadir)" \
168 "includedir=$(includedir)" \
169 "against=$(against)" \
170 "DESTDIR=$(DESTDIR)" \
172 "AR_FLAGS=$(AR_FLAGS)" \
176 "CXXFLAGS=$(CXXFLAGS)" \
177 "DLLTOOL=$(DLLTOOL)" \
178 "LDFLAGS=$(LDFLAGS)" \
180 "MAKEINFO=$(MAKEINFO)" \
181 "MAKEHTML=$(MAKEHTML)" \
182 "MAKEHTMLFLAGS=$(MAKEHTMLFLAGS)" \
183 "INSTALL=$(INSTALL)" \
184 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
185 "INSTALL_DATA=$(INSTALL_DATA)" \
186 "RUNTEST=$(RUNTEST)" \
187 "RUNTESTFLAGS=$(RUNTESTFLAGS)"
189 # Prevent Sun make from putting in the machine type. Setting
190 # TARGET_ARCH to nothing works for SunOS 3, 4.0, but not for 4.1.
192 ${CC} -c
${INTERNAL_CFLAGS} $<
194 all: gdbserver
$(EXEEXT
) gdbreplay
$(EXEEXT
) $(extra_libraries
)
196 # Traditionally "install" depends on "all". But it may be useful
197 # not to; for example, if the user has made some trivial change to a
198 # source file and doesn't care about rebuilding or just wants to save the
199 # time it takes for make to check that all is up to date.
200 # install-only is intended to address that need.
202 @
$(MAKE
) $(FLAGS_TO_PASS
) install-only
205 n
=`echo gdbserver | sed '$(program_transform_name)'`; \
206 if
[ x
$$n = x
]; then n
=gdbserver
; else true
; fi
; \
207 if
[ x
"$(IPA_DEPFILES)" != x
]; then \
208 $(SHELL
) $(srcdir)/..
/..
/mkinstalldirs
$(DESTDIR
)$(libdir); \
209 $(INSTALL_PROGRAM
) $(IPA_LIB
) $(DESTDIR
)$(libdir)/$(IPA_LIB
); \
211 $(SHELL
) $(srcdir)/..
/..
/mkinstalldirs
$(DESTDIR
)$(bindir); \
212 $(INSTALL_PROGRAM
) gdbserver
$(EXEEXT
) $(DESTDIR
)$(bindir)/$$n$(EXEEXT
); \
213 $(SHELL
) $(srcdir)/..
/..
/mkinstalldirs
$(DESTDIR
)$(man1dir); \
214 $(INSTALL_DATA
) $(srcdir)/gdbserver
.1 $(DESTDIR
)$(man1dir)/$$n.1
217 n
=`echo gdbserver | sed '$(program_transform_name)'`; \
218 if
[ x
$$n = x
]; then n
=gdbserver
; else true
; fi
; \
219 rm -f
$(DESTDIR
)/$(bindir)/$$n$(EXEEXT
) $(DESTDIR
)$(man1dir)/$$n.1
230 gdbserver
$(EXEEXT
): $(OBS
) ${ADD_DEPS} ${CDEPS}
231 rm -f gdbserver
$(EXEEXT
)
232 ${CC-LD
} $(INTERNAL_CFLAGS
) $(INTERNAL_LDFLAGS
) -o gdbserver
$(EXEEXT
) $(OBS
) \
233 $(GDBSERVER_LIBS
) $(XM_CLIBS
)
235 gdbreplay
$(EXEEXT
): $(GDBREPLAY_OBS
)
236 rm -f gdbreplay
$(EXEEXT
)
237 ${CC-LD
} $(INTERNAL_CFLAGS
) $(INTERNAL_LDFLAGS
) -o gdbreplay
$(EXEEXT
) $(GDBREPLAY_OBS
) \
240 IPA_OBJS
=ax-ipa.o tracepoint-ipa.o utils-ipa.o regcache-ipa.o remote-utils-ipa.o common-utils-ipa.o
${IPA_DEPFILES}
242 IPA_LIB
=libinproctrace.so
244 $(IPA_LIB
): $(IPA_OBJS
) ${ADD_DEPS} ${CDEPS}
246 ${CC-LD
} -shared
-fPIC
-Wl
,--no-undefined
$(INTERNAL_CFLAGS
) \
247 $(INTERNAL_LDFLAGS
) -o
$(IPA_LIB
) ${IPA_OBJS} -ldl
-pthread
249 # Put the proper machine-specific files first, so M-. on a machine
250 # specific routine gets the one for the correct machine.
251 # The xyzzy stuff below deals with empty DEPFILES
253 etags
`find ${srcdir}/../config -name $(DEPRECATED_TM_FILE) -print` \
254 `find ${srcdir}/../config -name ${XM_FILE} -print` \
255 `find ${srcdir}/../config -name ${NAT_FILE} -print` \
256 `for i in yzzy ${DEPFILES}; do \
257 if [ x$$i != xyzzy ]; then \
258 echo ${srcdir}/$$i | sed -e 's/\.o$$/\.c/' ; \
265 rm -f
*.o
${ADD_FILES} *~
267 rm -f gdbserver
$(EXEEXT
) gdbreplay
$(EXEEXT
) core make.log
269 rm -f reg-arm.c reg-bfin.c i386.c reg-ia64.c reg-m32r.c reg-m68k.c
270 rm -f reg-sh.c reg-sparc.c reg-spu.c amd64.c i386-linux.c
271 rm -f reg-cris.c reg-crisv32.c amd64-linux.c reg-xtensa.c
272 rm -f arm-with-iwmmxt.c
273 rm -f arm-with-vfpv2.c arm-with-vfpv3.c arm-with-neon.c
274 rm -f mips-linux.c mips64-linux.c
275 rm -f powerpc-32.c powerpc-32l.c powerpc-64l.c powerpc-e500l.c
276 rm -f powerpc-altivec32l.c powerpc-cell32l.c powerpc-vsx32l.c
277 rm -f powerpc-altivec64l.c powerpc-cell64l.c powerpc-vsx64l.c
278 rm -f powerpc-isa205-32l.c powerpc-isa205-64l.c
279 rm -f powerpc-isa205-altivec32l.c powerpc-isa205-vsx32l.c powerpc-isa205-altivec64l.c
280 rm -f powerpc-isa205-vsx64l.c
281 rm -f s390-linux32.c s390-linux64.c s390x-linux64.c
282 rm -f tic6x-c64xp-linux.c tic6x-c64x-linux.c tic6x-c62x-linux.c
283 rm -f xml-builtin.c stamp-xml
284 rm -f i386-avx.c i386-avx-linux.c
285 rm -f amd64-avx.c amd64-avx-linux.c
286 rm -f i386-mmx.c i386-mmx-linux.c
288 maintainer-clean
realclean distclean: clean
289 rm -f nm.h tm.h xm.h config.status config.h stamp-h config.log
292 config.h
: stamp-h
; @true
293 stamp-h
: config.in config.status
294 CONFIG_FILES
="" CONFIG_HEADERS
=config.h
:config.in
$(SHELL
) .
/config.status
296 Makefile
: Makefile.in config.status
297 CONFIG_HEADERS
="" $(SHELL
) .
/config.status
299 config.status
: configure configure.srv
300 $(SHELL
) .
/config.status
--recheck
304 version.c
: Makefile
$(srcdir)/..
/version.in
305 rm -f version.c-tmp version.c
306 echo
'#include "server.h"' >> version.c-tmp
307 echo
'const char version[] = "'"`sed q ${srcdir}/../version.in`"'";' >> version.c-tmp
308 echo
'const char host_name[] = "$(host_alias)";' >> version.c-tmp
309 mv version.c-tmp version.c
310 version.o
: version.c
$(server_h
)
312 xml-builtin.c
: stamp-xml
; @true
313 stamp-xml
: $(XML_DIR
)/feature_to_c.sh Makefile
$(XML_FILES
)
314 rm -f xml-builtin.tmp
315 $(SHELL
) $(XML_DIR
)/feature_to_c.sh xml-builtin.tmp
$(XML_FILES
)
316 $(SHELL
) $(srcdir)/..
/..
/move-if-change xml-builtin.tmp xml-builtin.c
317 echo stamp
> stamp-xml
319 .PRECIOUS
: xml-builtin.c
321 # GNU Make has an annoying habit of putting *all* the Makefile variables
322 # into the environment, unless you include this target as a circumvention.
323 # Rumor is that this will be fixed (and this target can be removed)
327 # GNU Make 3.63 has a different problem: it keeps tacking command line
328 # overrides onto the definition of $(MAKE). This variable setting
332 gdb_proc_service_h
= $(srcdir)/gdb_proc_service.h
333 regdat_sh
= $(srcdir)/..
/regformats
/regdat.sh
334 regdef_h
= $(srcdir)/..
/regformats
/regdef.h
335 regcache_h
= $(srcdir)/regcache.h
336 signals_def
= $(srcdir)/..
/..
/include/gdb
/signals.def
337 signals_h
= $(srcdir)/..
/..
/include/gdb
/signals.h
$(signals_def
)
338 ptid_h
= $(srcdir)/..
/common
/ptid.h
339 ax_h
= $(srcdir)/ax.h
340 agent_h
= $(srcdir)/..
/common
/agent.h
341 linux_osdata_h
= $(srcdir)/..
/common
/linux-osdata.h
342 server_h
= $(srcdir)/server.h
$(regcache_h
) config.h
$(srcdir)/target.h \
343 $(srcdir)/mem-break.h
$(srcdir)/..
/common
/gdb_signals.h \
344 $(srcdir)/..
/common
/common-utils.h \
345 $(srcdir)/..
/common
/xml-utils.h \
346 $(srcdir)/..
/common
/buffer.h \
347 $(srcdir)/..
/common
/gdb_assert.h \
348 $(srcdir)/..
/common
/gdb_locale.h \
352 linux_low_h
= $(srcdir)/linux-low.h
354 linux_ptrace_h
= $(srcdir)/..
/common
/linux-ptrace.h
356 gdb_thread_db_h
= $(srcdir)/..
/common
/gdb_thread_db.h
358 linux_procfs_h
= $(srcdir)/..
/common
/linux-procfs.h
360 lynx_low_h
= $(srcdir)/lynx-low.h
$(srcdir)/server.h
362 nto_low_h
= $(srcdir)/nto-low.h
364 UST_CFLAGS
= $(ustinc
) -DCONFIG_UST_GDB_INTEGRATION
366 # Note, we only build the IPA if -fvisibility=hidden is supported in
368 IPAGENT_CFLAGS
= $(CPPFLAGS
) $(INTERNAL_CFLAGS
) $(UST_CFLAGS
) \
369 -fPIC
-DGDBSERVER
-DIN_PROCESS_AGENT \
372 # In-process agent object rules
373 ax-ipa.o
: ax.c
$(server_h
) $(ax_h
) $(srcdir)/..
/common
/ax.def
374 $(CC
) -c
$(IPAGENT_CFLAGS
) $< -o ax-ipa.o
375 tracepoint-ipa.o
: tracepoint.c
$(server_h
) ${ax_h}
376 $(CC
) -c
$(IPAGENT_CFLAGS
) $< -o tracepoint-ipa.o
377 utils-ipa.o
: utils.c
$(server_h
)
378 $(CC
) -c
$(IPAGENT_CFLAGS
) $< -o utils-ipa.o
379 common-utils-ipa.o
: ..
/common
/common-utils.c
$(server_h
)
380 $(CC
) -c
$(IPAGENT_CFLAGS
) $< -o common-utils-ipa.o
381 remote-utils-ipa.o
: remote-utils.c
$(server_h
)
382 $(CC
) -c
$(IPAGENT_CFLAGS
) $< -o remote-utils-ipa.o
383 regcache-ipa.o
: regcache.c
$(server_h
)
384 $(CC
) -c
$(IPAGENT_CFLAGS
) $< -o regcache-ipa.o
385 i386-linux-ipa.o
: i386-linux.c
$(regdef_h
)
386 $(CC
) -c
$(IPAGENT_CFLAGS
) $< -o i386-linux-ipa.o
387 linux-i386-ipa.o
: linux-i386-ipa.c
$(server_h
)
388 $(CC
) -c
$(IPAGENT_CFLAGS
) $< -o linux-i386-ipa.o
389 linux-amd64-ipa.o
: linux-amd64-ipa.c
$(server_h
)
390 $(CC
) -c
$(IPAGENT_CFLAGS
) $< -o linux-amd64-ipa.o
391 amd64-linux-ipa.o
: amd64-linux.c
$(regdef_h
)
392 $(CC
) -c
$(IPAGENT_CFLAGS
) $< -o amd64-linux-ipa.o
394 ax.o
: ax.c
$(server_h
) $(ax_h
) $(srcdir)/..
/common
/ax.def
395 event-loop.o
: event-loop.c
$(server_h
)
396 hostio.o
: hostio.c
$(server_h
)
397 hostio-errno.o
: hostio-errno.c
$(server_h
)
398 inferiors.o
: inferiors.c
$(server_h
)
399 mem-break.o
: mem-break.c
$(server_h
) $(ax_h
)
400 proc-service.o
: proc-service.c
$(server_h
) $(gdb_proc_service_h
)
401 regcache.o
: regcache.c
$(server_h
) $(regdef_h
)
402 remote-utils.o
: remote-utils.c terminal.h
$(server_h
)
403 server.o
: server.c
$(server_h
) $(agent_h
)
404 target.o
: target.c
$(server_h
)
405 thread-db.o
: thread-db.c
$(server_h
) $(linux_low_h
) $(gdb_proc_service_h
) \
407 tracepoint.o
: tracepoint.c
$(server_h
) $(ax_h
) $(agent_h
)
408 utils.o
: utils.c
$(server_h
)
409 gdbreplay.o
: gdbreplay.c config.h
410 dll.o
: dll.c
$(server_h
)
412 signals.o
: ..
/common
/signals.c
$(server_h
) $(signals_def
)
413 $(CC
) -c
$(CPPFLAGS
) $(INTERNAL_CFLAGS
) $< -DGDBSERVER
415 linux-procfs.o
: ..
/common
/linux-procfs.c
$(server_h
)
416 $(CC
) -c
$(CPPFLAGS
) $(INTERNAL_CFLAGS
) $< -DGDBSERVER
418 linux-ptrace.o
: ..
/common
/linux-ptrace.c
$(server_h
)
419 $(CC
) -c
$(CPPFLAGS
) $(INTERNAL_CFLAGS
) $< -DGDBSERVER
421 common-utils.o
: ..
/common
/common-utils.c
$(server_h
)
422 $(CC
) -c
$(CPPFLAGS
) $(INTERNAL_CFLAGS
) $< -DGDBSERVER
424 xml-utils.o
: ..
/common
/xml-utils.c
$(server_h
)
425 $(CC
) -c
$(CPPFLAGS
) $(INTERNAL_CFLAGS
) $< -DGDBSERVER
427 linux-osdata.o
: ..
/common
/linux-osdata.c
$(server_h
) $(linux_osdata_h
) ..
/common
/gdb_dirent.h
428 $(CC
) -c
$(CPPFLAGS
) $(INTERNAL_CFLAGS
) $< -DGDBSERVER
430 ptid.o
: ..
/common
/ptid.c
$(ptid_h
)
431 $(CC
) -c
$(CPPFLAGS
) $(INTERNAL_CFLAGS
) $< -DGDBSERVER
433 buffer.o
: ..
/common
/buffer.c
$(server_h
)
434 $(CC
) -c
$(CPPFLAGS
) $(INTERNAL_CFLAGS
) $< -DGDBSERVER
436 agent.o
: ..
/common
/agent.c
$(server_h
) $(agent_h
)
437 $(CC
) -c
$(CPPFLAGS
) $(INTERNAL_CFLAGS
) $< -DGDBSERVER
439 # We build memmem.c without -Werror because this file is not under
440 # our control. On LynxOS, the compiler generates some warnings
441 # because str-two-way.h uses a constant (MAX_SIZE) whose definition
442 # makes it ambiguous whether it is signed or unsigned ("warning: this
443 # decimal constant is unsigned only in ISO C90").
444 memmem.o
: ..
/gnulib
/memmem.c
445 $(CC
) -o memmem.o
-c
$(CPPFLAGS
) $(INTERNAL_WARN_CFLAGS
) $<
447 # We build vasprintf with -DHAVE_CONFIG_H because we want that unit to
448 # include our config.h file. Otherwise, some system headers do not get
449 # included, and the compiler emits a warning about implicitly defined
450 # functions (missing declaration).
451 vasprintf.o
: $(srcdir)/..
/..
/libiberty
/vasprintf.c
452 $(CC
) -o vasprintf.o
-c
$(CPPFLAGS
) $(INTERNAL_CFLAGS
) -DHAVE_CONFIG_H
$<
453 vsnprintf.o
: $(srcdir)/..
/..
/libiberty
/vsnprintf.c
454 $(CC
) -o vsnprintf.o
-c
$(CPPFLAGS
) $(INTERNAL_CFLAGS
) $<
456 i386_low_h
= $(srcdir)/i386-low.h
458 i386-low.o
: i386-low.c
$(i386_low_h
) $(server_h
) $(target_h
)
460 i387-fp.o
: i387-fp.c
$(server_h
)
462 linux-low.o
: linux-low.c
$(linux_low_h
) $(linux_ptrace_h
) $(linux_procfs_h
) \
463 $(server_h
) $(linux_osdata_h
) $(agent_h
)
464 $(CC
) -c
$(CPPFLAGS
) $(INTERNAL_CFLAGS
) $< @USE_THREAD_DB@
466 linux-arm-low.o
: linux-arm-low.c
$(linux_low_h
) $(server_h
) \
467 $(gdb_proc_service_h
)
468 linux-bfin-low.o
: linux-bfin-low.c
$(linux_low_h
) $(server_h
)
469 linux-cris-low.o
: linux-cris-low.c
$(linux_low_h
) $(server_h
)
470 linux-crisv32-low.o
: linux-crisv32-low.c
$(linux_low_h
) $(server_h
)
471 linux-ia64-low.o
: linux-ia64-low.c
$(linux_low_h
) $(server_h
)
472 linux-m32r-low.o
: linux-m32r-low.c
$(linux_low_h
) $(server_h
)
473 linux-mips-low.o
: linux-mips-low.c
$(linux_low_h
) $(server_h
) \
474 $(gdb_proc_service_h
)
475 linux-ppc-low.o
: linux-ppc-low.c
$(linux_low_h
) $(server_h
)
476 linux-s390-low.o
: linux-s390-low.c
$(linux_low_h
) $(server_h
)
477 linux-sh-low.o
: linux-sh-low.c
$(linux_low_h
) $(server_h
)
478 linux-tic6x-low.o
: linux-tic6x-low.c
$(linux_low_h
) $(server_h
)
479 linux-x86-low.o
: linux-x86-low.c
$(linux_low_h
) $(server_h
) \
480 $(gdb_proc_service_h
) $(i386_low_h
) $(agent_h
)
481 linux-xtensa-low.o
: linux-xtensa-low.c xtensa-xtregs.c
$(linux_low_h
) $(server_h
)
483 lynx-low.o
: lynx-low.c
$(server_h
) $(target_h
) $(lynx_low_h
)
484 lynx-ppc-low.o
: lynx-ppc-low.c
$(server_h
) $(lynx_low_h
)
485 nto-low.o
: nto-low.c
$(server_h
) $(nto_low_h
)
486 nto-x86-low.o
: nto-x86-low.c
$(server_h
) $(nto_low_h
) $(regdef_h
) $(regcache_h
)
488 win32_low_h
= $(srcdir)/win32-low.h
490 win32-low.o
: win32-low.c
$(win32_low_h
) $(server_h
) $(regdef_h
) $(regcache_h
)
492 win32-arm-low.o
: win32-arm-low.c
$(win32_low_h
) $(server_h
)
493 win32-i386-low.o
: win32-i386-low.c
$(win32_low_h
) $(server_h
) $(i386_low_h
)
495 spu-low.o
: spu-low.c
$(server_h
)
497 reg-arm.o
: reg-arm.c
$(regdef_h
)
498 reg-arm.c
: $(srcdir)/..
/regformats
/reg-arm.dat
$(regdat_sh
)
499 $(SHELL
) $(regdat_sh
) $(srcdir)/..
/regformats
/reg-arm.dat reg-arm.c
500 arm-with-iwmmxt.o
: arm-with-iwmmxt.c
$(regdef_h
)
501 arm-with-iwmmxt.c
: $(srcdir)/..
/regformats
/arm-with-iwmmxt.dat
$(regdat_sh
)
502 $(SHELL
) $(regdat_sh
) $(srcdir)/..
/regformats
/arm-with-iwmmxt.dat arm-with-iwmmxt.c
503 arm-with-vfpv2.o
: arm-with-vfpv2.c
$(regdef_h
)
504 arm-with-vfpv2.c
: $(srcdir)/..
/regformats
/arm-with-vfpv2.dat
$(regdat_sh
)
505 $(SHELL
) $(regdat_sh
) $(srcdir)/..
/regformats
/arm-with-vfpv2.dat arm-with-vfpv2.c
506 arm-with-vfpv3.o
: arm-with-vfpv3.c
$(regdef_h
)
507 arm-with-vfpv3.c
: $(srcdir)/..
/regformats
/arm-with-vfpv3.dat
$(regdat_sh
)
508 $(SHELL
) $(regdat_sh
) $(srcdir)/..
/regformats
/arm-with-vfpv3.dat arm-with-vfpv3.c
509 arm-with-neon.o
: arm-with-neon.c
$(regdef_h
)
510 arm-with-neon.c
: $(srcdir)/..
/regformats
/arm-with-neon.dat
$(regdat_sh
)
511 $(SHELL
) $(regdat_sh
) $(srcdir)/..
/regformats
/arm-with-neon.dat arm-with-neon.c
512 reg-bfin.o
: reg-bfin.c
$(regdef_h
)
513 reg-bfin.c
: $(srcdir)/..
/regformats
/reg-bfin.dat
$(regdat_sh
)
514 $(SHELL
) $(regdat_sh
) $(srcdir)/..
/regformats
/reg-bfin.dat reg-bfin.c
515 reg-cris.o
: reg-cris.c
$(regdef_h
)
516 reg-cris.c
: $(srcdir)/..
/regformats
/reg-cris.dat
$(regdat_sh
)
517 $(SHELL
) $(regdat_sh
) $(srcdir)/..
/regformats
/reg-cris.dat reg-cris.c
518 reg-crisv32.o
: reg-crisv32.c
$(regdef_h
)
519 reg-crisv32.c
: $(srcdir)/..
/regformats
/reg-crisv32.dat
$(regdat_sh
)
520 $(SHELL
) $(regdat_sh
) $(srcdir)/..
/regformats
/reg-crisv32.dat reg-crisv32.c
521 i386.o
: i386.c
$(regdef_h
)
522 i386.c
: $(srcdir)/..
/regformats
/i386
/i386.dat
$(regdat_sh
)
523 $(SHELL
) $(regdat_sh
) $(srcdir)/..
/regformats
/i386
/i386.dat i386.c
524 i386-linux.o
: i386-linux.c
$(regdef_h
)
525 i386-linux.c
: $(srcdir)/..
/regformats
/i386
/i386-linux.dat
$(regdat_sh
)
526 $(SHELL
) $(regdat_sh
) $(srcdir)/..
/regformats
/i386
/i386-linux.dat i386-linux.c
527 i386-avx.o
: i386-avx.c
$(regdef_h
)
528 i386-avx.c
: $(srcdir)/..
/regformats
/i386
/i386-avx.dat
$(regdat_sh
)
529 $(SHELL
) $(regdat_sh
) $(srcdir)/..
/regformats
/i386
/i386-avx.dat i386-avx.c
530 i386-avx-linux.o
: i386-avx-linux.c
$(regdef_h
)
531 i386-avx-linux.c
: $(srcdir)/..
/regformats
/i386
/i386-avx-linux.dat
$(regdat_sh
)
532 $(SHELL
) $(regdat_sh
) $(srcdir)/..
/regformats
/i386
/i386-avx-linux.dat i386-avx-linux.c
533 i386-mmx.o
: i386-mmx.c
$(regdef_h
)
534 i386-mmx.c
: $(srcdir)/..
/regformats
/i386
/i386-mmx.dat
$(regdat_sh
)
535 $(SHELL
) $(regdat_sh
) $(srcdir)/..
/regformats
/i386
/i386-mmx.dat i386-mmx.c
536 i386-mmx-linux.o
: i386-mmx-linux.c
$(regdef_h
)
537 i386-mmx-linux.c
: $(srcdir)/..
/regformats
/i386
/i386-mmx-linux.dat
$(regdat_sh
)
538 $(SHELL
) $(regdat_sh
) $(srcdir)/..
/regformats
/i386
/i386-mmx-linux.dat i386-mmx-linux.c
539 reg-ia64.o
: reg-ia64.c
$(regdef_h
)
540 reg-ia64.c
: $(srcdir)/..
/regformats
/reg-ia64.dat
$(regdat_sh
)
541 $(SHELL
) $(regdat_sh
) $(srcdir)/..
/regformats
/reg-ia64.dat reg-ia64.c
542 reg-m32r.o
: reg-m32r.c
$(regdef_h
)
543 reg-m32r.c
: $(srcdir)/..
/regformats
/reg-m32r.dat
$(regdat_sh
)
544 $(SHELL
) $(regdat_sh
) $(srcdir)/..
/regformats
/reg-m32r.dat reg-m32r.c
545 reg-m68k.o
: reg-m68k.c
$(regdef_h
)
546 reg-m68k.c
: $(srcdir)/..
/regformats
/reg-m68k.dat
$(regdat_sh
)
547 $(SHELL
) $(regdat_sh
) $(srcdir)/..
/regformats
/reg-m68k.dat reg-m68k.c
548 reg-cf.o
: reg-cf.c
$(regdef_h
)
549 reg-cf.c
: $(srcdir)/..
/regformats
/reg-cf.dat
$(regdat_sh
)
550 $(SHELL
) $(regdat_sh
) $(srcdir)/..
/regformats
/reg-cf.dat reg-cf.c
551 mips-linux.o
: mips-linux.c
$(regdef_h
)
552 mips-linux.c
: $(srcdir)/..
/regformats
/mips-linux.dat
$(regdat_sh
)
553 $(SHELL
) $(regdat_sh
) $(srcdir)/..
/regformats
/mips-linux.dat mips-linux.c
554 mips-dsp-linux.o
: mips-dsp-linux.c
$(regdef_h
)
555 mips-dsp-linux.c
: $(srcdir)/..
/regformats
/mips-dsp-linux.dat
$(regdat_sh
)
556 $(SHELL
) $(regdat_sh
) $(srcdir)/..
/regformats
/mips-dsp-linux.dat mips-dsp-linux.c
557 mips64-linux.o
: mips64-linux.c
$(regdef_h
)
558 mips64-linux.c
: $(srcdir)/..
/regformats
/mips64-linux.dat
$(regdat_sh
)
559 $(SHELL
) $(regdat_sh
) $(srcdir)/..
/regformats
/mips64-linux.dat mips64-linux.c
560 mips64-dsp-linux.o
: mips64-dsp-linux.c
$(regdef_h
)
561 mips64-dsp-linux.c
: $(srcdir)/..
/regformats
/mips64-dsp-linux.dat
$(regdat_sh
)
562 $(SHELL
) $(regdat_sh
) $(srcdir)/..
/regformats
/mips64-dsp-linux.dat mips64-dsp-linux.c
563 powerpc-32.o
: powerpc-32.c
$(regdef_h
)
564 powerpc-32.c
: $(srcdir)/..
/regformats
/rs6000
/powerpc-32.dat
$(regdat_sh
)
565 $(SHELL
) $(regdat_sh
) $(srcdir)/..
/regformats
/rs6000
/powerpc-32.dat powerpc-32.c
566 powerpc-32l.o
: powerpc-32l.c
$(regdef_h
)
567 powerpc-32l.c
: $(srcdir)/..
/regformats
/rs6000
/powerpc-32l.dat
$(regdat_sh
)
568 $(SHELL
) $(regdat_sh
) $(srcdir)/..
/regformats
/rs6000
/powerpc-32l.dat powerpc-32l.c
569 powerpc-altivec32l.o
: powerpc-altivec32l.c
$(regdef_h
)
570 powerpc-altivec32l.c
: $(srcdir)/..
/regformats
/rs6000
/powerpc-altivec32l.dat
$(regdat_sh
)
571 $(SHELL
) $(regdat_sh
) $(srcdir)/..
/regformats
/rs6000
/powerpc-altivec32l.dat powerpc-altivec32l.c
572 powerpc-cell32l.o
: powerpc-cell32l.c
$(regdef_h
)
573 powerpc-cell32l.c
: $(srcdir)/..
/regformats
/rs6000
/powerpc-cell32l.dat
$(regdat_sh
)
574 $(SHELL
) $(regdat_sh
) $(srcdir)/..
/regformats
/rs6000
/powerpc-cell32l.dat powerpc-cell32l.c
575 powerpc-vsx32l.o
: powerpc-vsx32l.c
$(regdef_h
)
576 powerpc-vsx32l.c
: $(srcdir)/..
/regformats
/rs6000
/powerpc-vsx32l.dat
$(regdat_sh
)
577 $(SHELL
) $(regdat_sh
) $(srcdir)/..
/regformats
/rs6000
/powerpc-vsx32l.dat powerpc-vsx32l.c
578 powerpc-isa205-32l.o
: powerpc-isa205-32l.c
$(regdef_h
)
579 powerpc-isa205-32l.c
: $(srcdir)/..
/regformats
/rs6000
/powerpc-isa205-32l.dat
$(regdat_sh
)
580 $(SHELL
) $(regdat_sh
) $(srcdir)/..
/regformats
/rs6000
/powerpc-isa205-32l.dat powerpc-isa205-32l.c
581 powerpc-isa205-altivec32l.o
: powerpc-isa205-altivec32l.c
$(regdef_h
)
582 powerpc-isa205-altivec32l.c
: $(srcdir)/..
/regformats
/rs6000
/powerpc-isa205-altivec32l.dat
$(regdat_sh
)
583 $(SHELL
) $(regdat_sh
) $(srcdir)/..
/regformats
/rs6000
/powerpc-isa205-altivec32l.dat powerpc-isa205-altivec32l.c
584 powerpc-isa205-vsx32l.o
: powerpc-isa205-vsx32l.c
$(regdef_h
)
585 powerpc-isa205-vsx32l.c
: $(srcdir)/..
/regformats
/rs6000
/powerpc-isa205-vsx32l.dat
$(regdat_sh
)
586 $(SHELL
) $(regdat_sh
) $(srcdir)/..
/regformats
/rs6000
/powerpc-isa205-vsx32l.dat powerpc-isa205-vsx32l.c
587 powerpc-e500l.o
: powerpc-e500l.c
$(regdef_h
)
588 powerpc-e500l.c
: $(srcdir)/..
/regformats
/rs6000
/powerpc-e500l.dat
$(regdat_sh
)
589 $(SHELL
) $(regdat_sh
) $(srcdir)/..
/regformats
/rs6000
/powerpc-e500l.dat powerpc-e500l.c
590 powerpc-64l.o
: powerpc-64l.c
$(regdef_h
)
591 powerpc-64l.c
: $(srcdir)/..
/regformats
/rs6000
/powerpc-64l.dat
$(regdat_sh
)
592 $(SHELL
) $(regdat_sh
) $(srcdir)/..
/regformats
/rs6000
/powerpc-64l.dat powerpc-64l.c
593 powerpc-altivec64l.o
: powerpc-altivec64l.c
$(regdef_h
)
594 powerpc-altivec64l.c
: $(srcdir)/..
/regformats
/rs6000
/powerpc-altivec64l.dat
$(regdat_sh
)
595 $(SHELL
) $(regdat_sh
) $(srcdir)/..
/regformats
/rs6000
/powerpc-altivec64l.dat powerpc-altivec64l.c
596 powerpc-cell64l.o
: powerpc-cell64l.c
$(regdef_h
)
597 powerpc-cell64l.c
: $(srcdir)/..
/regformats
/rs6000
/powerpc-cell64l.dat
$(regdat_sh
)
598 $(SHELL
) $(regdat_sh
) $(srcdir)/..
/regformats
/rs6000
/powerpc-cell64l.dat powerpc-cell64l.c
599 powerpc-vsx64l.o
: powerpc-vsx64l.c
$(regdef_h
)
600 powerpc-vsx64l.c
: $(srcdir)/..
/regformats
/rs6000
/powerpc-vsx64l.dat
$(regdat_sh
)
601 $(SHELL
) $(regdat_sh
) $(srcdir)/..
/regformats
/rs6000
/powerpc-vsx64l.dat powerpc-vsx64l.c
602 powerpc-isa205-64l.o
: powerpc-isa205-64l.c
$(regdef_h
)
603 powerpc-isa205-64l.c
: $(srcdir)/..
/regformats
/rs6000
/powerpc-isa205-64l.dat
$(regdat_sh
)
604 $(SHELL
) $(regdat_sh
) $(srcdir)/..
/regformats
/rs6000
/powerpc-isa205-64l.dat powerpc-isa205-64l.c
605 powerpc-isa205-altivec64l.o
: powerpc-isa205-altivec64l.c
$(regdef_h
)
606 powerpc-isa205-altivec64l.c
: $(srcdir)/..
/regformats
/rs6000
/powerpc-isa205-altivec64l.dat
$(regdat_sh
)
607 $(SHELL
) $(regdat_sh
) $(srcdir)/..
/regformats
/rs6000
/powerpc-isa205-altivec64l.dat powerpc-isa205-altivec64l.c
608 powerpc-isa205-vsx64l.o
: powerpc-isa205-vsx64l.c
$(regdef_h
)
609 powerpc-isa205-vsx64l.c
: $(srcdir)/..
/regformats
/rs6000
/powerpc-isa205-vsx64l.dat
$(regdat_sh
)
610 $(SHELL
) $(regdat_sh
) $(srcdir)/..
/regformats
/rs6000
/powerpc-isa205-vsx64l.dat powerpc-isa205-vsx64l.c
611 s390-linux32.o
: s390-linux32.c
$(regdef_h
)
612 s390-linux32.c
: $(srcdir)/..
/regformats
/s390-linux32.dat
$(regdat_sh
)
613 $(SHELL
) $(regdat_sh
) $(srcdir)/..
/regformats
/s390-linux32.dat s390-linux32.c
614 s390-linux32v1.o
: s390-linux32v1.c
$(regdef_h
)
615 s390-linux32v1.c
: $(srcdir)/..
/regformats
/s390-linux32v1.dat
$(regdat_sh
)
616 $(SHELL
) $(regdat_sh
) $(srcdir)/..
/regformats
/s390-linux32v1.dat s390-linux32v1.c
617 s390-linux32v2.o
: s390-linux32v2.c
$(regdef_h
)
618 s390-linux32v2.c
: $(srcdir)/..
/regformats
/s390-linux32v2.dat
$(regdat_sh
)
619 $(SHELL
) $(regdat_sh
) $(srcdir)/..
/regformats
/s390-linux32v2.dat s390-linux32v2.c
620 s390-linux64.o
: s390-linux64.c
$(regdef_h
)
621 s390-linux64.c
: $(srcdir)/..
/regformats
/s390-linux64.dat
$(regdat_sh
)
622 $(SHELL
) $(regdat_sh
) $(srcdir)/..
/regformats
/s390-linux64.dat s390-linux64.c
623 s390-linux64v1.o
: s390-linux64v1.c
$(regdef_h
)
624 s390-linux64v1.c
: $(srcdir)/..
/regformats
/s390-linux64v1.dat
$(regdat_sh
)
625 $(SHELL
) $(regdat_sh
) $(srcdir)/..
/regformats
/s390-linux64v1.dat s390-linux64v1.c
626 s390-linux64v2.o
: s390-linux64v2.c
$(regdef_h
)
627 s390-linux64v2.c
: $(srcdir)/..
/regformats
/s390-linux64v2.dat
$(regdat_sh
)
628 $(SHELL
) $(regdat_sh
) $(srcdir)/..
/regformats
/s390-linux64v2.dat s390-linux64v2.c
629 s390x-linux64.o
: s390x-linux64.c
$(regdef_h
)
630 s390x-linux64.c
: $(srcdir)/..
/regformats
/s390x-linux64.dat
$(regdat_sh
)
631 $(SHELL
) $(regdat_sh
) $(srcdir)/..
/regformats
/s390x-linux64.dat s390x-linux64.c
632 s390x-linux64v1.o
: s390x-linux64v1.c
$(regdef_h
)
633 s390x-linux64v1.c
: $(srcdir)/..
/regformats
/s390x-linux64v1.dat
$(regdat_sh
)
634 $(SHELL
) $(regdat_sh
) $(srcdir)/..
/regformats
/s390x-linux64v1.dat s390x-linux64v1.c
635 s390x-linux64v2.o
: s390x-linux64v2.c
$(regdef_h
)
636 s390x-linux64v2.c
: $(srcdir)/..
/regformats
/s390x-linux64v2.dat
$(regdat_sh
)
637 $(SHELL
) $(regdat_sh
) $(srcdir)/..
/regformats
/s390x-linux64v2.dat s390x-linux64v2.c
639 tic6x-c64xp-linux.o
: tic6x-c64xp-linux.c
$(regdef_h
)
640 tic6x-c64xp-linux.c
: $(srcdir)/..
/regformats
/tic6x-c64xp-linux.dat
$(regdat_sh
)
641 $(SHELL
) $(regdat_sh
) $(srcdir)/..
/regformats
/tic6x-c64xp-linux.dat tic6x-c64xp-linux.c
642 tic6x-c64x-linux.o
: tic6x-c64x-linux.c
$(regdef_h
)
643 tic6x-c64x-linux.c
: $(srcdir)/..
/regformats
/tic6x-c64x-linux.dat
$(regdat_sh
)
644 $(SHELL
) $(regdat_sh
) $(srcdir)/..
/regformats
/tic6x-c64x-linux.dat tic6x-c64x-linux.c
645 tic6x-c62x-linux.o
: tic6x-c62x-linux.c
$(regdef_h
)
646 tic6x-c62x-linux.c
: $(srcdir)/..
/regformats
/tic6x-c62x-linux.dat
$(regdat_sh
)
647 $(SHELL
) $(regdat_sh
) $(srcdir)/..
/regformats
/tic6x-c62x-linux.dat tic6x-c62x-linux.c
649 reg-sh.o
: reg-sh.c
$(regdef_h
)
650 reg-sh.c
: $(srcdir)/..
/regformats
/reg-sh.dat
$(regdat_sh
)
651 $(SHELL
) $(regdat_sh
) $(srcdir)/..
/regformats
/reg-sh.dat reg-sh.c
652 reg-sparc64.o
: reg-sparc64.c
$(regdef_h
)
653 reg-sparc64.c
: $(srcdir)/..
/regformats
/reg-sparc64.dat
$(regdat_sh
)
654 $(SHELL
) $(regdat_sh
) $(srcdir)/..
/regformats
/reg-sparc64.dat reg-sparc64.c
655 reg-spu.o
: reg-spu.c
$(regdef_h
)
656 reg-spu.c
: $(srcdir)/..
/regformats
/reg-spu.dat
$(regdat_sh
)
657 $(SHELL
) $(regdat_sh
) $(srcdir)/..
/regformats
/reg-spu.dat reg-spu.c
658 amd64.o
: amd64.c
$(regdef_h
)
659 amd64.c
: $(srcdir)/..
/regformats
/i386
/amd64.dat
$(regdat_sh
)
660 $(SHELL
) $(regdat_sh
) $(srcdir)/..
/regformats
/i386
/amd64.dat amd64.c
661 amd64-linux.o
: amd64-linux.c
$(regdef_h
)
662 amd64-linux.c
: $(srcdir)/..
/regformats
/i386
/amd64-linux.dat
$(regdat_sh
)
663 $(SHELL
) $(regdat_sh
) $(srcdir)/..
/regformats
/i386
/amd64-linux.dat amd64-linux.c
664 amd64-avx.o
: amd64-avx.c
$(regdef_h
)
665 amd64-avx.c
: $(srcdir)/..
/regformats
/i386
/amd64-avx.dat
$(regdat_sh
)
666 $(SHELL
) $(regdat_sh
) $(srcdir)/..
/regformats
/i386
/amd64-avx.dat amd64-avx.c
667 amd64-avx-linux.o
: amd64-avx-linux.c
$(regdef_h
)
668 amd64-avx-linux.c
: $(srcdir)/..
/regformats
/i386
/amd64-avx-linux.dat
$(regdat_sh
)
669 $(SHELL
) $(regdat_sh
) $(srcdir)/..
/regformats
/i386
/amd64-avx-linux.dat amd64-avx-linux.c
670 reg-xtensa.o
: reg-xtensa.c
$(regdef_h
)
671 reg-xtensa.c
: $(srcdir)/..
/regformats
/reg-xtensa.dat
$(regdat_sh
)
672 $(SHELL
) $(regdat_sh
) $(srcdir)/..
/regformats
/reg-xtensa.dat reg-xtensa.c
673 # This is the end of "Makefile.in".