2002-04-25 Nick Drochak <ndrochak@gol.com>
[mono.git] / mono / metadata / Makefile.am
index be965e684faaaef46fb4ac31a4d325224e017008..f8e105aa06c52da179486803fab752654c0e166e 100644 (file)
@@ -1,41 +1,74 @@
 noinst_PROGRAMS = pedump
 
-lib_LIBRARIES = libmetadata.a
+lib_LIBRARIES = libmetadata.a libmonoruntime.a
 
 #
 # Keep in sync with mono/runtime/Makefile.am
 #
 assembliesdir = $(libdir)
 
-INCLUDES = $(GLIB_CFLAGS) $(GMODULE_CFLAGS) -I$(top_srcdir)    \
+INCLUDES = $(GLIB_CFLAGS) $(GMODULE_CFLAGS) -I$(top_srcdir)    -I$(top_srcdir)/mono \
        -DMONO_ASSEMBLIES=\""$(assembliesdir)"\"                
 
-libmetadata_a_SOURCES = \
-       assembly.c      \
-       image.c         \
-       metadata.c      \
-       verify.c        \
-       mono-endian.c   \
-       private.h       \
-       rawbuffer.c     \
+libmonoruntime_a_SOURCES = \
        reflection.c    \
-       loader.c        \
-       class.c         \
        object.c        \
        icall.c         \
        decimal.c       \
        decimal.h       \
+       gc.c    \
+       gc.h    \
+       marshal.c       \
+       marshal.h       \
        threads.c       \
        threads.h       \
        threads-types.h \
+       file-io.c       \
+       file-io.h       \
+       socket-io.c     \
+       socket-io.h     \
        exception.c     \
        exception.h     \
-       #
+       unicode.c       \
+       unicode.h       \
+       appdomain.h     \
+       appdomain.c     \
+       debug-helpers.h \
+       debug-helpers.c \
+       debug-symfile.h \
+       debug-symfile.c \
+       profiler.c      \
+       profiler-private.h      \
+       rand.h          \
+       rand.c          \
+       string-icalls.c \
+       string-icalls.h \
+       sysmath.h       \
+       sysmath.c
+
+libmetadata_a_SOURCES = \
+       assembly.c      \
+       domain.c        \
+       opcodes.c       \
+       image.c         \
+       metadata.c      \
+       verify.c        \
+       mono-endian.c   \
+       private.h       \
+       rawbuffer.c     \
+       loader.c        \
+       class.c         \
+       mempool.h       \
+       mempool.c       \
+       debug-helpers.h \
+       debug-helpers.c
 
 libmetadataincludedir = $(includedir)/mono/metadata
+libmonoruntimeincludedir = $(includedir)/mono/metadata
 
 libmetadatainclude_HEADERS = \
        assembly.h      \
+       opcodes.h       \
        blob.h          \
        cil-coff.h      \
        mono-endian.h   \
@@ -51,11 +84,13 @@ libmetadatainclude_HEADERS = \
        class.h         \
        object.h        \
        exception.h     \
-       #
+       profiler.h      \
+       appdomain.h     \
+       rand.h
 
 pedump_SOURCES =               \
        pedump.c $(libmetadata_a_SOURCES)
 
-pedump_LDADD = $(GLIB_LIBS) $(GMODULE_LIBS) ../io-layer/libwapi.a
+pedump_LDADD = ../io-layer/libwapi.a ../utils/libmonoutils.a $(GLIB_LIBS) $(GMODULE_LIBS) -lm