Add constructed constructor expression into AST when parsing header
[mono.git] / mcs / build / Makefile
index a2182bdc29f3da6b8b6503b86d8a41fba7fc02fe..14c2a5da6e4ad58235e533c5eef09f019ba00561 100644 (file)
@@ -2,21 +2,49 @@ thisdir = build
 SUBDIRS = 
 include ../build/rules.make
 
-all-local install-local test-local run-test-local clean-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 $(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 = darwin linux win32
+PROFILES = \
+       basic \
+       build \
+       net_2_0 \
+       moonlight_raw \
+       net_3_5 \
+       net_4_0 \
+       net_4_5
+
+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                      \
-       platforms/linux.make            \
-       platforms/win32.make            \
-       profiles/default.make           \
-       profiles/atomic.make            \
-       profiles/net_1_0.make
+       tests.make                      \
+       $(COMMON_SRCS:%=common/%)       \
+       $(PLATFORMS:%=platforms/%.make) $(PROFILES:%=profiles/%.make)
 
 dist-local: dist-default
-       mkdir $(distdir)/deps
+