Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / mcs / class / System.Web.Http / Makefile
index d7f1a32a42b5fe9e9b1d4d7373ff74175d934838..22be8256d9461de9926e2612cacfc6f92c70e1b8 100644 (file)
@@ -4,20 +4,12 @@ include ../../build/rules.make
 
 LIBRARY = System.Web.Http.dll
 
-System.Web.Http.Properties.CommonWebApiResources.resources: ../../../external/aspnetwebstack/src/Common/CommonWebApiResources.resx
-       $(RESGEN) "$<" "$@"
-       
-System.Web.Http.Properties.SRResources.resources: ../../../external/aspnetwebstack/src/System.Web.Http/Properties/SRResources.resx
-       $(RESGEN) "$<" "$@"
+RESOURCE_DEFS = \
+       System.Web.Http.Properties.CommonWebApiResources,../../../external/aspnetwebstack/src/Common/CommonWebApiResources.resx \
+       System.Web.Http.Properties.SRResources,../../../external/aspnetwebstack/src/System.Web.Http/Properties/SRResources.resx
 
-
-LIB_MCS_FLAGS = -r:System.Core.dll -r:System.dll -r:System.Xml.dll -r:System.Net.Http.dll -r:System.ComponentModel.DataAnnotations.dll \
-               -r:System.Net.Http.Formatting.dll -r:System.Runtime.Caching.dll -r:System.Runtime.Serialization.dll -r:System.Data.Linq.dll \
-               -d:ASPNETMVC -keyfile:../winfx.pub -delaysign \
-               -resource:System.Web.Http.Properties.CommonWebApiResources.resources \
-               -resource:System.Web.Http.Properties.SRResources.resources
+LIB_REFS = System.Core System System.Xml System.Net.Http System.ComponentModel.DataAnnotations System.Net.Http.Formatting System.Runtime.Caching System.Runtime.Serialization System.Data.Linq
+KEYFILE = ../winfx.pub
+LIB_MCS_FLAGS = -d:ASPNETMVC -delaysign
 
 include ../../build/library.make
-
-$(the_lib): System.Web.Http.Properties.CommonWebApiResources.resources \
-       System.Web.Http.Properties.SRResources.resources
\ No newline at end of file