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