2009-02-03 Zoltan Varga <vargaz@gmail.com>
[mono.git] / mcs / build / Makefile
index 2cf467defadd401c400a5963f86c2d1d756c27c7..ac5e80124426eaaa34b66b7968930c38660bc679 100644 (file)
@@ -2,34 +2,49 @@ thisdir = build
 SUBDIRS = 
 include ../build/rules.make
 
-all-local install-local test-local run-test-local run-test-ondotnet-local uninstall-local:
+BUILT_FILES = common/Consts.cs
+
+all-local install-local test-local run-test-local run-test-ondotnet-local uninstall-local doc-update-local: $(BUILT_FILES)
        @:
 
 clean-local:
-       -rm -f deps/*
+       -rm -f $(BUILT_FILES) deps/*
+
+common/Consts.cs: common/Consts.cs.in $(wildcard config.make)
+       test -n '$(MONO_VERSION)'
+       sed -e 's,@''MONO_VERSION@,$(MONO_VERSION),' $< > $@
 
-PLATFORMS = linux win32
+PLATFORMS = darwin linux win32
 PROFILES = \
-       basic net_1_1_bootstrap default net_2_0_bootstrap net_2_0 \
-       atomic net_1_0
+       basic \
+       net_1_1_bootstrap \
+       net_1_1 \
+       net_2_0_bootstrap \
+       net_2_0 \
+       net_2_1_bootstrap \
+       net_2_1_raw \
+       net_2_1 \
+       net_1_0 \
+       net_3_5
 
 COMMON_SRCS = \
-       Consts.cs                       \
        Consts.cs.in                    \
        Locale.cs                       \
-       MonoTODOAttribute.cs            \
-       TestConfiguration.cs
+       MonoTODOAttribute.cs
 
 DISTFILES = \
        README.makefiles                \
        README.platforms                \
        README.configury                \
        config-default.make             \
+       corcompare.make                 \
+       corcompare-api.xsl              \
        executable.make                 \
        library.make                    \
+       nunit-summary.xsl               \
        rules.make                      \
        $(COMMON_SRCS:%=common/%)       \
        $(PLATFORMS:%=platforms/%.make) $(PROFILES:%=profiles/%.make)
 
 dist-local: dist-default
-       $(MKINSTALLDIRS) $(distdir)/deps
+