2009-08-19 Marek Safar <marek.safar@gmail.com>
[mono.git] / mcs / build / Makefile
1 thisdir = build
2 SUBDIRS = 
3 include ../build/rules.make
4
5 BUILT_FILES = common/Consts.cs
6
7 all-local install-local test-local run-test-local run-test-ondotnet-local uninstall-local doc-update-local: $(BUILT_FILES)
8         @:
9
10 clean-local:
11         -rm -f $(BUILT_FILES) deps/*
12
13 common/Consts.cs: common/Consts.cs.in $(wildcard config.make)
14         test -n '$(MONO_VERSION)'
15         sed -e 's,@''MONO_VERSION@,$(MONO_VERSION),' $< > $@
16
17 PLATFORMS = darwin linux win32
18 PROFILES = \
19         basic \
20         net_1_1_bootstrap \
21         net_1_1 \
22         net_2_0_bootstrap \
23         net_2_0 \
24         net_2_1_bootstrap \
25         net_2_1_raw \
26         net_2_1 \
27         net_1_0 \
28         net_3_5 \
29         net_4_0_bootstrap \
30         net_4_0 
31
32 COMMON_SRCS = \
33         Consts.cs.in                    \
34         Locale.cs                       \
35         MonoTODOAttribute.cs
36
37 DISTFILES = \
38         README.makefiles                \
39         README.platforms                \
40         README.configury                \
41         config-default.make             \
42         corcompare.make                 \
43         corcompare-api.xsl              \
44         executable.make                 \
45         library.make                    \
46         nunit-summary.xsl               \
47         rules.make                      \
48         tests.make                      \
49         $(COMMON_SRCS:%=common/%)       \
50         $(PLATFORMS:%=platforms/%.make) $(PROFILES:%=profiles/%.make)
51
52 dist-local: dist-default
53