Debian Codegraph @

mcs/class/Microsoft.Build.Tasks/Makefile

raw
1 thisdir = class/Microsoft.Build.Tasks
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.Tasks.dll
9
10 LIBRARY_NAME = Microsoft.Build.Tasks$(NAME_SUFFIX).dll
11
12 LIB_REFS = $(PARENT_PROFILE)System $(PARENT_PROFILE)System.Core $(PARENT_PROFILE)System.Xml $(PARENT_PROFILE)System.Windows.Forms \
13 $(XBUILD_UTILITIES) $(XBUILD_FRAMEWORK) $(XBUILD_ENGINE) $(XBUILD_TASKS)
14 KEYFILE = ../msfinal.pub
15
16 TEST_RESOURCE_FILES = \
17 Test/resources/test.cs \
18 Test/resources/test.dll \
19 Test/resources/Sample.cs \
20 Test/resources/Sample.vb \
21 Test/resources/junk.txt \
22 Test/resources/binary/FancyStuff.dll \
23 Test/resources/binary/FancyStuff.dll.mdb \
24 Test/resources/binary/SimpleWrite.dll \
25 Test/resources/binary/SimpleWrite.dll.mdb \
26 Test/resources/binary/Testing.dll \
27 Test/resources/binary/Testing.dll.mdb \
28 Test/resources/binary/XbuildReferenceBugTest.exe \
29 Test/resources/binary/XbuildReferenceBugTest.exe.mdb \
30 Test/resources/binary/XbuildReferenceBugTest2.exe
31
32 TEST_MCS_FLAGS = $(foreach r, $(TEST_RESOURCE_FILES), -resource:$(r),$(r))
33 TEST_LIB_REFS = $(PARENT_PROFILE)System.Xml $(XBUILD_ENGINE) $(XBUILD_FRAMEWORK) $(XBUILD_TASKS) $(XBUILD_UTILITIES) $(PARENT_PROFILE)System.Core
34
35 TEST_NUNITLITE_APP_CONFIG_RUNTIME=Test/test-config-file-$(PROFILE)
36
37 ifeq (4, $(FRAMEWORK_VERSION_MAJOR))
38 TEST_LIB_REFS += Microsoft.Build
39 endif
40
41 EXTRA_DISTFILES = $(filter-out Test/resources/test.dll, $(TEST_RESOURCE_FILES))
42
43 Test/resources/test.dll: Test/resources/test.cs
44 $(CSCOMPILE) -r:$(topdir)/class/lib/$(PROFILE)/$(PARENT_PROFILE)mscorlib.dll -target:library /out:$@ $<
45
46 clean-test-resources:
47 rm -f Test/resources/test.dll
48
49 test-local: Test/resources/test.dll
50
51 clean-local: clean-test-resources
52
53 include $(XBUILD_DIR)/xbuild_test.make
54 include ../../build/library.make