Merge pull request #82 from Unity-Technologies/master-gc-race
[mono.git] / mono / monograph / Makefile.am
1
2 if HOST_WIN32
3 export HOST_CC
4 endif
5
6 if JIT_SUPPORTED
7 runtime_lib=../mini/libmono-$(API_VER).la
8 else
9 runtime_lib=../interpreter/libmint.la
10 endif
11
12 bin_PROGRAMS = monograph
13
14 INCLUDES =                              \
15         -I$(top_srcdir)                 \
16         $(GLIB_CFLAGS)
17
18 monograph_LDADD = \
19         $(runtime_lib)                  \
20         $(GLIB_LIBS)                    \
21         $(LLVM_LIBS)                    \
22         $(LIBICONV)                     \
23         -lm
24
25 GRAPHS=System.Object System.Enum System.Attribute System.ValueType System.Reflection.MemberInfo
26 OUT=$(GRAPHS:=.jpeg)
27
28 graphs: $(OUT)
29
30 %.jpeg: monograph
31         ./monograph -n -o $*.png corlib.dll $*
32         convert -geometry '480x360>' $*.png $*.jpeg
33
34 EXTRA_DIST = ChangeLog
35