1 AUTOMAKE_OPTIONS = foreign
4 SUBDIRS = $(libgc_dir) mono $(ikvm_native_dir) support docs data runtime scripts man samples web
6 # Keep in sync with SUBDIRS
7 ## 'tools' is not normally built
8 DIST_SUBDIRS = libgc mono docs data runtime scripts man samples ikvm-native support web tools
10 EXTRA_DIST= mono.pc.in mono.spec.in mint.pc.in
12 # Distribute the 'mcs' tree too
14 test -d $(distdir)/mcs || mkdir $(distdir)/mcs
15 d=`cd $(distdir)/mcs && pwd`; cd $(mcs_topdir) && $(MAKE) PROFILE=default distdir=$$d dist-recursive
17 pkgconfigdir = $(libdir)/pkgconfig
19 pkgconfig_DATA= mono.pc mint.pc
21 pkgconfig_DATA= mint.pc
23 DISTCLEANFILES= mono.pc mint.pc
25 .PHONY: get-monolite-latest mcs-do-compiler-tests compiler-tests bootstrap-world
27 # building with monolite
28 mcslib = $(mcs_topdir)/class/lib
29 monolite = $(mcslib)/monolite
31 -rm -fr $(mcslib)/monolite-*
32 test ! -d $(monolite) || test ! -d $(monolite).old || rm -fr $(monolite).old
33 test ! -d $(monolite) || mv -f $(monolite) $(monolite).old
34 cd $(mcslib) && { wget -O- http://www.go-mono.com/daily/monolite-latest.tar.gz | gzip -d | tar xf - ; }
35 cd $(mcslib) && mv -f monolite-* monolite
38 cd runtime && $(MAKE) clean-local
40 $(MAKE) mcs-do-compiler-tests
42 bootstrap-world: compiler-tests
46 mcs-do-compiler-tests:
47 cd runtime && $(MAKE) test_select='TEST_SUBDIRS="tests errors"' check-local
50 wget http://www.go-mono.com/archive/pkgconfig-0.11-20020310.zip
51 wget http://www.go-mono.com/archive/glib-2.0.4-20020703.zip
52 wget http://www.go-mono.com/archive/glib-dev-2.0.4-20020703.zip
53 wget http://www.go-mono.com/archive/libiconv-1.7.zip
54 wget http://www.go-mono.com/archive/libiconv-dev-1.7.zip
55 wget http://www.go-mono.com/archive/libintl-0.10.40-20020101.zip
56 wget http://www.jroith.de/nsis4cygwin.zip
57 unzip -n -d / pkgconfig-0.11-20020310.zip
58 unzip -n -d / glib-2.0.4-20020703.zip
59 unzip -n -d / glib-dev-2.0.4-20020703.zip
60 unzip -n -d / libiconv-1.7.zip
61 unzip -n -d / libiconv-dev-1.7.zip
62 unzip -n -d / libintl-0.10.40-20020101.zip
63 unzip -n -d / nsis4cygwin.zip
66 makensis /DMILESTONE=$(VERSION) /DSOURCE_INSTALL_DIR=$(SOURCE_INSTALL_DIR) /DBUILDNUM=$(BUILDNUM) monowiz.win32.nsi
69 @echo "*** 'make bootstrap' is obsolete. Just run 'make' to perform a combined mono+mcs build"