Add missing built-in properties. Resolve properties on import paths. Resolve \ with...
[mono.git] / mcs / class / Microsoft.Build / Makefile
index 17c16f6c6c03074e7463e3ede4f1898a5e4c6d4b..78f4a4438d6c176bed6e21cb020fb857e7efcbd4 100644 (file)
@@ -17,14 +17,24 @@ LIB_MCS_FLAGS = \
        /r:System.Core.dll                      \
        /r:System.Xml.dll                       \
        /r:Microsoft.Build.Engine.dll           \
-       /r:Microsoft.Build.Framework.dll
+       /r:Microsoft.Build.Framework.dll        \
+       /d:MICROSOFT_BUILD_DLL
        
-TEST_MCS_FLAGS = /r:System.Core.dll
+TEST_MCS_FLAGS = $(LIB_MCS_FLAGS)
 
 EXTRA_DISTFILES = \
+       Microsoft.Build.Internal/ExpressionParser.jay   \
        Test/FunctionalTestReferenceProject.csproj      \
        Test/FunctionalTestReferenceProject3.csproj     \
-       Test/Microsoft.Build.Test.csproj
+       Test/Microsoft.Build.Test.csproj        \
+       Test/Microsoft.Build.csproj
+
+EXPR_PARSER = Microsoft.Build.Internal/ExpressionParser
+
+$(EXPR_PARSER).cs: $(EXPR_PARSER).jay $(topdir)/jay/skeleton.cs
+       (cd Microsoft.Build.Internal; $(topdir)/../jay/jay -ctv < $(topdir)/../jay/skeleton.cs ExpressionParser.jay > ExpressionParser.cs)
+
+BUILT_SOURCES = $(EXPR_PARSER).cs
 
 include ../../build/library.make