X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=Makefile.am;h=83d30b1f1e2da95729a14da0ff3369cbba906d1d;hb=92dde70ec0c88c543b21532e2a016751d0762392;hp=b4ab7f57021573ad8e2dc5659a95f5c4588c9e90;hpb=b1a7c0e3f741e868d902c6d07cf27f7cee1da82f;p=mono.git diff --git a/Makefile.am b/Makefile.am index b4ab7f57021..83d30b1f1e2 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,3 +1,36 @@ AUTOMAKE_OPTIONS = foreign -SUBDIRS = mono doc docs runtime scripts man +SUBDIRS = @libgc_dir@ mono doc docs runtime scripts man data + +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 \ No newline at end of file