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