19234507ba
Former-commit-id: 3494343bcc9ddb42b36b82dd9ae7b69e85e0229f
38 lines
1.4 KiB
Makefile
38 lines
1.4 KiB
Makefile
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
|
|
|
|
LIB_REFS = $(PARENT_PROFILE)System $(PARENT_PROFILE)System.Core $(PARENT_PROFILE)System.Xml $(XBUILD_FRAMEWORK) $(XBUILD_UTILITIES)
|
|
KEYFILE = ../msfinal.pub
|
|
LIB_MCS_FLAGS =
|
|
|
|
TEST_MCS_FLAGS =
|
|
TEST_LIB_REFS = $(XBUILD_FRAMEWORK) $(XBUILD_UTILITIES) $(PARENT_PROFILE)System.Xml
|
|
TEST_NUNITLITE_APP_CONFIG_RUNTIME=Test/test-config-file-$(PROFILE)
|
|
|
|
EXTRA_DISTFILES = \
|
|
Test/resources/TestTasks.cs \
|
|
Test/resources/*.*proj \
|
|
Test/resources/*.csproj
|
|
|
|
CLEAN_FILES = Test/resources/TestTasks-$(PROFILE).dll Test/resources/TestTasks-$(PROFILE).dll.mdb Test/resources/TestTasks-$(PROFILE).pdb
|
|
|
|
Test/resources/TestTasks-$(PROFILE).dll: Test/resources/TestTasks.cs
|
|
$(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
|
|
|
|
test-local: compile-resources
|
|
|
|
compile-resources: Test/resources/TestTasks-$(PROFILE).dll
|
|
cp Test/resources/TestTasks-$(PROFILE).dll Test/resources/TestTasks.dll
|
|
ifndef MCS_MODE
|
|
cp Test/resources/TestTasks-$(PROFILE).pdb Test/resources/TestTasks.pdb
|
|
endif
|
|
|
|
include $(XBUILD_DIR)/xbuild_test.make
|
|
include ../../build/library.make
|