X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=Makefile.am;h=95b8d6d13f3839c6fe30863f95eab1acfc4bbdce;hb=309488f3ab44b2ca97e4e9ce7b435e0f1df01199;hp=fc581a79c217803e558aeeff46faa08908ef2237;hpb=9b614b0ceeed7399b19370644170e6569e966fae;p=mono.git diff --git a/Makefile.am b/Makefile.am index fc581a79c21..95b8d6d13f3 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1 +1,39 @@ -SUBDIRS = mono doc +AUTOMAKE_OPTIONS = foreign + +SUBDIRS = @libgc_dir@ mono doc docs runtime scripts man data samples + +dnl EXTRA_SUBDIRS = libgc + +EXTRA_DIST= mono.pc.in mono.spec.in + +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA= mono.pc +DISTCLEANFILES= mono.pc + +# +# The following target is used to compile and install +# mono and mcs without running into the out-of-sync +# problems by doing the compilation in the right order. +# + +fullbuild: remove-binaries mcs-tree-safe-build xinstall-runtime mcs-rest install + +mcs-tree-safe-build: + (cd ../mcs/jay; make) + (cd ../mcs/mcs; make MCS=mcs) + (cd ../mcs/class/corlib; make MCS=mcs) + cp ../mcs/class/lib/corlib.dll runtime + cp ../mcs/mcs/mcs.exe runtime + +xinstall-runtime: + if echo $(SUBDIRS) | grep "libgc " > /dev/null; then (cd libgc; make && make install); fi + (cd mono; make && make install) + +mcs-rest: + (cd ../mcs/class; make) + +remove-binaries: + rm ../mcs/class/lib/corlib.dll ../mcs/mcs/mcs.exe runtime/*dll runtime/*.exe >& /dev/null; echo + +win32setup: + makensis /DMILESTONE=@VERSION@ /DSOURCE_INSTALL_DIR=`cygpath -a -w @prefix@`\\* monowiz.win32.nsi \ No newline at end of file