84ae6f167d363b08ee8714f8ba177916483b9c22
[mono.git] / mono / metadata / Makefile.am
1 noinst_PROGRAMS = pedump
2
3 lib_LIBRARIES = libmetadata.a libmonoruntime.a
4
5 #
6 # Keep in sync with mono/runtime/Makefile.am
7 #
8 assembliesdir = $(libdir)
9
10 INCLUDES = $(GLIB_CFLAGS) $(GMODULE_CFLAGS) -I$(top_srcdir)     -I$(top_srcdir)/mono \
11         -DMONO_ASSEMBLIES=\""$(assembliesdir)"\" -DMONO_CFG_DIR=\""$(sysconfdir)"\"
12
13 libmonoruntime_a_SOURCES = \
14         reflection.c    \
15         object.c        \
16         icall.c         \
17         decimal.c       \
18         decimal.h       \
19         gc.c            \
20         gc.h            \
21         marshal.c       \
22         marshal.h       \
23         threads.c       \
24         threads.h       \
25         threadpool.c    \
26         threadpool.h    \
27         threads-types.h \
28         file-io.c       \
29         file-io.h       \
30         socket-io.c     \
31         socket-io.h     \
32         exception.c     \
33         exception.h     \
34         unicode.c       \
35         unicode.h       \
36         appdomain.h     \
37         appdomain.c     \
38         debug-helpers.h \
39         debug-helpers.c \
40         debug-symfile.h \
41         debug-symfile.c \
42         profiler.c      \
43         profiler-private.h      \
44         rand.h          \
45         rand.c          \
46         string-icalls.c \
47         string-icalls.h \
48         sysmath.h       \
49         sysmath.c
50
51 libmetadata_a_SOURCES = \
52         assembly.c      \
53         domain.c        \
54         opcodes.c       \
55         image.c         \
56         metadata.c      \
57         verify.c        \
58         mono-endian.c   \
59         mono-config.c   \
60         mono-config.h   \
61         private.h       \
62         rawbuffer.c     \
63         loader.c        \
64         class.c         \
65         mempool.h       \
66         mempool.c       \
67         debug-helpers.h \
68         debug-helpers.c
69
70 libmetadataincludedir = $(includedir)/mono/metadata
71 libmonoruntimeincludedir = $(includedir)/mono/metadata
72
73 libmetadatainclude_HEADERS = \
74         assembly.h      \
75         opcodes.h       \
76         blob.h          \
77         cil-coff.h      \
78         mono-endian.h   \
79         image.h         \
80         metadata.h      \
81         verify.h        \
82         rawbuffer.h     \
83         reflection.h    \
84         row-indexes.h   \
85         tabledefs.h     \
86         tokentype.h     \
87         loader.h        \
88         class.h         \
89         object.h        \
90         exception.h     \
91         profiler.h      \
92         appdomain.h     \
93         rand.h
94
95 pedump_SOURCES =                \
96         pedump.c $(libmetadata_a_SOURCES)
97
98 pedump_LDADD = ../io-layer/libwapi.a ../utils/libmonoutils.a $(GLIB_LIBS) $(GMODULE_LIBS) -lm
99
100