Merge pull request #3913 from omwok/master
[mono.git] / mcs / class / System.Configuration / Makefile
1 thisdir = class/System.Configuration
2 SUBDIRS =
3
4 include ../../build/rules.make
5
6 LIBRARY = System.Configuration.dll
7
8 LOCAL_MCS_FLAGS = 
9 LIB_REFS = secxml/System bare/System.Xml System.Security
10 LIB_MCS_FLAGS = -nowarn:618
11 TEST_MCS_FLAGS =
12 TEST_LIB_REFS = System.Xml System
13 TEST_NUNITLITE_APP_CONFIG_GLOBAL=Test/test-config-file
14
15 include ../../build/library.make
16
17 configuration_library_deps = \
18         $(secxml_libdir)/System.dll     \
19         $(the_libdir_base)System.Security.dll   \
20         $(bare_libdir)/System.Xml.dll
21
22 $(build_lib): $(configuration_library_deps)
23
24 test-local:
25         cp Test/appSettings.config $(dir $(NUNITLITE_CONFIG_FILE))/Test-appSettings.config
26
27 .NOTPARALLEL: $(configuration_library_deps)
28
29 $(secxml_libdir)/System.dll:
30         @echo System.Configuration: GETTING: $@
31         (cd ../System; $(MAKE) $@)
32
33 $(the_libdir_base)System.Security.dll:
34         (cd ../System.Security; $(MAKE) $@)
35
36 $(bare_libdir)/System.Xml.dll:
37         (cd ../System.XML; $(MAKE) $@)
38
39 run-test:
40         $(MAKE) -C Test/standalone