Merge pull request #778 from cmorris98/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
21 EXTRA_DISTFILES = \
22         Microsoft.Build.Internal/ExpressionParser.jay   \
23         Test/FunctionalTestReferenceProject.csproj      \
24         Test/FunctionalTestReferenceProject3.csproj     \
25         Test/Microsoft.Build.Test.csproj        \
26         Test/Microsoft.Build.csproj
27
28 EXPR_PARSER = Microsoft.Build.Internal/ExpressionParser
29
30 $(EXPR_PARSER).cs: $(EXPR_PARSER).jay $(topdir)/jay/skeleton.cs
31         (cd Microsoft.Build.Internal; $(topdir)/../jay/jay -ctv < $(topdir)/../jay/skeleton.cs ExpressionParser.jay > ExpressionParser.cs)
32
33 BUILT_SOURCES = $(EXPR_PARSER).cs
34
35 include ../../build/library.make
36
37 XBUILD_FRAMEWORK_FOLDERS_PATH=xbuild-testing
38 include $(XBUILD_DIR)/xbuild_test.make