1 AUTOMAKE_OPTIONS = foreign
4 SUBDIRS = $(libgc_dir) mono $(ikvm_native_dir) support docs data runtime scripts man samples web msvc
6 # Keep in sync with SUBDIRS
7 ## 'tools' is not normally built
8 DIST_SUBDIRS = libgc mono ikvm-native support docs data runtime scripts man samples web tools msvc
10 EXTRA_DIST= mono.pc.in mint.pc.in mono-uninstalled.pc.in dotnet.pc.in mono-cairo.pc.in LICENSE
12 DISTCHECK_CONFIGURE_FLAGS = EXTERNAL_MCS=false EXTERNAL_RUNTIME=false
14 # Distribute the 'mcs' tree too
16 test -d $(distdir)/mcs || mkdir $(distdir)/mcs
17 d=`cd $(distdir)/mcs && pwd`; cd $(mcs_topdir) && $(MAKE) PROFILE=default distdir=$$d dist-recursive
19 pkgconfigdir = $(libdir)/pkgconfig
22 pkgconfig_DATA= mono.pc mint.pc dotnet.pc mono-cairo.pc
24 pkgconfig_DATA= mono.pc dotnet.pc mono-cairo.pc
27 pkgconfig_DATA= mint.pc mono-cairo.pc
29 noinst_DATA = mono-uninstalled.pc
30 DISTCLEANFILES= mono.pc mint.pc mono-uninstalled.pc dotnet.pc mono-cairo.pc
32 .PHONY: get-monolite-latest mcs-do-compiler-tests compiler-tests bootstrap-world
34 # building with monolite
35 mcslib = $(mcs_topdir)/class/lib
36 monolite = $(mcslib)/monolite
37 monolite_url = http://mono.ximian.com/daily/monolite-latest.tar.gz
39 -rm -fr $(mcslib)/monolite-*
40 test ! -d $(monolite) || test ! -d $(monolite).old || rm -fr $(monolite).old
41 test ! -d $(monolite) || mv -f $(monolite) $(monolite).old
42 cd $(mcslib) && { (wget -O- $(monolite_url) || curl $(monolite_url)) | gzip -d | tar xf - ; }
43 cd $(mcslib) && mv -f monolite-* monolite
45 compiler-tests: mcs-do-clean
47 $(MAKE) mcs-do-compiler-tests
49 compiler-tests-net_2_0:
50 -rm -f $(mcs_topdir)/build/common/Consts.cs.save
51 -mv -f $(mcs_topdir)/build/common/Consts.cs $(mcs_topdir)/build/common/Consts.cs.save
52 cd $(mcs_topdir) && $(MAKE) PROFILE=net_2_0_bootstrap clean
53 cd $(mcs_topdir) && $(MAKE) PROFILE=net_2_0 clean
54 -mv -f $(mcs_topdir)/build/common/Consts.cs.save $(mcs_topdir)/build/common/Consts.cs
56 $(MAKE) build_profiles=net_2_0 mcs-do-compiler-tests
58 bootstrap-world: compiler-tests
61 bootstrap-world-net_2_0: compiler-tests-net_2_0
66 cd runtime && $(MAKE) clean-local
67 cd mono/tests && $(MAKE) clean
68 mcs-do-compiler-tests:
69 cd runtime && $(MAKE) test_select='TEST_SUBDIRS="tests errors"' check-local
70 cd mono/tests && $(MAKE) check
73 wget http://www.go-mono.com/archive/pkgconfig-0.11-20020310.zip
74 wget http://www.go-mono.com/archive/glib-2.0.4-20020703.zip
75 wget http://www.go-mono.com/archive/glib-dev-2.0.4-20020703.zip
76 wget http://www.go-mono.com/archive/libiconv-1.7.zip
77 wget http://www.go-mono.com/archive/libiconv-dev-1.7.zip
78 wget http://www.go-mono.com/archive/libintl-0.10.40-20020101.zip
79 unzip -n -d / pkgconfig-0.11-20020310.zip
80 unzip -n -d / glib-2.0.4-20020703.zip
81 unzip -n -d / glib-dev-2.0.4-20020703.zip
82 unzip -n -d / libiconv-1.7.zip
83 unzip -n -d / libiconv-dev-1.7.zip
84 unzip -n -d / libintl-0.10.40-20020101.zip
87 makensis /DMILESTONE=$(VERSION) /DSOURCE_INSTALL_DIR=$(SOURCE_INSTALL_DIR) /DBUILDNUM=$(BUILDNUM) monowiz.win32.nsi
90 @echo "*** 'make bootstrap' is obsolete. Just run 'make' to perform a combined mono+mcs build"