]>
Commit | Line | Data |
---|---|---|
6f0f660e | 1 | # Copyright (C) 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, |
4c38e0a4 | 2 | # 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 |
dd24457d | 3 | # Free Software Foundation, Inc. |
c906108c SS |
4 | |
5 | # This file is part of GDB. | |
6 | ||
7 | # This program is free software; you can redistribute it and/or modify | |
8 | # it under the terms of the GNU General Public License as published by | |
32de4b9d | 9 | # the Free Software Foundation; either version 3 of the License, or |
c906108c | 10 | # (at your option) any later version. |
1b3f6016 | 11 | # |
c906108c SS |
12 | # This program is distributed in the hope that it will be useful, |
13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
15 | # GNU General Public License for more details. | |
1b3f6016 | 16 | # |
c906108c | 17 | # You should have received a copy of the GNU General Public License |
32de4b9d | 18 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
c906108c | 19 | |
d6e9fb05 JK |
20 | prefix = @prefix@ |
21 | exec_prefix = @exec_prefix@ | |
c906108c | 22 | |
d6e9fb05 JK |
23 | host_alias = @host_alias@ |
24 | target_alias = @target_alias@ | |
25 | program_transform_name = @program_transform_name@ | |
26 | bindir = @bindir@ | |
27 | libdir = @libdir@ | |
c906108c SS |
28 | tooldir = $(libdir)/$(target_alias) |
29 | ||
96e946ca | 30 | datarootdir = @datarootdir@ |
d6e9fb05 JK |
31 | datadir = @datadir@ |
32 | mandir = @mandir@ | |
c906108c SS |
33 | man1dir = $(mandir)/man1 |
34 | man2dir = $(mandir)/man2 | |
35 | man3dir = $(mandir)/man3 | |
36 | man4dir = $(mandir)/man4 | |
37 | man5dir = $(mandir)/man5 | |
38 | man6dir = $(mandir)/man6 | |
39 | man7dir = $(mandir)/man7 | |
40 | man8dir = $(mandir)/man8 | |
41 | man9dir = $(mandir)/man9 | |
d6e9fb05 | 42 | infodir = @infodir@ |
085dd6e6 | 43 | htmldir = $(prefix)/html |
d6e9fb05 | 44 | includedir = @includedir@ |
c906108c SS |
45 | |
46 | SHELL = /bin/sh | |
de7c3b4a | 47 | EXEEXT = @EXEEXT@ |
c906108c | 48 | |
d6e9fb05 JK |
49 | INSTALL = @INSTALL@ |
50 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ | |
51 | INSTALL_DATA = @INSTALL_DATA@ | |
c906108c | 52 | |
84563040 | 53 | CC = @CC@ |
c906108c SS |
54 | |
55 | # Directory containing source files. Don't clean up the spacing, | |
56 | # this exact string is matched for by the "configure" script. | |
d6e9fb05 JK |
57 | srcdir = @srcdir@ |
58 | VPATH = @srcdir@ | |
c906108c SS |
59 | |
60 | # It is also possible that you will need to add -I/usr/include/sys to the | |
1b3f6016 | 61 | # CFLAGS section if your system doesn't have fcntl.h in /usr/include (which |
c906108c SS |
62 | # is where it should be according to Posix). |
63 | ||
64 | # Set this up with gcc if you have gnu ld and the loader will print out | |
65 | # line numbers for undefinded refs. | |
66 | #CC-LD=gcc -static | |
67 | CC-LD=${CC} | |
68 | ||
69 | # Where is the "include" directory? Traditionally ../include or ./include | |
70 | INCLUDE_DIR = ${srcdir}/../../include | |
71 | INCLUDE_DEP = $$(INCLUDE_DIR) | |
72 | ||
0fb4aa4b PA |
73 | # Where is ust? These will be empty if ust was not available. |
74 | ustlibs = @ustlibs@ | |
75 | ustinc = @ustinc@ | |
76 | ||
c906108c SS |
77 | # All the includes used for CFLAGS and for lint. |
78 | # -I. for config files. | |
7ea81414 DJ |
79 | # -I${srcdir} for our headers. |
80 | # -I$(srcdir)/../regformats for regdef.h. | |
2aecd87f DE |
81 | INCLUDE_CFLAGS = -I. -I${srcdir} -I$(srcdir)/../common \ |
82 | -I$(srcdir)/../regformats -I$(INCLUDE_DIR) | |
c906108c SS |
83 | |
84 | # M{H,T}_CFLAGS, if defined, has host- and target-dependent CFLAGS | |
85 | # from the config/ directory. | |
86 | GLOBAL_CFLAGS = ${MT_CFLAGS} ${MH_CFLAGS} | |
87 | #PROFILE_CFLAGS = -pg | |
88 | ||
0729219d DJ |
89 | WARN_CFLAGS = -Wall |
90 | ||
c906108c SS |
91 | # CFLAGS is specifically reserved for setting from the command line |
92 | # when running make. I.E. "make CFLAGS=-Wmissing-prototypes". | |
84563040 DJ |
93 | CFLAGS = @CFLAGS@ |
94 | ||
c906108c | 95 | # INTERNAL_CFLAGS is the aggregate of all other *CFLAGS macros. |
0729219d | 96 | INTERNAL_CFLAGS = $(WARN_CFLAGS) ${CFLAGS} ${GLOBAL_CFLAGS} \ |
66b6e1dd | 97 | ${PROFILE_CFLAGS} ${INCLUDE_CFLAGS} |
c906108c SS |
98 | |
99 | # LDFLAGS is specifically reserved for setting from the command line | |
100 | # when running make. | |
697f7479 | 101 | LDFLAGS = @LDFLAGS@ |
f6de3c42 | 102 | INTERNAL_LDFLAGS = $(LDFLAGS) @RDYNAMIC@ |
c906108c | 103 | |
c906108c SS |
104 | # All source files that go into linking GDB remote server. |
105 | ||
73d37363 | 106 | SFILES= $(srcdir)/gdbreplay.c $(srcdir)/inferiors.c \ |
f6528abd JK |
107 | $(srcdir)/mem-break.c $(srcdir)/proc-service.c \ |
108 | $(srcdir)/proc-service.list $(srcdir)/regcache.c \ | |
73d37363 DJ |
109 | $(srcdir)/remote-utils.c $(srcdir)/server.c $(srcdir)/target.c \ |
110 | $(srcdir)/thread-db.c $(srcdir)/utils.c \ | |
45b134e5 | 111 | $(srcdir)/linux-arm-low.c $(srcdir)/linux-cris-low.c \ |
d0722149 | 112 | $(srcdir)/linux-crisv32-low.c \ |
aa5ca48f | 113 | ${srcdir}/i386-low.c $(srcdir)/i387-fp.c \ |
73d37363 | 114 | $(srcdir)/linux-ia64-low.c $(srcdir)/linux-low.c \ |
7cfbc4a0 | 115 | $(srcdir)/linux-m32r-low.c \ |
73d37363 | 116 | $(srcdir)/linux-m68k-low.c $(srcdir)/linux-mips-low.c \ |
5b0a002e | 117 | $(srcdir)/linux-ppc-low.c \ |
eee84df1 | 118 | $(srcdir)/linux-s390-low.c \ |
dfb64f85 | 119 | $(srcdir)/linux-sh-low.c $(srcdir)/linux-sparc-low.c \ |
d0722149 | 120 | $(srcdir)/linux-x86-low.c \ |
1525d545 | 121 | $(srcdir)/linux-xtensa-low.c \ |
68070c10 | 122 | $(srcdir)/win32-arm-low.c $(srcdir)/win32-i386-low.c \ |
59a016f0 PA |
123 | $(srcdir)/win32-low.c $(srcdir)/wincecompat.c \ |
124 | $(srcdir)/hostio.c $(srcdir)/hostio-errno.c | |
c906108c | 125 | |
7ea81414 | 126 | DEPFILES = @GDBSERVER_DEPFILES@ |
c906108c | 127 | |
e28b3332 DJ |
128 | LIBOBJS = @LIBOBJS@ |
129 | ||
7ea81414 | 130 | SOURCES = $(SFILES) |
1b3f6016 | 131 | TAGFILES = $(SOURCES) ${HFILES} ${ALLPARAM} ${POSSLIBS} |
c906108c | 132 | |
ce3a066d | 133 | OBS = inferiors.o regcache.o remote-utils.o server.o signals.o target.o \ |
dd24457d | 134 | utils.o version.o \ |
219f2f23 | 135 | mem-break.o hostio.o event-loop.o tracepoint.o \ |
fb1e4ffc | 136 | $(XML_BUILTIN) \ |
e28b3332 | 137 | $(DEPFILES) $(LIBOBJS) |
a417dc56 | 138 | GDBREPLAY_OBS = gdbreplay.o version.o |
0d62e5e8 | 139 | GDBSERVER_LIBS = @GDBSERVER_LIBS@ |
b80864fb | 140 | XM_CLIBS = @LIBS@ |
f6528abd | 141 | CDEPS = $(srcdir)/proc-service.list |
c906108c | 142 | |
fb1e4ffc DJ |
143 | # XML files to compile in to gdbserver, if any. |
144 | XML_DIR = $(srcdir)/../features | |
fb1e4ffc DJ |
145 | XML_FILES = @srv_xmlfiles@ |
146 | XML_BUILTIN = @srv_xmlbuiltin@ | |
147 | ||
fa593d66 PA |
148 | IPA_DEPFILES = @IPA_DEPFILES@ |
149 | extra_libraries = @extra_libraries@ | |
150 | ||
c906108c SS |
151 | # Prevent Sun make from putting in the machine type. Setting |
152 | # TARGET_ARCH to nothing works for SunOS 3, 4.0, but not for 4.1. | |
153 | .c.o: | |
154 | ${CC} -c ${INTERNAL_CFLAGS} $< | |
155 | ||
fa593d66 | 156 | all: gdbserver$(EXEEXT) gdbreplay$(EXEEXT) $(extra_libraries) |
c906108c SS |
157 | |
158 | # Traditionally "install" depends on "all". But it may be useful | |
1b3f6016 | 159 | # not to; for example, if the user has made some trivial change to a |
c906108c SS |
160 | # source file and doesn't care about rebuilding or just wants to save the |
161 | # time it takes for make to check that all is up to date. | |
162 | # install-only is intended to address that need. | |
163 | install: all install-only | |
1b3f6016 | 164 | install-only: |
c906108c SS |
165 | n=`echo gdbserver | sed '$(program_transform_name)'`; \ |
166 | if [ x$$n = x ]; then n=gdbserver; else true; fi; \ | |
fa593d66 PA |
167 | if [ x$IPA_DEPFILES != x ]; then \ |
168 | $(SHELL) $(srcdir)/../../mkinstalldirs $(DESTDIR)$(libdir); \ | |
169 | $(INSTALL_PROGRAM) $(IPA_LIB) $(DESTDIR)$(libdir)/$(IPA_LIB); \ | |
170 | fi; \ | |
c938e9b0 | 171 | $(SHELL) $(srcdir)/../../mkinstalldirs $(DESTDIR)$(bindir); \ |
68070c10 | 172 | $(INSTALL_PROGRAM) gdbserver$(EXEEXT) $(DESTDIR)$(bindir)/$$n$(EXEEXT); \ |
c938e9b0 L |
173 | $(SHELL) $(srcdir)/../../mkinstalldirs $(DESTDIR)$(man1dir); \ |
174 | $(INSTALL_DATA) $(srcdir)/gdbserver.1 $(DESTDIR)$(man1dir)/$$n.1 | |
c906108c SS |
175 | |
176 | uninstall: force | |
177 | n=`echo gdbserver | sed '$(program_transform_name)'`; \ | |
178 | if [ x$$n = x ]; then n=gdbserver; else true; fi; \ | |
400b20f5 | 179 | rm -f $(bindir)/$$n$(EXEEXT) $(DESTDIR)$(man1dir)/$$n.1 |
c906108c SS |
180 | |
181 | installcheck: | |
182 | check: | |
9453113a | 183 | info dvi pdf: |
c906108c | 184 | install-info: |
9453113a | 185 | install-pdf: |
085dd6e6 JM |
186 | html: |
187 | install-html: | |
c906108c SS |
188 | clean-info: |
189 | ||
68070c10 PA |
190 | gdbserver$(EXEEXT): $(OBS) ${ADD_DEPS} ${CDEPS} |
191 | rm -f gdbserver$(EXEEXT) | |
192 | ${CC-LD} $(INTERNAL_CFLAGS) $(INTERNAL_LDFLAGS) -o gdbserver$(EXEEXT) $(OBS) \ | |
c906108c SS |
193 | $(GDBSERVER_LIBS) $(XM_CLIBS) |
194 | ||
a417dc56 | 195 | gdbreplay$(EXEEXT): $(GDBREPLAY_OBS) |
68070c10 | 196 | rm -f gdbreplay$(EXEEXT) |
a417dc56 | 197 | ${CC-LD} $(INTERNAL_CFLAGS) $(INTERNAL_LDFLAGS) -o gdbreplay$(EXEEXT) $(GDBREPLAY_OBS) \ |
c906108c SS |
198 | $(XM_CLIBS) |
199 | ||
0fb4aa4b | 200 | IPA_OBJS=tracepoint-ipa.o utils-ipa.o regcache-ipa.o remote-utils-ipa.o ${IPA_DEPFILES} |
fa593d66 PA |
201 | |
202 | IPA_LIB=libinproctrace.so | |
203 | ||
204 | $(IPA_LIB): $(IPA_OBJS) ${ADD_DEPS} ${CDEPS} | |
205 | rm -f $(IPA_LIB) | |
206 | ${CC-LD} -shared -fPIC -Wl,--no-undefined $(INTERNAL_CFLAGS) \ | |
0fb4aa4b | 207 | $(INTERNAL_LDFLAGS) -o $(IPA_LIB) ${IPA_OBJS} -ldl -pthread |
fa593d66 | 208 | |
c906108c SS |
209 | # Put the proper machine-specific files first, so M-. on a machine |
210 | # specific routine gets the one for the correct machine. | |
211 | # The xyzzy stuff below deals with empty DEPFILES | |
212 | TAGS: ${TAGFILES} | |
2c0fc042 | 213 | etags `find ${srcdir}/../config -name $(DEPRECATED_TM_FILE) -print` \ |
c906108c SS |
214 | `find ${srcdir}/../config -name ${XM_FILE} -print` \ |
215 | `find ${srcdir}/../config -name ${NAT_FILE} -print` \ | |
216 | `for i in yzzy ${DEPFILES}; do \ | |
217 | if [ x$$i != xyzzy ]; then \ | |
218 | echo ${srcdir}/$$i | sed -e 's/\.o$$/\.c/' ; \ | |
219 | fi; \ | |
220 | done` \ | |
221 | ${TAGFILES} | |
222 | tags: TAGS | |
223 | ||
224 | clean: | |
225 | rm -f *.o ${ADD_FILES} *~ | |
dd24457d | 226 | rm -f version.c |
de7c3b4a | 227 | rm -f gdbserver$(EXEEXT) gdbreplay$(EXEEXT) core make.log |
fa593d66 | 228 | rm -f $(IPA_LIB) |
90884b2b L |
229 | rm -f reg-arm.c i386.c reg-ia64.c reg-m32r.c reg-m68k.c |
230 | rm -f reg-sh.c reg-sparc.c reg-spu.c amd64.c i386-linux.c | |
231 | rm -f reg-cris.c reg-crisv32.c amd64-linux.c reg-xtensa.c | |
58d6951d DJ |
232 | rm -f arm-with-iwmmxt.c |
233 | rm -f arm-with-vfpv2.c arm-with-vfpv3.c arm-with-neon.c | |
234 | rm -f mips-linux.c mips64-linux.c | |
7284e1be | 235 | rm -f powerpc-32l.c powerpc-64l.c powerpc-e500l.c |
f4d9bade UW |
236 | rm -f powerpc-altivec32l.c powerpc-cell32l.c powerpc-vsx32l.c |
237 | rm -f powerpc-altivec64l.c powerpc-cell64l.c powerpc-vsx64l.c | |
2c4ad781 TJB |
238 | rm -f powerpc-isa205-32l.c powerpc-isa205-64l.c |
239 | rm -f powerpc-isa205-altivec32l.c powerpc-isa205-vsx32l.c powerpc-isa205-altivec64l.c | |
240 | rm -f powerpc-isa205-vsx64l.c | |
7803799a | 241 | rm -f s390-linux32.c s390-linux64.c s390x-linux64.c |
2c4ad781 | 242 | rm -f xml-builtin.c stamp-xml |
1570b33e L |
243 | rm -f i386-avx.c i386-avx-linux.c |
244 | rm -f amd64-avx.c amd64-avx-linux.c | |
3a13a53b | 245 | rm -f i386-mmx.c i386-mmx-linux.c |
c906108c | 246 | |
a59d1c82 DJ |
247 | maintainer-clean realclean distclean: clean |
248 | rm -f nm.h tm.h xm.h config.status config.h stamp-h config.log | |
c906108c SS |
249 | rm -f Makefile |
250 | ||
c3a3ccc7 DJ |
251 | config.h: stamp-h ; @true |
252 | stamp-h: config.in config.status | |
e0e76420 | 253 | CONFIG_FILES="" CONFIG_HEADERS=config.h:config.in $(SHELL) ./config.status |
0729219d | 254 | |
7ea81414 | 255 | Makefile: Makefile.in config.status |
0729219d | 256 | CONFIG_HEADERS="" $(SHELL) ./config.status |
c906108c | 257 | |
93652174 | 258 | config.status: configure configure.srv |
d6e9fb05 JK |
259 | $(SHELL) ./config.status --recheck |
260 | ||
c906108c SS |
261 | force: |
262 | ||
dd24457d DJ |
263 | version.c: Makefile $(srcdir)/../version.in |
264 | rm -f version.c-tmp version.c | |
265 | echo '#include "server.h"' >> version.c-tmp | |
266 | echo 'const char version[] = "'"`sed q ${srcdir}/../version.in`"'";' >> version.c-tmp | |
267 | echo 'const char host_name[] = "$(host_alias)";' >> version.c-tmp | |
268 | mv version.c-tmp version.c | |
269 | version.o: version.c $(server_h) | |
c906108c | 270 | |
fb1e4ffc DJ |
271 | xml-builtin.c: stamp-xml; @true |
272 | stamp-xml: $(XML_DIR)/feature_to_c.sh Makefile $(XML_FILES) | |
273 | rm -f xml-builtin.tmp | |
274 | $(SHELL) $(XML_DIR)/feature_to_c.sh xml-builtin.tmp $(XML_FILES) | |
275 | $(SHELL) $(srcdir)/../../move-if-change xml-builtin.tmp xml-builtin.c | |
276 | echo stamp > stamp-xml | |
277 | ||
9b4b61c8 | 278 | .PRECIOUS: xml-builtin.c |
fb1e4ffc | 279 | |
c906108c SS |
280 | # GNU Make has an annoying habit of putting *all* the Makefile variables |
281 | # into the environment, unless you include this target as a circumvention. | |
282 | # Rumor is that this will be fixed (and this target can be removed) | |
283 | # in GNU Make 4.0. | |
284 | .NOEXPORT: | |
285 | ||
286 | # GNU Make 3.63 has a different problem: it keeps tacking command line | |
287 | # overrides onto the definition of $(MAKE). This variable setting | |
288 | # will remove them. | |
289 | MAKEOVERRIDES= | |
290 | ||
0050a760 | 291 | gdb_proc_service_h = $(srcdir)/gdb_proc_service.h |
0c74b2a7 | 292 | regdat_sh = $(srcdir)/../regformats/regdat.sh |
0a30fbc4 DJ |
293 | regdef_h = $(srcdir)/../regformats/regdef.h |
294 | regcache_h = $(srcdir)/regcache.h | |
611cb4a5 | 295 | server_h = $(srcdir)/server.h $(regcache_h) config.h $(srcdir)/target.h \ |
2aecd87f | 296 | $(srcdir)/mem-break.h $(srcdir)/../common/gdb_signals.h |
0a30fbc4 | 297 | |
67cc2626 PA |
298 | linux_low_h = $(srcdir)/linux-low.h |
299 | ||
a8ae7dc0 AR |
300 | nto_low_h = $(srcdir)/nto-low.h |
301 | ||
0fb4aa4b PA |
302 | UST_CFLAGS = $(ustinc) -DCONFIG_UST_GDB_INTEGRATION |
303 | ||
fa593d66 PA |
304 | # Note, we only build the IPA if -fvisibility=hidden is supported in |
305 | # the first place. | |
0fb4aa4b | 306 | IPAGENT_CFLAGS = $(CPPFLAGS) $(INTERNAL_CFLAGS) $(UST_CFLAGS) \ |
fa593d66 PA |
307 | -fPIC -DGDBSERVER -DIN_PROCESS_AGENT \ |
308 | -fvisibility=hidden | |
309 | ||
310 | # In-process agent object rules | |
311 | tracepoint-ipa.o: tracepoint.c $(server_h) | |
312 | $(CC) -c $(IPAGENT_CFLAGS) $< -o tracepoint-ipa.o | |
313 | utils-ipa.o: utils.c $(server_h) | |
314 | $(CC) -c $(IPAGENT_CFLAGS) $< -o utils-ipa.o | |
315 | remote-utils-ipa.o: remote-utils.c $(server_h) | |
316 | $(CC) -c $(IPAGENT_CFLAGS) $< -o remote-utils-ipa.o | |
317 | regcache-ipa.o: regcache.c $(server_h) | |
318 | $(CC) -c $(IPAGENT_CFLAGS) $< -o regcache-ipa.o | |
319 | i386-linux-ipa.o : i386-linux.c $(regdef_h) | |
320 | $(CC) -c $(IPAGENT_CFLAGS) $< -o i386-linux-ipa.o | |
321 | linux-i386-ipa.o: linux-i386-ipa.c $(server_h) | |
322 | $(CC) -c $(IPAGENT_CFLAGS) $< -o linux-i386-ipa.o | |
323 | linux-amd64-ipa.o: linux-amd64-ipa.c $(server_h) | |
324 | $(CC) -c $(IPAGENT_CFLAGS) $< -o linux-amd64-ipa.o | |
325 | amd64-linux-ipa.o : amd64-linux.c $(regdef_h) | |
326 | $(CC) -c $(IPAGENT_CFLAGS) $< -o amd64-linux-ipa.o | |
327 | ||
bd99dc85 | 328 | event-loop.o: event-loop.c $(server_h) |
a6b151f1 | 329 | hostio.o: hostio.c $(server_h) |
59a016f0 | 330 | hostio-errno.o: hostio-errno.c $(server_h) |
ce3a066d | 331 | inferiors.o: inferiors.c $(server_h) |
611cb4a5 | 332 | mem-break.o: mem-break.c $(server_h) |
0d62e5e8 | 333 | proc-service.o: proc-service.c $(server_h) $(gdb_proc_service_h) |
ce3a066d | 334 | regcache.o: regcache.c $(server_h) $(regdef_h) |
7ea81414 | 335 | remote-utils.o: remote-utils.c terminal.h $(server_h) |
ce3a066d DJ |
336 | server.o: server.c $(server_h) |
337 | target.o: target.c $(server_h) | |
67cc2626 | 338 | thread-db.o: thread-db.c $(server_h) $(linux_low_h) $(gdb_proc_service_h) |
219f2f23 | 339 | tracepoint.o: tracepoint.c $(server_h) |
0a30fbc4 | 340 | utils.o: utils.c $(server_h) |
6e23a804 | 341 | gdbreplay.o: gdbreplay.c config.h |
0a30fbc4 | 342 | |
2aecd87f | 343 | signals.o: ../common/signals.c $(server_h) |
0e98d0a7 DJ |
344 | $(CC) -c $(CPPFLAGS) $(INTERNAL_CFLAGS) $< -DGDBSERVER |
345 | ||
e28b3332 DJ |
346 | memmem.o: ../gnulib/memmem.c |
347 | $(CC) -o memmem.o -c $(CPPFLAGS) $(INTERNAL_CFLAGS) $< | |
348 | ||
aa5ca48f DE |
349 | i386_low_h = $(srcdir)/i386-low.h |
350 | ||
351 | i386-low.o: i386-low.c $(i386_low_h) $(server_h) $(target_h) | |
352 | ||
58caa3dc DJ |
353 | i387-fp.o: i387-fp.c $(server_h) |
354 | ||
58caa3dc | 355 | linux-low.o: linux-low.c $(linux_low_h) $(server_h) |
0d62e5e8 DJ |
356 | $(CC) -c $(CPPFLAGS) $(INTERNAL_CFLAGS) $< @USE_THREAD_DB@ |
357 | ||
9308fc88 DJ |
358 | linux-arm-low.o: linux-arm-low.c $(linux_low_h) $(server_h) \ |
359 | $(gdb_proc_service_h) | |
45b134e5 OF |
360 | linux-cris-low.o: linux-cris-low.c $(linux_low_h) $(server_h) |
361 | linux-crisv32-low.o: linux-crisv32-low.c $(linux_low_h) $(server_h) | |
58caa3dc | 362 | linux-ia64-low.o: linux-ia64-low.c $(linux_low_h) $(server_h) |
7cfbc4a0 | 363 | linux-m32r-low.o: linux-m32r-low.c $(linux_low_h) $(server_h) |
21b0f40c DJ |
364 | linux-mips-low.o: linux-mips-low.c $(linux_low_h) $(server_h) \ |
365 | $(gdb_proc_service_h) | |
58caa3dc | 366 | linux-ppc-low.o: linux-ppc-low.c $(linux_low_h) $(server_h) |
265f716b | 367 | linux-s390-low.o: linux-s390-low.c $(linux_low_h) $(server_h) |
58caa3dc | 368 | linux-sh-low.o: linux-sh-low.c $(linux_low_h) $(server_h) |
d0722149 | 369 | linux-x86-low.o: linux-x86-low.c $(linux_low_h) $(server_h) \ |
aa5ca48f | 370 | $(gdb_proc_service_h) $(i386_low_h) |
1525d545 | 371 | linux-xtensa-low.o: linux-xtensa-low.c xtensa-xtregs.c $(linux_low_h) $(server_h) |
0a30fbc4 | 372 | |
a8ae7dc0 AR |
373 | nto-low.o: nto-low.c $(server_h) $(nto_low_h) |
374 | nto-x86-low.o: nto-x86-low.c $(server_h) $(nto_low_h) $(regdef_h) $(regcache_h) | |
375 | ||
a385171d PA |
376 | win32_low_h = $(srcdir)/win32-low.h |
377 | ||
378 | win32-low.o: win32-low.c $(win32_low_h) $(server_h) $(regdef_h) $(regcache_h) | |
379 | ||
380 | win32-arm-low.o: win32-arm-low.c $(win32_low_h) $(server_h) | |
aa5ca48f | 381 | win32-i386-low.o: win32-i386-low.c $(win32_low_h) $(server_h) $(i386_low_h) |
b80864fb | 382 | |
a13e2c95 UW |
383 | spu-low.o: spu-low.c $(server_h) |
384 | ||
0c74b2a7 DJ |
385 | reg-arm.o : reg-arm.c $(regdef_h) |
386 | reg-arm.c : $(srcdir)/../regformats/reg-arm.dat $(regdat_sh) | |
75f83163 | 387 | $(SHELL) $(regdat_sh) $(srcdir)/../regformats/reg-arm.dat reg-arm.c |
fb1e4ffc DJ |
388 | arm-with-iwmmxt.o : arm-with-iwmmxt.c $(regdef_h) |
389 | arm-with-iwmmxt.c : $(srcdir)/../regformats/arm-with-iwmmxt.dat $(regdat_sh) | |
75f83163 | 390 | $(SHELL) $(regdat_sh) $(srcdir)/../regformats/arm-with-iwmmxt.dat arm-with-iwmmxt.c |
58d6951d DJ |
391 | arm-with-vfpv2.o : arm-with-vfpv2.c $(regdef_h) |
392 | arm-with-vfpv2.c : $(srcdir)/../regformats/arm-with-vfpv2.dat $(regdat_sh) | |
393 | $(SHELL) $(regdat_sh) $(srcdir)/../regformats/arm-with-vfpv2.dat arm-with-vfpv2.c | |
394 | arm-with-vfpv3.o : arm-with-vfpv3.c $(regdef_h) | |
395 | arm-with-vfpv3.c : $(srcdir)/../regformats/arm-with-vfpv3.dat $(regdat_sh) | |
396 | $(SHELL) $(regdat_sh) $(srcdir)/../regformats/arm-with-vfpv3.dat arm-with-vfpv3.c | |
397 | arm-with-neon.o : arm-with-neon.c $(regdef_h) | |
398 | arm-with-neon.c : $(srcdir)/../regformats/arm-with-neon.dat $(regdat_sh) | |
399 | $(SHELL) $(regdat_sh) $(srcdir)/../regformats/arm-with-neon.dat arm-with-neon.c | |
45b134e5 OF |
400 | reg-cris.o : reg-cris.c $(regdef_h) |
401 | reg-cris.c : $(srcdir)/../regformats/reg-cris.dat $(regdat_sh) | |
75f83163 | 402 | $(SHELL) $(regdat_sh) $(srcdir)/../regformats/reg-cris.dat reg-cris.c |
45b134e5 OF |
403 | reg-crisv32.o : reg-crisv32.c $(regdef_h) |
404 | reg-crisv32.c : $(srcdir)/../regformats/reg-crisv32.dat $(regdat_sh) | |
75f83163 | 405 | $(SHELL) $(regdat_sh) $(srcdir)/../regformats/reg-crisv32.dat reg-crisv32.c |
90884b2b L |
406 | i386.o : i386.c $(regdef_h) |
407 | i386.c : $(srcdir)/../regformats/i386/i386.dat $(regdat_sh) | |
408 | $(SHELL) $(regdat_sh) $(srcdir)/../regformats/i386/i386.dat i386.c | |
409 | i386-linux.o : i386-linux.c $(regdef_h) | |
410 | i386-linux.c : $(srcdir)/../regformats/i386/i386-linux.dat $(regdat_sh) | |
411 | $(SHELL) $(regdat_sh) $(srcdir)/../regformats/i386/i386-linux.dat i386-linux.c | |
1570b33e L |
412 | i386-avx.o : i386-avx.c $(regdef_h) |
413 | i386-avx.c : $(srcdir)/../regformats/i386/i386-avx.dat $(regdat_sh) | |
414 | $(SHELL) $(regdat_sh) $(srcdir)/../regformats/i386/i386-avx.dat i386-avx.c | |
415 | i386-avx-linux.o : i386-avx-linux.c $(regdef_h) | |
416 | i386-avx-linux.c : $(srcdir)/../regformats/i386/i386-avx-linux.dat $(regdat_sh) | |
417 | $(SHELL) $(regdat_sh) $(srcdir)/../regformats/i386/i386-avx-linux.dat i386-avx-linux.c | |
3a13a53b L |
418 | i386-mmx.o : i386-mmx.c $(regdef_h) |
419 | i386-mmx.c : $(srcdir)/../regformats/i386/i386-mmx.dat $(regdat_sh) | |
420 | $(SHELL) $(regdat_sh) $(srcdir)/../regformats/i386/i386-mmx.dat i386-mmx.c | |
421 | i386-mmx-linux.o : i386-mmx-linux.c $(regdef_h) | |
422 | i386-mmx-linux.c : $(srcdir)/../regformats/i386/i386-mmx-linux.dat $(regdat_sh) | |
423 | $(SHELL) $(regdat_sh) $(srcdir)/../regformats/i386/i386-mmx-linux.dat i386-mmx-linux.c | |
0c74b2a7 DJ |
424 | reg-ia64.o : reg-ia64.c $(regdef_h) |
425 | reg-ia64.c : $(srcdir)/../regformats/reg-ia64.dat $(regdat_sh) | |
75f83163 | 426 | $(SHELL) $(regdat_sh) $(srcdir)/../regformats/reg-ia64.dat reg-ia64.c |
7cfbc4a0 KI |
427 | reg-m32r.o : reg-m32r.c $(regdef_h) |
428 | reg-m32r.c : $(srcdir)/../regformats/reg-m32r.dat $(regdat_sh) | |
75f83163 | 429 | $(SHELL) $(regdat_sh) $(srcdir)/../regformats/reg-m32r.dat reg-m32r.c |
0c74b2a7 DJ |
430 | reg-m68k.o : reg-m68k.c $(regdef_h) |
431 | reg-m68k.c : $(srcdir)/../regformats/reg-m68k.dat $(regdat_sh) | |
75f83163 | 432 | $(SHELL) $(regdat_sh) $(srcdir)/../regformats/reg-m68k.dat reg-m68k.c |
9ac544ce MK |
433 | reg-cf.o : reg-cf.c $(regdef_h) |
434 | reg-cf.c : $(srcdir)/../regformats/reg-cf.dat $(regdat_sh) | |
435 | $(SHELL) $(regdat_sh) $(srcdir)/../regformats/reg-cf.dat reg-cf.c | |
117ce543 DJ |
436 | mips-linux.o : mips-linux.c $(regdef_h) |
437 | mips-linux.c : $(srcdir)/../regformats/mips-linux.dat $(regdat_sh) | |
75f83163 | 438 | $(SHELL) $(regdat_sh) $(srcdir)/../regformats/mips-linux.dat mips-linux.c |
117ce543 DJ |
439 | mips64-linux.o : mips64-linux.c $(regdef_h) |
440 | mips64-linux.c : $(srcdir)/../regformats/mips64-linux.dat $(regdat_sh) | |
75f83163 | 441 | $(SHELL) $(regdat_sh) $(srcdir)/../regformats/mips64-linux.dat mips64-linux.c |
7284e1be UW |
442 | powerpc-32l.o : powerpc-32l.c $(regdef_h) |
443 | powerpc-32l.c : $(srcdir)/../regformats/rs6000/powerpc-32l.dat $(regdat_sh) | |
444 | $(SHELL) $(regdat_sh) $(srcdir)/../regformats/rs6000/powerpc-32l.dat powerpc-32l.c | |
445 | powerpc-altivec32l.o : powerpc-altivec32l.c $(regdef_h) | |
446 | powerpc-altivec32l.c : $(srcdir)/../regformats/rs6000/powerpc-altivec32l.dat $(regdat_sh) | |
447 | $(SHELL) $(regdat_sh) $(srcdir)/../regformats/rs6000/powerpc-altivec32l.dat powerpc-altivec32l.c | |
f4d9bade UW |
448 | powerpc-cell32l.o : powerpc-cell32l.c $(regdef_h) |
449 | powerpc-cell32l.c : $(srcdir)/../regformats/rs6000/powerpc-cell32l.dat $(regdat_sh) | |
450 | $(SHELL) $(regdat_sh) $(srcdir)/../regformats/rs6000/powerpc-cell32l.dat powerpc-cell32l.c | |
677c5bb1 LM |
451 | powerpc-vsx32l.o : powerpc-vsx32l.c $(regdef_h) |
452 | powerpc-vsx32l.c : $(srcdir)/../regformats/rs6000/powerpc-vsx32l.dat $(regdat_sh) | |
453 | $(SHELL) $(regdat_sh) $(srcdir)/../regformats/rs6000/powerpc-vsx32l.dat powerpc-vsx32l.c | |
2c4ad781 TJB |
454 | powerpc-isa205-32l.o : powerpc-isa205-32l.c $(regdef_h) |
455 | powerpc-isa205-32l.c : $(srcdir)/../regformats/rs6000/powerpc-isa205-32l.dat $(regdat_sh) | |
456 | $(SHELL) $(regdat_sh) $(srcdir)/../regformats/rs6000/powerpc-isa205-32l.dat powerpc-isa205-32l.c | |
457 | powerpc-isa205-altivec32l.o : powerpc-isa205-altivec32l.c $(regdef_h) | |
458 | powerpc-isa205-altivec32l.c : $(srcdir)/../regformats/rs6000/powerpc-isa205-altivec32l.dat $(regdat_sh) | |
459 | $(SHELL) $(regdat_sh) $(srcdir)/../regformats/rs6000/powerpc-isa205-altivec32l.dat powerpc-isa205-altivec32l.c | |
460 | powerpc-isa205-vsx32l.o : powerpc-isa205-vsx32l.c $(regdef_h) | |
461 | powerpc-isa205-vsx32l.c : $(srcdir)/../regformats/rs6000/powerpc-isa205-vsx32l.dat $(regdat_sh) | |
462 | $(SHELL) $(regdat_sh) $(srcdir)/../regformats/rs6000/powerpc-isa205-vsx32l.dat powerpc-isa205-vsx32l.c | |
7284e1be UW |
463 | powerpc-e500l.o : powerpc-e500l.c $(regdef_h) |
464 | powerpc-e500l.c : $(srcdir)/../regformats/rs6000/powerpc-e500l.dat $(regdat_sh) | |
465 | $(SHELL) $(regdat_sh) $(srcdir)/../regformats/rs6000/powerpc-e500l.dat powerpc-e500l.c | |
466 | powerpc-64l.o : powerpc-64l.c $(regdef_h) | |
467 | powerpc-64l.c : $(srcdir)/../regformats/rs6000/powerpc-64l.dat $(regdat_sh) | |
468 | $(SHELL) $(regdat_sh) $(srcdir)/../regformats/rs6000/powerpc-64l.dat powerpc-64l.c | |
469 | powerpc-altivec64l.o : powerpc-altivec64l.c $(regdef_h) | |
470 | powerpc-altivec64l.c : $(srcdir)/../regformats/rs6000/powerpc-altivec64l.dat $(regdat_sh) | |
471 | $(SHELL) $(regdat_sh) $(srcdir)/../regformats/rs6000/powerpc-altivec64l.dat powerpc-altivec64l.c | |
f4d9bade UW |
472 | powerpc-cell64l.o : powerpc-cell64l.c $(regdef_h) |
473 | powerpc-cell64l.c : $(srcdir)/../regformats/rs6000/powerpc-cell64l.dat $(regdat_sh) | |
474 | $(SHELL) $(regdat_sh) $(srcdir)/../regformats/rs6000/powerpc-cell64l.dat powerpc-cell64l.c | |
677c5bb1 LM |
475 | powerpc-vsx64l.o : powerpc-vsx64l.c $(regdef_h) |
476 | powerpc-vsx64l.c : $(srcdir)/../regformats/rs6000/powerpc-vsx64l.dat $(regdat_sh) | |
477 | $(SHELL) $(regdat_sh) $(srcdir)/../regformats/rs6000/powerpc-vsx64l.dat powerpc-vsx64l.c | |
2c4ad781 TJB |
478 | powerpc-isa205-64l.o : powerpc-isa205-64l.c $(regdef_h) |
479 | powerpc-isa205-64l.c : $(srcdir)/../regformats/rs6000/powerpc-isa205-64l.dat $(regdat_sh) | |
480 | $(SHELL) $(regdat_sh) $(srcdir)/../regformats/rs6000/powerpc-isa205-64l.dat powerpc-isa205-64l.c | |
481 | powerpc-isa205-altivec64l.o : powerpc-isa205-altivec64l.c $(regdef_h) | |
482 | powerpc-isa205-altivec64l.c : $(srcdir)/../regformats/rs6000/powerpc-isa205-altivec64l.dat $(regdat_sh) | |
483 | $(SHELL) $(regdat_sh) $(srcdir)/../regformats/rs6000/powerpc-isa205-altivec64l.dat powerpc-isa205-altivec64l.c | |
484 | powerpc-isa205-vsx64l.o : powerpc-isa205-vsx64l.c $(regdef_h) | |
485 | powerpc-isa205-vsx64l.c : $(srcdir)/../regformats/rs6000/powerpc-isa205-vsx64l.dat $(regdat_sh) | |
486 | $(SHELL) $(regdat_sh) $(srcdir)/../regformats/rs6000/powerpc-isa205-vsx64l.dat powerpc-isa205-vsx64l.c | |
7803799a UW |
487 | s390-linux32.o : s390-linux32.c $(regdef_h) |
488 | s390-linux32.c : $(srcdir)/../regformats/s390-linux32.dat $(regdat_sh) | |
489 | $(SHELL) $(regdat_sh) $(srcdir)/../regformats/s390-linux32.dat s390-linux32.c | |
490 | s390-linux64.o : s390-linux64.c $(regdef_h) | |
491 | s390-linux64.c : $(srcdir)/../regformats/s390-linux64.dat $(regdat_sh) | |
492 | $(SHELL) $(regdat_sh) $(srcdir)/../regformats/s390-linux64.dat s390-linux64.c | |
493 | s390x-linux64.o : s390x-linux64.c $(regdef_h) | |
494 | s390x-linux64.c : $(srcdir)/../regformats/s390x-linux64.dat $(regdat_sh) | |
495 | $(SHELL) $(regdat_sh) $(srcdir)/../regformats/s390x-linux64.dat s390x-linux64.c | |
0c74b2a7 DJ |
496 | reg-sh.o : reg-sh.c $(regdef_h) |
497 | reg-sh.c : $(srcdir)/../regformats/reg-sh.dat $(regdat_sh) | |
75f83163 | 498 | $(SHELL) $(regdat_sh) $(srcdir)/../regformats/reg-sh.dat reg-sh.c |
dfb64f85 DJ |
499 | reg-sparc64.o : reg-sparc64.c $(regdef_h) |
500 | reg-sparc64.c : $(srcdir)/../regformats/reg-sparc64.dat $(regdat_sh) | |
501 | $(SHELL) $(regdat_sh) $(srcdir)/../regformats/reg-sparc64.dat reg-sparc64.c | |
a13e2c95 UW |
502 | reg-spu.o : reg-spu.c $(regdef_h) |
503 | reg-spu.c : $(srcdir)/../regformats/reg-spu.dat $(regdat_sh) | |
75f83163 | 504 | $(SHELL) $(regdat_sh) $(srcdir)/../regformats/reg-spu.dat reg-spu.c |
90884b2b L |
505 | amd64.o : amd64.c $(regdef_h) |
506 | amd64.c : $(srcdir)/../regformats/i386/amd64.dat $(regdat_sh) | |
507 | $(SHELL) $(regdat_sh) $(srcdir)/../regformats/i386/amd64.dat amd64.c | |
508 | amd64-linux.o : amd64-linux.c $(regdef_h) | |
509 | amd64-linux.c : $(srcdir)/../regformats/i386/amd64-linux.dat $(regdat_sh) | |
510 | $(SHELL) $(regdat_sh) $(srcdir)/../regformats/i386/amd64-linux.dat amd64-linux.c | |
1570b33e L |
511 | amd64-avx.o : amd64-avx.c $(regdef_h) |
512 | amd64-avx.c : $(srcdir)/../regformats/i386/amd64-avx.dat $(regdat_sh) | |
513 | $(SHELL) $(regdat_sh) $(srcdir)/../regformats/i386/amd64-avx.dat amd64-avx.c | |
514 | amd64-avx-linux.o : amd64-avx-linux.c $(regdef_h) | |
515 | amd64-avx-linux.c : $(srcdir)/../regformats/i386/amd64-avx-linux.dat $(regdat_sh) | |
516 | $(SHELL) $(regdat_sh) $(srcdir)/../regformats/i386/amd64-avx-linux.dat amd64-avx-linux.c | |
1525d545 MG |
517 | reg-xtensa.o : reg-xtensa.c $(regdef_h) |
518 | reg-xtensa.c : $(srcdir)/../regformats/reg-xtensa.dat $(regdat_sh) | |
519 | $(SHELL) $(regdat_sh) $(srcdir)/../regformats/reg-xtensa.dat reg-xtensa.c | |
c906108c | 520 | # This is the end of "Makefile.in". |