68cd09eb0431b5ef865d8b5197a966ec6e25834a
[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_REFS = System System.Core System.Xml Microsoft.Build.Engine Microsoft.Build.Framework
11 LIB_MCS_FLAGS = \
12         /r:$(corlib)                            \
13         /r:System.dll                           \
14         /r:System.Core.dll                      \
15         /r:System.Xml.dll                       \
16         /r:Microsoft.Build.Engine.dll           \
17         /r:Microsoft.Build.Framework.dll        \
18         /d:MICROSOFT_BUILD_DLL
19         
20 TEST_MCS_FLAGS = $(LIB_MCS_FLAGS) \
21         /r:Microsoft.Build.Utilities.v4.0.dll
22
23 EXTRA_DISTFILES = \
24         Microsoft.Build.Internal/ExpressionParser.jay   \
25         Test/FunctionalTestReferenceProject.csproj      \
26         Test/FunctionalTestReferenceProject3.csproj     \
27         Test/Microsoft.Build.Test.csproj        \
28         Test/Microsoft.Build.csproj
29
30 EXPR_PARSER = Microsoft.Build.Internal/ExpressionParser
31
32 $(EXPR_PARSER).cs: $(EXPR_PARSER).jay $(topdir)/jay/skeleton.cs
33         (cd Microsoft.Build.Internal; $(topdir)/../jay/jay -ctv < $(topdir)/../jay/skeleton.cs ExpressionParser.jay > ExpressionParser.cs)
34
35 BUILT_SOURCES = $(EXPR_PARSER).cs
36
37 include ../../build/library.make
38
39 include $(XBUILD_DIR)/xbuild_test.make