Implement vararg support for s390. Minor fix to atomic operation for s390.
[mono.git] / Makefile.am
blob68155a883872ee0211342b060cda0225e7885161
1 AUTOMAKE_OPTIONS = foreign
2 ACLOCAL_AMFLAGS = -I .
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
13 dist-hook:
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
18 if JIT_SUPPORTED
19 pkgconfig_DATA= mono.pc mint.pc
20 else
21 pkgconfig_DATA= mint.pc
22 endif
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
30 get-monolite-latest:
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
40 compiler-tests:
41         cd runtime && $(MAKE) clean-local
42         $(MAKE)
43         $(MAKE) mcs-do-compiler-tests
45 bootstrap-world: compiler-tests
46         $(MAKE) install
48 # internal targets
49 mcs-do-compiler-tests:
50         cd runtime && $(MAKE) TEST_SUBDIRS="tests errors" check-local
52 win32getdeps:
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
68 win32setup:
69         makensis /DMILESTONE=$(VERSION) /DSOURCE_INSTALL_DIR=$(SOURCE_INSTALL_DIR) /DBUILDNUM=$(BUILDNUM) monowiz.win32.nsi
71 bootstrap: all
72         @echo "*** 'make bootstrap' is obsolete.  Just run 'make' to perform a combined mono+mcs build"
73         exit 1