ARI fixes: Avoid sprintf function use rule.
[deliverable/binutils-gdb.git] / gdb / gdbserver / Makefile.in
CommitLineData
0b302171 1# Copyright (C) 1989-2012 Free Software Foundation, Inc.
c906108c
SS
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
32de4b9d 7# the Free Software Foundation; either version 3 of the License, or
c906108c 8# (at your option) any later version.
1b3f6016 9#
c906108c
SS
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.
1b3f6016 14#
c906108c 15# You should have received a copy of the GNU General Public License
32de4b9d 16# along with this program. If not, see <http://www.gnu.org/licenses/>.
c906108c 17
d6e9fb05
JK
18prefix = @prefix@
19exec_prefix = @exec_prefix@
c906108c 20
d6e9fb05
JK
21host_alias = @host_alias@
22target_alias = @target_alias@
23program_transform_name = @program_transform_name@
24bindir = @bindir@
25libdir = @libdir@
c906108c
SS
26tooldir = $(libdir)/$(target_alias)
27
96e946ca 28datarootdir = @datarootdir@
d6e9fb05
JK
29datadir = @datadir@
30mandir = @mandir@
c906108c
SS
31man1dir = $(mandir)/man1
32man2dir = $(mandir)/man2
33man3dir = $(mandir)/man3
34man4dir = $(mandir)/man4
35man5dir = $(mandir)/man5
36man6dir = $(mandir)/man6
37man7dir = $(mandir)/man7
38man8dir = $(mandir)/man8
39man9dir = $(mandir)/man9
d6e9fb05 40infodir = @infodir@
085dd6e6 41htmldir = $(prefix)/html
d6e9fb05 42includedir = @includedir@
c906108c
SS
43
44SHELL = /bin/sh
de7c3b4a 45EXEEXT = @EXEEXT@
c906108c 46
d6e9fb05
JK
47INSTALL = @INSTALL@
48INSTALL_PROGRAM = @INSTALL_PROGRAM@
49INSTALL_DATA = @INSTALL_DATA@
c9a1864a 50RANLIB = @RANLIB@
c906108c 51
84563040 52CC = @CC@
c906108c
SS
53
54# Directory containing source files. Don't clean up the spacing,
55# this exact string is matched for by the "configure" script.
d6e9fb05 56srcdir = @srcdir@
c9a1864a
YQ
57abs_top_srcdir=@abs_top_srcdir@
58abs_srcdir=@abs_srcdir@
d6e9fb05 59VPATH = @srcdir@
c906108c
SS
60
61# It is also possible that you will need to add -I/usr/include/sys to the
1b3f6016 62# CFLAGS section if your system doesn't have fcntl.h in /usr/include (which
c906108c
SS
63# is where it should be according to Posix).
64
65# Set this up with gcc if you have gnu ld and the loader will print out
66# line numbers for undefinded refs.
67#CC-LD=gcc -static
68CC-LD=${CC}
69
70# Where is the "include" directory? Traditionally ../include or ./include
71INCLUDE_DIR = ${srcdir}/../../include
72INCLUDE_DEP = $$(INCLUDE_DIR)
73
0fb4aa4b
PA
74# Where is ust? These will be empty if ust was not available.
75ustlibs = @ustlibs@
76ustinc = @ustinc@
77
c9a1864a 78# gnulib
c971b7fa
PA
79GNULIB_BUILDDIR = build-gnulib-gdbserver
80LIBGNU = $(GNULIB_BUILDDIR)/import/libgnu.a
81INCGNU = -I$(srcdir)/../gnulib/import -I$(GNULIB_BUILDDIR)/import
ecedbe58 82
c9a1864a
YQ
83# Generated headers in the gnulib directory. These must be listed
84# so that they are generated before other files are compiled.
c971b7fa 85GNULIB_H = $(GNULIB_BUILDDIR)/import/string.h @GNULIB_STDINT_H@
c9a1864a 86
c906108c
SS
87# All the includes used for CFLAGS and for lint.
88# -I. for config files.
7ea81414
DJ
89# -I${srcdir} for our headers.
90# -I$(srcdir)/../regformats for regdef.h.
2aecd87f 91INCLUDE_CFLAGS = -I. -I${srcdir} -I$(srcdir)/../common \
c9a1864a 92 -I$(srcdir)/../regformats -I$(INCLUDE_DIR) \
57c4b50b 93 $(INCGNU)
c906108c
SS
94
95# M{H,T}_CFLAGS, if defined, has host- and target-dependent CFLAGS
96# from the config/ directory.
97GLOBAL_CFLAGS = ${MT_CFLAGS} ${MH_CFLAGS}
98#PROFILE_CFLAGS = -pg
99
d4596a3d
PA
100WARN_CFLAGS = @WARN_CFLAGS@
101WERROR_CFLAGS = @WERROR_CFLAGS@
0729219d 102
d3ce09f5
SS
103WARN_CFLAGS_NO_FORMAT = `echo " $(WARN_CFLAGS) " \
104 | sed "s/ -Wformat-nonliteral / -Wno-format-nonliteral /g"`
105
c906108c
SS
106# CFLAGS is specifically reserved for setting from the command line
107# when running make. I.E. "make CFLAGS=-Wmissing-prototypes".
84563040
DJ
108CFLAGS = @CFLAGS@
109
c906108c 110# INTERNAL_CFLAGS is the aggregate of all other *CFLAGS macros.
eff1410f 111INTERNAL_CFLAGS_BASE = ${CFLAGS} ${GLOBAL_CFLAGS} \
66b6e1dd 112 ${PROFILE_CFLAGS} ${INCLUDE_CFLAGS}
eff1410f 113INTERNAL_WARN_CFLAGS = ${INTERNAL_CFLAGS_BASE} $(WARN_CFLAGS)
114INTERNAL_CFLAGS = ${INTERNAL_WARN_CFLAGS} $(WERROR_CFLAGS)
c906108c
SS
115
116# LDFLAGS is specifically reserved for setting from the command line
117# when running make.
697f7479 118LDFLAGS = @LDFLAGS@
f6de3c42 119INTERNAL_LDFLAGS = $(LDFLAGS) @RDYNAMIC@
c906108c 120
c906108c
SS
121# All source files that go into linking GDB remote server.
122
bf4c19f7 123SFILES= $(srcdir)/gdbreplay.c $(srcdir)/inferiors.c $(srcdir)/dll.c \
f6528abd
JK
124 $(srcdir)/mem-break.c $(srcdir)/proc-service.c \
125 $(srcdir)/proc-service.list $(srcdir)/regcache.c \
73d37363
DJ
126 $(srcdir)/remote-utils.c $(srcdir)/server.c $(srcdir)/target.c \
127 $(srcdir)/thread-db.c $(srcdir)/utils.c \
eb826dc6
MF
128 $(srcdir)/linux-arm-low.c $(srcdir)/linux-bfin-low.c \
129 $(srcdir)/linux-cris-low.c $(srcdir)/linux-crisv32-low.c \
aa5ca48f 130 ${srcdir}/i386-low.c $(srcdir)/i387-fp.c \
73d37363 131 $(srcdir)/linux-ia64-low.c $(srcdir)/linux-low.c \
7cfbc4a0 132 $(srcdir)/linux-m32r-low.c \
73d37363 133 $(srcdir)/linux-m68k-low.c $(srcdir)/linux-mips-low.c \
5b0a002e 134 $(srcdir)/linux-ppc-low.c \
eee84df1 135 $(srcdir)/linux-s390-low.c \
dfb64f85 136 $(srcdir)/linux-sh-low.c $(srcdir)/linux-sparc-low.c \
d0722149 137 $(srcdir)/linux-x86-low.c \
1525d545 138 $(srcdir)/linux-xtensa-low.c \
65f479b6 139 $(srcdir)/linux-tile-low.c \
68070c10 140 $(srcdir)/win32-arm-low.c $(srcdir)/win32-i386-low.c \
59a016f0 141 $(srcdir)/win32-low.c $(srcdir)/wincecompat.c \
d26e3629 142 $(srcdir)/hostio.c $(srcdir)/hostio-errno.c \
e6712ff1 143 $(srcdir)/common/vec.c $(srcdir)/common/gdb_vecs.c \
d26e3629
KY
144 $(srcdir)/common/common-utils.c $(srcdir)/common/xml-utils.c \
145 $(srcdir)/common/linux-osdata.c $(srcdir)/common/ptid.c \
146 $(srcdir)/common/buffer.c
c906108c 147
7ea81414 148DEPFILES = @GDBSERVER_DEPFILES@
c906108c 149
e28b3332
DJ
150LIBOBJS = @LIBOBJS@
151
7ea81414 152SOURCES = $(SFILES)
1b3f6016 153TAGFILES = $(SOURCES) ${HFILES} ${ALLPARAM} ${POSSLIBS}
c906108c 154
2fa291ac 155OBS = agent.o ax.o inferiors.o regcache.o remote-utils.o server.o signals.o target.o \
e6712ff1 156 utils.o version.o vec.o gdb_vecs.o \
219f2f23 157 mem-break.o hostio.o event-loop.o tracepoint.o \
d3ce09f5 158 xml-utils.o common-utils.o ptid.o buffer.o format.o \
bf4c19f7 159 dll.o \
fb1e4ffc 160 $(XML_BUILTIN) \
e28b3332 161 $(DEPFILES) $(LIBOBJS)
a417dc56 162GDBREPLAY_OBS = gdbreplay.o version.o
0d62e5e8 163GDBSERVER_LIBS = @GDBSERVER_LIBS@
b80864fb 164XM_CLIBS = @LIBS@
f6528abd 165CDEPS = $(srcdir)/proc-service.list
c906108c 166
fb1e4ffc
DJ
167# XML files to compile in to gdbserver, if any.
168XML_DIR = $(srcdir)/../features
fb1e4ffc
DJ
169XML_FILES = @srv_xmlfiles@
170XML_BUILTIN = @srv_xmlbuiltin@
171
fa593d66
PA
172IPA_DEPFILES = @IPA_DEPFILES@
173extra_libraries = @extra_libraries@
174
c971b7fa
PA
175SUBDIRS = $(GNULIB_BUILDDIR)
176CLEANDIRS = $(SUBDIRS)
177
178# List of subdirectories in the build tree that must exist.
179# This is used to force build failures in existing trees when
180# a new directory is added.
181# The format here is for the `case' shell command.
182REQUIRED_SUBDIRS = $(GNULIB_BUILDDIR)
183
f474844c
JZ
184FLAGS_TO_PASS = \
185 "prefix=$(prefix)" \
186 "exec_prefix=$(exec_prefix)" \
187 "infodir=$(infodir)" \
188 "datarootdir=$(datarootdir)" \
189 "docdir=$(docdir)" \
190 "htmldir=$(htmldir)" \
191 "pdfdir=$(pdfdir)" \
192 "libdir=$(libdir)" \
193 "mandir=$(mandir)" \
194 "datadir=$(datadir)" \
195 "includedir=$(includedir)" \
196 "against=$(against)" \
197 "DESTDIR=$(DESTDIR)" \
198 "AR=$(AR)" \
199 "AR_FLAGS=$(AR_FLAGS)" \
200 "CC=$(CC)" \
201 "CFLAGS=$(CFLAGS)" \
202 "CXX=$(CXX)" \
203 "CXXFLAGS=$(CXXFLAGS)" \
204 "DLLTOOL=$(DLLTOOL)" \
205 "LDFLAGS=$(LDFLAGS)" \
206 "RANLIB=$(RANLIB)" \
207 "MAKEINFO=$(MAKEINFO)" \
208 "MAKEHTML=$(MAKEHTML)" \
209 "MAKEHTMLFLAGS=$(MAKEHTMLFLAGS)" \
210 "INSTALL=$(INSTALL)" \
211 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
212 "INSTALL_DATA=$(INSTALL_DATA)" \
213 "RUNTEST=$(RUNTEST)" \
214 "RUNTESTFLAGS=$(RUNTESTFLAGS)"
215
fd9bb8b8
PA
216# All generated files which can be included by another file.
217generated_files = config.h $(GNULIB_H)
218
c906108c
SS
219# Prevent Sun make from putting in the machine type. Setting
220# TARGET_ARCH to nothing works for SunOS 3, 4.0, but not for 4.1.
221.c.o:
222 ${CC} -c ${INTERNAL_CFLAGS} $<
223
fa593d66 224all: gdbserver$(EXEEXT) gdbreplay$(EXEEXT) $(extra_libraries)
c971b7fa 225 @$(MAKE) $(FLAGS_TO_PASS) DO=$@ "DODIRS=$(SUBDIRS)" subdir_do
c906108c
SS
226
227# Traditionally "install" depends on "all". But it may be useful
1b3f6016 228# not to; for example, if the user has made some trivial change to a
c906108c
SS
229# source file and doesn't care about rebuilding or just wants to save the
230# time it takes for make to check that all is up to date.
231# install-only is intended to address that need.
f474844c
JZ
232install: all
233 @$(MAKE) $(FLAGS_TO_PASS) install-only
234
1b3f6016 235install-only:
c906108c
SS
236 n=`echo gdbserver | sed '$(program_transform_name)'`; \
237 if [ x$$n = x ]; then n=gdbserver; else true; fi; \
12ac6819 238 if [ x"$(IPA_DEPFILES)" != x ]; then \
fa593d66
PA
239 $(SHELL) $(srcdir)/../../mkinstalldirs $(DESTDIR)$(libdir); \
240 $(INSTALL_PROGRAM) $(IPA_LIB) $(DESTDIR)$(libdir)/$(IPA_LIB); \
241 fi; \
c938e9b0 242 $(SHELL) $(srcdir)/../../mkinstalldirs $(DESTDIR)$(bindir); \
68070c10 243 $(INSTALL_PROGRAM) gdbserver$(EXEEXT) $(DESTDIR)$(bindir)/$$n$(EXEEXT); \
c938e9b0
L
244 $(SHELL) $(srcdir)/../../mkinstalldirs $(DESTDIR)$(man1dir); \
245 $(INSTALL_DATA) $(srcdir)/gdbserver.1 $(DESTDIR)$(man1dir)/$$n.1
c971b7fa 246 @$(MAKE) $(FLAGS_TO_PASS) DO=$@ "DODIRS=$(SUBDIRS)" subdir_do
c906108c
SS
247
248uninstall: force
249 n=`echo gdbserver | sed '$(program_transform_name)'`; \
250 if [ x$$n = x ]; then n=gdbserver; else true; fi; \
f1048712 251 rm -f $(DESTDIR)/$(bindir)/$$n$(EXEEXT) $(DESTDIR)$(man1dir)/$$n.1
c971b7fa 252 @$(MAKE) $(FLAGS_TO_PASS) DO=$@ "DODIRS=$(SUBDIRS)" subdir_do
c906108c
SS
253
254installcheck:
255check:
9453113a 256info dvi pdf:
c906108c 257install-info:
9453113a 258install-pdf:
085dd6e6
JM
259html:
260install-html:
c9a1864a 261clean-info: force
c971b7fa 262 @$(MAKE) $(FLAGS_TO_PASS) DO=$@ "DODIRS=$(SUBDIRS)" subdir_do
c906108c 263
57c4b50b 264gdbserver$(EXEEXT): $(OBS) ${ADD_DEPS} ${CDEPS} $(LIBGNU)
68070c10
PA
265 rm -f gdbserver$(EXEEXT)
266 ${CC-LD} $(INTERNAL_CFLAGS) $(INTERNAL_LDFLAGS) -o gdbserver$(EXEEXT) $(OBS) \
57c4b50b 267 $(LIBGNU) $(GDBSERVER_LIBS) $(XM_CLIBS)
c9a1864a 268
57c4b50b 269$(LIBGNU) $(GNULIB_H): all-lib
c971b7fa
PA
270all-lib: $(GNULIB_BUILDDIR)/Makefile
271 @$(MAKE) $(FLAGS_TO_PASS) DO=all DODIRS=$(GNULIB_BUILDDIR) subdir_do
c9a1864a 272.PHONY: all-lib
c906108c 273
a417dc56 274gdbreplay$(EXEEXT): $(GDBREPLAY_OBS)
68070c10 275 rm -f gdbreplay$(EXEEXT)
a417dc56 276 ${CC-LD} $(INTERNAL_CFLAGS) $(INTERNAL_LDFLAGS) -o gdbreplay$(EXEEXT) $(GDBREPLAY_OBS) \
c906108c
SS
277 $(XM_CLIBS)
278
d3ce09f5 279IPA_OBJS=ax-ipa.o tracepoint-ipa.o format-ipa.o utils-ipa.o regcache-ipa.o remote-utils-ipa.o common-utils-ipa.o ${IPA_DEPFILES}
fa593d66
PA
280
281IPA_LIB=libinproctrace.so
282
283$(IPA_LIB): $(IPA_OBJS) ${ADD_DEPS} ${CDEPS}
284 rm -f $(IPA_LIB)
285 ${CC-LD} -shared -fPIC -Wl,--no-undefined $(INTERNAL_CFLAGS) \
0fb4aa4b 286 $(INTERNAL_LDFLAGS) -o $(IPA_LIB) ${IPA_OBJS} -ldl -pthread
fa593d66 287
c906108c
SS
288# Put the proper machine-specific files first, so M-. on a machine
289# specific routine gets the one for the correct machine.
290# The xyzzy stuff below deals with empty DEPFILES
291TAGS: ${TAGFILES}
2c0fc042 292 etags `find ${srcdir}/../config -name $(DEPRECATED_TM_FILE) -print` \
c906108c
SS
293 `find ${srcdir}/../config -name ${XM_FILE} -print` \
294 `find ${srcdir}/../config -name ${NAT_FILE} -print` \
295 `for i in yzzy ${DEPFILES}; do \
296 if [ x$$i != xyzzy ]; then \
297 echo ${srcdir}/$$i | sed -e 's/\.o$$/\.c/' ; \
298 fi; \
299 done` \
300 ${TAGFILES}
301tags: TAGS
302
303clean:
304 rm -f *.o ${ADD_FILES} *~
dd24457d 305 rm -f version.c
de7c3b4a 306 rm -f gdbserver$(EXEEXT) gdbreplay$(EXEEXT) core make.log
fa593d66 307 rm -f $(IPA_LIB)
eb826dc6 308 rm -f reg-arm.c reg-bfin.c i386.c reg-ia64.c reg-m32r.c reg-m68k.c
90884b2b
L
309 rm -f reg-sh.c reg-sparc.c reg-spu.c amd64.c i386-linux.c
310 rm -f reg-cris.c reg-crisv32.c amd64-linux.c reg-xtensa.c
58d6951d
DJ
311 rm -f arm-with-iwmmxt.c
312 rm -f arm-with-vfpv2.c arm-with-vfpv3.c arm-with-neon.c
313 rm -f mips-linux.c mips64-linux.c
0482b03b 314 rm -f powerpc-32.c powerpc-32l.c powerpc-64l.c powerpc-e500l.c
f4d9bade
UW
315 rm -f powerpc-altivec32l.c powerpc-cell32l.c powerpc-vsx32l.c
316 rm -f powerpc-altivec64l.c powerpc-cell64l.c powerpc-vsx64l.c
2c4ad781
TJB
317 rm -f powerpc-isa205-32l.c powerpc-isa205-64l.c
318 rm -f powerpc-isa205-altivec32l.c powerpc-isa205-vsx32l.c powerpc-isa205-altivec64l.c
319 rm -f powerpc-isa205-vsx64l.c
7803799a 320 rm -f s390-linux32.c s390-linux64.c s390x-linux64.c
58dbd541 321 rm -f tic6x-c64xp-linux.c tic6x-c64x-linux.c tic6x-c62x-linux.c
2c4ad781 322 rm -f xml-builtin.c stamp-xml
1570b33e
L
323 rm -f i386-avx.c i386-avx-linux.c
324 rm -f amd64-avx.c amd64-avx-linux.c
3a13a53b 325 rm -f i386-mmx.c i386-mmx-linux.c
4d47af5c
L
326 rm -f x32.c x32-linux.c
327 rm -f x32-avx.c x32-avx-linux.c
c971b7fa 328 @$(MAKE) $(FLAGS_TO_PASS) DO=$@ "DODIRS=$(SUBDIRS)" subdir_do
c906108c 329
a59d1c82 330maintainer-clean realclean distclean: clean
c971b7fa
PA
331 @$(MAKE) $(FLAGS_TO_PASS) DO=$@ "DODIRS=$(SUBDIRS)" subdir_do
332 rm -rf $(GNULIB_BUILDDIR)
333 rm -f Makefile config.status config.h stamp-h config.log
334 rm -f Makefile
335
336subdir_do: force
337 @for i in $(DODIRS); do \
338 case $$i in \
339 $(REQUIRED_SUBDIRS)) \
340 if [ ! -f ./$$i/Makefile ] ; then \
341 echo "Missing $$i/Makefile" >&2 ; \
342 exit 1 ; \
343 fi ;; \
344 esac ; \
345 if [ -f ./$$i/Makefile ] ; then \
346 if (cd ./$$i; \
347 $(MAKE) $(FLAGS_TO_PASS) $(DO)) ; then true ; \
348 else exit 1 ; fi ; \
349 else true ; fi ; \
350 done
c906108c 351
c3a3ccc7
DJ
352config.h: stamp-h ; @true
353stamp-h: config.in config.status
e0e76420 354 CONFIG_FILES="" CONFIG_HEADERS=config.h:config.in $(SHELL) ./config.status
0729219d 355
7ea81414 356Makefile: Makefile.in config.status
0729219d 357 CONFIG_HEADERS="" $(SHELL) ./config.status
c906108c 358
c971b7fa
PA
359$(GNULIB_BUILDDIR)/Makefile: $(srcdir)/../gnulib/Makefile.in config.status
360 @cd $(GNULIB_BUILDDIR); CONFIG_FILES="Makefile" \
c9a1864a
YQ
361 CONFIG_COMMANDS="depfiles" \
362 CONFIG_HEADERS= \
363 CONFIG_LINKS= \
c971b7fa 364 $(SHELL) config.status
c9a1864a 365
93652174 366config.status: configure configure.srv
d6e9fb05
JK
367 $(SHELL) ./config.status --recheck
368
c9a1864a
YQ
369# automatic rebuilding in automake-generated Makefiles requires
370# this rule in the toplevel Makefile, which, with GNU make, causes
371# the desired updates through the implicit regeneration of the Makefile
372# and all of its prerequisites.
373am--refresh:
374 @:
375
c906108c
SS
376force:
377
dd24457d
DJ
378version.c: Makefile $(srcdir)/../version.in
379 rm -f version.c-tmp version.c
380 echo '#include "server.h"' >> version.c-tmp
381 echo 'const char version[] = "'"`sed q ${srcdir}/../version.in`"'";' >> version.c-tmp
382 echo 'const char host_name[] = "$(host_alias)";' >> version.c-tmp
383 mv version.c-tmp version.c
384version.o: version.c $(server_h)
c906108c 385
fb1e4ffc
DJ
386xml-builtin.c: stamp-xml; @true
387stamp-xml: $(XML_DIR)/feature_to_c.sh Makefile $(XML_FILES)
388 rm -f xml-builtin.tmp
389 $(SHELL) $(XML_DIR)/feature_to_c.sh xml-builtin.tmp $(XML_FILES)
390 $(SHELL) $(srcdir)/../../move-if-change xml-builtin.tmp xml-builtin.c
391 echo stamp > stamp-xml
392
9b4b61c8 393.PRECIOUS: xml-builtin.c
fb1e4ffc 394
c906108c
SS
395# GNU Make has an annoying habit of putting *all* the Makefile variables
396# into the environment, unless you include this target as a circumvention.
397# Rumor is that this will be fixed (and this target can be removed)
398# in GNU Make 4.0.
399.NOEXPORT:
400
401# GNU Make 3.63 has a different problem: it keeps tacking command line
402# overrides onto the definition of $(MAKE). This variable setting
403# will remove them.
404MAKEOVERRIDES=
405
0050a760 406gdb_proc_service_h = $(srcdir)/gdb_proc_service.h
0c74b2a7 407regdat_sh = $(srcdir)/../regformats/regdat.sh
0a30fbc4
DJ
408regdef_h = $(srcdir)/../regformats/regdef.h
409regcache_h = $(srcdir)/regcache.h
a19cae16 410signals_def = $(srcdir)/../../include/gdb/signals.def
310444ac 411signals_h = $(srcdir)/../../include/gdb/signals.h $(signals_def)
d26e3629 412ptid_h = $(srcdir)/../common/ptid.h
5e1dc496 413ax_h = $(srcdir)/ax.h
2fa291ac 414agent_h = $(srcdir)/../common/agent.h
d26e3629 415linux_osdata_h = $(srcdir)/../common/linux-osdata.h
aad9eab9 416vec_h = $(srcdir)/../common/vec.h
e6712ff1
DE
417gdb_vecs_h = $(srcdir)/../common/gdb_vecs.h
418host_defs_h = $(srcdir)/../common/host-defs.h
18c1b81a 419libiberty_h = $(srcdir)/../../include/libiberty.h
fd9bb8b8
PA
420# Since everything must include server.h, we make that depend on
421# generated files.
422server_h = $(srcdir)/server.h $(regcache_h) $(srcdir)/target.h \
a19cae16 423 $(srcdir)/mem-break.h $(srcdir)/../common/gdb_signals.h \
d26e3629
KY
424 $(srcdir)/../common/common-utils.h \
425 $(srcdir)/../common/xml-utils.h \
426 $(srcdir)/../common/buffer.h \
427 $(srcdir)/../common/gdb_assert.h \
428 $(srcdir)/../common/gdb_locale.h \
429 $(ptid_h) \
fd9bb8b8 430 $(signals_h) \
18c1b81a
YQ
431 $(libiberty_h) \
432 $(srcdir)/../../include/ansidecl.h \
fd9bb8b8 433 $(generated_files)
0a30fbc4 434
623b6bdf
YQ
435gdbthread_h = $(srcdir)/gdbthread.h $(target_h) $(srcdir)/server.h
436linux_low_h = $(srcdir)/linux-low.h $(gdbthread_h)
67cc2626 437
af96c192
YQ
438linux_ptrace_h = $(srcdir)/../common/linux-ptrace.h
439
6938fd34
YQ
440gdb_thread_db_h = $(srcdir)/../common/gdb_thread_db.h
441
e3deef73
LM
442linux_procfs_h = $(srcdir)/../common/linux-procfs.h
443
8ed54b31
JB
444lynx_low_h = $(srcdir)/lynx-low.h $(srcdir)/server.h
445
a8ae7dc0
AR
446nto_low_h = $(srcdir)/nto-low.h
447
0fb4aa4b
PA
448UST_CFLAGS = $(ustinc) -DCONFIG_UST_GDB_INTEGRATION
449
fa593d66
PA
450# Note, we only build the IPA if -fvisibility=hidden is supported in
451# the first place.
0fb4aa4b 452IPAGENT_CFLAGS = $(CPPFLAGS) $(INTERNAL_CFLAGS) $(UST_CFLAGS) \
fa593d66
PA
453 -fPIC -DGDBSERVER -DIN_PROCESS_AGENT \
454 -fvisibility=hidden
455
456# In-process agent object rules
5e1dc496 457ax-ipa.o: ax.c $(server_h) $(ax_h) $(srcdir)/../common/ax.def
d3ce09f5 458 $(CC) -c $(IPAGENT_CFLAGS) $(WARN_CFLAGS_NO_FORMAT) $< -o ax-ipa.o
5e1dc496 459tracepoint-ipa.o: tracepoint.c $(server_h) ${ax_h}
fa593d66
PA
460 $(CC) -c $(IPAGENT_CFLAGS) $< -o tracepoint-ipa.o
461utils-ipa.o: utils.c $(server_h)
462 $(CC) -c $(IPAGENT_CFLAGS) $< -o utils-ipa.o
d3ce09f5
SS
463format-ipa.o: ../common/format.c $(server_h) ${ax_h}
464 $(CC) -c $(IPAGENT_CFLAGS) $< -o format-ipa.o
d26e3629
KY
465common-utils-ipa.o: ../common/common-utils.c $(server_h)
466 $(CC) -c $(IPAGENT_CFLAGS) $< -o common-utils-ipa.o
fa593d66
PA
467remote-utils-ipa.o: remote-utils.c $(server_h)
468 $(CC) -c $(IPAGENT_CFLAGS) $< -o remote-utils-ipa.o
469regcache-ipa.o: regcache.c $(server_h)
470 $(CC) -c $(IPAGENT_CFLAGS) $< -o regcache-ipa.o
471i386-linux-ipa.o : i386-linux.c $(regdef_h)
472 $(CC) -c $(IPAGENT_CFLAGS) $< -o i386-linux-ipa.o
473linux-i386-ipa.o: linux-i386-ipa.c $(server_h)
474 $(CC) -c $(IPAGENT_CFLAGS) $< -o linux-i386-ipa.o
475linux-amd64-ipa.o: linux-amd64-ipa.c $(server_h)
476 $(CC) -c $(IPAGENT_CFLAGS) $< -o linux-amd64-ipa.o
477amd64-linux-ipa.o : amd64-linux.c $(regdef_h)
478 $(CC) -c $(IPAGENT_CFLAGS) $< -o amd64-linux-ipa.o
479
5e1dc496 480ax.o: ax.c $(server_h) $(ax_h) $(srcdir)/../common/ax.def
d3ce09f5 481 $(CC) -c $(CPPFLAGS) $(INTERNAL_CFLAGS) $(WARN_CFLAGS_NO_FORMAT) $<
bd99dc85 482event-loop.o: event-loop.c $(server_h)
a6b151f1 483hostio.o: hostio.c $(server_h)
59a016f0 484hostio-errno.o: hostio-errno.c $(server_h)
623b6bdf 485inferiors.o: inferiors.c $(server_h) $(gdbthread_h)
5e1dc496 486mem-break.o: mem-break.c $(server_h) $(ax_h)
0d62e5e8 487proc-service.o: proc-service.c $(server_h) $(gdb_proc_service_h)
623b6bdf
YQ
488regcache.o: regcache.c $(server_h) $(regdef_h) $(gdbthread_h)
489remote-utils.o: remote-utils.c terminal.h $(server_h) $(gdbthread_h)
490server.o: server.c $(server_h) $(agent_h) $(gdbthread_h)
491target.o: target.c $(server_h)
6938fd34 492thread-db.o: thread-db.c $(server_h) $(linux_low_h) $(gdb_proc_service_h) \
e6712ff1 493 $(gdb_thread_db_h) $(gdb_vecs_h)
623b6bdf 494tracepoint.o: tracepoint.c $(server_h) $(ax_h) $(agent_h) $(gdbthread_h)
0a30fbc4 495utils.o: utils.c $(server_h)
6e23a804 496gdbreplay.o: gdbreplay.c config.h
bf4c19f7 497dll.o: dll.c $(server_h)
0a30fbc4 498
e637a4f5
YQ
499signals.o: ../common/signals.c $(server_h) $(signals_def)
500 $(CC) -c $(CPPFLAGS) $(INTERNAL_CFLAGS) $< -DGDBSERVER
501
e3deef73
LM
502linux-procfs.o: ../common/linux-procfs.c $(server_h)
503 $(CC) -c $(CPPFLAGS) $(INTERNAL_CFLAGS) $< -DGDBSERVER
504
5f572dec
JK
505linux-ptrace.o: ../common/linux-ptrace.c $(server_h)
506 $(CC) -c $(CPPFLAGS) $(INTERNAL_CFLAGS) $< -DGDBSERVER
507
d26e3629
KY
508common-utils.o: ../common/common-utils.c $(server_h)
509 $(CC) -c $(CPPFLAGS) $(INTERNAL_CFLAGS) $< -DGDBSERVER
510
aad9eab9
YQ
511vec.o: ../common/vec.c $(vec_h)
512 $(CC) -c $(CPPFLAGS) $(INTERNAL_CFLAGS) $< -DGDBSERVER
513
e6712ff1
DE
514gdb_vecs.o: ../common/gdb_vecs.c $(vec_h) $(gdb_vecs_h) $(host_defs_h)
515 $(CC) -c $(CPPFLAGS) $(INTERNAL_CFLAGS) $< -DGDBSERVER
516
d26e3629
KY
517xml-utils.o: ../common/xml-utils.c $(server_h)
518 $(CC) -c $(CPPFLAGS) $(INTERNAL_CFLAGS) $< -DGDBSERVER
519
520linux-osdata.o: ../common/linux-osdata.c $(server_h) $(linux_osdata_h) ../common/gdb_dirent.h
521 $(CC) -c $(CPPFLAGS) $(INTERNAL_CFLAGS) $< -DGDBSERVER
522
523ptid.o: ../common/ptid.c $(ptid_h)
524 $(CC) -c $(CPPFLAGS) $(INTERNAL_CFLAGS) $< -DGDBSERVER
525
526buffer.o: ../common/buffer.c $(server_h)
527 $(CC) -c $(CPPFLAGS) $(INTERNAL_CFLAGS) $< -DGDBSERVER
528
d3ce09f5
SS
529format.o: ../common/format.c $(server_h)
530 $(CC) -c $(CPPFLAGS) $(INTERNAL_CFLAGS) $< -DGDBSERVER
531
2fa291ac
YQ
532agent.o: ../common/agent.c $(server_h) $(agent_h)
533 $(CC) -c $(CPPFLAGS) $(INTERNAL_CFLAGS) $< -DGDBSERVER
534
bb0116a4
JB
535# We build vasprintf with -DHAVE_CONFIG_H because we want that unit to
536# include our config.h file. Otherwise, some system headers do not get
537# included, and the compiler emits a warning about implicitly defined
538# functions (missing declaration).
539vasprintf.o: $(srcdir)/../../libiberty/vasprintf.c
540 $(CC) -o vasprintf.o -c $(CPPFLAGS) $(INTERNAL_CFLAGS) -DHAVE_CONFIG_H $<
541vsnprintf.o: $(srcdir)/../../libiberty/vsnprintf.c
542 $(CC) -o vsnprintf.o -c $(CPPFLAGS) $(INTERNAL_CFLAGS) $<
543
aa5ca48f
DE
544i386_low_h = $(srcdir)/i386-low.h
545
546i386-low.o: i386-low.c $(i386_low_h) $(server_h) $(target_h)
547
58caa3dc
DJ
548i387-fp.o: i387-fp.c $(server_h)
549
e3deef73 550linux-low.o: linux-low.c $(linux_low_h) $(linux_ptrace_h) $(linux_procfs_h) \
58b4daa5 551 $(server_h) $(linux_osdata_h) $(agent_h)
0d62e5e8
DJ
552 $(CC) -c $(CPPFLAGS) $(INTERNAL_CFLAGS) $< @USE_THREAD_DB@
553
9308fc88
DJ
554linux-arm-low.o: linux-arm-low.c $(linux_low_h) $(server_h) \
555 $(gdb_proc_service_h)
18c1b81a 556linux-bfin-low.o: linux-bfin-low.c $(linux_low_h) $(server_h) $(libiberty_h)
45b134e5
OF
557linux-cris-low.o: linux-cris-low.c $(linux_low_h) $(server_h)
558linux-crisv32-low.o: linux-crisv32-low.c $(linux_low_h) $(server_h)
58caa3dc 559linux-ia64-low.o: linux-ia64-low.c $(linux_low_h) $(server_h)
7cfbc4a0 560linux-m32r-low.o: linux-m32r-low.c $(linux_low_h) $(server_h)
21b0f40c
DJ
561linux-mips-low.o: linux-mips-low.c $(linux_low_h) $(server_h) \
562 $(gdb_proc_service_h)
58caa3dc 563linux-ppc-low.o: linux-ppc-low.c $(linux_low_h) $(server_h)
265f716b 564linux-s390-low.o: linux-s390-low.c $(linux_low_h) $(server_h)
58caa3dc 565linux-sh-low.o: linux-sh-low.c $(linux_low_h) $(server_h)
58dbd541 566linux-tic6x-low.o: linux-tic6x-low.c $(linux_low_h) $(server_h)
d0722149 567linux-x86-low.o: linux-x86-low.c $(linux_low_h) $(server_h) \
58b4daa5 568 $(gdb_proc_service_h) $(i386_low_h) $(agent_h)
1525d545 569linux-xtensa-low.o: linux-xtensa-low.c xtensa-xtregs.c $(linux_low_h) $(server_h)
65f479b6 570linux-tile-low.o: linux-tile-low.c $(linux_low_h) $(server_h)
0a30fbc4 571
8ed54b31
JB
572lynx-low.o: lynx-low.c $(server_h) $(target_h) $(lynx_low_h)
573lynx-ppc-low.o: lynx-ppc-low.c $(server_h) $(lynx_low_h)
623b6bdf 574nto-low.o: nto-low.c $(server_h) $(nto_low_h) $(gdbthread_h)
a8ae7dc0
AR
575nto-x86-low.o: nto-x86-low.c $(server_h) $(nto_low_h) $(regdef_h) $(regcache_h)
576
a385171d
PA
577win32_low_h = $(srcdir)/win32-low.h
578
623b6bdf 579win32-low.o: win32-low.c $(win32_low_h) $(server_h) $(regdef_h) $(regcache_h) $(gdbthread_h)
a385171d
PA
580
581win32-arm-low.o: win32-arm-low.c $(win32_low_h) $(server_h)
aa5ca48f 582win32-i386-low.o: win32-i386-low.c $(win32_low_h) $(server_h) $(i386_low_h)
b80864fb 583
a13e2c95
UW
584spu-low.o: spu-low.c $(server_h)
585
0c74b2a7
DJ
586reg-arm.o : reg-arm.c $(regdef_h)
587reg-arm.c : $(srcdir)/../regformats/reg-arm.dat $(regdat_sh)
75f83163 588 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/reg-arm.dat reg-arm.c
fb1e4ffc
DJ
589arm-with-iwmmxt.o : arm-with-iwmmxt.c $(regdef_h)
590arm-with-iwmmxt.c : $(srcdir)/../regformats/arm-with-iwmmxt.dat $(regdat_sh)
75f83163 591 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/arm-with-iwmmxt.dat arm-with-iwmmxt.c
58d6951d
DJ
592arm-with-vfpv2.o : arm-with-vfpv2.c $(regdef_h)
593arm-with-vfpv2.c : $(srcdir)/../regformats/arm-with-vfpv2.dat $(regdat_sh)
594 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/arm-with-vfpv2.dat arm-with-vfpv2.c
595arm-with-vfpv3.o : arm-with-vfpv3.c $(regdef_h)
596arm-with-vfpv3.c : $(srcdir)/../regformats/arm-with-vfpv3.dat $(regdat_sh)
597 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/arm-with-vfpv3.dat arm-with-vfpv3.c
598arm-with-neon.o : arm-with-neon.c $(regdef_h)
599arm-with-neon.c : $(srcdir)/../regformats/arm-with-neon.dat $(regdat_sh)
600 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/arm-with-neon.dat arm-with-neon.c
eb826dc6
MF
601reg-bfin.o : reg-bfin.c $(regdef_h)
602reg-bfin.c : $(srcdir)/../regformats/reg-bfin.dat $(regdat_sh)
603 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/reg-bfin.dat reg-bfin.c
45b134e5
OF
604reg-cris.o : reg-cris.c $(regdef_h)
605reg-cris.c : $(srcdir)/../regformats/reg-cris.dat $(regdat_sh)
75f83163 606 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/reg-cris.dat reg-cris.c
45b134e5
OF
607reg-crisv32.o : reg-crisv32.c $(regdef_h)
608reg-crisv32.c : $(srcdir)/../regformats/reg-crisv32.dat $(regdat_sh)
75f83163 609 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/reg-crisv32.dat reg-crisv32.c
90884b2b
L
610i386.o : i386.c $(regdef_h)
611i386.c : $(srcdir)/../regformats/i386/i386.dat $(regdat_sh)
612 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/i386/i386.dat i386.c
613i386-linux.o : i386-linux.c $(regdef_h)
614i386-linux.c : $(srcdir)/../regformats/i386/i386-linux.dat $(regdat_sh)
615 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/i386/i386-linux.dat i386-linux.c
1570b33e
L
616i386-avx.o : i386-avx.c $(regdef_h)
617i386-avx.c : $(srcdir)/../regformats/i386/i386-avx.dat $(regdat_sh)
618 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/i386/i386-avx.dat i386-avx.c
619i386-avx-linux.o : i386-avx-linux.c $(regdef_h)
620i386-avx-linux.c : $(srcdir)/../regformats/i386/i386-avx-linux.dat $(regdat_sh)
621 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/i386/i386-avx-linux.dat i386-avx-linux.c
3a13a53b
L
622i386-mmx.o : i386-mmx.c $(regdef_h)
623i386-mmx.c : $(srcdir)/../regformats/i386/i386-mmx.dat $(regdat_sh)
624 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/i386/i386-mmx.dat i386-mmx.c
625i386-mmx-linux.o : i386-mmx-linux.c $(regdef_h)
626i386-mmx-linux.c : $(srcdir)/../regformats/i386/i386-mmx-linux.dat $(regdat_sh)
627 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/i386/i386-mmx-linux.dat i386-mmx-linux.c
0c74b2a7
DJ
628reg-ia64.o : reg-ia64.c $(regdef_h)
629reg-ia64.c : $(srcdir)/../regformats/reg-ia64.dat $(regdat_sh)
75f83163 630 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/reg-ia64.dat reg-ia64.c
7cfbc4a0
KI
631reg-m32r.o : reg-m32r.c $(regdef_h)
632reg-m32r.c : $(srcdir)/../regformats/reg-m32r.dat $(regdat_sh)
75f83163 633 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/reg-m32r.dat reg-m32r.c
0c74b2a7
DJ
634reg-m68k.o : reg-m68k.c $(regdef_h)
635reg-m68k.c : $(srcdir)/../regformats/reg-m68k.dat $(regdat_sh)
75f83163 636 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/reg-m68k.dat reg-m68k.c
9ac544ce
MK
637reg-cf.o : reg-cf.c $(regdef_h)
638reg-cf.c : $(srcdir)/../regformats/reg-cf.dat $(regdat_sh)
639 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/reg-cf.dat reg-cf.c
117ce543
DJ
640mips-linux.o : mips-linux.c $(regdef_h)
641mips-linux.c : $(srcdir)/../regformats/mips-linux.dat $(regdat_sh)
75f83163 642 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/mips-linux.dat mips-linux.c
1faeff08
MR
643mips-dsp-linux.o : mips-dsp-linux.c $(regdef_h)
644mips-dsp-linux.c : $(srcdir)/../regformats/mips-dsp-linux.dat $(regdat_sh)
645 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/mips-dsp-linux.dat mips-dsp-linux.c
117ce543
DJ
646mips64-linux.o : mips64-linux.c $(regdef_h)
647mips64-linux.c : $(srcdir)/../regformats/mips64-linux.dat $(regdat_sh)
75f83163 648 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/mips64-linux.dat mips64-linux.c
1faeff08
MR
649mips64-dsp-linux.o : mips64-dsp-linux.c $(regdef_h)
650mips64-dsp-linux.c : $(srcdir)/../regformats/mips64-dsp-linux.dat $(regdat_sh)
651 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/mips64-dsp-linux.dat mips64-dsp-linux.c
0482b03b
JB
652powerpc-32.o : powerpc-32.c $(regdef_h)
653powerpc-32.c : $(srcdir)/../regformats/rs6000/powerpc-32.dat $(regdat_sh)
654 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/rs6000/powerpc-32.dat powerpc-32.c
7284e1be
UW
655powerpc-32l.o : powerpc-32l.c $(regdef_h)
656powerpc-32l.c : $(srcdir)/../regformats/rs6000/powerpc-32l.dat $(regdat_sh)
657 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/rs6000/powerpc-32l.dat powerpc-32l.c
658powerpc-altivec32l.o : powerpc-altivec32l.c $(regdef_h)
659powerpc-altivec32l.c : $(srcdir)/../regformats/rs6000/powerpc-altivec32l.dat $(regdat_sh)
660 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/rs6000/powerpc-altivec32l.dat powerpc-altivec32l.c
f4d9bade
UW
661powerpc-cell32l.o : powerpc-cell32l.c $(regdef_h)
662powerpc-cell32l.c : $(srcdir)/../regformats/rs6000/powerpc-cell32l.dat $(regdat_sh)
663 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/rs6000/powerpc-cell32l.dat powerpc-cell32l.c
677c5bb1
LM
664powerpc-vsx32l.o : powerpc-vsx32l.c $(regdef_h)
665powerpc-vsx32l.c : $(srcdir)/../regformats/rs6000/powerpc-vsx32l.dat $(regdat_sh)
666 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/rs6000/powerpc-vsx32l.dat powerpc-vsx32l.c
2c4ad781
TJB
667powerpc-isa205-32l.o : powerpc-isa205-32l.c $(regdef_h)
668powerpc-isa205-32l.c : $(srcdir)/../regformats/rs6000/powerpc-isa205-32l.dat $(regdat_sh)
669 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/rs6000/powerpc-isa205-32l.dat powerpc-isa205-32l.c
670powerpc-isa205-altivec32l.o : powerpc-isa205-altivec32l.c $(regdef_h)
671powerpc-isa205-altivec32l.c : $(srcdir)/../regformats/rs6000/powerpc-isa205-altivec32l.dat $(regdat_sh)
672 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/rs6000/powerpc-isa205-altivec32l.dat powerpc-isa205-altivec32l.c
673powerpc-isa205-vsx32l.o : powerpc-isa205-vsx32l.c $(regdef_h)
674powerpc-isa205-vsx32l.c : $(srcdir)/../regformats/rs6000/powerpc-isa205-vsx32l.dat $(regdat_sh)
675 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/rs6000/powerpc-isa205-vsx32l.dat powerpc-isa205-vsx32l.c
7284e1be
UW
676powerpc-e500l.o : powerpc-e500l.c $(regdef_h)
677powerpc-e500l.c : $(srcdir)/../regformats/rs6000/powerpc-e500l.dat $(regdat_sh)
678 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/rs6000/powerpc-e500l.dat powerpc-e500l.c
679powerpc-64l.o : powerpc-64l.c $(regdef_h)
680powerpc-64l.c : $(srcdir)/../regformats/rs6000/powerpc-64l.dat $(regdat_sh)
681 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/rs6000/powerpc-64l.dat powerpc-64l.c
682powerpc-altivec64l.o : powerpc-altivec64l.c $(regdef_h)
683powerpc-altivec64l.c : $(srcdir)/../regformats/rs6000/powerpc-altivec64l.dat $(regdat_sh)
684 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/rs6000/powerpc-altivec64l.dat powerpc-altivec64l.c
f4d9bade
UW
685powerpc-cell64l.o : powerpc-cell64l.c $(regdef_h)
686powerpc-cell64l.c : $(srcdir)/../regformats/rs6000/powerpc-cell64l.dat $(regdat_sh)
687 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/rs6000/powerpc-cell64l.dat powerpc-cell64l.c
677c5bb1
LM
688powerpc-vsx64l.o : powerpc-vsx64l.c $(regdef_h)
689powerpc-vsx64l.c : $(srcdir)/../regformats/rs6000/powerpc-vsx64l.dat $(regdat_sh)
690 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/rs6000/powerpc-vsx64l.dat powerpc-vsx64l.c
2c4ad781
TJB
691powerpc-isa205-64l.o : powerpc-isa205-64l.c $(regdef_h)
692powerpc-isa205-64l.c : $(srcdir)/../regformats/rs6000/powerpc-isa205-64l.dat $(regdat_sh)
693 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/rs6000/powerpc-isa205-64l.dat powerpc-isa205-64l.c
694powerpc-isa205-altivec64l.o : powerpc-isa205-altivec64l.c $(regdef_h)
695powerpc-isa205-altivec64l.c : $(srcdir)/../regformats/rs6000/powerpc-isa205-altivec64l.dat $(regdat_sh)
696 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/rs6000/powerpc-isa205-altivec64l.dat powerpc-isa205-altivec64l.c
697powerpc-isa205-vsx64l.o : powerpc-isa205-vsx64l.c $(regdef_h)
698powerpc-isa205-vsx64l.c : $(srcdir)/../regformats/rs6000/powerpc-isa205-vsx64l.dat $(regdat_sh)
699 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/rs6000/powerpc-isa205-vsx64l.dat powerpc-isa205-vsx64l.c
7803799a
UW
700s390-linux32.o : s390-linux32.c $(regdef_h)
701s390-linux32.c : $(srcdir)/../regformats/s390-linux32.dat $(regdat_sh)
702 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/s390-linux32.dat s390-linux32.c
c642a434
UW
703s390-linux32v1.o : s390-linux32v1.c $(regdef_h)
704s390-linux32v1.c : $(srcdir)/../regformats/s390-linux32v1.dat $(regdat_sh)
705 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/s390-linux32v1.dat s390-linux32v1.c
706s390-linux32v2.o : s390-linux32v2.c $(regdef_h)
707s390-linux32v2.c : $(srcdir)/../regformats/s390-linux32v2.dat $(regdat_sh)
708 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/s390-linux32v2.dat s390-linux32v2.c
7803799a
UW
709s390-linux64.o : s390-linux64.c $(regdef_h)
710s390-linux64.c : $(srcdir)/../regformats/s390-linux64.dat $(regdat_sh)
711 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/s390-linux64.dat s390-linux64.c
c642a434
UW
712s390-linux64v1.o : s390-linux64v1.c $(regdef_h)
713s390-linux64v1.c : $(srcdir)/../regformats/s390-linux64v1.dat $(regdat_sh)
714 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/s390-linux64v1.dat s390-linux64v1.c
715s390-linux64v2.o : s390-linux64v2.c $(regdef_h)
716s390-linux64v2.c : $(srcdir)/../regformats/s390-linux64v2.dat $(regdat_sh)
717 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/s390-linux64v2.dat s390-linux64v2.c
7803799a
UW
718s390x-linux64.o : s390x-linux64.c $(regdef_h)
719s390x-linux64.c : $(srcdir)/../regformats/s390x-linux64.dat $(regdat_sh)
720 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/s390x-linux64.dat s390x-linux64.c
c642a434
UW
721s390x-linux64v1.o : s390x-linux64v1.c $(regdef_h)
722s390x-linux64v1.c : $(srcdir)/../regformats/s390x-linux64v1.dat $(regdat_sh)
723 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/s390x-linux64v1.dat s390x-linux64v1.c
724s390x-linux64v2.o : s390x-linux64v2.c $(regdef_h)
725s390x-linux64v2.c : $(srcdir)/../regformats/s390x-linux64v2.dat $(regdat_sh)
726 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/s390x-linux64v2.dat s390x-linux64v2.c
58dbd541
YQ
727
728tic6x-c64xp-linux.o : tic6x-c64xp-linux.c $(regdef_h)
729tic6x-c64xp-linux.c : $(srcdir)/../regformats/tic6x-c64xp-linux.dat $(regdat_sh)
730 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/tic6x-c64xp-linux.dat tic6x-c64xp-linux.c
731tic6x-c64x-linux.o : tic6x-c64x-linux.c $(regdef_h)
732tic6x-c64x-linux.c : $(srcdir)/../regformats/tic6x-c64x-linux.dat $(regdat_sh)
733 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/tic6x-c64x-linux.dat tic6x-c64x-linux.c
734tic6x-c62x-linux.o : tic6x-c62x-linux.c $(regdef_h)
735tic6x-c62x-linux.c : $(srcdir)/../regformats/tic6x-c62x-linux.dat $(regdat_sh)
736 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/tic6x-c62x-linux.dat tic6x-c62x-linux.c
737
0c74b2a7
DJ
738reg-sh.o : reg-sh.c $(regdef_h)
739reg-sh.c : $(srcdir)/../regformats/reg-sh.dat $(regdat_sh)
75f83163 740 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/reg-sh.dat reg-sh.c
dfb64f85
DJ
741reg-sparc64.o : reg-sparc64.c $(regdef_h)
742reg-sparc64.c : $(srcdir)/../regformats/reg-sparc64.dat $(regdat_sh)
743 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/reg-sparc64.dat reg-sparc64.c
a13e2c95
UW
744reg-spu.o : reg-spu.c $(regdef_h)
745reg-spu.c : $(srcdir)/../regformats/reg-spu.dat $(regdat_sh)
75f83163 746 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/reg-spu.dat reg-spu.c
90884b2b
L
747amd64.o : amd64.c $(regdef_h)
748amd64.c : $(srcdir)/../regformats/i386/amd64.dat $(regdat_sh)
749 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/i386/amd64.dat amd64.c
750amd64-linux.o : amd64-linux.c $(regdef_h)
751amd64-linux.c : $(srcdir)/../regformats/i386/amd64-linux.dat $(regdat_sh)
752 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/i386/amd64-linux.dat amd64-linux.c
1570b33e
L
753amd64-avx.o : amd64-avx.c $(regdef_h)
754amd64-avx.c : $(srcdir)/../regformats/i386/amd64-avx.dat $(regdat_sh)
755 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/i386/amd64-avx.dat amd64-avx.c
756amd64-avx-linux.o : amd64-avx-linux.c $(regdef_h)
757amd64-avx-linux.c : $(srcdir)/../regformats/i386/amd64-avx-linux.dat $(regdat_sh)
758 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/i386/amd64-avx-linux.dat amd64-avx-linux.c
4d47af5c
L
759x32.o : x32.c $(regdef_h)
760x32.c : $(srcdir)/../regformats/i386/x32.dat $(regdat_sh)
761 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/i386/x32.dat x32.c
762x32-linux.o : x32-linux.c $(regdef_h)
763x32-linux.c : $(srcdir)/../regformats/i386/x32-linux.dat $(regdat_sh)
764 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/i386/x32-linux.dat x32-linux.c
765x32-avx.o : x32-avx.c $(regdef_h)
766x32-avx.c : $(srcdir)/../regformats/i386/x32-avx.dat $(regdat_sh)
767 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/i386/x32-avx.dat x32-avx.c
768x32-avx-linux.o : x32-avx-linux.c $(regdef_h)
769x32-avx-linux.c : $(srcdir)/../regformats/i386/x32-avx-linux.dat $(regdat_sh)
770 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/i386/x32-avx-linux.dat x32-avx-linux.c
1525d545
MG
771reg-xtensa.o : reg-xtensa.c $(regdef_h)
772reg-xtensa.c : $(srcdir)/../regformats/reg-xtensa.dat $(regdat_sh)
773 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/reg-xtensa.dat reg-xtensa.c
65f479b6
PA
774reg-tilegx.o : reg-tilegx.c $(regdef_h)
775reg-tilegx.c : $(srcdir)/../regformats/reg-tilegx.dat $(regdat_sh)
776 $(SHELL) $(regdat_sh) $(srcdir)/../regformats/reg-tilegx.dat reg-tilegx.c
c906108c 777# This is the end of "Makefile.in".
This page took 0.920486 seconds and 4 git commands to generate.