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