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