*** empty log message ***
[mono.git] / mono / metadata / Makefile.am
index a792d1a1286019dbecfe19bdddc1f7e390a658fd..e5fbfdda1371df1de22bdd581fda9c643e485238 100644 (file)
@@ -2,22 +2,82 @@ noinst_PROGRAMS = pedump
 
 lib_LIBRARIES = libmetadata.a
 
-INCLUDES = $(GLIB_CFLAGS) -I$(top_srcdir)
+#
+# Keep in sync with mono/runtime/Makefile.am
+#
+assembliesdir = $(libdir)
+
+INCLUDES = $(GLIB_CFLAGS) $(GMODULE_CFLAGS) -I$(top_srcdir)    -I$(top_srcdir)/mono \
+       -DMONO_ASSEMBLIES=\""$(assembliesdir)"\"                
 
 libmetadata_a_SOURCES = \
-       assembly.h      \
        assembly.c      \
-       cil-coff.h      \
-       eltype.h        \
-       endian.h        \
-       fieldattr.h     \
+       opcodes.c       \
+       image.c         \
        metadata.c      \
-       metadata.h      \
+       verify.c        \
+       mono-endian.c   \
+       private.h       \
        rawbuffer.c     \
+       reflection.c    \
+       loader.c        \
+       class.c         \
+       object.c        \
+       icall.c         \
+       decimal.c       \
+       decimal.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       \
+       mempool.h       \
+       mempool.c       \
+       appdomain.h     \
+       appdomain.c     \
+       debug-helpers.h \
+       debug-helpers.c \
+       debug-symfile.h \
+       debug-symfile.c \
+       rand.h          \
+       rand.c          \
+       sysmath.h       \
+       sysmath.c
+
+libmetadataincludedir = $(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     \
-       typeattr.h
+       reflection.h    \
+       row-indexes.h   \
+       tabledefs.h     \
+       tokentype.h     \
+       loader.h        \
+       class.h         \
+       object.h        \
+       exception.h     \
+       appdomain.h     \
+       rand.h
 
 pedump_SOURCES =               \
        pedump.c $(libmetadata_a_SOURCES)
 
-pedump_LDADD = $(GLIB_LIBS) 
+pedump_LDADD = ../io-layer/libwapi.a ../utils/libmonoutils.a $(GLIB_LIBS) $(GMODULE_LIBS) -lm
+
+