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