1 AUTOMAKE_OPTIONS = foreign
4 SUBDIRS = $(libgc_dir) mono $(ikvm_jni_dir) docs data runtime scripts man samples support web
6 # Keep in sync with SUBDIRS
7 ## 'tools' is not normally built
8 DIST_SUBDIRS = libgc mono ikvm-jni docs data runtime scripts man samples 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) 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 mcsclassdir = $(mcs_topdir)/class
29 monolitedir = $(mcsclassdir)/lib/basic
31 -rm -f $(monolitedir)/*.exe $(monolitedir)/*.dll
32 -rm -fr $(monolitedir)/monolite-*
33 cd $(monolitedir) && { wget -O- http://www.go-mono.com/daily/monolite-latest.tar.gz | gzip -d | tar xf - ; }
34 mv -f $(monolitedir)/monolite-*/*.exe $(monolitedir)/monolite-*/*.dll $(monolitedir)
35 rm -fr $(monolitedir)/monolite-*
36 cd $(mcsclassdir)/lib && { test ! -f basic.tar.gz || mv -f basic.tar.gz basic.tar.gz.old; }
37 cd $(mcsclassdir) && $(MAKE) lib/basic.tar.gz
38 -rm -f $(monolitedir)/*.exe $(monolitedir)/*.dll
41 cd runtime && $(MAKE) clean-local
43 $(MAKE) mcs-do-compiler-tests
45 bootstrap-world: compiler-tests
49 mcs-do-compiler-tests:
50 cd runtime && $(MAKE) TEST_SUBDIRS="tests errors" check-local
53 wget http://www.go-mono.com/archive/pkgconfig-0.11-20020310.zip
54 wget http://www.go-mono.com/archive/glib-2.0.4-20020703.zip
55 wget http://www.go-mono.com/archive/glib-dev-2.0.4-20020703.zip
56 wget http://www.go-mono.com/archive/libiconv-1.7.zip
57 wget http://www.go-mono.com/archive/libiconv-dev-1.7.zip
58 wget http://www.go-mono.com/archive/libintl-0.10.40-20020101.zip
59 wget http://www.jroith.de/nsis4cygwin.zip
60 unzip -n -d / pkgconfig-0.11-20020310.zip
61 unzip -n -d / glib-2.0.4-20020703.zip
62 unzip -n -d / glib-dev-2.0.4-20020703.zip
63 unzip -n -d / libiconv-1.7.zip
64 unzip -n -d / libiconv-dev-1.7.zip
65 unzip -n -d / libintl-0.10.40-20020101.zip
66 unzip -n -d / nsis4cygwin.zip
69 makensis /DMILESTONE=$(VERSION) /DSOURCE_INSTALL_DIR=$(SOURCE_INSTALL_DIR) /DBUILDNUM=$(BUILDNUM) monowiz.win32.nsi
72 @echo "*** 'make bootstrap' is obsolete. Just run 'make' to perform a combined mono+mcs build"