Merge pull request #819 from brendanzagaeski/patch-1
[mono.git] / mcs / build / Makefile
index b95c0355ccc1770b88291d8d4f55859894cd6677..ce026ae275fd57a1ad44b124c96abf5fd35b5f6b 100644 (file)
@@ -2,26 +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 csproj-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 \
+       build \
+       net_2_0 \
+       net_3_5 \
+       net_4_0 \
+       net_4_5 \
+       xbuild_12
+
+COMMON_SRCS = \
+       Consts.cs.in                    \
+       Locale.cs                       \
+       MonoTODOAttribute.cs \
+       basic-profile-check.cs
 
 DISTFILES = \
        README.makefiles                \
        README.platforms                \
        README.configury                \
        config-default.make             \
+       corcompare.make                 \
+       corcompare-api.xsl              \
        executable.make                 \
+       gensources.sh                   \
        library.make                    \
+       nunit-summary.xsl               \
        rules.make                      \
+       tests.make                      \
+       $(COMMON_SRCS:%=common/%)       \
        $(PLATFORMS:%=platforms/%.make) $(PROFILES:%=profiles/%.make)
 
 dist-local: dist-default
-       $(MKINSTALLDIRS) $(distdir)/deps
+