Merge pull request #5668 from kumpera/wasm-work-p4
[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 KEYFILE = ../msfinal.pub
12 LIB_MCS_FLAGS = \
13         /d:MICROSOFT_BUILD_DLL
14
15 TEST_MCS_FLAGS = $(LIB_MCS_FLAGS)
16 TEST_LIB_REFS = $(XBUILD_UTILITIES)
17 TEST_NUNITLITE_APP_CONFIG_RUNTIME=Test/test-config-file-$(PROFILE)
18
19 EXTRA_DISTFILES = \
20         Microsoft.Build.Internal/ExpressionParser.jay   \
21         Test/FunctionalTestReferenceProject.csproj      \
22         Test/FunctionalTestReferenceProject3.csproj     \
23         Test/Microsoft.Build.Test.csproj        \
24         Test/Microsoft.Build.csproj
25
26 EXPR_PARSER = Microsoft.Build.Internal/ExpressionParser
27
28 $(EXPR_PARSER).cs: $(EXPR_PARSER).jay $(topdir)/jay/skeleton.cs
29         (cd Microsoft.Build.Internal; $(topdir)/../jay/jay -ctv < $(topdir)/../jay/skeleton.cs ExpressionParser.jay > ExpressionParser.cs)
30
31 BUILT_SOURCES = $(EXPR_PARSER).cs
32
33 include ../../build/library.make
34
35 include $(XBUILD_DIR)/xbuild_test.make