2006-08-23 Peter Dennis Bartok <pbartok@novell.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: $(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 = linux win32
18 PROFILES = \
19         basic net_1_1_bootstrap default net_2_0_bootstrap net_2_0 \
20         atomic net_1_0
21
22 COMMON_SRCS = \
23         Consts.cs.in                    \
24         Locale.cs                       \
25         MonoTODOAttribute.cs            \
26         TestConfiguration.cs
27
28 DISTFILES = \
29         README.makefiles                \
30         README.platforms                \
31         README.configury                \
32         config-default.make             \
33         executable.make                 \
34         library.make                    \
35         rules.make                      \
36         $(COMMON_SRCS:%=common/%)       \
37         $(PLATFORMS:%=platforms/%.make) $(PROFILES:%=profiles/%.make)
38
39 dist-local: dist-default
40         $(MKINSTALLDIRS) $(distdir)/deps