1 |
330 |
jeremybenn |
# Copyright (C) 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
|
2 |
|
|
# 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
|
3 |
|
|
# Free Software Foundation, Inc.
|
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
|
9 |
|
|
# the Free Software Foundation; either version 3 of the License, or
|
10 |
|
|
# (at your option) any later version.
|
11 |
|
|
#
|
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.
|
16 |
|
|
#
|
17 |
|
|
# You should have received a copy of the GNU General Public License
|
18 |
|
|
# along with this program. If not, see .
|
19 |
|
|
|
20 |
|
|
prefix = @prefix@
|
21 |
|
|
exec_prefix = @exec_prefix@
|
22 |
|
|
|
23 |
|
|
host_alias = @host_alias@
|
24 |
|
|
target_alias = @target_alias@
|
25 |
|
|
program_transform_name = @program_transform_name@
|
26 |
|
|
bindir = @bindir@
|
27 |
|
|
libdir = @libdir@
|
28 |
|
|
tooldir = $(libdir)/$(target_alias)
|
29 |
|
|
|
30 |
|
|
datarootdir = @datarootdir@
|
31 |
|
|
datadir = @datadir@
|
32 |
|
|
mandir = @mandir@
|
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
|
42 |
|
|
infodir = @infodir@
|
43 |
|
|
htmldir = $(prefix)/html
|
44 |
|
|
includedir = @includedir@
|
45 |
|
|
|
46 |
|
|
SHELL = /bin/sh
|
47 |
|
|
EXEEXT = @EXEEXT@
|
48 |
|
|
|
49 |
|
|
INSTALL = @INSTALL@
|
50 |
|
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
51 |
|
|
INSTALL_DATA = @INSTALL_DATA@
|
52 |
|
|
|
53 |
|
|
CC = @CC@
|
54 |
|
|
|
55 |
|
|
# Directory containing source files. Don't clean up the spacing,
|
56 |
|
|
# this exact string is matched for by the "configure" script.
|
57 |
|
|
srcdir = @srcdir@
|
58 |
|
|
VPATH = @srcdir@
|
59 |
|
|
|
60 |
|
|
# It is also possible that you will need to add -I/usr/include/sys to the
|
61 |
|
|
# CFLAGS section if your system doesn't have fcntl.h in /usr/include (which
|
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 |
|
|
|
73 |
|
|
# Where is ust? These will be empty if ust was not available.
|
74 |
|
|
ustlibs = @ustlibs@
|
75 |
|
|
ustinc = @ustinc@
|
76 |
|
|
|
77 |
|
|
# All the includes used for CFLAGS and for lint.
|
78 |
|
|
# -I. for config files.
|
79 |
|
|
# -I${srcdir} for our headers.
|
80 |
|
|
# -I$(srcdir)/../regformats for regdef.h.
|
81 |
|
|
INCLUDE_CFLAGS = -I. -I${srcdir} -I$(srcdir)/../common \
|
82 |
|
|
-I$(srcdir)/../regformats -I$(INCLUDE_DIR)
|
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 |
|
|
|
89 |
|
|
WARN_CFLAGS = -Wall
|
90 |
|
|
|
91 |
|
|
# CFLAGS is specifically reserved for setting from the command line
|
92 |
|
|
# when running make. I.E. "make CFLAGS=-Wmissing-prototypes".
|
93 |
|
|
CFLAGS = @CFLAGS@
|
94 |
|
|
|
95 |
|
|
# INTERNAL_CFLAGS is the aggregate of all other *CFLAGS macros.
|
96 |
|
|
INTERNAL_CFLAGS = $(WARN_CFLAGS) ${CFLAGS} ${GLOBAL_CFLAGS} \
|
97 |
|
|
${PROFILE_CFLAGS} ${INCLUDE_CFLAGS}
|
98 |
|
|
|
99 |
|
|
# LDFLAGS is specifically reserved for setting from the command line
|
100 |
|
|
# when running make.
|
101 |
|
|
LDFLAGS = @LDFLAGS@
|
102 |
|
|
INTERNAL_LDFLAGS = $(LDFLAGS) @RDYNAMIC@
|
103 |
|
|
|
104 |
|
|
# All source files that go into linking GDB remote server.
|
105 |
|
|
|
106 |
|
|
SFILES= $(srcdir)/gdbreplay.c $(srcdir)/inferiors.c \
|
107 |
|
|
$(srcdir)/mem-break.c $(srcdir)/proc-service.c \
|
108 |
|
|
$(srcdir)/proc-service.list $(srcdir)/regcache.c \
|
109 |
|
|
$(srcdir)/remote-utils.c $(srcdir)/server.c $(srcdir)/target.c \
|
110 |
|
|
$(srcdir)/thread-db.c $(srcdir)/utils.c \
|
111 |
|
|
$(srcdir)/linux-arm-low.c $(srcdir)/linux-cris-low.c \
|
112 |
|
|
$(srcdir)/linux-crisv32-low.c \
|
113 |
|
|
${srcdir}/i386-low.c $(srcdir)/i387-fp.c \
|
114 |
|
|
$(srcdir)/linux-ia64-low.c $(srcdir)/linux-low.c \
|
115 |
|
|
$(srcdir)/linux-m32r-low.c \
|
116 |
|
|
$(srcdir)/linux-m68k-low.c $(srcdir)/linux-mips-low.c \
|
117 |
|
|
$(srcdir)/linux-ppc-low.c \
|
118 |
|
|
$(srcdir)/linux-s390-low.c \
|
119 |
|
|
$(srcdir)/linux-sh-low.c $(srcdir)/linux-sparc-low.c \
|
120 |
|
|
$(srcdir)/linux-x86-low.c \
|
121 |
|
|
$(srcdir)/linux-xtensa-low.c \
|
122 |
|
|
$(srcdir)/win32-arm-low.c $(srcdir)/win32-i386-low.c \
|
123 |
|
|
$(srcdir)/win32-low.c $(srcdir)/wincecompat.c \
|
124 |
|
|
$(srcdir)/hostio.c $(srcdir)/hostio-errno.c
|
125 |
|
|
|
126 |
|
|
DEPFILES = @GDBSERVER_DEPFILES@
|
127 |
|
|
|
128 |
|
|
LIBOBJS = @LIBOBJS@
|
129 |
|
|
|
130 |
|
|
SOURCES = $(SFILES)
|
131 |
|
|
TAGFILES = $(SOURCES) ${HFILES} ${ALLPARAM} ${POSSLIBS}
|
132 |
|
|
|
133 |
|
|
OBS = inferiors.o regcache.o remote-utils.o server.o signals.o target.o \
|
134 |
|
|
utils.o version.o \
|
135 |
|
|
mem-break.o hostio.o event-loop.o tracepoint.o \
|
136 |
|
|
$(XML_BUILTIN) \
|
137 |
|
|
$(DEPFILES) $(LIBOBJS)
|
138 |
|
|
GDBREPLAY_OBS = gdbreplay.o version.o
|
139 |
|
|
GDBSERVER_LIBS = @GDBSERVER_LIBS@
|
140 |
|
|
XM_CLIBS = @LIBS@
|
141 |
|
|
CDEPS = $(srcdir)/proc-service.list
|
142 |
|
|
|
143 |
|
|
# XML files to compile in to gdbserver, if any.
|
144 |
|
|
XML_DIR = $(srcdir)/../features
|
145 |
|
|
XML_FILES = @srv_xmlfiles@
|
146 |
|
|
XML_BUILTIN = @srv_xmlbuiltin@
|
147 |
|
|
|
148 |
|
|
IPA_DEPFILES = @IPA_DEPFILES@
|
149 |
|
|
extra_libraries = @extra_libraries@
|
150 |
|
|
|
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 |
|
|
|
156 |
|
|
all: gdbserver$(EXEEXT) gdbreplay$(EXEEXT) $(extra_libraries)
|
157 |
|
|
|
158 |
|
|
# Traditionally "install" depends on "all". But it may be useful
|
159 |
|
|
# not to; for example, if the user has made some trivial change to a
|
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
|
164 |
|
|
install-only:
|
165 |
|
|
n=`echo gdbserver | sed '$(program_transform_name)'`; \
|
166 |
|
|
if [ x$$n = x ]; then n=gdbserver; else true; fi; \
|
167 |
|
|
if [ x$IPA_DEPFILES != x ]; then \
|
168 |
|
|
$(SHELL) $(srcdir)/../../mkinstalldirs $(DESTDIR)$(libdir); \
|
169 |
|
|
$(INSTALL_PROGRAM) $(IPA_LIB) $(DESTDIR)$(libdir)/$(IPA_LIB); \
|
170 |
|
|
fi; \
|
171 |
|
|
$(SHELL) $(srcdir)/../../mkinstalldirs $(DESTDIR)$(bindir); \
|
172 |
|
|
$(INSTALL_PROGRAM) gdbserver$(EXEEXT) $(DESTDIR)$(bindir)/$$n$(EXEEXT); \
|
173 |
|
|
$(SHELL) $(srcdir)/../../mkinstalldirs $(DESTDIR)$(man1dir); \
|
174 |
|
|
$(INSTALL_DATA) $(srcdir)/gdbserver.1 $(DESTDIR)$(man1dir)/$$n.1
|
175 |
|
|
|
176 |
|
|
uninstall: force
|
177 |
|
|
n=`echo gdbserver | sed '$(program_transform_name)'`; \
|
178 |
|
|
if [ x$$n = x ]; then n=gdbserver; else true; fi; \
|
179 |
|
|
rm -f $(bindir)/$$n$(EXEEXT) $(DESTDIR)$(man1dir)/$$n.1
|
180 |
|
|
|
181 |
|
|
installcheck:
|
182 |
|
|
check:
|
183 |
|
|
info dvi pdf:
|
184 |
|
|
install-info:
|
185 |
|
|
install-pdf:
|
186 |
|
|
html:
|
187 |
|
|
install-html:
|
188 |
|
|
clean-info:
|
189 |
|
|
|
190 |
|
|
gdbserver$(EXEEXT): $(OBS) ${ADD_DEPS} ${CDEPS}
|
191 |
|
|
rm -f gdbserver$(EXEEXT)
|
192 |
|
|
${CC-LD} $(INTERNAL_CFLAGS) $(INTERNAL_LDFLAGS) -o gdbserver$(EXEEXT) $(OBS) \
|
193 |
|
|
$(GDBSERVER_LIBS) $(XM_CLIBS)
|
194 |
|
|
|
195 |
|
|
gdbreplay$(EXEEXT): $(GDBREPLAY_OBS)
|
196 |
|
|
rm -f gdbreplay$(EXEEXT)
|
197 |
|
|
${CC-LD} $(INTERNAL_CFLAGS) $(INTERNAL_LDFLAGS) -o gdbreplay$(EXEEXT) $(GDBREPLAY_OBS) \
|
198 |
|
|
$(XM_CLIBS)
|
199 |
|
|
|
200 |
|
|
IPA_OBJS=tracepoint-ipa.o utils-ipa.o regcache-ipa.o remote-utils-ipa.o ${IPA_DEPFILES}
|
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) \
|
207 |
|
|
$(INTERNAL_LDFLAGS) -o $(IPA_LIB) ${IPA_OBJS} -ldl -pthread
|
208 |
|
|
|
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}
|
213 |
|
|
etags `find ${srcdir}/../config -name $(DEPRECATED_TM_FILE) -print` \
|
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} *~
|
226 |
|
|
rm -f version.c
|
227 |
|
|
rm -f gdbserver$(EXEEXT) gdbreplay$(EXEEXT) core make.log
|
228 |
|
|
rm -f $(IPA_LIB)
|
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
|
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
|
235 |
|
|
rm -f powerpc-32l.c powerpc-64l.c powerpc-e500l.c
|
236 |
|
|
rm -f powerpc-altivec32l.c powerpc-cell32l.c powerpc-vsx32l.c
|
237 |
|
|
rm -f powerpc-altivec64l.c powerpc-cell64l.c powerpc-vsx64l.c
|
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
|
241 |
|
|
rm -f s390-linux32.c s390-linux64.c s390x-linux64.c
|
242 |
|
|
rm -f xml-builtin.c stamp-xml
|
243 |
|
|
rm -f i386-avx.c i386-avx-linux.c
|
244 |
|
|
rm -f amd64-avx.c amd64-avx-linux.c
|
245 |
|
|
rm -f i386-mmx.c i386-mmx-linux.c
|
246 |
|
|
|
247 |
|
|
maintainer-clean realclean distclean: clean
|
248 |
|
|
rm -f nm.h tm.h xm.h config.status config.h stamp-h config.log
|
249 |
|
|
rm -f Makefile
|
250 |
|
|
|
251 |
|
|
config.h: stamp-h ; @true
|
252 |
|
|
stamp-h: config.in config.status
|
253 |
|
|
CONFIG_FILES="" CONFIG_HEADERS=config.h:config.in $(SHELL) ./config.status
|
254 |
|
|
|
255 |
|
|
Makefile: Makefile.in config.status
|
256 |
|
|
CONFIG_HEADERS="" $(SHELL) ./config.status
|
257 |
|
|
|
258 |
|
|
config.status: configure configure.srv
|
259 |
|
|
$(SHELL) ./config.status --recheck
|
260 |
|
|
|
261 |
|
|
force:
|
262 |
|
|
|
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)
|
270 |
|
|
|
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 |
|
|
|
278 |
|
|
.PRECIOUS: xml-builtin.c
|
279 |
|
|
|
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 |
|
|
|
291 |
|
|
gdb_proc_service_h = $(srcdir)/gdb_proc_service.h
|
292 |
|
|
regdat_sh = $(srcdir)/../regformats/regdat.sh
|
293 |
|
|
regdef_h = $(srcdir)/../regformats/regdef.h
|
294 |
|
|
regcache_h = $(srcdir)/regcache.h
|
295 |
|
|
server_h = $(srcdir)/server.h $(regcache_h) config.h $(srcdir)/target.h \
|
296 |
|
|
$(srcdir)/mem-break.h $(srcdir)/../common/gdb_signals.h
|
297 |
|
|
|
298 |
|
|
linux_low_h = $(srcdir)/linux-low.h
|
299 |
|
|
|
300 |
|
|
nto_low_h = $(srcdir)/nto-low.h
|
301 |
|
|
|
302 |
|
|
UST_CFLAGS = $(ustinc) -DCONFIG_UST_GDB_INTEGRATION
|
303 |
|
|
|
304 |
|
|
# Note, we only build the IPA if -fvisibility=hidden is supported in
|
305 |
|
|
# the first place.
|
306 |
|
|
IPAGENT_CFLAGS = $(CPPFLAGS) $(INTERNAL_CFLAGS) $(UST_CFLAGS) \
|
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 |
|
|
|
328 |
|
|
event-loop.o: event-loop.c $(server_h)
|
329 |
|
|
hostio.o: hostio.c $(server_h)
|
330 |
|
|
hostio-errno.o: hostio-errno.c $(server_h)
|
331 |
|
|
inferiors.o: inferiors.c $(server_h)
|
332 |
|
|
mem-break.o: mem-break.c $(server_h)
|
333 |
|
|
proc-service.o: proc-service.c $(server_h) $(gdb_proc_service_h)
|
334 |
|
|
regcache.o: regcache.c $(server_h) $(regdef_h)
|
335 |
|
|
remote-utils.o: remote-utils.c terminal.h $(server_h)
|
336 |
|
|
server.o: server.c $(server_h)
|
337 |
|
|
target.o: target.c $(server_h)
|
338 |
|
|
thread-db.o: thread-db.c $(server_h) $(linux_low_h) $(gdb_proc_service_h)
|
339 |
|
|
tracepoint.o: tracepoint.c $(server_h)
|
340 |
|
|
utils.o: utils.c $(server_h)
|
341 |
|
|
gdbreplay.o: gdbreplay.c config.h
|
342 |
|
|
|
343 |
|
|
signals.o: ../common/signals.c $(server_h)
|
344 |
|
|
$(CC) -c $(CPPFLAGS) $(INTERNAL_CFLAGS) $< -DGDBSERVER
|
345 |
|
|
|
346 |
|
|
memmem.o: ../gnulib/memmem.c
|
347 |
|
|
$(CC) -o memmem.o -c $(CPPFLAGS) $(INTERNAL_CFLAGS) $<
|
348 |
|
|
|
349 |
|
|
i386_low_h = $(srcdir)/i386-low.h
|
350 |
|
|
|
351 |
|
|
i386-low.o: i386-low.c $(i386_low_h) $(server_h) $(target_h)
|
352 |
|
|
|
353 |
|
|
i387-fp.o: i387-fp.c $(server_h)
|
354 |
|
|
|
355 |
|
|
linux-low.o: linux-low.c $(linux_low_h) $(server_h)
|
356 |
|
|
$(CC) -c $(CPPFLAGS) $(INTERNAL_CFLAGS) $< @USE_THREAD_DB@
|
357 |
|
|
|
358 |
|
|
linux-arm-low.o: linux-arm-low.c $(linux_low_h) $(server_h) \
|
359 |
|
|
$(gdb_proc_service_h)
|
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)
|
362 |
|
|
linux-ia64-low.o: linux-ia64-low.c $(linux_low_h) $(server_h)
|
363 |
|
|
linux-m32r-low.o: linux-m32r-low.c $(linux_low_h) $(server_h)
|
364 |
|
|
linux-mips-low.o: linux-mips-low.c $(linux_low_h) $(server_h) \
|
365 |
|
|
$(gdb_proc_service_h)
|
366 |
|
|
linux-ppc-low.o: linux-ppc-low.c $(linux_low_h) $(server_h)
|
367 |
|
|
linux-s390-low.o: linux-s390-low.c $(linux_low_h) $(server_h)
|
368 |
|
|
linux-sh-low.o: linux-sh-low.c $(linux_low_h) $(server_h)
|
369 |
|
|
linux-x86-low.o: linux-x86-low.c $(linux_low_h) $(server_h) \
|
370 |
|
|
$(gdb_proc_service_h) $(i386_low_h)
|
371 |
|
|
linux-xtensa-low.o: linux-xtensa-low.c xtensa-xtregs.c $(linux_low_h) $(server_h)
|
372 |
|
|
|
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 |
|
|
|
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)
|
381 |
|
|
win32-i386-low.o: win32-i386-low.c $(win32_low_h) $(server_h) $(i386_low_h)
|
382 |
|
|
|
383 |
|
|
spu-low.o: spu-low.c $(server_h)
|
384 |
|
|
|
385 |
|
|
reg-arm.o : reg-arm.c $(regdef_h)
|
386 |
|
|
reg-arm.c : $(srcdir)/../regformats/reg-arm.dat $(regdat_sh)
|
387 |
|
|
$(SHELL) $(regdat_sh) $(srcdir)/../regformats/reg-arm.dat reg-arm.c
|
388 |
|
|
arm-with-iwmmxt.o : arm-with-iwmmxt.c $(regdef_h)
|
389 |
|
|
arm-with-iwmmxt.c : $(srcdir)/../regformats/arm-with-iwmmxt.dat $(regdat_sh)
|
390 |
|
|
$(SHELL) $(regdat_sh) $(srcdir)/../regformats/arm-with-iwmmxt.dat arm-with-iwmmxt.c
|
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
|
400 |
|
|
reg-cris.o : reg-cris.c $(regdef_h)
|
401 |
|
|
reg-cris.c : $(srcdir)/../regformats/reg-cris.dat $(regdat_sh)
|
402 |
|
|
$(SHELL) $(regdat_sh) $(srcdir)/../regformats/reg-cris.dat reg-cris.c
|
403 |
|
|
reg-crisv32.o : reg-crisv32.c $(regdef_h)
|
404 |
|
|
reg-crisv32.c : $(srcdir)/../regformats/reg-crisv32.dat $(regdat_sh)
|
405 |
|
|
$(SHELL) $(regdat_sh) $(srcdir)/../regformats/reg-crisv32.dat reg-crisv32.c
|
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
|
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
|
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
|
424 |
|
|
reg-ia64.o : reg-ia64.c $(regdef_h)
|
425 |
|
|
reg-ia64.c : $(srcdir)/../regformats/reg-ia64.dat $(regdat_sh)
|
426 |
|
|
$(SHELL) $(regdat_sh) $(srcdir)/../regformats/reg-ia64.dat reg-ia64.c
|
427 |
|
|
reg-m32r.o : reg-m32r.c $(regdef_h)
|
428 |
|
|
reg-m32r.c : $(srcdir)/../regformats/reg-m32r.dat $(regdat_sh)
|
429 |
|
|
$(SHELL) $(regdat_sh) $(srcdir)/../regformats/reg-m32r.dat reg-m32r.c
|
430 |
|
|
reg-m68k.o : reg-m68k.c $(regdef_h)
|
431 |
|
|
reg-m68k.c : $(srcdir)/../regformats/reg-m68k.dat $(regdat_sh)
|
432 |
|
|
$(SHELL) $(regdat_sh) $(srcdir)/../regformats/reg-m68k.dat reg-m68k.c
|
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
|
436 |
|
|
mips-linux.o : mips-linux.c $(regdef_h)
|
437 |
|
|
mips-linux.c : $(srcdir)/../regformats/mips-linux.dat $(regdat_sh)
|
438 |
|
|
$(SHELL) $(regdat_sh) $(srcdir)/../regformats/mips-linux.dat mips-linux.c
|
439 |
|
|
mips64-linux.o : mips64-linux.c $(regdef_h)
|
440 |
|
|
mips64-linux.c : $(srcdir)/../regformats/mips64-linux.dat $(regdat_sh)
|
441 |
|
|
$(SHELL) $(regdat_sh) $(srcdir)/../regformats/mips64-linux.dat mips64-linux.c
|
442 |
512 |
jeremybenn |
reg-or32.o : reg-or32.c $(regdef_h)
|
443 |
|
|
reg-or32.c : $(srcdir)/../regformats/reg-or32.dat $(regdat_sh)
|
444 |
|
|
$(SHELL) $(regdat_sh) $(srcdir)/../regformats/reg-or32.dat reg-or32.c
|
445 |
330 |
jeremybenn |
powerpc-32l.o : powerpc-32l.c $(regdef_h)
|
446 |
|
|
powerpc-32l.c : $(srcdir)/../regformats/rs6000/powerpc-32l.dat $(regdat_sh)
|
447 |
|
|
$(SHELL) $(regdat_sh) $(srcdir)/../regformats/rs6000/powerpc-32l.dat powerpc-32l.c
|
448 |
|
|
powerpc-altivec32l.o : powerpc-altivec32l.c $(regdef_h)
|
449 |
|
|
powerpc-altivec32l.c : $(srcdir)/../regformats/rs6000/powerpc-altivec32l.dat $(regdat_sh)
|
450 |
|
|
$(SHELL) $(regdat_sh) $(srcdir)/../regformats/rs6000/powerpc-altivec32l.dat powerpc-altivec32l.c
|
451 |
|
|
powerpc-cell32l.o : powerpc-cell32l.c $(regdef_h)
|
452 |
|
|
powerpc-cell32l.c : $(srcdir)/../regformats/rs6000/powerpc-cell32l.dat $(regdat_sh)
|
453 |
|
|
$(SHELL) $(regdat_sh) $(srcdir)/../regformats/rs6000/powerpc-cell32l.dat powerpc-cell32l.c
|
454 |
|
|
powerpc-vsx32l.o : powerpc-vsx32l.c $(regdef_h)
|
455 |
|
|
powerpc-vsx32l.c : $(srcdir)/../regformats/rs6000/powerpc-vsx32l.dat $(regdat_sh)
|
456 |
|
|
$(SHELL) $(regdat_sh) $(srcdir)/../regformats/rs6000/powerpc-vsx32l.dat powerpc-vsx32l.c
|
457 |
|
|
powerpc-isa205-32l.o : powerpc-isa205-32l.c $(regdef_h)
|
458 |
|
|
powerpc-isa205-32l.c : $(srcdir)/../regformats/rs6000/powerpc-isa205-32l.dat $(regdat_sh)
|
459 |
|
|
$(SHELL) $(regdat_sh) $(srcdir)/../regformats/rs6000/powerpc-isa205-32l.dat powerpc-isa205-32l.c
|
460 |
|
|
powerpc-isa205-altivec32l.o : powerpc-isa205-altivec32l.c $(regdef_h)
|
461 |
|
|
powerpc-isa205-altivec32l.c : $(srcdir)/../regformats/rs6000/powerpc-isa205-altivec32l.dat $(regdat_sh)
|
462 |
|
|
$(SHELL) $(regdat_sh) $(srcdir)/../regformats/rs6000/powerpc-isa205-altivec32l.dat powerpc-isa205-altivec32l.c
|
463 |
|
|
powerpc-isa205-vsx32l.o : powerpc-isa205-vsx32l.c $(regdef_h)
|
464 |
|
|
powerpc-isa205-vsx32l.c : $(srcdir)/../regformats/rs6000/powerpc-isa205-vsx32l.dat $(regdat_sh)
|
465 |
|
|
$(SHELL) $(regdat_sh) $(srcdir)/../regformats/rs6000/powerpc-isa205-vsx32l.dat powerpc-isa205-vsx32l.c
|
466 |
|
|
powerpc-e500l.o : powerpc-e500l.c $(regdef_h)
|
467 |
|
|
powerpc-e500l.c : $(srcdir)/../regformats/rs6000/powerpc-e500l.dat $(regdat_sh)
|
468 |
|
|
$(SHELL) $(regdat_sh) $(srcdir)/../regformats/rs6000/powerpc-e500l.dat powerpc-e500l.c
|
469 |
|
|
powerpc-64l.o : powerpc-64l.c $(regdef_h)
|
470 |
|
|
powerpc-64l.c : $(srcdir)/../regformats/rs6000/powerpc-64l.dat $(regdat_sh)
|
471 |
|
|
$(SHELL) $(regdat_sh) $(srcdir)/../regformats/rs6000/powerpc-64l.dat powerpc-64l.c
|
472 |
|
|
powerpc-altivec64l.o : powerpc-altivec64l.c $(regdef_h)
|
473 |
|
|
powerpc-altivec64l.c : $(srcdir)/../regformats/rs6000/powerpc-altivec64l.dat $(regdat_sh)
|
474 |
|
|
$(SHELL) $(regdat_sh) $(srcdir)/../regformats/rs6000/powerpc-altivec64l.dat powerpc-altivec64l.c
|
475 |
|
|
powerpc-cell64l.o : powerpc-cell64l.c $(regdef_h)
|
476 |
|
|
powerpc-cell64l.c : $(srcdir)/../regformats/rs6000/powerpc-cell64l.dat $(regdat_sh)
|
477 |
|
|
$(SHELL) $(regdat_sh) $(srcdir)/../regformats/rs6000/powerpc-cell64l.dat powerpc-cell64l.c
|
478 |
|
|
powerpc-vsx64l.o : powerpc-vsx64l.c $(regdef_h)
|
479 |
|
|
powerpc-vsx64l.c : $(srcdir)/../regformats/rs6000/powerpc-vsx64l.dat $(regdat_sh)
|
480 |
|
|
$(SHELL) $(regdat_sh) $(srcdir)/../regformats/rs6000/powerpc-vsx64l.dat powerpc-vsx64l.c
|
481 |
|
|
powerpc-isa205-64l.o : powerpc-isa205-64l.c $(regdef_h)
|
482 |
|
|
powerpc-isa205-64l.c : $(srcdir)/../regformats/rs6000/powerpc-isa205-64l.dat $(regdat_sh)
|
483 |
|
|
$(SHELL) $(regdat_sh) $(srcdir)/../regformats/rs6000/powerpc-isa205-64l.dat powerpc-isa205-64l.c
|
484 |
|
|
powerpc-isa205-altivec64l.o : powerpc-isa205-altivec64l.c $(regdef_h)
|
485 |
|
|
powerpc-isa205-altivec64l.c : $(srcdir)/../regformats/rs6000/powerpc-isa205-altivec64l.dat $(regdat_sh)
|
486 |
|
|
$(SHELL) $(regdat_sh) $(srcdir)/../regformats/rs6000/powerpc-isa205-altivec64l.dat powerpc-isa205-altivec64l.c
|
487 |
|
|
powerpc-isa205-vsx64l.o : powerpc-isa205-vsx64l.c $(regdef_h)
|
488 |
|
|
powerpc-isa205-vsx64l.c : $(srcdir)/../regformats/rs6000/powerpc-isa205-vsx64l.dat $(regdat_sh)
|
489 |
|
|
$(SHELL) $(regdat_sh) $(srcdir)/../regformats/rs6000/powerpc-isa205-vsx64l.dat powerpc-isa205-vsx64l.c
|
490 |
|
|
s390-linux32.o : s390-linux32.c $(regdef_h)
|
491 |
|
|
s390-linux32.c : $(srcdir)/../regformats/s390-linux32.dat $(regdat_sh)
|
492 |
|
|
$(SHELL) $(regdat_sh) $(srcdir)/../regformats/s390-linux32.dat s390-linux32.c
|
493 |
|
|
s390-linux64.o : s390-linux64.c $(regdef_h)
|
494 |
|
|
s390-linux64.c : $(srcdir)/../regformats/s390-linux64.dat $(regdat_sh)
|
495 |
|
|
$(SHELL) $(regdat_sh) $(srcdir)/../regformats/s390-linux64.dat s390-linux64.c
|
496 |
|
|
s390x-linux64.o : s390x-linux64.c $(regdef_h)
|
497 |
|
|
s390x-linux64.c : $(srcdir)/../regformats/s390x-linux64.dat $(regdat_sh)
|
498 |
|
|
$(SHELL) $(regdat_sh) $(srcdir)/../regformats/s390x-linux64.dat s390x-linux64.c
|
499 |
|
|
reg-sh.o : reg-sh.c $(regdef_h)
|
500 |
|
|
reg-sh.c : $(srcdir)/../regformats/reg-sh.dat $(regdat_sh)
|
501 |
|
|
$(SHELL) $(regdat_sh) $(srcdir)/../regformats/reg-sh.dat reg-sh.c
|
502 |
|
|
reg-sparc64.o : reg-sparc64.c $(regdef_h)
|
503 |
|
|
reg-sparc64.c : $(srcdir)/../regformats/reg-sparc64.dat $(regdat_sh)
|
504 |
|
|
$(SHELL) $(regdat_sh) $(srcdir)/../regformats/reg-sparc64.dat reg-sparc64.c
|
505 |
|
|
reg-spu.o : reg-spu.c $(regdef_h)
|
506 |
|
|
reg-spu.c : $(srcdir)/../regformats/reg-spu.dat $(regdat_sh)
|
507 |
|
|
$(SHELL) $(regdat_sh) $(srcdir)/../regformats/reg-spu.dat reg-spu.c
|
508 |
|
|
amd64.o : amd64.c $(regdef_h)
|
509 |
|
|
amd64.c : $(srcdir)/../regformats/i386/amd64.dat $(regdat_sh)
|
510 |
|
|
$(SHELL) $(regdat_sh) $(srcdir)/../regformats/i386/amd64.dat amd64.c
|
511 |
|
|
amd64-linux.o : amd64-linux.c $(regdef_h)
|
512 |
|
|
amd64-linux.c : $(srcdir)/../regformats/i386/amd64-linux.dat $(regdat_sh)
|
513 |
|
|
$(SHELL) $(regdat_sh) $(srcdir)/../regformats/i386/amd64-linux.dat amd64-linux.c
|
514 |
|
|
amd64-avx.o : amd64-avx.c $(regdef_h)
|
515 |
|
|
amd64-avx.c : $(srcdir)/../regformats/i386/amd64-avx.dat $(regdat_sh)
|
516 |
|
|
$(SHELL) $(regdat_sh) $(srcdir)/../regformats/i386/amd64-avx.dat amd64-avx.c
|
517 |
|
|
amd64-avx-linux.o : amd64-avx-linux.c $(regdef_h)
|
518 |
|
|
amd64-avx-linux.c : $(srcdir)/../regformats/i386/amd64-avx-linux.dat $(regdat_sh)
|
519 |
|
|
$(SHELL) $(regdat_sh) $(srcdir)/../regformats/i386/amd64-avx-linux.dat amd64-avx-linux.c
|
520 |
|
|
reg-xtensa.o : reg-xtensa.c $(regdef_h)
|
521 |
|
|
reg-xtensa.c : $(srcdir)/../regformats/reg-xtensa.dat $(regdat_sh)
|
522 |
|
|
$(SHELL) $(regdat_sh) $(srcdir)/../regformats/reg-xtensa.dat reg-xtensa.c
|
523 |
|
|
# This is the end of "Makefile.in".
|