2014-08-13 10:39:27 +01:00
|
|
|
thisdir = class/Microsoft.Build.Engine
|
|
|
|
SUBDIRS =
|
|
|
|
include ../../build/rules.make
|
|
|
|
|
|
|
|
XBUILD_DIR=$(topdir)/tools/xbuild
|
|
|
|
include $(XBUILD_DIR)/xbuild.make
|
|
|
|
|
|
|
|
LIBRARY = Microsoft.Build.Engine.dll
|
|
|
|
|
2016-08-03 10:59:49 +00:00
|
|
|
LIB_REFS = $(PARENT_PROFILE)System $(PARENT_PROFILE)System.Core $(PARENT_PROFILE)System.Xml $(XBUILD_FRAMEWORK) $(XBUILD_UTILITIES)
|
2017-10-19 20:04:20 +00:00
|
|
|
KEYFILE = ../msfinal.pub
|
2016-08-03 10:59:49 +00:00
|
|
|
LIB_MCS_FLAGS =
|
|
|
|
|
2019-02-04 20:11:37 +00:00
|
|
|
TEST_RESOURCE_FILES = \
|
|
|
|
$(wildcard Test/resources/*.csproj)
|
|
|
|
|
|
|
|
TEST_MCS_FLAGS = $(foreach r, $(TEST_RESOURCE_FILES), -resource:$(r),$(r))
|
2016-08-03 10:59:49 +00:00
|
|
|
TEST_LIB_REFS = $(XBUILD_FRAMEWORK) $(XBUILD_UTILITIES) $(PARENT_PROFILE)System.Xml
|
2017-04-10 11:41:01 +00:00
|
|
|
TEST_NUNITLITE_APP_CONFIG_RUNTIME=Test/test-config-file-$(PROFILE)
|
2014-08-13 10:39:27 +01:00
|
|
|
|
|
|
|
EXTRA_DISTFILES = \
|
|
|
|
Test/resources/TestTasks.cs \
|
|
|
|
Test/resources/*.csproj
|
|
|
|
|
2016-08-03 10:59:49 +00:00
|
|
|
CLEAN_FILES = Test/resources/TestTasks-$(PROFILE).dll Test/resources/TestTasks-$(PROFILE).dll.mdb Test/resources/TestTasks-$(PROFILE).pdb
|
2014-08-13 10:39:27 +01:00
|
|
|
|
2016-08-03 10:59:49 +00:00
|
|
|
Test/resources/TestTasks-$(PROFILE).dll: Test/resources/TestTasks.cs
|
2018-05-10 08:37:03 +00:00
|
|
|
$(CSCOMPILE) /out:$@ Test/resources/TestTasks.cs /r:$(topdir)/class/lib/$(PROFILE)/$(PARENT_PROFILE)/mscorlib.dll /r:$(topdir)/class/lib/$(PROFILE)/$(XBUILD_FRAMEWORK).dll /r:$(topdir)/class/lib/$(PROFILE)/$(XBUILD_UTILITIES).dll /target:library
|
2014-08-13 10:39:27 +01:00
|
|
|
|
2019-02-04 20:11:37 +00:00
|
|
|
TEST_MCS_FLAGS += -resource:Test/resources/TestTasks-$(PROFILE).dll,Test/resources/TestTasks.dll
|
2016-02-22 11:00:01 -05:00
|
|
|
|
2017-04-10 11:41:01 +00:00
|
|
|
ifndef MCS_MODE
|
2019-02-04 20:11:37 +00:00
|
|
|
TEST_MCS_FLAGS += -resource:Test/resources/TestTasks-$(PROFILE).pdb,Test/resources/TestTasks.pdb
|
2017-04-10 11:41:01 +00:00
|
|
|
endif
|
2014-08-13 10:39:27 +01:00
|
|
|
|
2019-02-04 20:11:37 +00:00
|
|
|
test-local: Test/resources/TestTasks-$(PROFILE).dll
|
|
|
|
|
2014-08-13 10:39:27 +01:00
|
|
|
include $(XBUILD_DIR)/xbuild_test.make
|
|
|
|
include ../../build/library.make
|