gdbserver: configure + make clean fails (no 'common' subdir)
[binutils-gdb.git] / gdb / gdbserver / Makefile.in
1 # Copyright (C) 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
2 # 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
3 # Free Software Foundation, Inc.
4
5 # This file is part of GDB.
6
7 # This program is free software; you can redistribute it and/or modify
8 # it under the terms of the GNU General Public License as published by
9 # the Free Software Foundation; either version 3 of the License, or
10 # (at your option) any later version.
11 #
12 # This program is distributed in the hope that it will be useful,
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 # GNU General Public License for more details.
16 #
17 # You should have received a copy of the GNU General Public License
18 # along with this program. If not, see <http://www.gnu.org/licenses/>.
19
20 prefix = @prefix@
21 exec_prefix = @exec_prefix@
22
23 host_alias = @host_alias@
24 target_alias = @target_alias@
25 program_transform_name = @program_transform_name@
26 bindir = @bindir@
27 libdir = @libdir@
28 tooldir = $(libdir)/$(target_alias)
29
30 datarootdir = @datarootdir@
31 datadir = @datadir@
32 mandir = @mandir@
33 man1dir = $(mandir)/man1
34 man2dir = $(mandir)/man2
35 man3dir = $(mandir)/man3
36 man4dir = $(mandir)/man4
37 man5dir = $(mandir)/man5
38 man6dir = $(mandir)/man6
39 man7dir = $(mandir)/man7
40 man8dir = $(mandir)/man8
41 man9dir = $(mandir)/man9
42 infodir = @infodir@
43 htmldir = $(prefix)/html
44 includedir = @includedir@
45
46 SHELL = /bin/sh
47 EXEEXT = @EXEEXT@
48 PWD_COMMAND = $${PWDCMD-pwd}
49 RANLIB = @RANLIB@
50
51 INSTALL = @INSTALL@
52 INSTALL_PROGRAM = @INSTALL_PROGRAM@
53 INSTALL_DATA = @INSTALL_DATA@
54
55 CC = @CC@
56
57 # Directory containing source files. Don't clean up the spacing,
58 # this exact string is matched for by the "configure" script.
59 srcdir = @srcdir@
60 VPATH = @srcdir@
61
62 # It is also possible that you will need to add -I/usr/include/sys to the
63 # CFLAGS section if your system doesn't have fcntl.h in /usr/include (which
64 # is where it should be according to Posix).
65
66 # Set this up with gcc if you have gnu ld and the loader will print out
67 # line numbers for undefinded refs.
68 #CC-LD=gcc -static
69 CC-LD=${CC}
70
71 # Where is the "include" directory? Traditionally ../include or ./include
72 INCLUDE_DIR = ${srcdir}/../../include
73 INCLUDE_DEP = $$(INCLUDE_DIR)
74
75 # Where is ust? These will be empty if ust was not available.
76 ustlibs = @ustlibs@
77 ustinc = @ustinc@
78
79 # All the includes used for CFLAGS and for lint.
80 # -I. for config files.
81 # -I${srcdir} for our headers.
82 # -I$(srcdir)/../regformats for regdef.h.
83 INCLUDE_CFLAGS = -I. -I${srcdir} -I$(srcdir)/../common \
84 -I$(srcdir)/../regformats -I$(INCLUDE_DIR)
85
86 # M{H,T}_CFLAGS, if defined, has host- and target-dependent CFLAGS
87 # from the config/ directory.
88 GLOBAL_CFLAGS = ${MT_CFLAGS} ${MH_CFLAGS}
89 #PROFILE_CFLAGS = -pg
90
91 WARN_CFLAGS = @WARN_CFLAGS@
92 WERROR_CFLAGS = @WERROR_CFLAGS@
93
94 # CFLAGS is specifically reserved for setting from the command line
95 # when running make. I.E. "make CFLAGS=-Wmissing-prototypes".
96 CFLAGS = @CFLAGS@
97
98 # INTERNAL_CFLAGS is the aggregate of all other *CFLAGS macros.
99 INTERNAL_CFLAGS_BASE = ${CFLAGS} ${GLOBAL_CFLAGS} \
100 ${PROFILE_CFLAGS} ${INCLUDE_CFLAGS}
101 INTERNAL_WARN_CFLAGS = ${INTERNAL_CFLAGS_BASE} $(WARN_CFLAGS)
102 INTERNAL_CFLAGS = ${INTERNAL_WARN_CFLAGS} $(WERROR_CFLAGS)
103
104 # LDFLAGS is specifically reserved for setting from the command line
105 # when running make.
106 LDFLAGS = @LDFLAGS@
107 INTERNAL_LDFLAGS = $(LDFLAGS) @RDYNAMIC@
108
109 # All source files that go into linking GDB remote server.
110
111 SFILES= $(srcdir)/gdbreplay.c $(srcdir)/inferiors.c \
112 $(srcdir)/mem-break.c $(srcdir)/proc-service.c \
113 $(srcdir)/proc-service.list $(srcdir)/regcache.c \
114 $(srcdir)/remote-utils.c $(srcdir)/server.c $(srcdir)/target.c \
115 $(srcdir)/thread-db.c $(srcdir)/utils.c \
116 $(srcdir)/linux-arm-low.c $(srcdir)/linux-bfin-low.c \
117 $(srcdir)/linux-cris-low.c $(srcdir)/linux-crisv32-low.c \
118 ${srcdir}/i386-low.c $(srcdir)/i387-fp.c \
119 $(srcdir)/linux-ia64-low.c $(srcdir)/linux-low.c \
120 $(srcdir)/linux-m32r-low.c \
121 $(srcdir)/linux-m68k-low.c $(srcdir)/linux-mips-low.c \
122 $(srcdir)/linux-ppc-low.c \
123 $(srcdir)/linux-s390-low.c \
124 $(srcdir)/linux-sh-low.c $(srcdir)/linux-sparc-low.c \
125 $(srcdir)/linux-x86-low.c \
126 $(srcdir)/linux-xtensa-low.c \
127 $(srcdir)/win32-arm-low.c $(srcdir)/win32-i386-low.c \
128 $(srcdir)/win32-low.c $(srcdir)/wincecompat.c \
129 $(srcdir)/hostio.c $(srcdir)/hostio-errno.c
130
131 DEPFILES = @GDBSERVER_DEPFILES@
132
133 LIBOBJS = @LIBOBJS@
134
135 LIBCOMMON_DIR = common
136 LIBCOMMON = $(LIBCOMMON_DIR)/libcommon.a
137 LIBCOMMON_SRC = $(srcdir)/$(LIBCOMMON_DIR)
138
139 CLEANDIRS = $(LIBCOMMON_DIR)
140 REQUIRED_SUBDIRS = no-required-subdir-yet
141
142 SOURCES = $(SFILES)
143 TAGFILES = $(SOURCES) ${HFILES} ${ALLPARAM} ${POSSLIBS}
144
145 OBS = inferiors.o regcache.o remote-utils.o server.o target.o \
146 utils.o version.o \
147 mem-break.o hostio.o event-loop.o tracepoint.o \
148 $(XML_BUILTIN) \
149 $(DEPFILES) $(LIBOBJS)
150 GDBREPLAY_OBS = gdbreplay.o version.o
151 GDBSERVER_LIBS = @GDBSERVER_LIBS@
152 XM_CLIBS = @LIBS@
153 CDEPS = $(srcdir)/proc-service.list
154
155 # XML files to compile in to gdbserver, if any.
156 XML_DIR = $(srcdir)/../features
157 XML_FILES = @srv_xmlfiles@
158 XML_BUILTIN = @srv_xmlbuiltin@
159
160 IPA_DEPFILES = @IPA_DEPFILES@
161 extra_libraries = @extra_libraries@
162
163 FLAGS_TO_PASS = \
164 "prefix=$(prefix)" \
165 "exec_prefix=$(exec_prefix)" \
166 "infodir=$(infodir)" \
167 "datarootdir=$(datarootdir)" \
168 "docdir=$(docdir)" \
169 "htmldir=$(htmldir)" \
170 "pdfdir=$(pdfdir)" \
171 "libdir=$(libdir)" \
172 "mandir=$(mandir)" \
173 "datadir=$(datadir)" \
174 "includedir=$(includedir)" \
175 "against=$(against)" \
176 "DESTDIR=$(DESTDIR)" \
177 "AR=$(AR)" \
178 "AR_FLAGS=$(AR_FLAGS)" \
179 "CC=$(CC)" \
180 "CFLAGS=$(CFLAGS)" \
181 "CXX=$(CXX)" \
182 "CXXFLAGS=$(CXXFLAGS)" \
183 "DLLTOOL=$(DLLTOOL)" \
184 "LDFLAGS=$(LDFLAGS)" \
185 "RANLIB=$(RANLIB)" \
186 "MAKEINFO=$(MAKEINFO)" \
187 "MAKEHTML=$(MAKEHTML)" \
188 "MAKEHTMLFLAGS=$(MAKEHTMLFLAGS)" \
189 "INSTALL=$(INSTALL)" \
190 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
191 "INSTALL_DATA=$(INSTALL_DATA)" \
192 "RUNTEST=$(RUNTEST)" \
193 "RUNTESTFLAGS=$(RUNTESTFLAGS)"
194
195 # Prevent Sun make from putting in the machine type. Setting
196 # TARGET_ARCH to nothing works for SunOS 3, 4.0, but not for 4.1.
197 .c.o:
198 ${CC} -c ${INTERNAL_CFLAGS} $<
199
200 all: gdbserver$(EXEEXT) gdbreplay$(EXEEXT) $(extra_libraries)
201
202 $(LIBCOMMON): $(LIBCOMMON_DIR)/Makefile
203 @$(MAKE) $(FLAGS_TO_PASS) DO=all DODIRS=common subdir_do
204
205 common/Makefile: configure-common config.status
206 CONFIG_FILES="common/Makefile" \
207 CONFIG_COMMANDS="depfiles" \
208 CONFIG_HEADERS= \
209 CONFIG_LINKS= \
210 $(SHELL) config.status
211
212 configure-common:
213 @: $(MAKE); $(unstage)
214 @r=`${PWD_COMMAND}`; export r; \
215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
216 test ! -f common/Makefile || exit 0; \
217 $(SHELL) $(srcdir)/../../mkinstalldirs common ; \
218 $(HOST_EXPORTS) \
219 echo Configuring in common; \
220 cd "common" || exit 1; \
221 commondir="$$s/../common"; \
222 srcdiroption="--srcdir=$${commondir}"; \
223 $(SHELL) $${commondir}/configure --enable-gdbserver=yes \
224 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
225 --target=${target_alias} $${srcdiroption} \
226 || exit 1
227
228 # Traditionally "install" depends on "all". But it may be useful
229 # not to; for example, if the user has made some trivial change to a
230 # source file and doesn't care about rebuilding or just wants to save the
231 # time it takes for make to check that all is up to date.
232 # install-only is intended to address that need.
233 install: all
234 @$(MAKE) $(FLAGS_TO_PASS) install-only
235
236 install-only:
237 n=`echo gdbserver | sed '$(program_transform_name)'`; \
238 if [ x$$n = x ]; then n=gdbserver; else true; fi; \
239 if [ x"$(IPA_DEPFILES)" != x ]; then \
240 $(SHELL) $(srcdir)/../../mkinstalldirs $(DESTDIR)$(libdir); \
241 $(INSTALL_PROGRAM) $(IPA_LIB) $(DESTDIR)$(libdir)/$(IPA_LIB); \
242 fi; \
243 $(SHELL) $(srcdir)/../../mkinstalldirs $(DESTDIR)$(bindir); \
244 $(INSTALL_PROGRAM) gdbserver$(EXEEXT) $(DESTDIR)$(bindir)/$$n$(EXEEXT); \
245 $(SHELL) $(srcdir)/../../mkinstalldirs $(DESTDIR)$(man1dir); \
246 $(INSTALL_DATA) $(srcdir)/gdbserver.1 $(DESTDIR)$(man1dir)/$$n.1
247
248 uninstall: force
249 n=`echo gdbserver | sed '$(program_transform_name)'`; \
250 if [ x$$n = x ]; then n=gdbserver; else true; fi; \
251 rm -f $(DESTDIR)/$(bindir)/$$n$(EXEEXT) $(DESTDIR)$(man1dir)/$$n.1
252
253 installcheck:
254 check:
255 info dvi pdf:
256 install-info:
257 install-pdf:
258 html:
259 install-html:
260 clean-info:
261
262 gdbserver$(EXEEXT): $(OBS) ${ADD_DEPS} ${CDEPS} $(LIBCOMMON)
263 rm -f gdbserver$(EXEEXT)
264 ${CC-LD} $(INTERNAL_CFLAGS) $(INTERNAL_LDFLAGS) -o gdbserver$(EXEEXT) $(OBS) \
265 $(LIBCOMMON) $(GDBSERVER_LIBS) $(XM_CLIBS)
266
267 gdbreplay$(EXEEXT): $(GDBREPLAY_OBS)
268 rm -f gdbreplay$(EXEEXT)
269 ${CC-LD} $(INTERNAL_CFLAGS) $(INTERNAL_LDFLAGS) -o gdbreplay$(EXEEXT) $(GDBREPLAY_OBS) \
270 $(XM_CLIBS)
271
272 IPA_OBJS=tracepoint-ipa.o utils-ipa.o regcache-ipa.o remote-utils-ipa.o ${IPA_DEPFILES}
273
274 IPA_LIB=libinproctrace.so
275
276 $(IPA_LIB): $(IPA_OBJS) ${ADD_DEPS} ${CDEPS}
277 rm -f $(IPA_LIB)
278 ${CC-LD} -shared -fPIC -Wl,--no-undefined $(INTERNAL_CFLAGS) \
279 $(INTERNAL_LDFLAGS) -o $(IPA_LIB) ${IPA_OBJS} -ldl -pthread
280
281 # Put the proper machine-specific files first, so M-. on a machine
282 # specific routine gets the one for the correct machine.
283 # The xyzzy stuff below deals with empty DEPFILES
284 TAGS: ${TAGFILES}
285 etags `find ${srcdir}/../config -name $(DEPRECATED_TM_FILE) -print` \
286 `find ${srcdir}/../config -name ${XM_FILE} -print` \
287 `find ${srcdir}/../config -name ${NAT_FILE} -print` \
288 `for i in yzzy ${DEPFILES}; do \
289 if [ x$$i != xyzzy ]; then \
290 echo ${srcdir}/$$i | sed -e 's/\.o$$/\.c/' ; \
291 fi; \
292 done` \
293 ${TAGFILES}
294 tags: TAGS
295
296 clean:
297 @$(MAKE) $(FLAGS_TO_PASS) DO=clean "DODIRS=$(CLEANDIRS)" subdir_do
298 rm -f *.o ${ADD_FILES} *~
299 rm -f version.c
300 rm -f gdbserver$(EXEEXT) gdbreplay$(EXEEXT) core make.log
301 rm -f $(IPA_LIB)
302 rm -f reg-arm.c reg-bfin.c i386.c reg-ia64.c reg-m32r.c reg-m68k.c
303 rm -f reg-sh.c reg-sparc.c reg-spu.c amd64.c i386-linux.c
304 rm -f reg-cris.c reg-crisv32.c amd64-linux.c reg-xtensa.c
305 rm -f arm-with-iwmmxt.c
306 rm -f arm-with-vfpv2.c arm-with-vfpv3.c arm-with-neon.c
307 rm -f mips-linux.c mips64-linux.c
308 rm -f powerpc-32.c powerpc-32l.c powerpc-64l.c powerpc-e500l.c
309 rm -f powerpc-altivec32l.c powerpc-cell32l.c powerpc-vsx32l.c
310 rm -f powerpc-altivec64l.c powerpc-cell64l.c powerpc-vsx64l.c
311 rm -f powerpc-isa205-32l.c powerpc-isa205-64l.c
312 rm -f powerpc-isa205-altivec32l.c powerpc-isa205-vsx32l.c powerpc-isa205-altivec64l.c
313 rm -f powerpc-isa205-vsx64l.c
314 rm -f s390-linux32.c s390-linux64.c s390x-linux64.c
315 rm -f xml-builtin.c stamp-xml
316 rm -f i386-avx.c i386-avx-linux.c
317 rm -f amd64-avx.c amd64-avx-linux.c
318 rm -f i386-mmx.c i386-mmx-linux.c
319
320 maintainer-clean realclean distclean: clean
321 @$(MAKE) $(FLAGS_TO_PASS) DO=$@ "DODIRS=$(CLEANDIRS)" subdir_do
322 rm -f nm.h tm.h xm.h config.status config.h stamp-h config.log
323 rm -f Makefile
324
325 config.h: stamp-h ; @true
326 stamp-h: config.in config.status
327 CONFIG_FILES="" CONFIG_HEADERS=config.h:config.in $(SHELL) ./config.status
328
329 subdir_do: force
330 @for i in $(DODIRS); do \
331 case $$i in \
332 $(REQUIRED_SUBDIRS)) \
333 if [ ! -f ./$$i/Makefile ] ; then \
334 echo "Missing $$i/Makefile" >&2 ; \
335 exit 1 ; \
336 fi ;; \
337 esac ; \
338 if [ -f ./$$i/Makefile ] ; then \
339 if (cd ./$$i; \
340 $(MAKE) $(FLAGS_TO_PASS) $(DO)) ; then true ; \
341 else exit 1 ; fi ; \
342 else true ; fi ; \
343 done
344
345 Makefile: Makefile.in config.status
346 CONFIG_HEADERS="" $(SHELL) ./config.status
347
348 config.status: configure configure.srv
349 $(SHELL) ./config.status --recheck
350
351 force:
352
353 version.c: Makefile $(srcdir)/../version.in
354 rm -f version.c-tmp version.c
355 echo '#include "server.h"' >> version.c-tmp
356 echo 'const char version[] = "'"`sed q ${srcdir}/../version.in`"'";' >> version.c-tmp
357 echo 'const char host_name[] = "$(host_alias)";' >> version.c-tmp
358 mv version.c-tmp version.c
359 version.o: version.c $(server_h)
360
361 xml-builtin.c: stamp-xml; @true
362 stamp-xml: $(XML_DIR)/feature_to_c.sh Makefile $(XML_FILES)
363 rm -f xml-builtin.tmp
364 $(SHELL) $(XML_DIR)/feature_to_c.sh xml-builtin.tmp $(XML_FILES)
365 $(SHELL) $(srcdir)/../../move-if-change xml-builtin.tmp xml-builtin.c
366 echo stamp > stamp-xml
367
368 .PRECIOUS: xml-builtin.c
369
370 # GNU Make has an annoying habit of putting *all* the Makefile variables
371 # into the environment, unless you include this target as a circumvention.
372 # Rumor is that this will be fixed (and this target can be removed)
373 # in GNU Make 4.0.
374 .NOEXPORT:
375
376 # GNU Make 3.63 has a different problem: it keeps tacking command line
377 # overrides onto the definition of $(MAKE). This variable setting
378 # will remove them.
379 MAKEOVERRIDES=
380
381 gdb_proc_service_h = $(srcdir)/gdb_proc_service.h
382 regdat_sh = $(srcdir)/../regformats/regdat.sh
383 regdef_h = $(srcdir)/../regformats/regdef.h
384 regcache_h = $(srcdir)/regcache.h
385 signals_def = $(srcdir)/../../include/gdb/signals.def
386 signals_h = $(srcdir)/../../include/gdb/signals.h $(signals_def)
387 server_h = $(srcdir)/server.h $(regcache_h) config.h $(srcdir)/target.h \
388 $(srcdir)/mem-break.h $(srcdir)/../common/gdb_signals.h \
389 $(signals_h)
390
391 linux_low_h = $(srcdir)/linux-low.h
392
393 lynx_low_h = $(srcdir)/lynx-low.h $(srcdir)/server.h
394
395 nto_low_h = $(srcdir)/nto-low.h
396
397 UST_CFLAGS = $(ustinc) -DCONFIG_UST_GDB_INTEGRATION
398
399 # Note, we only build the IPA if -fvisibility=hidden is supported in
400 # the first place.
401 IPAGENT_CFLAGS = $(CPPFLAGS) $(INTERNAL_CFLAGS) $(UST_CFLAGS) \
402 -fPIC -DGDBSERVER -DIN_PROCESS_AGENT \
403 -fvisibility=hidden
404
405 # In-process agent object rules
406 tracepoint-ipa.o: tracepoint.c $(server_h) $(srcdir)/../common/ax.def
407 $(CC) -c $(IPAGENT_CFLAGS) $< -o tracepoint-ipa.o
408 utils-ipa.o: utils.c $(server_h)
409 $(CC) -c $(IPAGENT_CFLAGS) $< -o utils-ipa.o
410 remote-utils-ipa.o: remote-utils.c $(server_h)
411 $(CC) -c $(IPAGENT_CFLAGS) $< -o remote-utils-ipa.o
412 regcache-ipa.o: regcache.c $(server_h)
413 $(CC) -c $(IPAGENT_CFLAGS) $< -o regcache-ipa.o
414 i386-linux-ipa.o : i386-linux.c $(regdef_h)
415 $(CC) -c $(IPAGENT_CFLAGS) $< -o i386-linux-ipa.o
416 linux-i386-ipa.o: linux-i386-ipa.c $(server_h)
417 $(CC) -c $(IPAGENT_CFLAGS) $< -o linux-i386-ipa.o
418 linux-amd64-ipa.o: linux-amd64-ipa.c $(server_h)
419 $(CC) -c $(IPAGENT_CFLAGS) $< -o linux-amd64-ipa.o
420 amd64-linux-ipa.o : amd64-linux.c $(regdef_h)
421 $(CC) -c $(IPAGENT_CFLAGS) $< -o amd64-linux-ipa.o
422
423 event-loop.o: event-loop.c $(server_h)
424 hostio.o: hostio.c $(server_h)
425 hostio-errno.o: hostio-errno.c $(server_h)
426 inferiors.o: inferiors.c $(server_h)
427 mem-break.o: mem-break.c $(server_h)
428 proc-service.o: proc-service.c $(server_h) $(gdb_proc_service_h)
429 regcache.o: regcache.c $(server_h) $(regdef_h)
430 remote-utils.o: remote-utils.c terminal.h $(server_h)
431 server.o: server.c $(server_h)
432 target.o: target.c $(server_h)
433 thread-db.o: thread-db.c $(server_h) $(linux_low_h) $(gdb_proc_service_h)
434 tracepoint.o: tracepoint.c $(server_h) $(srcdir)/../common/ax.def
435 utils.o: utils.c $(server_h)
436 gdbreplay.o: gdbreplay.c config.h
437
438 # We build memmem.c without -Werror because this file is not under
439 # our control. On LynxOS, the compiler generates some warnings
440 # because str-two-way.h uses a constant (MAX_SIZE) whose definition
441 # makes it ambiguous whether it is signed or unsigned ("warning: this
442 # decimal constant is unsigned only in ISO C90").
443 memmem.o: ../gnulib/memmem.c
444 $(CC) -o memmem.o -c $(CPPFLAGS) $(INTERNAL_WARN_CFLAGS) $<
445
446 # We build vasprintf with -DHAVE_CONFIG_H because we want that unit to
447 # include our config.h file. Otherwise, some system headers do not get
448 # included, and the compiler emits a warning about implicitly defined
449 # functions (missing declaration).
450 vasprintf.o: $(srcdir)/../../libiberty/vasprintf.c
451 $(CC) -o vasprintf.o -c $(CPPFLAGS) $(INTERNAL_CFLAGS) -DHAVE_CONFIG_H $<
452 vsnprintf.o: $(srcdir)/../../libiberty/vsnprintf.c
453 $(CC) -o vsnprintf.o -c $(CPPFLAGS) $(INTERNAL_CFLAGS) $<
454
455 i386_low_h = $(srcdir)/i386-low.h
456
457 i386-low.o: i386-low.c $(i386_low_h) $(server_h) $(target_h)
458
459 i387-fp.o: i387-fp.c $(server_h)
460
461 linux-low.o: linux-low.c $(linux_low_h) $(server_h)
462 $(CC) -c $(CPPFLAGS) $(INTERNAL_CFLAGS) $< @USE_THREAD_DB@
463
464 linux-arm-low.o: linux-arm-low.c $(linux_low_h) $(server_h) \
465 $(gdb_proc_service_h)
466 linux-bfin-low.o: linux-bfin-low.c $(linux_low_h) $(server_h)
467 linux-cris-low.o: linux-cris-low.c $(linux_low_h) $(server_h)
468 linux-crisv32-low.o: linux-crisv32-low.c $(linux_low_h) $(server_h)
469 linux-ia64-low.o: linux-ia64-low.c $(linux_low_h) $(server_h)
470 linux-m32r-low.o: linux-m32r-low.c $(linux_low_h) $(server_h)
471 linux-mips-low.o: linux-mips-low.c $(linux_low_h) $(server_h) \
472 $(gdb_proc_service_h)
473 linux-ppc-low.o: linux-ppc-low.c $(linux_low_h) $(server_h)
474 linux-s390-low.o: linux-s390-low.c $(linux_low_h) $(server_h)
475 linux-sh-low.o: linux-sh-low.c $(linux_low_h) $(server_h)
476 linux-x86-low.o: linux-x86-low.c $(linux_low_h) $(server_h) \
477 $(gdb_proc_service_h) $(i386_low_h)
478 linux-xtensa-low.o: linux-xtensa-low.c xtensa-xtregs.c $(linux_low_h) $(server_h)
479
480 lynx-low.o: lynx-low.c $(server_h) $(target_h) $(lynx_low_h)
481 lynx-ppc-low.o: lynx-ppc-low.c $(server_h) $(lynx_low_h)
482 nto-low.o: nto-low.c $(server_h) $(nto_low_h)
483 nto-x86-low.o: nto-x86-low.c $(server_h) $(nto_low_h) $(regdef_h) $(regcache_h)
484
485 win32_low_h = $(srcdir)/win32-low.h
486
487 win32-low.o: win32-low.c $(win32_low_h) $(server_h) $(regdef_h) $(regcache_h)
488
489 win32-arm-low.o: win32-arm-low.c $(win32_low_h) $(server_h)
490 win32-i386-low.o: win32-i386-low.c $(win32_low_h) $(server_h) $(i386_low_h)
491
492 spu-low.o: spu-low.c $(server_h)
493
494 reg-arm.o : reg-arm.c $(regdef_h)
495 reg-arm.c : $(srcdir)/../regformats/reg-arm.dat $(regdat_sh)
496 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/reg-arm.dat reg-arm.c
497 arm-with-iwmmxt.o : arm-with-iwmmxt.c $(regdef_h)
498 arm-with-iwmmxt.c : $(srcdir)/../regformats/arm-with-iwmmxt.dat $(regdat_sh)
499 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/arm-with-iwmmxt.dat arm-with-iwmmxt.c
500 arm-with-vfpv2.o : arm-with-vfpv2.c $(regdef_h)
501 arm-with-vfpv2.c : $(srcdir)/../regformats/arm-with-vfpv2.dat $(regdat_sh)
502 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/arm-with-vfpv2.dat arm-with-vfpv2.c
503 arm-with-vfpv3.o : arm-with-vfpv3.c $(regdef_h)
504 arm-with-vfpv3.c : $(srcdir)/../regformats/arm-with-vfpv3.dat $(regdat_sh)
505 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/arm-with-vfpv3.dat arm-with-vfpv3.c
506 arm-with-neon.o : arm-with-neon.c $(regdef_h)
507 arm-with-neon.c : $(srcdir)/../regformats/arm-with-neon.dat $(regdat_sh)
508 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/arm-with-neon.dat arm-with-neon.c
509 reg-bfin.o : reg-bfin.c $(regdef_h)
510 reg-bfin.c : $(srcdir)/../regformats/reg-bfin.dat $(regdat_sh)
511 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/reg-bfin.dat reg-bfin.c
512 reg-cris.o : reg-cris.c $(regdef_h)
513 reg-cris.c : $(srcdir)/../regformats/reg-cris.dat $(regdat_sh)
514 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/reg-cris.dat reg-cris.c
515 reg-crisv32.o : reg-crisv32.c $(regdef_h)
516 reg-crisv32.c : $(srcdir)/../regformats/reg-crisv32.dat $(regdat_sh)
517 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/reg-crisv32.dat reg-crisv32.c
518 i386.o : i386.c $(regdef_h)
519 i386.c : $(srcdir)/../regformats/i386/i386.dat $(regdat_sh)
520 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/i386/i386.dat i386.c
521 i386-linux.o : i386-linux.c $(regdef_h)
522 i386-linux.c : $(srcdir)/../regformats/i386/i386-linux.dat $(regdat_sh)
523 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/i386/i386-linux.dat i386-linux.c
524 i386-avx.o : i386-avx.c $(regdef_h)
525 i386-avx.c : $(srcdir)/../regformats/i386/i386-avx.dat $(regdat_sh)
526 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/i386/i386-avx.dat i386-avx.c
527 i386-avx-linux.o : i386-avx-linux.c $(regdef_h)
528 i386-avx-linux.c : $(srcdir)/../regformats/i386/i386-avx-linux.dat $(regdat_sh)
529 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/i386/i386-avx-linux.dat i386-avx-linux.c
530 i386-mmx.o : i386-mmx.c $(regdef_h)
531 i386-mmx.c : $(srcdir)/../regformats/i386/i386-mmx.dat $(regdat_sh)
532 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/i386/i386-mmx.dat i386-mmx.c
533 i386-mmx-linux.o : i386-mmx-linux.c $(regdef_h)
534 i386-mmx-linux.c : $(srcdir)/../regformats/i386/i386-mmx-linux.dat $(regdat_sh)
535 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/i386/i386-mmx-linux.dat i386-mmx-linux.c
536 reg-ia64.o : reg-ia64.c $(regdef_h)
537 reg-ia64.c : $(srcdir)/../regformats/reg-ia64.dat $(regdat_sh)
538 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/reg-ia64.dat reg-ia64.c
539 reg-m32r.o : reg-m32r.c $(regdef_h)
540 reg-m32r.c : $(srcdir)/../regformats/reg-m32r.dat $(regdat_sh)
541 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/reg-m32r.dat reg-m32r.c
542 reg-m68k.o : reg-m68k.c $(regdef_h)
543 reg-m68k.c : $(srcdir)/../regformats/reg-m68k.dat $(regdat_sh)
544 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/reg-m68k.dat reg-m68k.c
545 reg-cf.o : reg-cf.c $(regdef_h)
546 reg-cf.c : $(srcdir)/../regformats/reg-cf.dat $(regdat_sh)
547 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/reg-cf.dat reg-cf.c
548 mips-linux.o : mips-linux.c $(regdef_h)
549 mips-linux.c : $(srcdir)/../regformats/mips-linux.dat $(regdat_sh)
550 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/mips-linux.dat mips-linux.c
551 mips64-linux.o : mips64-linux.c $(regdef_h)
552 mips64-linux.c : $(srcdir)/../regformats/mips64-linux.dat $(regdat_sh)
553 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/mips64-linux.dat mips64-linux.c
554 powerpc-32.o : powerpc-32.c $(regdef_h)
555 powerpc-32.c : $(srcdir)/../regformats/rs6000/powerpc-32.dat $(regdat_sh)
556 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/rs6000/powerpc-32.dat powerpc-32.c
557 powerpc-32l.o : powerpc-32l.c $(regdef_h)
558 powerpc-32l.c : $(srcdir)/../regformats/rs6000/powerpc-32l.dat $(regdat_sh)
559 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/rs6000/powerpc-32l.dat powerpc-32l.c
560 powerpc-altivec32l.o : powerpc-altivec32l.c $(regdef_h)
561 powerpc-altivec32l.c : $(srcdir)/../regformats/rs6000/powerpc-altivec32l.dat $(regdat_sh)
562 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/rs6000/powerpc-altivec32l.dat powerpc-altivec32l.c
563 powerpc-cell32l.o : powerpc-cell32l.c $(regdef_h)
564 powerpc-cell32l.c : $(srcdir)/../regformats/rs6000/powerpc-cell32l.dat $(regdat_sh)
565 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/rs6000/powerpc-cell32l.dat powerpc-cell32l.c
566 powerpc-vsx32l.o : powerpc-vsx32l.c $(regdef_h)
567 powerpc-vsx32l.c : $(srcdir)/../regformats/rs6000/powerpc-vsx32l.dat $(regdat_sh)
568 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/rs6000/powerpc-vsx32l.dat powerpc-vsx32l.c
569 powerpc-isa205-32l.o : powerpc-isa205-32l.c $(regdef_h)
570 powerpc-isa205-32l.c : $(srcdir)/../regformats/rs6000/powerpc-isa205-32l.dat $(regdat_sh)
571 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/rs6000/powerpc-isa205-32l.dat powerpc-isa205-32l.c
572 powerpc-isa205-altivec32l.o : powerpc-isa205-altivec32l.c $(regdef_h)
573 powerpc-isa205-altivec32l.c : $(srcdir)/../regformats/rs6000/powerpc-isa205-altivec32l.dat $(regdat_sh)
574 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/rs6000/powerpc-isa205-altivec32l.dat powerpc-isa205-altivec32l.c
575 powerpc-isa205-vsx32l.o : powerpc-isa205-vsx32l.c $(regdef_h)
576 powerpc-isa205-vsx32l.c : $(srcdir)/../regformats/rs6000/powerpc-isa205-vsx32l.dat $(regdat_sh)
577 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/rs6000/powerpc-isa205-vsx32l.dat powerpc-isa205-vsx32l.c
578 powerpc-e500l.o : powerpc-e500l.c $(regdef_h)
579 powerpc-e500l.c : $(srcdir)/../regformats/rs6000/powerpc-e500l.dat $(regdat_sh)
580 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/rs6000/powerpc-e500l.dat powerpc-e500l.c
581 powerpc-64l.o : powerpc-64l.c $(regdef_h)
582 powerpc-64l.c : $(srcdir)/../regformats/rs6000/powerpc-64l.dat $(regdat_sh)
583 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/rs6000/powerpc-64l.dat powerpc-64l.c
584 powerpc-altivec64l.o : powerpc-altivec64l.c $(regdef_h)
585 powerpc-altivec64l.c : $(srcdir)/../regformats/rs6000/powerpc-altivec64l.dat $(regdat_sh)
586 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/rs6000/powerpc-altivec64l.dat powerpc-altivec64l.c
587 powerpc-cell64l.o : powerpc-cell64l.c $(regdef_h)
588 powerpc-cell64l.c : $(srcdir)/../regformats/rs6000/powerpc-cell64l.dat $(regdat_sh)
589 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/rs6000/powerpc-cell64l.dat powerpc-cell64l.c
590 powerpc-vsx64l.o : powerpc-vsx64l.c $(regdef_h)
591 powerpc-vsx64l.c : $(srcdir)/../regformats/rs6000/powerpc-vsx64l.dat $(regdat_sh)
592 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/rs6000/powerpc-vsx64l.dat powerpc-vsx64l.c
593 powerpc-isa205-64l.o : powerpc-isa205-64l.c $(regdef_h)
594 powerpc-isa205-64l.c : $(srcdir)/../regformats/rs6000/powerpc-isa205-64l.dat $(regdat_sh)
595 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/rs6000/powerpc-isa205-64l.dat powerpc-isa205-64l.c
596 powerpc-isa205-altivec64l.o : powerpc-isa205-altivec64l.c $(regdef_h)
597 powerpc-isa205-altivec64l.c : $(srcdir)/../regformats/rs6000/powerpc-isa205-altivec64l.dat $(regdat_sh)
598 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/rs6000/powerpc-isa205-altivec64l.dat powerpc-isa205-altivec64l.c
599 powerpc-isa205-vsx64l.o : powerpc-isa205-vsx64l.c $(regdef_h)
600 powerpc-isa205-vsx64l.c : $(srcdir)/../regformats/rs6000/powerpc-isa205-vsx64l.dat $(regdat_sh)
601 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/rs6000/powerpc-isa205-vsx64l.dat powerpc-isa205-vsx64l.c
602 s390-linux32.o : s390-linux32.c $(regdef_h)
603 s390-linux32.c : $(srcdir)/../regformats/s390-linux32.dat $(regdat_sh)
604 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/s390-linux32.dat s390-linux32.c
605 s390-linux64.o : s390-linux64.c $(regdef_h)
606 s390-linux64.c : $(srcdir)/../regformats/s390-linux64.dat $(regdat_sh)
607 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/s390-linux64.dat s390-linux64.c
608 s390x-linux64.o : s390x-linux64.c $(regdef_h)
609 s390x-linux64.c : $(srcdir)/../regformats/s390x-linux64.dat $(regdat_sh)
610 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/s390x-linux64.dat s390x-linux64.c
611 reg-sh.o : reg-sh.c $(regdef_h)
612 reg-sh.c : $(srcdir)/../regformats/reg-sh.dat $(regdat_sh)
613 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/reg-sh.dat reg-sh.c
614 reg-sparc64.o : reg-sparc64.c $(regdef_h)
615 reg-sparc64.c : $(srcdir)/../regformats/reg-sparc64.dat $(regdat_sh)
616 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/reg-sparc64.dat reg-sparc64.c
617 reg-spu.o : reg-spu.c $(regdef_h)
618 reg-spu.c : $(srcdir)/../regformats/reg-spu.dat $(regdat_sh)
619 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/reg-spu.dat reg-spu.c
620 amd64.o : amd64.c $(regdef_h)
621 amd64.c : $(srcdir)/../regformats/i386/amd64.dat $(regdat_sh)
622 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/i386/amd64.dat amd64.c
623 amd64-linux.o : amd64-linux.c $(regdef_h)
624 amd64-linux.c : $(srcdir)/../regformats/i386/amd64-linux.dat $(regdat_sh)
625 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/i386/amd64-linux.dat amd64-linux.c
626 amd64-avx.o : amd64-avx.c $(regdef_h)
627 amd64-avx.c : $(srcdir)/../regformats/i386/amd64-avx.dat $(regdat_sh)
628 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/i386/amd64-avx.dat amd64-avx.c
629 amd64-avx-linux.o : amd64-avx-linux.c $(regdef_h)
630 amd64-avx-linux.c : $(srcdir)/../regformats/i386/amd64-avx-linux.dat $(regdat_sh)
631 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/i386/amd64-avx-linux.dat amd64-avx-linux.c
632 reg-xtensa.o : reg-xtensa.c $(regdef_h)
633 reg-xtensa.c : $(srcdir)/../regformats/reg-xtensa.dat $(regdat_sh)
634 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/reg-xtensa.dat reg-xtensa.c
635 # This is the end of "Makefile.in".