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)
|
|
|
|
LIB_MCS_FLAGS =
|
|
|
|
|
|
|
|
TEST_MCS_FLAGS =
|
|
|
|
TEST_LIB_REFS = $(XBUILD_FRAMEWORK) $(XBUILD_UTILITIES) $(PARENT_PROFILE)System.Xml
|
2014-08-13 10:39:27 +01:00
|
|
|
|
|
|
|
EXTRA_DISTFILES = \
|
|
|
|
Test/resources/TestTasks.cs \
|
|
|
|
Test/resources/*.*proj \
|
|
|
|
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
|
|
|
|
$(CSCOMPILE) /out:$@ Test/resources/TestTasks.cs /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
|
|
|
|
2016-02-22 11:00:01 -05:00
|
|
|
test-local: compile-resources
|
|
|
|
|
|
|
|
compile-resources: Test/resources/TestTasks-$(PROFILE).dll
|
|
|
|
cp Test/resources/TestTasks-$(PROFILE).dll Test/resources/TestTasks.dll
|
|
|
|
cp Test/resources/TestTasks-$(PROFILE).dll.mdb Test/resources/TestTasks.dll.mdb
|
2016-08-03 10:59:49 +00:00
|
|
|
# cp Test/resources/TestTasks-$(PROFILE).pdb Test/resources/TestTasks.pdb
|
2014-08-13 10:39:27 +01:00
|
|
|
|
|
|
|
include $(XBUILD_DIR)/xbuild_test.make
|
|
|
|
include ../../build/library.make
|