2003-02-21 Zoltan Varga <vargaz@freemail.hu>
[mono.git] / mono / metadata / Makefile.am
1 if PLATFORM_WIN32
2 export HOST_CC
3 # The mingw math.h has "extern inline" functions that dont appear in libs, so
4 # optimisation is required to actually inline them
5 AM_CFLAGS = -O
6 endif
7
8 bin_PROGRAMS = monosn pedump
9
10 noinst_LTLIBRARIES = libmetadata.la libmonoruntime.la
11
12 #
13 # Keep in sync with mono/runtime/Makefile.am
14 #
15 assembliesdir = $(libdir)
16
17 INCLUDES = $(GLIB_CFLAGS) $(GMODULE_CFLAGS) -I$(top_srcdir)     -I$(top_srcdir)/mono \
18         -DMONO_ASSEMBLIES=\""$(assembliesdir)"\" -DMONO_CFG_DIR=\""$(sysconfdir)"\"
19
20 libmonoruntime_la_SOURCES = \
21         reflection.c    \
22         object.c        \
23         icall.c         \
24         decimal.c       \
25         decimal.h       \
26         gc.c            \
27         gc-internal.h   \
28         marshal.c       \
29         marshal.h       \
30         monitor.c       \
31         monitor.h       \
32         threads.c       \
33         threadpool.c    \
34         file-io.c       \
35         file-io.h       \
36         socket-io.c     \
37         socket-io.h     \
38         exception.c     \
39         exception.h     \
40         unicode.c       \
41         unicode.h       \
42         appdomain.c     \
43         debug-mono-symfile.h    \
44         debug-mono-symfile.c    \
45         profiler.c      \
46         profiler-private.h      \
47         rand.h          \
48         rand.c          \
49         string-icalls.c \
50         string-icalls.h \
51         sysmath.h       \
52         sysmath.c       \
53         process.c       \
54         process.h       \
55         environment.c   \
56         environment.h
57
58 libmetadata_la_SOURCES = \
59         assembly.c      \
60         domain.c        \
61         opcodes.c       \
62         image.c         \
63         metadata.c      \
64         verify.c        \
65         mono-endian.c   \
66         mono-config.c   \
67         mono-config.h   \
68         private.h       \
69         rawbuffer.c     \
70         loader.c        \
71         class.c         \
72         mempool.c       \
73         debug-helpers.c
74
75 libmetadataincludedir = $(includedir)/mono/metadata
76 libmonoruntimeincludedir = $(includedir)/mono/metadata
77
78 libmonoruntimeinclude_HEADERS = \
79         appdomain.h     \
80         debug-mono-symfile.h    \
81         threadpool.h    \
82         threads-types.h \
83         threads.h       \
84         environment.h   \
85         monitor.h
86
87 libmetadatainclude_HEADERS = \
88         assembly.h      \
89         opcodes.h       \
90         blob.h          \
91         cil-coff.h      \
92         mono-endian.h   \
93         image.h         \
94         metadata.h      \
95         verify.h        \
96         rawbuffer.h     \
97         reflection.h    \
98         row-indexes.h   \
99         tabledefs.h     \
100         tokentype.h     \
101         loader.h        \
102         class.h         \
103         object.h        \
104         exception.h     \
105         profiler.h      \
106         appdomain.h     \
107         debug-helpers.h \
108         mempool.h       \
109         rand.h
110
111 pedump_SOURCES =                \
112         pedump.c
113
114 pedump_LDADD = libmetadata.la ../io-layer/libwapi.la ../utils/libmonoutils.la $(GLIB_LIBS) $(GMODULE_LIBS) -lm
115
116
117 monosn_LDADD = \
118         ../metadata/libmetadata.la      \
119         ../io-layer/libwapi.la          \
120         ../utils/libmonoutils.la        \
121         $(GLIB_LIBS)                    \
122         $(GMODULE_LIBS)                 \
123         -lm
124