2002-04-25 Nick Drochak <ndrochak@gol.com>
[mono.git] / mono / metadata / Makefile.am
index da64bfc74efc145270e8c3186d8f1c4950df6afc..f8e105aa06c52da179486803fab752654c0e166e 100644 (file)
@@ -1,58 +1,80 @@
 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)"\"                
 
-
-if THREADS_PTHREAD
-THREAD_SOURCE = \
-       threads-pthread.c       \
-       threads-pthread.h       \
-       threads-pthread-types.c \
-       threads-pthread-types.h \
-       #
-else
-THREAD_SOURCE = \
-       threads-dummy.h         \
-       threads-dummy.c         \
-       threads-dummy-types.c   \
-       threads-dummy-types.h   \
-       #
-endif
+libmonoruntime_a_SOURCES = \
+       reflection.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     \
-       reflection.c    \
        loader.c        \
        class.c         \
-       object.c        \
-       icall.c         \
-       threads.h       \
-       threads-types.h \
-       $(THREAD_SOURCE)        \
-       #
+       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   \
        image.h         \
        metadata.h      \
+       verify.h        \
        rawbuffer.h     \
        reflection.h    \
        row-indexes.h   \
@@ -60,11 +82,15 @@ libmetadatainclude_HEADERS = \
        tokentype.h     \
        loader.h        \
        class.h         \
-       object.h        
+       object.h        \
+       exception.h     \
+       profiler.h      \
+       appdomain.h     \
+       rand.h
 
 pedump_SOURCES =               \
        pedump.c $(libmetadata_a_SOURCES)
 
-pedump_LDADD = $(GLIB_LIBS) $(GMODULE_LIBS) $(THREAD_LIBS)
+pedump_LDADD = ../io-layer/libwapi.a ../utils/libmonoutils.a $(GLIB_LIBS) $(GMODULE_LIBS) -lm