* CultureInfo.cs: Make specific names lower case, because all data
[mono.git] / Makefile.am
1 AUTOMAKE_OPTIONS = foreign
2
3 SUBDIRS = @libgc_dir@ mono @ikvm_jni_dir@ docs runtime scripts man data samples support web
4
5 # Keep in sync with SUBDIRS
6 DIST_SUBDIRS = libgc mono ikvm-jni docs runtime scripts man data samples support web
7
8 # EXTRA_SUBDIRS = libgc
9
10 EXTRA_DIST= mono.pc.in mono.spec.in mint.pc.in
11
12 pkgconfigdir = $(libdir)/pkgconfig
13 if JIT_SUPPORTED
14 pkgconfig_DATA= mono.pc mint.pc
15 else
16 pkgconfig_DATA= mint.pc
17 endif
18 DISTCLEANFILES= mono.pc mint.pc
19
20 #
21 # The following target is used to compile and install
22 # mono and mcs without running into the out-of-sync
23 # problems by doing the compilation in the right order.
24 #
25
26 mcs_topdir=$(top_srcdir)/../mcs
27
28 .PHONY: fullbuild remove-binaries mcs-tree-safe-build xinstall-runtime mcs-rest
29
30 fullbuild: mcs-rest
31         $(MAKE) install
32
33 mcs-tree-safe-build: remove-binaries
34         cd $(mcs_topdir)/jay; $(MAKE)
35         cd $(mcs_topdir)/mcs; $(MAKE) MCS=mcs BOOTSTRAP_MCS=mcs
36         cd $(mcs_topdir)/class/corlib; $(MAKE) MCS=mcs BOOTSTRAP_MCS=mcs
37         cp $(mcs_topdir)/class/lib/default/mscorlib.dll $(top_srcdir)/runtime
38         cp $(mcs_topdir)/mcs/mcs.exe $(top_srcdir)/runtime
39
40 xinstall-runtime: mcs-tree-safe-build
41         if test -z "$(libgc_dir)"; then :; else cd libgc; $(MAKE) && $(MAKE) install ; fi
42         cd mono; $(MAKE) && $(MAKE) install
43         cd runtime; $(MAKE) install assemblies_DATA=mscorlib.dll monobins_DATA=mcs.exe
44
45 mcs-rest: xinstall-runtime
46         cd $(mcs_topdir)/class; $(MAKE)
47
48 remove-binaries:
49         rm -f $(mcs_topdir)/class/lib/default/mscorlib.dll $(mcs_topdir)/mcs/mcs.exe $(top_srcdir)/runtime/*.dll $(top_srcdir)/runtime/*.exe
50
51
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
67
68 win32setup:
69         cp /usr/lib/libglib-2.0-0.dll @prefix@/lib
70         cp /usr/lib/iconv.dll @prefix@/lib
71         cp /usr/lib/libgmodule-2.0-0.dll @prefix@/lib
72         cp /usr/lib/libgobject-2.0-0.dll @prefix@/lib
73         cp /usr/lib/libgthread-2.0-0.dll @prefix@/lib
74         cp /usr/lib/libintl-1.dll @prefix@/lib
75         makensis /DMILESTONE=@VERSION@ /DSOURCE_INSTALL_DIR=`cygpath -a -w @prefix@`\\* monowiz.win32.nsi