Fix to UriTemplate.Match to properly handle query parameters without a value. No...
[mono.git] / mcs / class / System.Reactive.Windows.Threading / Makefile
1 thisdir = class/System.Reactive.Windows.Threading
2 SUBDIRS = 
3 include ../../build/rules.make
4
5 LIBRARY = System.Reactive.Windows.Threading.dll
6 LIB_MCS_FLAGS = \
7                 @more_build_args \
8                 -r:System.dll \
9                 -r:System.Core.dll \
10                 -r:System.Reactive.Interfaces.dll \
11                 -r:System.Reactive.Core.dll \
12                 -r:System.Reactive.Linq.dll \
13                 -r:WindowsBase.dll
14
15 ifeq (true, $(GENERATE_RESOURCES))
16 LIB_MCS_FLAGS += /define:GENERATING_RESOURCES
17 endif
18
19 RESX_RESOURCES = \
20         Strings_WindowsThreading.resources
21
22 CLEAN_FILES += $(RESX_RESOURCES)
23
24 RESOURCES = $(RESX_RESOURCES)
25
26 PREBUILT = $(RESX_RESOURCES:=.prebuilt)
27
28 ifeq (2.1, $(FRAMEWORK_VERSION))
29 LIB_MCS_FLAGS += -d:NO_TASK_DELAY -d:HAS_AWAIT
30 endif
31
32 NET_4_5 := $(filter 4.5, $(FRAMEWORK_VERSION))
33 ifdef NET_4_5
34 LIB_MCS_FLAGS += -d:HAS_EDI -d:PREFERASYNC -d:PREFER_ASYNC -d:HAS_AWAIT
35 endif
36
37 TEST_MCS_FLAGS = $(LIB_MCS_FLAGS)
38
39 EXTRA_DISTFILES = more_build_args $(RESX_RESOURCES:.resources=.resx) $(PREBUILT)
40
41 VALID_PROFILE := $(filter net_4_0 net_4_5, $(PROFILE))
42 ifndef VALID_PROFILE
43 LIBRARY_NAME = dummy-System.System.Reactive.Windows.Threading.dll
44 NO_SIGN_ASSEMBLY = yes
45 endif
46
47 INSTALL_PROFILE := $(filter net_4_5, $(PROFILE))
48 ifndef INSTALL_PROFILE
49 NO_INSTALL = yes
50 endif
51
52 NO_TEST = yes
53
54 include ../../build/library.make
55
56 $(the_lib): $(RESOURCES)
57
58 $(RESX_RESOURCES): %.resources: %.resx
59         $(RESGEN) $< || cp $@.prebuilt $@
60
61 $(PREBUILT): %.prebuilt: %
62         cp $* $@
63
64 dist-default: $(PREBUILT)
65