1 # Copyright (C) 1989-2018 Free Software Foundation, Inc.
3 # This file is part of GDB.
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
7 # the Free Software Foundation; either version 3 of the License, or
8 # (at your option) any later version.
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.
15 # You should have received a copy of the GNU General Public License
16 # along with this program. If not, see <http://www.gnu.org/licenses/>.
18 # Please keep lists in this file sorted alphabetically, with one item per line.
19 # See gdb/Makefile.in for guidelines on ordering files and directories.
22 exec_prefix = @
exec_prefix@
24 host_alias
= @host_noncanonical@
25 target_alias
= @target_noncanonical@
26 program_transform_name
= @program_transform_name@
29 tooldir
= $(libdir)/$(target_alias
)
31 datarootdir
= @datarootdir@
34 man1dir = $(mandir)/man1
35 man2dir = $(mandir)/man2
36 man3dir = $(mandir)/man3
37 man4dir = $(mandir)/man4
38 man5dir = $(mandir)/man5
39 man6dir = $(mandir)/man6
40 man7dir = $(mandir)/man7
41 man8dir = $(mandir)/man8
42 man9dir = $(mandir)/man9
44 htmldir
= $(prefix)/html
45 includedir = @
includedir@
46 CONFIG_SRC_SUBDIR
= @CONFIG_SRC_SUBDIR@
52 INSTALL_PROGRAM
= @INSTALL_PROGRAM@
53 INSTALL_DATA
= @INSTALL_DATA@
58 CXX_DIALECT
= @CXX_DIALECT@
62 # Dependency tracking information.
65 depcomp
= $(SHELL
) $(srcdir)/..
/..
/depcomp
67 # Directory containing source files. Don't clean up the spacing,
68 # this exact string is matched for by the "configure" script.
70 abs_top_srcdir
= @abs_top_srcdir@
71 abs_srcdir
= @abs_srcdir@
74 include $(srcdir)/..
/silent-rules.mk
76 # Note that these are overridden by GNU make-specific code below if
77 # GNU make is used. The overrides implement dependency tracking.
78 COMPILE.pre
= $(CXX
) -x c
++ $(CXX_DIALECT
)
79 COMPILE.post
= -c
-o
$@
80 COMPILE
= $(ECHO_CXX
) $(COMPILE.pre
) $(INTERNAL_CFLAGS
) $(COMPILE.post
)
83 # It is also possible that you will need to add -I/usr/include/sys to the
84 # CFLAGS section if your system doesn't have fcntl.h in /usr/include (which
85 # is where it should be according to Posix).
87 # Set this up with gcc if you have gnu ld and the loader will print out
88 # line numbers for undefinded refs.
90 CC_LD
= $(CXX
) $(CXX_DIALECT
)
92 # Where is the "include" directory? Traditionally ../include or ./include
93 INCLUDE_DIR
= ${srcdir}/..
/..
/include
94 INCLUDE_DEP
= $$(INCLUDE_DIR
)
96 LIBIBERTY_BUILDDIR
= build-libiberty-gdbserver
97 LIBIBERTY
= $(LIBIBERTY_BUILDDIR
)/libiberty.a
99 # Where is ust? These will be empty if ust was not available.
104 GNULIB_BUILDDIR
= build-gnulib-gdbserver
105 LIBGNU
= $(GNULIB_BUILDDIR
)/import
/libgnu.a
106 INCGNU
= -I
$(srcdir)/..
/gnulib
/import
-I
$(GNULIB_BUILDDIR
)/import
108 # Generated headers in the gnulib directory. These must be listed
109 # so that they are generated before other files are compiled.
110 GNULIB_H
= $(GNULIB_BUILDDIR
)/import
/string.h @GNULIB_STDINT_H@
112 # All the includes used for CFLAGS and for lint.
113 # -I. for config files.
114 # -I${srcdir} for our headers.
115 # -I$(srcdir)/../regformats for regdef.h.
117 # We do not include ../target or ../nat in here because headers
118 # in those directories should be included with the subdirectory.
119 # e.g.: "target/wait.h".
121 INCLUDE_CFLAGS
= -I.
-I
${srcdir} -I
$(srcdir)/..
/common \
122 -I
$(srcdir)/..
/regformats
-I
$(srcdir)/..
-I
$(INCLUDE_DIR
) \
125 # M{H,T}_CFLAGS, if defined, has host- and target-dependent CFLAGS
126 # from the config/ directory.
127 GLOBAL_CFLAGS
= ${MT_CFLAGS} ${MH_CFLAGS}
128 #PROFILE_CFLAGS = -pg
130 WARN_CFLAGS
= @WARN_CFLAGS@
131 WERROR_CFLAGS
= @WERROR_CFLAGS@
133 WARN_CFLAGS_NO_FORMAT
= `echo " $(WARN_CFLAGS) " \
134 | sed "s/ -Wformat-nonliteral / -Wno-format-nonliteral /g"`
136 # These are specifically reserved for setting from the command line
137 # when running make. I.E. "make CFLAGS=-Wmissing-prototypes".
139 CXXFLAGS
= @CXXFLAGS@
140 CPPFLAGS
= @CPPFLAGS@
142 # INTERNAL_CFLAGS is the aggregate of all other *CFLAGS macros.
143 INTERNAL_CFLAGS_BASE
= ${CXXFLAGS} ${GLOBAL_CFLAGS} \
144 ${PROFILE_CFLAGS} ${INCLUDE_CFLAGS} ${CPPFLAGS}
145 INTERNAL_WARN_CFLAGS
= ${INTERNAL_CFLAGS_BASE} $(WARN_CFLAGS
)
146 INTERNAL_CFLAGS
= ${INTERNAL_WARN_CFLAGS} $(WERROR_CFLAGS
) -DGDBSERVER
148 # LDFLAGS is specifically reserved for setting from the command line
151 INTERNAL_LDFLAGS
= $(LDFLAGS
) @RDYNAMIC@
153 # All source files that go into linking GDB remote server.
158 $(srcdir)/gdbreplay.c \
160 $(srcdir)/hostio-errno.c \
161 $(srcdir)/i387-fp.c \
162 $(srcdir)/inferiors.c \
163 $(srcdir)/linux-aarch64-low.c \
164 $(srcdir)/linux-arm-low.c \
165 $(srcdir)/linux-bfin-low.c \
166 $(srcdir)/linux-cris-low.c \
167 $(srcdir)/linux-crisv32-low.c \
168 $(srcdir)/linux-ia64-low.c \
169 $(srcdir)/linux-low.c \
170 $(srcdir)/linux-m32r-low.c \
171 $(srcdir)/linux-m68k-low.c \
172 $(srcdir)/linux-mips-low.c \
173 $(srcdir)/linux-nios2-low.c \
174 $(srcdir)/linux-ppc-low.c \
175 $(srcdir)/linux-s390-low.c \
176 $(srcdir)/linux-sh-low.c \
177 $(srcdir)/linux-sparc-low.c \
178 $(srcdir)/linux-tile-low.c \
179 $(srcdir)/linux-x86-low.c \
180 $(srcdir)/linux-xtensa-low.c \
181 $(srcdir)/mem-break.c \
182 $(srcdir)/proc-service.c \
183 $(srcdir)/proc-service.list \
184 $(srcdir)/regcache.c \
185 $(srcdir)/remote-utils.c \
189 $(srcdir)/thread-db.c \
191 $(srcdir)/win32-arm-low.c \
192 $(srcdir)/win32-i386-low.c \
193 $(srcdir)/win32-low.c \
194 $(srcdir)/wincecompat.c \
195 $(srcdir)/x86-low.c \
196 $(srcdir)/arch
/arm.c \
197 $(srcdir)/arch
/arm-get-next-pcs.c \
198 $(srcdir)/arch
/arm-linux.c \
199 $(srcdir)/arch
/ppc-linux-common.c \
200 $(srcdir)/common
/btrace-common.c \
201 $(srcdir)/common
/buffer.c \
202 $(srcdir)/common
/cleanups.c \
203 $(srcdir)/common
/common-debug.c \
204 $(srcdir)/common
/common-exceptions.c \
205 $(srcdir)/common
/common-regcache.c \
206 $(srcdir)/common
/common-utils.c \
207 $(srcdir)/common
/errors.c \
208 $(srcdir)/common
/environ.c \
209 $(srcdir)/common
/fileio.c \
210 $(srcdir)/common
/filestuff.c \
211 $(srcdir)/common
/job-control.c \
212 $(srcdir)/common
/gdb_tilde_expand.c \
213 $(srcdir)/common
/gdb_vecs.c \
214 $(srcdir)/common
/new-op.c \
215 $(srcdir)/common
/pathstuff.c \
216 $(srcdir)/common
/print-utils.c \
217 $(srcdir)/common
/ptid.c \
218 $(srcdir)/common
/rsp-low.c \
219 $(srcdir)/common
/tdesc.c \
220 $(srcdir)/common
/vec.c \
221 $(srcdir)/common
/xml-utils.c \
222 $(srcdir)/nat
/linux-btrace.c \
223 $(srcdir)/nat
/linux-namespaces.c \
224 $(srcdir)/nat
/linux-osdata.c \
225 $(srcdir)/nat
/linux-personality.c \
226 $(srcdir)/nat
/mips-linux-watch.c \
227 $(srcdir)/nat
/ppc-linux.c \
228 $(srcdir)/nat
/fork-inferior.c \
229 $(srcdir)/target
/waitstatus.c
231 DEPFILES
= @GDBSERVER_DEPFILES@
236 TAGFILES
= $(SOURCES
) ${HFILES} ${ALLPARAM} ${POSSLIBS}
241 common
/btrace-common.o \
244 common
/common-debug.o \
245 common
/common-exceptions.o \
246 common
/job-control.o \
247 common
/common-regcache.o \
248 common
/common-utils.o \
254 common
/gdb_tilde_expand.o \
258 common
/print-utils.o \
262 common
/signals-state-save-restore.o \
287 GDBREPLAY_OBS
= gdbreplay.o version.o
288 GDBSERVER_LIBS
= @GDBSERVER_LIBS@
290 CDEPS
= $(srcdir)/proc-service.list
292 # XML files to compile in to gdbserver, if any.
293 XML_DIR
= $(srcdir)/..
/features
294 XML_FILES
= @srv_xmlfiles@
295 XML_BUILTIN
= @srv_xmlbuiltin@
297 IPA_DEPFILES
= @IPA_DEPFILES@
298 extra_libraries
= @extra_libraries@
300 SUBDIRS
= $(GNULIB_BUILDDIR
) $(LIBIBERTY_BUILDDIR
)
301 CLEANDIRS
= $(SUBDIRS
)
303 # List of subdirectories in the build tree that must exist.
304 # This is used to force build failures in existing trees when
305 # a new directory is added.
306 # The format here is for the `case' shell command.
307 REQUIRED_SUBDIRS
= $(GNULIB_BUILDDIR
) |
$(LIBIBERTY_BUILDDIR
)
311 "exec_prefix=$(exec_prefix)" \
312 "infodir=$(infodir)" \
313 "datarootdir=$(datarootdir)" \
315 "htmldir=$(htmldir)" \
319 "datadir=$(datadir)" \
320 "includedir=$(includedir)" \
321 "against=$(against)" \
322 "DESTDIR=$(DESTDIR)" \
324 "AR_FLAGS=$(AR_FLAGS)" \
328 "CXXFLAGS=$(CXXFLAGS)" \
329 "DLLTOOL=$(DLLTOOL)" \
330 "LDFLAGS=$(LDFLAGS)" \
332 "MAKEINFO=$(MAKEINFO)" \
333 "MAKEHTML=$(MAKEHTML)" \
334 "MAKEHTMLFLAGS=$(MAKEHTMLFLAGS)" \
335 "INSTALL=$(INSTALL)" \
336 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
337 "INSTALL_DATA=$(INSTALL_DATA)" \
338 "RUNTEST=$(RUNTEST)" \
339 "RUNTESTFLAGS=$(RUNTESTFLAGS)"
341 # All generated files which can be included by another file.
342 generated_files
= config.h
$(GNULIB_H
)
344 all: gdbserver
$(EXEEXT
) gdbreplay
$(EXEEXT
) $(extra_libraries
)
345 @
$(MAKE
) $(FLAGS_TO_PASS
) DO
=$@
"DODIRS=$(SUBDIRS)" subdir_do
347 # Traditionally "install" depends on "all". But it may be useful
348 # not to; for example, if the user has made some trivial change to a
349 # source file and doesn't care about rebuilding or just wants to save the
350 # time it takes for make to check that all is up to date.
351 # install-only is intended to address that need.
353 @
$(MAKE
) $(FLAGS_TO_PASS
) install-only
356 n
=`echo gdbserver | sed '$(program_transform_name)'`; \
357 if
[ x
$$n = x
]; then n
=gdbserver
; else true
; fi
; \
358 if
[ x
"$(IPA_DEPFILES)" != x
]; then \
359 $(SHELL
) $(srcdir)/..
/..
/mkinstalldirs
$(DESTDIR
)$(libdir); \
360 $(INSTALL_PROGRAM
) $(IPA_LIB
) $(DESTDIR
)$(libdir)/$(IPA_LIB
); \
362 $(SHELL
) $(srcdir)/..
/..
/mkinstalldirs
$(DESTDIR
)$(bindir); \
363 $(INSTALL_PROGRAM
) gdbserver
$(EXEEXT
) $(DESTDIR
)$(bindir)/$$n$(EXEEXT
)
364 # Note that we run install and not install-only, as the latter
365 # is not part of GNU standards and in particular not provided
367 @
$(MAKE
) $(FLAGS_TO_PASS
) DO
=install "DODIRS=$(SUBDIRS)" subdir_do
370 n
=`echo gdbserver | sed '$(program_transform_name)'`; \
371 if
[ x
$$n = x
]; then n
=gdbserver
; else true
; fi
; \
372 rm -f
$(DESTDIR
)/$(bindir)/$$n$(EXEEXT
) $(DESTDIR
)$(man1dir)/$$n.1
373 @
$(MAKE
) $(FLAGS_TO_PASS
) DO
=$@
"DODIRS=$(SUBDIRS)" subdir_do
383 @
$(MAKE
) $(FLAGS_TO_PASS
) DO
=$@
"DODIRS=$(SUBDIRS)" subdir_do
385 gdbserver
$(EXEEXT
): $(OBS
) ${ADD_DEPS} ${CDEPS} $(LIBGNU
) $(LIBIBERTY
)
386 $(SILENCE
) rm -f gdbserver
$(EXEEXT
)
387 $(ECHO_CXXLD
) $(CC_LD
) $(INTERNAL_CFLAGS
) $(INTERNAL_LDFLAGS
) \
388 -o gdbserver
$(EXEEXT
) $(OBS
) $(LIBGNU
) $(LIBIBERTY
) \
389 $(GDBSERVER_LIBS
) $(XM_CLIBS
)
391 $(LIBGNU
) $(LIBIBERTY
) $(GNULIB_H
): all-lib
392 all-lib
: $(GNULIB_BUILDDIR
)/Makefile
$(LIBIBERTY_BUILDDIR
)/Makefile
393 @
$(MAKE
) $(FLAGS_TO_PASS
) DO
=all DODIRS
="$(SUBDIRS)" subdir_do
396 gdbreplay
$(EXEEXT
): $(GDBREPLAY_OBS
) $(LIBGNU
) $(LIBIBERTY
)
397 $(SILENCE
) rm -f gdbreplay
$(EXEEXT
)
398 $(ECHO_CXXLD
) $(CC_LD
) $(INTERNAL_CFLAGS
) $(INTERNAL_LDFLAGS
) \
399 -o gdbreplay
$(EXEEXT
) $(GDBREPLAY_OBS
) $(XM_CLIBS
) $(LIBGNU
) \
404 common
/common-utils-ipa.o \
405 common
/errors-ipa.o \
406 common
/format-ipa.o \
407 common
/print-utils-ipa.o \
408 common
/rsp-low-ipa.o \
418 IPA_LIB
= libinproctrace.so
420 $(IPA_LIB
): $(IPA_OBJS
) ${ADD_DEPS} ${CDEPS}
421 $(SILENCE
) rm -f
$(IPA_LIB
)
422 $(ECHO_CXXLD
) $(CC_LD
) -shared
-fPIC
-Wl
,--soname
=$(IPA_LIB
) \
423 -Wl
,--no-undefined
$(INTERNAL_CFLAGS
) $(INTERNAL_LDFLAGS
) \
424 -o
$(IPA_LIB
) ${IPA_OBJS} -ldl
-pthread
426 # Put the proper machine-specific files first, so M-. on a machine
427 # specific routine gets the one for the correct machine.
428 # The xyzzy stuff below deals with empty DEPFILES
430 etags
`find ${srcdir}/../config -name $(DEPRECATED_TM_FILE) -print` \
431 `find ${srcdir}/../config -name ${XM_FILE} -print` \
432 `find ${srcdir}/../config -name ${NAT_FILE} -print` \
433 `for i in yzzy ${DEPFILES}; do \
434 if [ x$$i != xyzzy ]; then \
435 echo ${srcdir}/$$i | sed -e 's/\.o$$/\.c/' ; \
442 rm -f
*.o
${ADD_FILES} *~
443 rm -f gdbserver
$(EXEEXT
) gdbreplay
$(EXEEXT
) core make.log
448 for i in
$(CONFIG_SRC_SUBDIR
); do \
450 rm -f
$$i/$(DEPDIR
)/*; \
452 @
$(MAKE
) $(FLAGS_TO_PASS
) DO
=$@
"DODIRS=$(SUBDIRS)" subdir_do
454 maintainer-clean
realclean distclean: clean
455 @
$(MAKE
) $(FLAGS_TO_PASS
) DO
=$@
"DODIRS=$(SUBDIRS)" subdir_do
456 rm -rf
$(GNULIB_BUILDDIR
)
457 rm -f Makefile config.status config.h stamp-h config.log
459 for i in
$(CONFIG_SRC_SUBDIR
); do \
460 rmdir
$$i/$(DEPDIR
); \
464 @for i in
$(DODIRS
); do \
466 $(REQUIRED_SUBDIRS
)) \
467 if
[ ! -f .
/$$i/Makefile
] ; then \
468 echo
"Missing $$i/Makefile" >&2 ; \
472 if
[ -f .
/$$i/Makefile
] ; then \
474 $(MAKE
) $(FLAGS_TO_PASS
) $(DO
)) ; then true
; \
479 config.h
: stamp-h
; @true
480 stamp-h
: config.in config.status
481 CONFIG_FILES
="" CONFIG_HEADERS
=config.h
:config.in
$(SHELL
) .
/config.status
483 Makefile
: Makefile.in config.status
484 CONFIG_HEADERS
="" $(SHELL
) .
/config.status
486 $(GNULIB_BUILDDIR
)/Makefile
: $(srcdir)/..
/gnulib
/Makefile.in config.status
487 @cd
$(GNULIB_BUILDDIR
); CONFIG_FILES
="Makefile" \
488 CONFIG_COMMANDS
="depfiles" \
491 $(SHELL
) config.status
493 config.status
: configure configure.srv
$(srcdir)/..
/..
/bfd
/development.sh
494 $(SHELL
) .
/config.status
--recheck
496 # automatic rebuilding in automake-generated Makefiles requires
497 # this rule in the toplevel Makefile, which, with GNU make, causes
498 # the desired updates through the implicit regeneration of the Makefile
499 # and all of its prerequisites.
505 version-generated.c
: Makefile
$(srcdir)/..
/version.in
$(srcdir)/..
/..
/bfd
/version.h
$(srcdir)/..
/common
/create-version.sh
506 $(ECHO_GEN
) $(SHELL
) $(srcdir)/..
/common
/create-version.sh
$(srcdir)/.. \
507 $(host_alias
) $(target_alias
) $@
509 xml-builtin-generated.c
: stamp-xml
; @true
510 stamp-xml
: $(XML_DIR
)/feature_to_c.sh Makefile
$(XML_FILES
)
511 $(SILENCE
) rm -f xml-builtin.tmp
512 $(ECHO_GEN_XML_BUILTIN_GENERATED
) $(SHELL
) $(XML_DIR
)/feature_to_c.sh \
513 xml-builtin.tmp
$(XML_FILES
)
514 $(SILENCE
) $(SHELL
) $(srcdir)/..
/..
/move-if-change xml-builtin.tmp xml-builtin-generated.c
515 $(SILENCE
) echo stamp
> stamp-xml
517 .PRECIOUS
: xml-builtin.c
519 # GNU Make has an annoying habit of putting *all* the Makefile variables
520 # into the environment, unless you include this target as a circumvention.
521 # Rumor is that this will be fixed (and this target can be removed)
525 # GNU Make 3.63 has a different problem: it keeps tacking command line
526 # overrides onto the definition of $(MAKE). This variable setting
530 regdat_sh
= $(srcdir)/..
/regformats
/regdat.sh
532 UST_CFLAGS
= $(ustinc
) -DCONFIG_UST_GDB_INTEGRATION
534 # Note, we only build the IPA if -fvisibility=hidden is supported in
536 IPAGENT_CFLAGS
= $(INTERNAL_CFLAGS
) $(UST_CFLAGS
) \
537 -fPIC
-DIN_PROCESS_AGENT \
540 IPAGENT_COMPILE
= $(ECHO_CXX
) $(COMPILE.pre
) $(IPAGENT_CFLAGS
) $(COMPILE.post
)
542 # Rules for special cases.
545 $(IPAGENT_COMPILE
) $(WARN_CFLAGS_NO_FORMAT
) $<
549 $(COMPILE
) $(WARN_CFLAGS_NO_FORMAT
) $<
552 # Rules for objects that go in the in-process agent.
554 arch
/%-ipa.o
: ..
/arch
/%.c
555 $(IPAGENT_COMPILE
) $<
558 common
/%-ipa.o
: ..
/common
/%.c
559 $(IPAGENT_COMPILE
) $<
562 %-ipa.o
: %-generated.c
563 $(IPAGENT_COMPILE
) $<
567 $(IPAGENT_COMPILE
) $<
570 # Note: Between two matching pattern rules, GNU Make 3.81 chooses the first one.
571 # Therefore, this one needs to be before "%.o: %.c" for it to be considered for
572 # files such as linux-amd64-ipa.o generated from linux-amd64-ipa.c.
574 # Later versions of GNU Make choose the rule with the shortest stem, so it would
578 $(IPAGENT_COMPILE
) $<
581 # Rules for objects that go in the gdbserver binary.
583 arch
/%.o
: ..
/arch
/%.c
587 common
/%.o
: ..
/common
/%.c
607 # Rules for register format descriptions. Suffix destination files with
608 # -generated to identify and clean them easily.
610 %-generated.c
: ..
/regformats
/%.dat |
$(regdat_sh
)
611 $(ECHO_REGDAT
) $(SHELL
) $(regdat_sh
) $< $@
613 %-generated.c
: ..
/regformats
/arm
/%.dat |
$(regdat_sh
)
614 $(ECHO_REGDAT
) $(SHELL
) $(regdat_sh
) $< $@
616 %-generated.c
: ..
/regformats
/i386
/%.dat |
$(regdat_sh
)
617 $(ECHO_REGDAT
) $(SHELL
) $(regdat_sh
) $< $@
619 %-generated.c
: ..
/regformats
/rs6000
/%.dat |
$(regdat_sh
)
620 $(ECHO_REGDAT
) $(SHELL
) $(regdat_sh
) $< $@
623 # Dependency tracking.
626 ifeq ($(DEPMODE
),depmode
=gcc3
)
627 # Note that we put the dependencies into a .Tpo file, then move them
628 # into place if the compile succeeds. We need this because gcc does
629 # not atomically write the dependency output file.
630 override COMPILE.post
= -c
-o
$@
-MT
$@
-MMD
-MP \
631 -MF
$(@D
)/$(DEPDIR
)/$(basename $(@F
)).Tpo
632 override POSTCOMPILE
= @mv
$(@D
)/$(DEPDIR
)/$(basename $(@F
)).Tpo \
633 $(@D
)/$(DEPDIR
)/$(basename $(@F
)).Po
635 override COMPILE.pre
= source
='$<' object
='$@' libtool
=no \
636 DEPDIR
=$(DEPDIR
) $(DEPMODE
) $(depcomp
) \
637 $(CXX
) -x c
++ $(CXX_DIALECT
)
638 # depcomp handles atomicity for us, so we don't need a postcompile
640 override POSTCOMPILE
=
643 # A list of all the objects we might care about in this build, for
644 # dependency tracking.
645 all_object_files
= $(OBS
) $(GDBREPLAY_OBS
) $(IPA_OBJS
)
647 # Ensure that generated files are created early. Use order-only
648 # dependencies if available. They require GNU make 3.80 or newer,
649 # and the .VARIABLES variable was introduced at the same time.
651 $(all_object_files
): |
$(generated_files
)
653 $(all_object_files
) : $(generated_files
)
656 # All the .deps files to include.
657 all_deps_files
= $(foreach dep
,$(patsubst %.o
,%.Po
,$(all_object_files
)),\
658 $(dir $(dep
))/$(DEPDIR
)/$(notdir $(dep
)))
661 -include $(all_deps_files
)
663 # Disable implicit make rules.
664 include $(srcdir)/..
/disable-implicit-rules.mk
666 # Do not delete intermediate files (e.g. *-generated.c).
669 # This is the end of "Makefile.in".