2002-07-24 Tim Coleman <tim@timcoleman.com>
[mono.git] / mono / jit / Makefile.am
index 68ba5a33ad7394a75e58794e989af57038598288..65b30666cf23ae7dd16ddda497c8b37c6f74a0da 100644 (file)
@@ -5,19 +5,20 @@ INCLUDES =                            \
 
 if X86
 bin_PROGRAMS = mono
-lib_LIBRARIES = libmono.a
+lib_LTLIBRARIES = libmono.la
+
+libmono_la_LIBADD =    \
+       ../metadata/libmonoruntime.la
+
 endif
 
-libmono_a_SOURCES =                    \
+libmono_la_SOURCES =           \
        win32-exception.c       \
        win32-exception.h       \
        codegen.h               \
        codegen-x86.c           \
        emit-x86.c              \
-       jit.h                   \
-       regset.h                \
        regset.c                \
-       debug.h                 \
        debug-private.h         \
        debug.c                 \
        debug-stabs.c           \
@@ -25,18 +26,23 @@ libmono_a_SOURCES =                 \
        debug-dwarf2-plus.c     \
        jit.c                   \
        trampoline.c            \
-       delegate.c              \
        exception.c             \
-       invoke.c                \
-       message.c
+       message.c               \
+       linear-scan.c           \
+       helpers.h               \
+       helpers.c
+
+libmonoincludedir = $(includedir)/mono/jit
+libmonoinclude_HEADERS = \
+       jit.h                   \
+       debug.h                 \
+       regset.h
 
 mono_SOURCES = mono.c
 
+#mono_LDFLAGS=-static
 mono_LDADD =                           \
-       libmono.a                       \
-       ../metadata/libmetadata.a       \
-       ../io-layer/libwapi.a           \
-       ../utils/libmonoutils.a         \
+       libmono.la                      \
        $(GLIB_LIBS)                    \
        $(GMODULE_LIBS)                 \
        -lm