Generate NUnit interpretation of whether "mono --regressions" passed
[mono.git] / mono / dis / Makefile.am
1 AM_CPPFLAGS = $(GLIB_CFLAGS) -I$(top_srcdir)
2
3 if HOST_WIN32
4 export HOST_CC
5 endif
6
7 if SUPPORT_SGEN
8 metadata_lib=$(top_builddir)/mono/metadata/libmonoruntimesgen-static.la
9 else
10 metadata_lib=$(top_builddir)/mono/metadata/libmonoruntime-static.a
11 gc_lib=$(LIBGC_STATIC_LIBS)
12 endif
13
14 runtime_lib=    \
15         ../mini/$(LIBMONO_LA) \
16         $(metadata_lib) \
17         $(top_builddir)/mono/io-layer/libwapi.la        \
18         $(top_builddir)/mono/utils/libmonoutils.la \
19         $(GLIB_LIBS) $(LIBICONV) \
20         $(gc_lib)
21
22 if DISABLE_EXECUTABLES
23 bin_PROGRAMS =
24 else
25 if DISABLE_LIBRARIES
26 bin_PROGRAMS =
27 else
28 bin_PROGRAMS = monodis
29 endif
30 endif
31
32 noinst_LIBRARIES = libmonodis.a
33
34 libmonodis_a_SOURCES =  \
35         get.c           \
36         get.h           \
37         dis-cil.c       \
38         dis-cil.h       \
39         util.c          \
40         util.h
41
42 monodis_SOURCES =       \
43         dump.c          \
44         dump.h          \
45         main.c          \
46         meta.h          \
47         declsec.c       \
48         declsec.h
49
50 monodis_LDADD =                         \
51         libmonodis.a                    \
52         $(runtime_lib)                  \
53         $(LLVM_LIBS)                    \
54         $(GLIB_LIBS)                    \
55         $(LIBICONV)
56
57 if PLATFORM_DARWIN
58 monodis_LDFLAGS=-framework CoreFoundation -framework Foundation
59 endif
60
61 man_MANS = monodis.1
62
63 EXTRA_DIST = $(man_MANS)