diff options
author | Mikayla Hutchinson <m.j.hutchinson@gmail.com> | 2016-07-14 18:34:31 +0300 |
---|---|---|
committer | Mikayla Hutchinson <m.j.hutchinson@gmail.com> | 2016-07-15 20:07:25 +0300 |
commit | 4a6176c71e534e0c9402512a3d09d4dab7b5d02c (patch) | |
tree | bd3cd7fc4c82290f7e001f583dabcf57133a0b0c /mcs | |
parent | 3e74952787ce3d0611ec169ce958de6fdc49b92d (diff) |
[xbuild] Use RESOURCE_DEFS to compile resx
Diffstat (limited to 'mcs')
-rw-r--r-- | mcs/class/Microsoft.NuGet.Build.Tasks/Makefile | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/mcs/class/Microsoft.NuGet.Build.Tasks/Makefile b/mcs/class/Microsoft.NuGet.Build.Tasks/Makefile index ceac5cfb33c..e3561d4fb47 100644 --- a/mcs/class/Microsoft.NuGet.Build.Tasks/Makefile +++ b/mcs/class/Microsoft.NuGet.Build.Tasks/Makefile @@ -14,6 +14,8 @@ LIBRARY_INSTALL_DIR = $(NUGET_BUILDTASKS_TARGETS_DIR) KEY_FILE = $(NUGET_BUILDTASKS_REPO_DIR)/build/PublicKey.snk SIGN_FLAGS = /delaysign /keyfile:$(KEY_FILE) +RESOURCE_DEFS = Microsoft.NuGet.Build.Tasks.Strings,$(NUGET_BUILDTASKS_REPO_DIR)/src/Microsoft.NuGet.Build.Tasks/Strings.resx + LIB_REFS = $(PARENT_PROFILE)System \ $(PARENT_PROFILE)System.Core \ $(PARENT_PROFILE)System.Data \ @@ -25,18 +27,9 @@ LIB_REFS = $(PARENT_PROFILE)System \ LIB_MCS_FLAGS = \ -nowarn:3021 \ - $(SIGN_FLAGS) \ - -resource:Microsoft.NuGet.Build.Tasks.Strings.resources - -CLEAN_FILES = Microsoft.NuGet.Build.Tasks.Strings.resources + $(SIGN_FLAGS) EXTRA_DISTFILES = \ - $(NUGET_BUILDTASKS_REPO_DIR)/src/Microsoft.NuGet.Build.Tasks/Strings.resx \ $(NUGET_BUILDTASKS_REPO_DIR)/build/PublicKey.snk include ../../build/library.make - -$(build_lib): Microsoft.NuGet.Build.Tasks.Strings.resources - -Microsoft.NuGet.Build.Tasks.Strings.resources: $(NUGET_BUILDTASKS_REPO_DIR)/src/Microsoft.NuGet.Build.Tasks/Strings.resx - MONO_PATH="$(topdir)/class/lib/$(BOOTSTRAP_PROFILE)$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH" $(RUNTIME) $(RUNTIME_FLAGS) $(topdir)/class/lib/net_4_x/resgen.exe "$<" "$@" |