Index: native_client_sdk/src/tools/host_gcc.mk |
diff --git a/native_client_sdk/src/tools/host_gcc.mk b/native_client_sdk/src/tools/host_gcc.mk |
index 05967e8c1b03302c7bd0a3b34cd7ba8875bfee81..10579d2c73531291dff03d0c56f84434d90c3511 100644 |
--- a/native_client_sdk/src/tools/host_gcc.mk |
+++ b/native_client_sdk/src/tools/host_gcc.mk |
@@ -40,13 +40,13 @@ LINUX_CCFLAGS=-fPIC -pthread $(LINUX_WARNINGS) -I$(NACL_SDK_ROOT)/include -I$(NA |
define C_COMPILER_RULE |
-include $(OUTDIR)/$(basename $(1)).d |
$(OUTDIR)/$(basename $(1)).o : $(1) $(TOP_MAKE) | $(dir $(OUTDIR)/$(basename $(1)))dir.stamp |
- $(HOST_CC) -o $$@ -c $$< -fPIC $(POSIX_FLAGS) $(2) $(LINUX_FLAGS) |
+ $(call LOG,CC,$$@,$(HOST_CC) -o $$@ -c $$< -fPIC $(POSIX_FLAGS) $(2) $(LINUX_FLAGS)) |
endef |
define CXX_COMPILER_RULE |
-include $(OUTDIR)/$(basename $(1)).d |
$(OUTDIR)/$(basename $(1)).o : $(1) $(TOP_MAKE) |$(dir $(OUTDIR)/$(basename $(1)))dir.stamp |
- $(HOST_CXX) -o $$@ -c $$< -fPIC $(POSIX_FLAGS) $(2) $(LINUX_FLAGS) |
+ $(call LOG,CC,$$@,$(HOST_CXX) -o $$@ -c $$< -fPIC $(POSIX_FLAGS) $(2) $(LINUX_FLAGS)) |
binji
2013/02/11 20:46:07
CXX? I guess it doesn't really matter.
Sam Clegg
2013/02/11 21:07:42
Done.
|
endef |
@@ -106,7 +106,7 @@ endef |
define LINKER_RULE |
all: $(1) |
$(1) : $(2) $(foreach dep,$(4),$(STAMPDIR)/$(dep).stamp) |
- $(HOST_LINK) -shared -o $(1) $(2) $(foreach path,$(5),-L$(path)/$(OSNAME)_host)/$(CONFIG) $(foreach lib,$(3),-l$(lib)) $(6) |
+ $(call LOG,LINK,$$@,$(HOST_LINK) -shared -o $(1) $(2) $(foreach path,$(5),-L$(path)/$(OSNAME)_host)/$(CONFIG) $(foreach lib,$(3),-l$(lib)) $(6)) |
endef |
@@ -125,24 +125,4 @@ $(call LINKER_RULE,$(OUTDIR)/$(1)$(HOST_EXT),$(foreach src,$(2),$(OUTDIR)/$(base |
endef |
-# |
-# NMF Manifiest generation |
-# |
-# Use the python script create_nmf to scan the binaries for dependencies using |
-# objdump. Pass in the (-L) paths to the default library toolchains so that we |
-# can find those libraries and have it automatically copy the files (-s) to |
-# the target directory for us. |
-# |
-# $1 = Target Name (the basename of the nmf |
-# $2 = Additional create_nmf.py arguments |
-# |
-NMF:=python $(NACL_SDK_ROOT)/tools/create_nmf.py |
- |
-define NMF_RULE |
-NMF_LIST+=$(OUTDIR)/$(1).nmf |
-$(OUTDIR)/$(1).nmf : $(OUTDIR)/$(1)$(HOST_EXT) |
- @echo "Host Toolchain" > $$@ |
-endef |
- |
-all : $(LIB_LIST) $(DEPS_LIST) $(NMF_LIST) |
- |
+all : $(LIB_LIST) $(DEPS_LIST) |