Store forwarding address in the same word as the forwarding bit.
[mono.git] / mono / monograph / Makefile.am
index 8405cd3f943e954520c3fce1beba56c33628c381..1aebdc8dc66dd9cc02a61a912dac388a7660c5e3 100644 (file)
@@ -1,15 +1,24 @@
 
+if HOST_WIN32
+export HOST_CC
+endif
+
+if JIT_SUPPORTED
+runtime_lib=../mini/libmono-$(API_VER).la
+else
+runtime_lib=../interpreter/libmint.la
+endif
+
 bin_PROGRAMS = monograph
 
 INCLUDES =                             \
        -I$(top_srcdir)                 \
-       $(GMODULE_CFLAGS)               \
        $(GLIB_CFLAGS)
 
 monograph_LDADD = \
-       ../metadata/libmetadata.la      \
+       $(runtime_lib)                  \
        $(GLIB_LIBS)                    \
-       $(GMODULE_LIBS)                 \
+       $(LLVM_LIBS)                    \
        -lm
 
 GRAPHS=System.Object System.Enum System.Attribute System.ValueType System.Reflection.MemberInfo