2005-01-31 Zoltan Varga <vargaz@freemail.hu>
[mono.git] / mono / mini / Makefile.am
index 779753d1eb553e6e81ff3379e4cc928923c384d5..f31a152aac971e13bd0fd86b8f4b91c6c543ced0 100644 (file)
@@ -31,7 +31,7 @@ static_libs=  \
        $(libgc_static_libs) \
        $(ICU_LIBS)
 
-RUNTIME = MONO_PATH=$(mcs_topdir)/class/lib/default ./mono --config $(top_builddir)/data/config
+RUNTIME = MONO_PATH=$(mcs_topdir)/class/lib/default MONO_SHARED_DIR=$(mono_build_root)/runtime ./mono --config $(top_builddir)/data/config
 
 MCS = $(RUNTIME) $(mcs_topdir)/class/lib/default/mcs.exe --unsafe -nowarn:0162
 ILASM = $(RUNTIME) $(mcs_topdir)/ilasm/ilasm.exe
@@ -105,14 +105,12 @@ genmdesc_LDADD = \
        $(GMODULE_LIBS)
 
 x86_sources = \
-    mini-exceptions.c  \
        mini-x86.c              \
        mini-x86.h              \
        exceptions-x86.c        \
        tramp-x86.c
 
 amd64_sources = \
-       mini-exceptions.c       \
        mini-amd64.c            \
        mini-amd64.h            \
        exceptions-amd64.c      \
@@ -127,7 +125,6 @@ ppc_sources = \
 sparc_sources = \
        mini-sparc.c            \
        mini-sparc.h            \
-    mini-exceptions.c  \
        exceptions-sparc.c      \
        tramp-sparc.c
 
@@ -161,11 +158,14 @@ common_sources = \
        abcremoval.h    \
        ssapre.c        \
        ssapre.h        \
+       ssapre-cee-ops.h \
+       ssapre-mini-ops.h \
        driver.c        \
        debug-mini.c    \
        linear-scan.c   \
        aot.c           \
        graph.c         \
+       mini-exceptions.c       \
        declsec.c       \
        declsec.h
 
@@ -334,7 +334,7 @@ if JIT_SUPPORTED
 BUILT_SOURCES= inssel.c inssel.h $(arch_built)
 endif
 
-CLEANFILES= $(BUILT_SOURCES)
+CLEANFILES= $(BUILT_SOURCES) *.exe *.dll
 EXTRA_DIST = $(common_BURGSRC) jit-icalls.c cprop.c TestDriver.cs ldscript $(test_sources) \
        inssel-long.brg inssel-long32.brg \
        $(x86_sources) inssel-x86.brg cpu-pentium.md \