# The source directory tree.
srcdir := .

# The name of the builddir.
builddir_name ?= out

# We borrow heavily from the kernel build setup, though we are simpler since
# we don't have Kconfig tweaking settings on us.

# The implicit make rules have it looking for RCS files, among other things.
# We instead explicitly write all the rules we care about.
# It's even quicker (saves ~200ms) to pass -r on the command line.
MAKEFLAGS=-r

# The V=1 flag on command line makes us verbosely print command lines.
ifdef V
  quiet=
else
  quiet=quiet_
endif

# Specify BUILDTYPE=Release on the command line for a release build.
BUILDTYPE ?= Debug

# Directory all our build output goes into.
# Note that this must be two directories beneath src/ for unit tests to pass,
# as they reach into the src/ directory for data with relative paths.
builddir ?= $(builddir_name)/$(BUILDTYPE)
abs_builddir := $(abspath $(builddir))
depsdir := $(builddir)/.deps

# Object output directory.
obj := $(builddir)/obj
abs_obj := $(abspath $(obj))

# We build up a list of every single one of the targets so we can slurp in the
# generated dependency rule Makefiles in one pass.
all_deps :=

# C++ apps need to be linked with g++.  Not sure what's appropriate.
LINK ?= $(CXX)

CC.target ?= $(CC)
CFLAGS.target ?= $(CFLAGS)
CXX.target ?= $(CXX)
CXXFLAGS.target ?= $(CXXFLAGS)
LINK.target ?= $(LINK)
LDFLAGS.target ?= $(LDFLAGS)
AR.target ?= $(AR)
RANLIB.target ?= ranlib

CC.host ?= gcc
CFLAGS.host ?=
CXX.host ?= g++
CXXFLAGS.host ?=
LINK.host ?= g++
LDFLAGS.host ?=
AR.host ?= ar
RANLIB.host ?= ranlib

# Flags to make gcc output dependency info.  Note that you need to be
# careful here to use the flags that ccache and distcc can understand.
# We write to a dep file on the side first and then rename at the end
# so we can't end up with a broken dep file.
depfile = $(depsdir)/$@.d
DEPFLAGS = -MMD -MF $(depfile).raw

# We have to fixup the deps output in a few ways.
# (1) the file output should mention the proper .o file.
# ccache or distcc lose the path to the target, so we convert a rule of
# the form:
#   foobar.o: DEP1 DEP2
# into
#   path/to/foobar.o: DEP1 DEP2
# (2) we want missing files not to cause us to fail to build.
# We want to rewrite
#   foobar.o: DEP1 DEP2 \
#               DEP3
# to
#   DEP1:
#   DEP2:
#   DEP3:
# so if the files are missing, they're just considered phony rules.
# We have to do some pretty insane escaping to get those backslashes
# and dollar signs past make, the shell, and sed at the same time.
define fixup_dep
# Fixup path as in (1).
sed -e "s|^$(notdir $@)|$@|" $(depfile).raw >> $(depfile)
# Add extra rules as in (2).
# We remove slashes and replace spaces with new lines;
# remove blank lines;
# delete the first line and append a colon to the remaining lines.
sed -e 's|\\||' -e 's| |\n|g' $(depfile).raw |\
  grep -v '^$$'                              |\
  sed -e 1d -e 's|$$|:|'                      \
    >> $(depfile)
rm $(depfile).raw
endef

# Command definitions:
# - cmd_foo is the actual command to run;
# - quiet_cmd_foo is the brief-output summary of the command.

quiet_cmd_cc = CC($(TOOLSET)) $@
cmd_cc = $(CC.$(TOOLSET)) $(CFLAGS.$(TOOLSET)) $(GYP_CFLAGS) $(DEPFLAGS) -c -o $@ $<

quiet_cmd_cxx = CXX($(TOOLSET)) $@
cmd_cxx = $(CXX.$(TOOLSET)) $(CXXFLAGS.$(TOOLSET)) $(GYP_CXXFLAGS) $(DEPFLAGS) -c -o $@ $<

quiet_cmd_alink = AR+RANLIB($(TOOLSET)) $@
cmd_alink = rm -f $@ && $(AR.$(TOOLSET)) rc $@ $(filter %.o,$^) && $(RANLIB.$(TOOLSET)) $@

quiet_cmd_touch = TOUCH $@
cmd_touch = touch $@

quiet_cmd_copy = COPY $@
# send stderr to /dev/null to ignore messages when linking directories.
cmd_copy = ln -f $< $@ 2>/dev/null || cp -af $< $@

# Due to circular dependencies between libraries :(, we wrap the
# special "figure out circular dependencies" flags around the entire
# input list during linking.
quiet_cmd_link = LINK($(TOOLSET)) $@
cmd_link = $(LINK.$(TOOLSET)) $(LDFLAGS.$(TOOLSET)) $(GYP_LDFLAGS) -o $@ -Wl,--start-group $(filter-out FORCE_DO_CMD, $^) -Wl,--end-group $(LIBS)

# Shared-object link (for generating .so).
# Set SONAME to the library filename so our binaries don't reference the local,
# absolute paths used on the link command-line.
# TODO: perhaps this can share with the LINK command above?
quiet_cmd_solink = SOLINK($(TOOLSET)) $@
cmd_solink = $(LINK.$(TOOLSET)) -shared $(LDFLAGS.$(TOOLSET)) $(GYP_LDFLAGS) -Wl,-soname=$(@F) -o $@ -Wl,--start-group $(filter-out FORCE_DO_CMD, $^) -Wl,--end-group $(LIBS)

# Define an escape_quotes function to escape single quotes.
# This allows us to handle quotes properly as long as we always use
# use single quotes and escape_quotes.
escape_quotes = $(subst ','\'',$(1))
# This comment is here just to include a ' to unconfuse syntax highlighting.
# Define an escape_vars function to escape '$' variable syntax.
# This allows us to read/write command lines with shell variables (e.g.
# $LD_LIBRARY_PATH), without triggering make substitution.
escape_vars = $(subst $$,$$$$,$(1))
# Helper that expands to a shell command to echo a string exactly as it is in
# make. This uses printf instead of echo because printf's behaviour with respect
# to escape sequences is more portable than echo's across different shells
# (e.g., dash, bash).
exact_echo = printf '%s\n' '$(call escape_quotes,$(1))'

# Helper to compare the command we're about to run against the command
# we logged the last time we ran the command.  Produces an empty
# string (false) when the commands match.
# Tricky point: Make has no string-equality test function.
# The kernel uses the following, but it seems like it would have false
# positives, where one string reordered its arguments.
#   arg_check = $(strip $(filter-out $(cmd_$(1)), $(cmd_$@)) \
#                       $(filter-out $(cmd_$@), $(cmd_$(1))))
# We instead substitute each for the empty string into the other, and
# say they're equal if both substitutions produce the empty string.
command_changed = $(or $(subst $(cmd_$(1)),,$(cmd_$@)),\
                       $(subst $(cmd_$@),,$(cmd_$(1))))

# Helper that is non-empty when a prerequisite changes.
# Normally make does this implicitly, but we force rules to always run
# so we can check their command lines.
#   $? -- new prerequisites
#   $| -- order-only dependencies
prereq_changed = $(filter-out $|,$?)

# do_cmd: run a command via the above cmd_foo names, if necessary.
# Should always run for a given target to handle command-line changes.
# Second argument, if non-zero, makes it do C/C++ dependency munging.
define do_cmd
$(if $(or $(command_changed),$(prereq_changed)),
  @$(call exact_echo,  $($(quiet)cmd_$(1)))
  @mkdir -p $(dir $@) $(dir $(depfile))
  @$(cmd_$(1))
  @$(call exact_echo,$(call escape_vars,cmd_$@ := $(cmd_$(1)))) > $(depfile)
  @$(if $(2),$(fixup_dep))
)
endef

# Declare "all" target first so it is the default, even though we don't have the
# deps yet.
.PHONY: all
all:

# make looks for ways to re-generate included makefiles, but in our case, we
# don't have a direct way. Explicitly telling make that it has nothing to do
# for them makes it go faster.
%.d: ;

# Use FORCE_DO_CMD to force a target to run.  Should be coupled with
# do_cmd.
.PHONY: FORCE_DO_CMD
FORCE_DO_CMD:

TOOLSET := host
# Suffix rules, putting all outputs into $(obj).
$(obj).$(TOOLSET)/%.o: $(srcdir)/%.c FORCE_DO_CMD
	@$(call do_cmd,cc,1)
$(obj).$(TOOLSET)/%.o: $(srcdir)/%.s FORCE_DO_CMD
	@$(call do_cmd,cc)
$(obj).$(TOOLSET)/%.o: $(srcdir)/%.S FORCE_DO_CMD
	@$(call do_cmd,cc)
$(obj).$(TOOLSET)/%.o: $(srcdir)/%.cpp FORCE_DO_CMD
	@$(call do_cmd,cxx,1)
$(obj).$(TOOLSET)/%.o: $(srcdir)/%.cc FORCE_DO_CMD
	@$(call do_cmd,cxx,1)
$(obj).$(TOOLSET)/%.o: $(srcdir)/%.cxx FORCE_DO_CMD
	@$(call do_cmd,cxx,1)

# Try building from generated source, too.
$(obj).$(TOOLSET)/%.o: $(obj).$(TOOLSET)/%.c FORCE_DO_CMD
	@$(call do_cmd,cc,1)
$(obj).$(TOOLSET)/%.o: $(obj).$(TOOLSET)/%.s FORCE_DO_CMD
	@$(call do_cmd,cc)
$(obj).$(TOOLSET)/%.o: $(obj).$(TOOLSET)/%.S FORCE_DO_CMD
	@$(call do_cmd,cc)
$(obj).$(TOOLSET)/%.o: $(obj).$(TOOLSET)/%.cc FORCE_DO_CMD
	@$(call do_cmd,cxx,1)
$(obj).$(TOOLSET)/%.o: $(obj).$(TOOLSET)/%.cpp FORCE_DO_CMD
	@$(call do_cmd,cxx,1)
$(obj).$(TOOLSET)/%.o: $(obj).$(TOOLSET)/%.cxx FORCE_DO_CMD
	@$(call do_cmd,cxx,1)

$(obj).$(TOOLSET)/%.o: $(obj)/%.c FORCE_DO_CMD
	@$(call do_cmd,cc,1)
$(obj).$(TOOLSET)/%.o: $(obj)/%.s FORCE_DO_CMD
	@$(call do_cmd,cc)
$(obj).$(TOOLSET)/%.o: $(obj)/%.S FORCE_DO_CMD
	@$(call do_cmd,cc)
$(obj).$(TOOLSET)/%.o: $(obj)/%.cc FORCE_DO_CMD
	@$(call do_cmd,cxx,1)
$(obj).$(TOOLSET)/%.o: $(obj)/%.cpp FORCE_DO_CMD
	@$(call do_cmd,cxx,1)
$(obj).$(TOOLSET)/%.o: $(obj)/%.cxx FORCE_DO_CMD
	@$(call do_cmd,cxx,1)
TOOLSET := target
# Suffix rules, putting all outputs into $(obj).
$(obj).$(TOOLSET)/%.o: $(srcdir)/%.c FORCE_DO_CMD
	@$(call do_cmd,cc,1)
$(obj).$(TOOLSET)/%.o: $(srcdir)/%.s FORCE_DO_CMD
	@$(call do_cmd,cc)
$(obj).$(TOOLSET)/%.o: $(srcdir)/%.S FORCE_DO_CMD
	@$(call do_cmd,cc)
$(obj).$(TOOLSET)/%.o: $(srcdir)/%.cpp FORCE_DO_CMD
	@$(call do_cmd,cxx,1)
$(obj).$(TOOLSET)/%.o: $(srcdir)/%.cc FORCE_DO_CMD
	@$(call do_cmd,cxx,1)
$(obj).$(TOOLSET)/%.o: $(srcdir)/%.cxx FORCE_DO_CMD
	@$(call do_cmd,cxx,1)

# Try building from generated source, too.
$(obj).$(TOOLSET)/%.o: $(obj).$(TOOLSET)/%.c FORCE_DO_CMD
	@$(call do_cmd,cc,1)
$(obj).$(TOOLSET)/%.o: $(obj).$(TOOLSET)/%.s FORCE_DO_CMD
	@$(call do_cmd,cc)
$(obj).$(TOOLSET)/%.o: $(obj).$(TOOLSET)/%.S FORCE_DO_CMD
	@$(call do_cmd,cc)
$(obj).$(TOOLSET)/%.o: $(obj).$(TOOLSET)/%.cc FORCE_DO_CMD
	@$(call do_cmd,cxx,1)
$(obj).$(TOOLSET)/%.o: $(obj).$(TOOLSET)/%.cpp FORCE_DO_CMD
	@$(call do_cmd,cxx,1)
$(obj).$(TOOLSET)/%.o: $(obj).$(TOOLSET)/%.cxx FORCE_DO_CMD
	@$(call do_cmd,cxx,1)

$(obj).$(TOOLSET)/%.o: $(obj)/%.c FORCE_DO_CMD
	@$(call do_cmd,cc,1)
$(obj).$(TOOLSET)/%.o: $(obj)/%.s FORCE_DO_CMD
	@$(call do_cmd,cc)
$(obj).$(TOOLSET)/%.o: $(obj)/%.S FORCE_DO_CMD
	@$(call do_cmd,cc)
$(obj).$(TOOLSET)/%.o: $(obj)/%.cc FORCE_DO_CMD
	@$(call do_cmd,cxx,1)
$(obj).$(TOOLSET)/%.o: $(obj)/%.cpp FORCE_DO_CMD
	@$(call do_cmd,cxx,1)
$(obj).$(TOOLSET)/%.o: $(obj)/%.cxx FORCE_DO_CMD
	@$(call do_cmd,cxx,1)

include app/app_base.target.mk
include app/app_resources.target.mk
include app/app_strings.target.mk
include app/app_unittest_strings.target.mk
include app/app_unittests.target.mk
include base/allocator/allocator.target.mk
include base/allocator/allocator_unittests.target.mk
include base/base.target.mk
include base/base_i18n.target.mk
include base/base_unittests.target.mk
include base/symbolize.target.mk
include base/test_support_base.target.mk
include base/test_support_perf.target.mk
include base/third_party/dynamic_annotations/dynamic_annotations.target.mk
include base/xdg_mime.target.mk
include breakpad/breakpad_client.target.mk
include breakpad/breakpad_unittests.target.mk
include breakpad/generate_test_dump.target.mk
include build/All.target.mk
include build/linux/dbus-glib.target.mk
include build/linux/fontconfig.target.mk
include build/linux/freetype2.target.mk
include build/linux/gconf.target.mk
include build/linux/gdk.target.mk
include build/linux/gtk.target.mk
include build/linux/gtkprint.target.mk
include build/linux/nss.target.mk
include build/linux/selinux.target.mk
include build/linux/x11.target.mk
include build/linux/xext.target.mk
include build/temp_gyp/googleurl.target.mk
include build/temp_gyp/googleurl_unittests.target.mk
include build/util/lastchange.target.mk
include chrome/automated_ui_tests.target.mk
include chrome/browser.target.mk
include chrome/browser/sync/protocol/sync_proto.target.mk
include chrome/browser/sync/protocol/sync_proto_cpp.target.mk
include chrome/browser/sync/tools/sync_listen_notifications.target.mk
include chrome/browser_tests.target.mk
include chrome/chrome.target.mk
include chrome/chrome_gpu.target.mk
include chrome/chrome_resources.target.mk
include chrome/chrome_strings.target.mk
include chrome/chrome_version_info.target.mk
include chrome/common.target.mk
include chrome/common_constants.target.mk
include chrome/common_net.target.mk
include chrome/common_net_test_support.target.mk
include chrome/common_net_unit_tests.target.mk
include chrome/component_extensions.target.mk
include chrome/convert_dict.target.mk
include chrome/convert_dict_lib.target.mk
include chrome/debugger.target.mk
include chrome/default_extensions.target.mk
include chrome/domui_shared_resources.target.mk
include chrome/flush_cache.target.mk
include chrome/installer_util.target.mk
include chrome/interactive_ui_tests.target.mk
include chrome/linux_symbols.target.mk
include chrome/memory_test.target.mk
include chrome/nacl.target.mk
include chrome/nacl_ui_tests.target.mk
include chrome/net_internals_resources.target.mk
include chrome/notifier.target.mk
include chrome/notifier_unit_tests.target.mk
include chrome/packed_resources.target.mk
include chrome/page_cycler_tests.target.mk
include chrome/perf_tests.target.mk
include chrome/platform_locale_settings.target.mk
include chrome/plugin.target.mk
include chrome/plugin_tests.target.mk
include chrome/profile_import.target.mk
include chrome/reliability_tests.target.mk
include chrome/renderer.target.mk
include chrome/service.target.mk
include chrome/startup_tests.target.mk
include chrome/sync.target.mk
include chrome/sync_integration_tests.target.mk
include chrome/sync_unit_tests.target.mk
include chrome/syncapi.target.mk
include chrome/tab_switching_test.target.mk
include chrome/test_support_common.target.mk
include chrome/test_support_ui.target.mk
include chrome/test_support_unit.target.mk
include chrome/theme_resources.target.mk
include chrome/ui_tests.target.mk
include chrome/unit_tests.target.mk
include chrome/url_fetch_test.target.mk
include chrome/userfeedback_proto.target.mk
include chrome/utility.target.mk
include chrome/worker.target.mk
include courgette/courgette.target.mk
include courgette/courgette_fuzz.target.mk
include courgette/courgette_lib.target.mk
include courgette/courgette_minimal_tool.target.mk
include courgette/courgette_unittests.target.mk
include gfx/gfx.target.mk
include gfx/gfx_unittests.target.mk
include gpu/command_buffer_client.target.mk
include gpu/command_buffer_common.target.mk
include gpu/command_buffer_service.target.mk
include gpu/command_buffer_service_impl.target.mk
include gpu/demos/gpu_demo_framework.target.mk
include gpu/demos/gpu_demo_framework_exe.target.mk
include gpu/demos/gpu_demo_framework_pepper.target.mk
include gpu/demos/hello_triangle_exe.target.mk
include gpu/demos/mip_map_2d_exe.target.mk
include gpu/demos/simple_texture_2d_exe.target.mk
include gpu/demos/simple_texture_cubemap_exe.target.mk
include gpu/demos/simple_vertex_shader_exe.target.mk
include gpu/demos/stencil_test_exe.target.mk
include gpu/demos/texture_wrap_exe.target.mk
include gpu/gl_libs.target.mk
include gpu/gles2_c_lib.target.mk
include gpu/gles2_cmd_helper.target.mk
include gpu/gles2_demo_lib.target.mk
include gpu/gles2_implementation.target.mk
include gpu/gles2_lib.target.mk
include gpu/gpu_plugin.target.mk
include gpu/gpu_unittests.target.mk
include gpu/pgl.target.mk
include ipc/ipc.target.mk
include ipc/ipc_tests.target.mk
include media/ffmpeg_tests.target.mk
include media/media.target.mk
include media/media_bench.target.mk
include media/media_unittests.target.mk
include media/omx_test.target.mk
include media/omx_unittests.target.mk
include media/omx_wrapper.target.mk
include media/player_x11.target.mk
include media/qt_faststart.target.mk
include media/scaler_bench.target.mk
include media/wav_ola_test.target.mk
include native_client/src/shared/gio/gio.target.mk
include native_client/src/shared/imc/google_nacl_imc.target.mk
include native_client/src/shared/imc/google_nacl_imc_c.target.mk
include native_client/src/shared/imc/run_sigpipe_test.target.mk
include native_client/src/shared/imc/sigpipe_test.target.mk
include native_client/src/shared/npruntime/google_nacl_npruntime.target.mk
include native_client/src/shared/platform/platform.target.mk
include native_client/src/shared/platform/platform_tests.target.mk
include native_client/src/shared/srpc/nonnacl_srpc.target.mk
include native_client/src/shared/utils/utils.target.mk
include native_client/src/trusted/desc/nrd_xfer.target.mk
include native_client/src/trusted/nonnacl_util/linux/nonnacl_util_linux.target.mk
include native_client/src/trusted/nonnacl_util/nonnacl_util.target.mk
include native_client/src/trusted/nonnacl_util/nonnacl_util_c.target.mk
include native_client/src/trusted/nonnacl_util/nonnacl_util_chrome.target.mk
include native_client/src/trusted/nonnacl_util/sel_ldr_launcher.target.mk
include native_client/src/trusted/platform_qualify/platform_qual_lib.target.mk
include native_client/src/trusted/plugin/npGoogleNaClPluginChrome.target.mk
include native_client/src/trusted/service_runtime/arch/x86/service_runtime_x86_common.target.mk
include native_client/src/trusted/service_runtime/arch/x86_64/service_runtime_x86_64.target.mk
include native_client/src/trusted/service_runtime/container.target.mk
include native_client/src/trusted/service_runtime/expiration.target.mk
include native_client/src/trusted/service_runtime/gio_shm.target.mk
include native_client/src/trusted/service_runtime/nacl_xdr.target.mk
include native_client/src/trusted/service_runtime/sel.target.mk
include native_client/src/trusted/service_runtime/sel_ldr.target.mk
include native_client/src/trusted/validator_x86/ncdecode_table.target.mk
include native_client/src/trusted/validator_x86/ncdecode_tablegen.target.mk
include native_client/src/trusted/validator_x86/ncdis.target.mk
include native_client/src/trusted/validator_x86/ncdis_util.target.mk
include native_client/src/trusted/validator_x86/nchelper.target.mk
include native_client/src/trusted/validator_x86/ncopcode_utils.target.mk
include native_client/src/trusted/validator_x86/ncopcode_utils_gen.target.mk
include native_client/src/trusted/validator_x86/ncvalidate.target.mk
include native_client/src/trusted/validator_x86/ncvalidate_gen.target.mk
include native_client/src/trusted/validator_x86/ncvalidate_sfi.target.mk
include net/crash_cache.target.mk
include net/fetch_client.target.mk
include net/fetch_server.target.mk
include net/hresolv.target.mk
include net/net.target.mk
include net/net_base.target.mk
include net/net_perftests.target.mk
include net/net_resources.target.mk
include net/net_test_support.target.mk
include net/net_unittests.target.mk
include net/stress_cache.target.mk
include net/third_party/nss/ssl.target.mk
include net/tld_cleanup.target.mk
include printing/printing.target.mk
include printing/printing_unittests.target.mk
include sandbox/chrome_sandbox.target.mk
include sandbox/linux/seccomp/seccomp_sandbox.target.mk
include sandbox/linux/seccomp/seccomp_tests.target.mk
include sandbox/linux/seccomp/timestats.target.mk
include sandbox/sandbox.target.mk
include sdch/sdch.target.mk
include skia/skia.target.mk
include skia/skia_opts.target.mk
include testing/gmock.target.mk
include testing/gmockmain.target.mk
include testing/gtest.target.mk
include testing/gtestmain.target.mk
include third_party/WebKit/JavaScriptCore/JavaScriptCore.gyp/pcre.target.mk
include third_party/WebKit/JavaScriptCore/JavaScriptCore.gyp/wtf.target.mk
include third_party/WebKit/JavaScriptCore/JavaScriptCore.gyp/wtf_config.target.mk
include third_party/WebKit/WebCore/WebCore.gyp/webcore.target.mk
include third_party/WebKit/WebCore/WebCore.gyp/webcore_bindings.target.mk
include third_party/WebKit/WebCore/WebCore.gyp/webcore_bindings_sources.target.mk
include third_party/WebKit/WebKit/chromium/DumpRenderTree.target.mk
include third_party/WebKit/WebKit/chromium/ImageDiff.target.mk
include third_party/WebKit/WebKit/chromium/webkit.target.mk
include third_party/WebKit/WebKit/chromium/webkit_unit_tests.target.mk
include third_party/adobe/flash/flash_player.target.mk
include third_party/angle/src/libEGL.target.mk
include third_party/angle/src/libGLESv2.target.mk
include third_party/angle/src/translator_common.target.mk
include third_party/angle/src/translator_glsl.target.mk
include third_party/angle/src/translator_hlsl.target.mk
include third_party/bzip2/bzip2.target.mk
include third_party/cacheinvalidation/cacheinvalidation.target.mk
include third_party/cacheinvalidation/cacheinvalidation_proto.target.mk
include third_party/cacheinvalidation/cacheinvalidation_proto_cc.target.mk
include third_party/cacheinvalidation/cacheinvalidation_unittests.target.mk
include third_party/cld/cld.target.mk
include third_party/codesighs/codesighs.target.mk
include third_party/codesighs/maptsvdifftool.target.mk
include third_party/codesighs/nm2tsv.target.mk
include third_party/expat/expat.target.mk
include third_party/ffmpeg/assemble_ffmpeg_asm.target.mk
include third_party/ffmpeg/ffmpeg.target.mk
include third_party/ffmpeg/ffmpegsumo.target.mk
include third_party/ffmpeg/ffmpegsumo_nolink.target.mk
include third_party/ffmpeg/make_ffmpeg_asm_lib.target.mk
include third_party/gles2_book/es_util.target.mk
include third_party/gles2_book/hello_triangle.target.mk
include third_party/gles2_book/mip_map_2d.target.mk
include third_party/gles2_book/simple_texture_2d.target.mk
include third_party/gles2_book/simple_texture_cubemap.target.mk
include third_party/gles2_book/simple_vertex_shader.target.mk
include third_party/gles2_book/stencil_test.target.mk
include third_party/gles2_book/texture_wrap.target.mk
include third_party/harfbuzz/harfbuzz.target.mk
include third_party/harfbuzz/harfbuzz_interface.target.mk
include third_party/hunspell/hunspell.target.mk
include third_party/icu/icudata.target.mk
include third_party/icu/icui18n.target.mk
include third_party/icu/icuuc.target.mk
include third_party/libevent/libevent.target.mk
include third_party/libjingle/libjingle.target.mk
include third_party/libjingle/libjingle_p2p.target.mk
include third_party/libjpeg/libjpeg.target.mk
include third_party/libpng/libpng.target.mk
include third_party/libxml/libxml.target.mk
include third_party/libxslt/libxslt.target.mk
include third_party/lzma_sdk/lzma_sdk.target.mk
include third_party/modp_b64/modp_b64.target.mk
include third_party/npapi/npapi.target.mk
include third_party/openmax/il.target.mk
include third_party/ots/ots.target.mk
include third_party/ppapi/ppapi_c.target.mk
include third_party/ppapi/ppapi_cpp.target.mk
include third_party/ppapi/ppapi_example.target.mk
include third_party/ppapi/ppapi_tests.target.mk
include third_party/protobuf2/protobuf.host.mk
include third_party/protobuf2/protobuf.target.mk
include third_party/protobuf2/protobuf_lite.host.mk
include third_party/protobuf2/protobuf_lite.target.mk
include third_party/protobuf2/protoc.host.mk
include third_party/protobuf2/py_proto.target.mk
include third_party/sqlite/sqlite.target.mk
include third_party/sqlite/sqlite_shell.target.mk
include third_party/yasm/config_sources.host.mk
include third_party/yasm/generate_files.host.mk
include third_party/yasm/genmacro.host.mk
include third_party/yasm/genmodule.host.mk
include third_party/yasm/genperf.host.mk
include third_party/yasm/genperf_libs.host.mk
include third_party/yasm/genstring.host.mk
include third_party/yasm/genversion.host.mk
include third_party/yasm/re2c.host.mk
include third_party/yasm/yasm.host.mk
include third_party/zlib/zlib.target.mk
include tools/gtk_clipboard_dump/gtk_clipboard_dump.target.mk
include tools/imagediff/image_diff.target.mk
include tools/xdisplaycheck/xdisplaycheck.target.mk
include v8/tools/gyp/js2c.host.mk
include v8/tools/gyp/mksnapshot.host.mk
include v8/tools/gyp/v8.target.mk
include v8/tools/gyp/v8_base.host.mk
include v8/tools/gyp/v8_base.target.mk
include v8/tools/gyp/v8_nosnapshot.host.mk
include v8/tools/gyp/v8_nosnapshot.target.mk
include v8/tools/gyp/v8_shell.target.mk
include v8/tools/gyp/v8_snapshot.target.mk
include webkit/concatenated_devtools_js.target.mk
include webkit/default_plugin/default_plugin.target.mk
include webkit/devtools_html.target.mk
include webkit/inspector_resources.target.mk
include webkit/npapi_layout_test_plugin.target.mk
include webkit/pull_in_DumpRenderTree.target.mk
include webkit/pull_in_webkit_unit_tests.target.mk
include webkit/support/appcache.target.mk
include webkit/support/database.target.mk
include webkit/support/glue.target.mk
include webkit/support/webkit_resources.target.mk
include webkit/support/webkit_strings.target.mk
include webkit/support/webkit_support.target.mk
include webkit/test_shell.target.mk
include webkit/test_shell_common.target.mk
include webkit/test_shell_pak.target.mk
include webkit/test_shell_resources.target.mk
include webkit/test_shell_tests.target.mk

Makefile: third_party/icu/icu.gyp third_party/cld/cld.gyp third_party/hunspell/hunspell.gyp third_party/expat/expat.gyp third_party/harfbuzz/harfbuzz.gyp webkit/support/webkit_support.gyp net/third_party/nss/ssl.gyp third_party/libjingle/libjingle.gyp third_party/WebKit/JavaScriptCore/JavaScriptCore.gypi build/features_override.gypi third_party/ots/ots.gyp third_party/gles2_book/gles2_book.gyp courgette/courgette.gyp third_party/adobe/flash/flash_player.gyp chrome/chrome_installer.gypi native_client/src/shared/gio/gio.gyp net/net.gyp printing/printing.gyp chrome/chrome_browser.gypi native_client/src/shared/npruntime/npruntime.gyp testing/gtest.gyp native_client/src/shared/platform/platform.gyp breakpad/breakpad.gyp base/base.gyp app/app_base.gypi third_party/libevent/libevent.gyp third_party/WebKit/WebKit/chromium/features.gypi third_party/libpng/libpng.gyp third_party/modp_b64/modp_b64.gyp gpu/demos/demos.gyp third_party/ppapi/ppapi.gyp third_party/sqlite/sqlite.gyp native_client/src/trusted/service_runtime/arch/x86/service_runtime_x86.gyp chrome/chrome_renderer.gypi native_client/src/trusted/plugin/plugin.gyp chrome/chrome_exe.gypi sdch/sdch.gyp sandbox/linux/seccomp/seccomp.gyp chrome/chrome_dll.gypi third_party/lzma_sdk/lzma_sdk.gyp third_party/zlib/zlib.gyp chrome/chrome_installer_util.gypi third_party/libxml/libxml.gyp third_party/yasm/yasm.gyp chrome/chrome.gyp build/release.gypi third_party/libjpeg/libjpeg.gyp chrome/chrome_tests.gypi third_party/npapi/npapi.gyp native_client/build/external_code.gypi webkit/default_plugin/default_plugin.gyp native_client/src/trusted/platform_qualify/platform_qualify.gyp third_party/openmax/openmax.gyp native_client/src/shared/utils/utils.gyp third_party/protobuf2/protobuf.gyp webkit/tools/test_shell/test_shell.gypi native_client/src/trusted/desc/desc.gyp third_party/ffmpeg/ffmpeg.gyp chrome/nacl.gypi build/internal/release_impl_official.gypi build/all.gyp third_party/WebKit/WebKit/chromium/WebKit.gypi native_client/src/shared/srpc/srpc.gyp base/third_party/dynamic_annotations/dynamic_annotations.gyp third_party/libxslt/libxslt.gyp chrome/browser/sync/tools/sync_tools.gyp chrome/browser/sync/protocol/sync_proto.gyp third_party/cacheinvalidation/cacheinvalidation.gyp v8/tools/gyp/v8.gyp build/internal/release_defaults.gypi third_party/WebKit/JavaScriptCore/JavaScriptCore.gyp/JavaScriptCore.gyp native_client/src/trusted/nonnacl_util/nonnacl_util.gyp build/temp_gyp/googleurl.gyp webkit/database/webkit_database.gypi testing/gmock.gyp ipc/ipc.gyp breakpad/breakpad_sender.gypi tools/gtk_clipboard_dump/gtk_clipboard_dump.gyp build/util/build_util.gyp native_client/src/trusted/plugin/plugin.gypi chrome/common_constants.gypi third_party/WebKit/WebCore/WebCore.gypi third_party/WebKit/WebKit/chromium/WebKit.gyp base/allocator/allocator.gyp gfx/gfx.gyp third_party/codesighs/codesighs.gyp chrome/test/interactive_ui/interactive_ui_tests.gypi third_party/WebKit/WebKitTools/DumpRenderTree/DumpRenderTree.gypi app/app.gyp third_party/WebKit/WebCore/WebCore.gyp/WebCore.gyp build/internal/release_impl.gypi native_client/src/trusted/validator_x86/validator_x86.gyp third_party/bzip2/bzip2.gyp skia/skia.gyp breakpad/breakpad_handler.gypi webkit/glue/webkit_glue.gypi base/base.gypi native_client/src/shared/imc/imc.gyp tools/xdisplaycheck/xdisplaycheck.gyp webkit/support/webkit_support.gypi native_client/build/common.gypi native_client/src/trusted/service_runtime/service_runtime.gyp chrome/chrome_common.gypi build/common.gypi webkit/appcache/webkit_appcache.gypi native_client/src/trusted/nonnacl_util/nonnacl_util.gypi tools/imagediff/image_diff.gyp native_client/src/trusted/service_runtime/arch/x86_64/service_runtime_x86_64.gyp gpu/gpu.gyp third_party/angle/src/build_angle.gyp ipc/ipc.gypi native_client/src/trusted/nonnacl_util/linux/nonnacl_util_linux.gyp media/media.gyp webkit/webkit.gyp build/linux/system.gyp sandbox/sandbox.gyp
	./build/gyp_chromium -fmake --ignore-environment "--toplevel-dir=/home/hq000006/cvs/chromium/src" -Ibuild/common.gypi -Ibuild/features_override.gypi "--depth=/home/hq000006/cvs/chromium/src" build/all.gyp
# "all" is a concatenation of the "all" targets from all the included
# sub-makefiles. This is just here to clarify.
all:

# Add in dependency-tracking rules.  $(all_deps) is the list of every single
# target in our tree.  First, only consider targets that already have been
# built, as unbuilt targets will be built regardless of dependency info:
all_deps := $(wildcard $(sort $(all_deps)))
# Of those, only consider the ones with .d (dependency) info:
d_files := $(wildcard $(foreach f,$(all_deps),$(depsdir)/$(f).d))
ifneq ($(d_files),)
  include $(d_files)
endif
