Merge pull request #1156 from felfert/master
[mono.git] / mcs / class / Microsoft.Build / Makefile
1 thisdir = class/Microsoft.Build
2 SUBDIRS = 
3 include ../../build/rules.make
4
5 XBUILD_DIR=$(topdir)/tools/xbuild
6 include $(XBUILD_DIR)/xbuild.make
7
8 LIBRARY = Microsoft.Build.dll
9
10 LIB_MCS_FLAGS = \
11         /r:$(corlib)                            \
12         /r:System.dll                           \
13         /r:System.Core.dll                      \
14         /r:System.Xml.dll                       \
15         /r:Microsoft.Build.Engine.dll           \
16         /r:Microsoft.Build.Framework.dll        \
17         /d:MICROSOFT_BUILD_DLL
18         
19 TEST_MCS_FLAGS = $(LIB_MCS_FLAGS) \
20         /r:Microsoft.Build.Utilities.v4.0.dll
21
22 EXTRA_DISTFILES = \
23         Microsoft.Build.Internal/ExpressionParser.jay   \
24         Test/FunctionalTestReferenceProject.csproj      \
25         Test/FunctionalTestReferenceProject3.csproj     \
26         Test/Microsoft.Build.Test.csproj        \
27         Test/Microsoft.Build.csproj
28
29 EXPR_PARSER = Microsoft.Build.Internal/ExpressionParser
30
31 $(EXPR_PARSER).cs: $(EXPR_PARSER).jay $(topdir)/jay/skeleton.cs
32         (cd Microsoft.Build.Internal; $(topdir)/../jay/jay -ctv < $(topdir)/../jay/skeleton.cs ExpressionParser.jay > ExpressionParser.cs)
33
34 BUILT_SOURCES = $(EXPR_PARSER).cs
35
36 include ../../build/library.make
37
38 include $(XBUILD_DIR)/xbuild_test.make