2014-08-13 10:39:27 +01:00
|
|
|
|
|
|
|
if HOST_WIN32
|
|
|
|
export HOST_CC
|
|
|
|
endif
|
|
|
|
|
2018-08-07 15:19:03 +00:00
|
|
|
glib_libs = $(top_builddir)/mono/eglib/libeglib.la
|
|
|
|
|
2014-08-13 10:39:27 +01:00
|
|
|
if DISABLE_EXECUTABLES
|
2015-04-07 09:35:12 +01:00
|
|
|
runtime_lib=$(top_builddir)/mono/mini/$(LIBMONO_LA) $(static_libs)
|
2014-08-13 10:39:27 +01:00
|
|
|
else
|
|
|
|
static_libs= \
|
2018-04-24 09:31:23 +00:00
|
|
|
$(top_builddir)/mono/metadata/libmonoruntimesgen.la \
|
2018-05-10 08:37:03 +00:00
|
|
|
$(top_builddir)/mono/sgen/libmonosgen.la \
|
2014-08-13 10:39:27 +01:00
|
|
|
$(top_builddir)/mono/utils/libmonoutils.la \
|
2018-08-07 15:19:03 +00:00
|
|
|
$(glib_libs)
|
2014-08-13 10:39:27 +01:00
|
|
|
|
2018-05-10 08:37:03 +00:00
|
|
|
runtime_lib=$(static_libs)
|
2014-08-13 10:39:27 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
if DISABLE_EXECUTABLES
|
|
|
|
bin_PROGRAMS =
|
|
|
|
else
|
|
|
|
if DISABLE_LIBRARIES
|
|
|
|
bin_PROGRAMS =
|
|
|
|
else
|
2016-11-10 13:04:39 +00:00
|
|
|
if SUPPORT_SGEN
|
2014-08-13 10:39:27 +01:00
|
|
|
bin_PROGRAMS = monograph
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
AM_CPPFLAGS = \
|
|
|
|
-I$(top_srcdir) \
|
|
|
|
$(GLIB_CFLAGS)
|
|
|
|
|
|
|
|
monograph_LDADD = \
|
|
|
|
$(runtime_lib) \
|
2018-08-07 15:19:03 +00:00
|
|
|
$(glib_libs) \
|
|
|
|
$(LLVM_LIBS)
|
2014-08-13 10:39:27 +01:00
|
|
|
|
2017-10-19 20:04:20 +00:00
|
|
|
if HOST_DARWIN
|
2018-05-10 08:37:03 +00:00
|
|
|
monograph_LDFLAGS=-framework CoreFoundation -framework Foundation
|
2014-08-13 10:39:27 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
GRAPHS=System.Object System.Enum System.Attribute System.ValueType System.Reflection.MemberInfo
|
|
|
|
OUT=$(GRAPHS:=.jpeg)
|
|
|
|
|
|
|
|
graphs: $(OUT)
|
|
|
|
|
|
|
|
%.jpeg: monograph
|
|
|
|
./monograph -n -o $*.png corlib.dll $*
|
|
|
|
convert -geometry '480x360>' $*.png $*.jpeg
|
|
|
|
|
|
|
|
|