[build] Change the way how mcs references are passed to compiler to always use full...
[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 = $(PARENT_PROFILE)System $(PARENT_PROFILE)System.Core $(PARENT_PROFILE)System.Xml Microsoft.Build.Engine Microsoft.Build.Framework
11 LIB_MCS_FLAGS = \
12         /d:MICROSOFT_BUILD_DLL
13         
14 TEST_MCS_FLAGS = $(LIB_MCS_FLAGS)
15 TEST_LIB_REFS = $(XBUILD_UTILITIES)
16
17 EXTRA_DISTFILES = \
18         Microsoft.Build.Internal/ExpressionParser.jay   \
19         Test/FunctionalTestReferenceProject.csproj      \
20         Test/FunctionalTestReferenceProject3.csproj     \
21         Test/Microsoft.Build.Test.csproj        \
22         Test/Microsoft.Build.csproj
23
24 EXPR_PARSER = Microsoft.Build.Internal/ExpressionParser
25
26 $(EXPR_PARSER).cs: $(EXPR_PARSER).jay $(topdir)/jay/skeleton.cs
27         (cd Microsoft.Build.Internal; $(topdir)/../jay/jay -ctv < $(topdir)/../jay/skeleton.cs ExpressionParser.jay > ExpressionParser.cs)
28
29 BUILT_SOURCES = $(EXPR_PARSER).cs
30
31 include ../../build/library.make
32
33 include $(XBUILD_DIR)/xbuild_test.make