michael@0: # This file is generated by gyp; do not edit. michael@0: michael@0: TOOLSET := target michael@0: TARGET := gmock_main michael@0: DEFS_Debug := '-D_FILE_OFFSET_BITS=64' \ michael@0: '-DCHROMIUM_BUILD' \ michael@0: '-DUSE_NSS=1' \ michael@0: '-DTOOLKIT_USES_GTK=1' \ michael@0: '-DGTK_DISABLE_SINGLE_INCLUDES=1' \ michael@0: '-DENABLE_REMOTING=1' \ michael@0: '-DENABLE_P2P_APIS=1' \ michael@0: '-DENABLE_CONFIGURATION_POLICY' \ michael@0: '-DENABLE_INPUT_SPEECH' \ michael@0: '-DENABLE_NOTIFICATIONS' \ michael@0: '-DENABLE_GPU=1' \ michael@0: '-DENABLE_EGLIMAGE=1' \ michael@0: '-DUSE_SKIA=1' \ michael@0: '-DENABLE_REGISTER_PROTOCOL_HANDLER=1' \ michael@0: '-DENABLE_WEB_INTENTS=1' \ michael@0: '-DENABLE_PLUGIN_INSTALLATION=1' \ michael@0: '-DUNIT_TEST' \ michael@0: '-DGTEST_HAS_RTTI=0' \ michael@0: '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ michael@0: '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ michael@0: '-D_DEBUG' michael@0: michael@0: # Flags passed to all source files. michael@0: CFLAGS_Debug := -pthread \ michael@0: -fno-exceptions \ michael@0: -fno-strict-aliasing \ michael@0: -Wno-unused-parameter \ michael@0: -Wno-missing-field-initializers \ michael@0: -fvisibility=hidden \ michael@0: -pipe \ michael@0: -fPIC \ michael@0: -Wno-format \ michael@0: -Wno-unused-result \ michael@0: -O0 \ michael@0: -g michael@0: michael@0: # Flags passed to only C files. michael@0: CFLAGS_C_Debug := michael@0: michael@0: # Flags passed to only C++ files. michael@0: CFLAGS_CC_Debug := -fno-rtti \ michael@0: -fno-threadsafe-statics \ michael@0: -fvisibility-inlines-hidden \ michael@0: -Wno-deprecated michael@0: michael@0: INCS_Debug := -Itesting/gmock/include \ michael@0: -Itesting/gtest/include michael@0: michael@0: DEFS_Release := '-D_FILE_OFFSET_BITS=64' \ michael@0: '-DCHROMIUM_BUILD' \ michael@0: '-DUSE_NSS=1' \ michael@0: '-DTOOLKIT_USES_GTK=1' \ michael@0: '-DGTK_DISABLE_SINGLE_INCLUDES=1' \ michael@0: '-DENABLE_REMOTING=1' \ michael@0: '-DENABLE_P2P_APIS=1' \ michael@0: '-DENABLE_CONFIGURATION_POLICY' \ michael@0: '-DENABLE_INPUT_SPEECH' \ michael@0: '-DENABLE_NOTIFICATIONS' \ michael@0: '-DENABLE_GPU=1' \ michael@0: '-DENABLE_EGLIMAGE=1' \ michael@0: '-DUSE_SKIA=1' \ michael@0: '-DENABLE_REGISTER_PROTOCOL_HANDLER=1' \ michael@0: '-DENABLE_WEB_INTENTS=1' \ michael@0: '-DENABLE_PLUGIN_INSTALLATION=1' \ michael@0: '-DUNIT_TEST' \ michael@0: '-DGTEST_HAS_RTTI=0' \ michael@0: '-DNDEBUG' \ michael@0: '-DNVALGRIND' \ michael@0: '-DDYNAMIC_ANNOTATIONS_ENABLED=0' michael@0: michael@0: # Flags passed to all source files. michael@0: CFLAGS_Release := -pthread \ michael@0: -fno-exceptions \ michael@0: -fno-strict-aliasing \ michael@0: -Wno-unused-parameter \ michael@0: -Wno-missing-field-initializers \ michael@0: -fvisibility=hidden \ michael@0: -pipe \ michael@0: -fPIC \ michael@0: -Wno-format \ michael@0: -Wno-unused-result \ michael@0: -O2 \ michael@0: -fno-ident \ michael@0: -fdata-sections \ michael@0: -ffunction-sections michael@0: michael@0: # Flags passed to only C files. michael@0: CFLAGS_C_Release := michael@0: michael@0: # Flags passed to only C++ files. michael@0: CFLAGS_CC_Release := -fno-rtti \ michael@0: -fno-threadsafe-statics \ michael@0: -fvisibility-inlines-hidden \ michael@0: -Wno-deprecated michael@0: michael@0: INCS_Release := -Itesting/gmock/include \ michael@0: -Itesting/gtest/include michael@0: michael@0: OBJS := $(obj).target/$(TARGET)/testing/gmock/src/gmock_main.o michael@0: michael@0: # Add to the list of files we specially track dependencies for. michael@0: all_deps += $(OBJS) michael@0: michael@0: # CFLAGS et al overrides must be target-local. michael@0: # See "Target-specific Variable Values" in the GNU Make manual. michael@0: $(OBJS): TOOLSET := $(TOOLSET) michael@0: $(OBJS): GYP_CFLAGS := $(DEFS_$(BUILDTYPE)) $(INCS_$(BUILDTYPE)) $(CFLAGS_$(BUILDTYPE)) $(CFLAGS_C_$(BUILDTYPE)) michael@0: $(OBJS): GYP_CXXFLAGS := $(DEFS_$(BUILDTYPE)) $(INCS_$(BUILDTYPE)) $(CFLAGS_$(BUILDTYPE)) $(CFLAGS_CC_$(BUILDTYPE)) michael@0: michael@0: # Suffix rules, putting all outputs into $(obj). michael@0: michael@0: $(obj).$(TOOLSET)/$(TARGET)/%.o: $(srcdir)/%.cc FORCE_DO_CMD michael@0: @$(call do_cmd,cxx,1) michael@0: michael@0: # Try building from generated source, too. michael@0: michael@0: $(obj).$(TOOLSET)/$(TARGET)/%.o: $(obj).$(TOOLSET)/%.cc FORCE_DO_CMD michael@0: @$(call do_cmd,cxx,1) michael@0: michael@0: $(obj).$(TOOLSET)/$(TARGET)/%.o: $(obj)/%.cc FORCE_DO_CMD michael@0: @$(call do_cmd,cxx,1) michael@0: michael@0: # End of this set of suffix rules michael@0: ### Rules for final target. michael@0: LDFLAGS_Debug := -pthread \ michael@0: -Wl,-z,noexecstack \ michael@0: -fPIC \ michael@0: -B$(builddir)/../../third_party/gold michael@0: michael@0: LDFLAGS_Release := -pthread \ michael@0: -Wl,-z,noexecstack \ michael@0: -fPIC \ michael@0: -B$(builddir)/../../third_party/gold \ michael@0: -Wl,-O1 \ michael@0: -Wl,--as-needed \ michael@0: -Wl,--gc-sections michael@0: michael@0: LIBS := michael@0: michael@0: $(obj).target/testing/libgmock_main.a: GYP_LDFLAGS := $(LDFLAGS_$(BUILDTYPE)) michael@0: $(obj).target/testing/libgmock_main.a: LIBS := $(LIBS) michael@0: $(obj).target/testing/libgmock_main.a: TOOLSET := $(TOOLSET) michael@0: $(obj).target/testing/libgmock_main.a: $(OBJS) FORCE_DO_CMD michael@0: $(call do_cmd,alink) michael@0: michael@0: all_deps += $(obj).target/testing/libgmock_main.a michael@0: # Add target alias michael@0: .PHONY: gmock_main michael@0: gmock_main: $(obj).target/testing/libgmock_main.a michael@0: