Additional JWT Security Token Support
[mono.git] / mono / monograph / Makefile.am
1
2 if HOST_WIN32
3 export HOST_CC
4 endif
5
6 if JIT_SUPPORTED
7 if DISABLE_EXECUTABLES
8 runtime_lib=../mini/$(LIBMONO_LA) $(static_libs)
9 else
10 if !SHARED_MONO
11 static_libs=    \
12         $(top_builddir)/mono/metadata/libmonoruntime-static.la  \
13         $(top_builddir)/mono/io-layer/libwapi.la        \
14         $(top_builddir)/mono/utils/libmonoutils.la \
15         $(GLIB_LIBS) $(LIBICONV) \
16         $(LIBGC_STATIC_LIBS)
17
18 runtime_lib=../mini/$(LIBMONO_LA) $(static_libs)
19 else
20 runtime_lib=../mini/$(LIBMONO_LA)
21 endif
22 endif
23 else
24 runtime_lib=../interpreter/libmint.la
25 endif
26
27 if DISABLE_EXECUTABLES
28 bin_PROGRAMS =
29 else
30 if DISABLE_LIBRARIES
31 bin_PROGRAMS =
32 else
33 if SUPPORT_BOEHM
34 bin_PROGRAMS = monograph
35 endif
36 endif
37 endif
38
39 AM_CPPFLAGS =                           \
40         -I$(top_srcdir)                 \
41         $(GLIB_CFLAGS)
42
43 monograph_LDADD = \
44         $(runtime_lib)                  \
45         $(GLIB_LIBS)                    \
46         $(LLVM_LIBS)                    \
47         $(LIBICONV)                     \
48         -lm
49
50 if PLATFORM_DARWIN
51 monograph_LDFLAGS=-framework CoreFoundation
52 endif
53
54 GRAPHS=System.Object System.Enum System.Attribute System.ValueType System.Reflection.MemberInfo
55 OUT=$(GRAPHS:=.jpeg)
56
57 graphs: $(OUT)
58
59 %.jpeg: monograph
60         ./monograph -n -o $*.png corlib.dll $*
61         convert -geometry '480x360>' $*.png $*.jpeg
62
63 EXTRA_DIST = ChangeLog
64