1 AUTOMAKE_OPTIONS = foreign
3 SUBDIRS = @libgc_dir@ mono @ikvm_jni_dir@ docs runtime scripts man data samples support web
5 # Keep in sync with SUBDIRS
6 DIST_SUBDIRS = libgc mono ikvm-jni docs runtime scripts man data samples support web
8 # EXTRA_SUBDIRS = libgc
10 EXTRA_DIST= mono.pc.in mono.spec.in mint.pc.in
12 pkgconfigdir = $(libdir)/pkgconfig
14 pkgconfig_DATA= mono.pc mint.pc
16 pkgconfig_DATA= mint.pc
18 DISTCLEANFILES= mono.pc mint.pc
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.
26 mcs_topdir=$(top_srcdir)/../mcs
28 .PHONY: fullbuild remove-binaries mcs-tree-safe-build xinstall-runtime mcs-rest
34 mcs-tree-safe-build: remove-binaries
35 cd $(mcs_topdir)/jay && $(MAKE)
36 cd $(mcs_topdir)/mcs && $(MAKE) MCS=mcs BOOTSTRAP_MCS=mcs PROFILE=default
37 cd $(mcs_topdir)/class/corlib && $(MAKE) MCS=mcs BOOTSTRAP_MCS=mcs PROFILE=default
38 cp $(mcs_topdir)/class/lib/default/mscorlib.dll $(top_srcdir)/runtime/net_1_1
39 cp $(mcs_topdir)/mcs/mcs.exe $(top_srcdir)/runtime
41 xinstall-runtime: mcs-tree-safe-build $(CONFIG_HEADER)
42 if test -z "$(libgc_dir)"; then :; else cd libgc && $(MAKE) && $(MAKE) install ; fi
43 cd mono && $(MAKE) && $(MAKE) install
44 cd runtime && $(MAKE) install SUBDIRS= monobins_DATA=mcs.exe
45 cd runtime/net_1_1 && $(MAKE) install assemblies_DATA=mscorlib.dll gac_assemblies_list=
47 mcs-rest: xinstall-runtime
48 cd $(mcs_topdir) && $(MAKE)
51 rm -f $(mcs_topdir)/class/lib/default/mscorlib.dll $(mcs_topdir)/mcs/mcs.exe $(top_srcdir)/runtime/*/*.dll $(top_srcdir)/runtime/*.exe
55 wget http://www.go-mono.com/archive/pkgconfig-0.11-20020310.zip
56 wget http://www.go-mono.com/archive/glib-2.0.4-20020703.zip
57 wget http://www.go-mono.com/archive/glib-dev-2.0.4-20020703.zip
58 wget http://www.go-mono.com/archive/libiconv-1.7.zip
59 wget http://www.go-mono.com/archive/libiconv-dev-1.7.zip
60 wget http://www.go-mono.com/archive/libintl-0.10.40-20020101.zip
61 wget http://www.jroith.de/nsis4cygwin.zip
62 unzip -n -d / pkgconfig-0.11-20020310.zip
63 unzip -n -d / glib-2.0.4-20020703.zip
64 unzip -n -d / glib-dev-2.0.4-20020703.zip
65 unzip -n -d / libiconv-1.7.zip
66 unzip -n -d / libiconv-dev-1.7.zip
67 unzip -n -d / libintl-0.10.40-20020101.zip
68 unzip -n -d / nsis4cygwin.zip
71 cp /usr/lib/libglib-2.0-0.dll @prefix@/lib
72 cp /usr/lib/iconv.dll @prefix@/lib
73 cp /usr/lib/libgmodule-2.0-0.dll @prefix@/lib
74 cp /usr/lib/libgobject-2.0-0.dll @prefix@/lib
75 cp /usr/lib/libgthread-2.0-0.dll @prefix@/lib
76 cp /usr/lib/libintl-1.dll @prefix@/lib
77 makensis /DMILESTONE=@VERSION@ /DSOURCE_INSTALL_DIR=`cygpath -a -w @prefix@`\\* monowiz.win32.nsi