Welcome to mirror list, hosted at ThFree Co, Russian Federation.

Makefile.am « monograph « tools - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 7c31726b171000968a46c596b52f705bd4381617 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60

if HOST_WIN32
export HOST_CC
endif

glib_libs = $(top_builddir)/mono/eglib/libeglib.la

if DISABLE_EXECUTABLES
runtime_lib=$(top_builddir)/mono/mini/$(LIBMONO_LA) $(static_libs)
else
static_libs=	\
	$(top_builddir)/mono/metadata/libmonoruntimesgen.la	\
	$(top_builddir)/mono/sgen/libmonosgen.la	\
	$(top_builddir)/mono/utils/libmonoutils.la \
	$(glib_libs)

runtime_lib=$(static_libs)
endif

if DISABLE_EXECUTABLES
bin_PROGRAMS =
else
if DISABLE_LIBRARIES
bin_PROGRAMS =
else
if SUPPORT_SGEN
bin_PROGRAMS = monograph
noinst_LIBRARIES = libmonograph.a
endif
endif
endif

CFLAGS = $(filter-out @CXX_REMOVE_CFLAGS@, @CFLAGS@)
libmonograph_a_CFLAGS = @CXX_ADD_CFLAGS@

monograph_SOURCES =
libmonograph_a_SOURCES = monograph.c

AM_CPPFLAGS = 				\
	-I$(top_srcdir)			\
	$(GLIB_CFLAGS)

monograph_LDADD = \
	libmonograph_a-monograph.$(OBJEXT) \
	$(runtime_lib)			\
	$(glib_libs)			\
	$(LLVM_LIBS)

if HOST_DARWIN
monograph_LDFLAGS=-framework CoreFoundation -framework Foundation
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