TabControlPainter.cs: Horizontally center Text and Image when SizeMode = Fixed.
[mono.git] / mcs / class / Microsoft.Build.Engine / Makefile
1 thisdir = class/Microsoft.Build.Engine
2 SUBDIRS = 
3 include ../../build/rules.make
4
5 LIBRARY = Microsoft.Build.Engine.dll
6
7 BUILD_FRAMEWORK = Microsoft.Build.Framework.dll
8
9 ifeq (3.5, $(FRAMEWORK_VERSION))
10 NAME_SUFFIX = .v3.5
11 BUILD_FRAMEWORK := $(topdir)/class/lib/$(PROFILE)/$(BUILD_FRAMEWORK)
12 else
13 ifeq (4.0, $(FRAMEWORK_VERSION))
14 NAME_SUFFIX = .v4.0
15 endif
16 endif
17
18 LIB_MCS_FLAGS = \
19         /r:$(corlib)                            \
20         /r:System.dll                           \
21         /r:System.Core.dll              \
22         /r:System.Xml.dll                       \
23         /r:$(BUILD_FRAMEWORK)                   \
24         /r:Microsoft.Build.Utilities$(NAME_SUFFIX).dll
25
26 TEST_MCS_FLAGS = \
27         /r:$(BUILD_FRAMEWORK)   \
28         /r:Microsoft.Build.Utilities$(NAME_SUFFIX).dll
29
30 EXTRA_DISTFILES = \
31         Test/resources/TestTasks.cs             \
32         Test/resources/*.*proj  \
33         Test/test-config-file*
34
35 Test/resources/TestTasks.dll: Test/resources/TestTasks.cs
36         $(CSCOMPILE) Test/resources/TestTasks.cs /r:Microsoft.Build.Framework.dll /r:Microsoft.Build.Utilities$(NAME_SUFFIX).dll /target:library
37
38 clean-local: clean-test-tasks
39
40 clean-test-tasks:
41         rm -f Test/resources/TestTasks.dll      
42
43 test-local: copy-config
44
45 ifeq (net_4_0, $(PROFILE))
46 copy-config:
47         cp Test/test-config-file-net-4.0 $(test_lib).config
48 else
49 ifeq (net_3_5, $(PROFILE))
50 copy-config:
51         cp Test/test-config-file-net-3.5 $(test_lib).config
52 else
53 copy-config:
54 endif
55 endif
56
57 export TESTING_MONO=a
58 XBUILD_DIR=../../tools/xbuild
59 include $(XBUILD_DIR)/xbuild_targets.make
60
61 test-local: Test/resources/TestTasks.dll
62
63 include ../../build/library.make