Jo Shields 3c1f479b9d Imported Upstream version 4.0.0~alpha1
Former-commit-id: 806294f5ded97629b74c85c09952f2a74fe182d9
2015-04-07 09:35:12 +01:00

61 lines
1.1 KiB
Makefile

if HOST_WIN32
export HOST_CC
endif
if DISABLE_EXECUTABLES
runtime_lib=$(top_builddir)/mono/mini/$(LIBMONO_LA) $(static_libs)
else
if !SHARED_MONO
static_libs= \
$(top_builddir)/mono/metadata/libmonoruntime-static.la \
$(top_builddir)/mono/io-layer/libwapi.la \
$(top_builddir)/mono/utils/libmonoutils.la \
$(GLIB_LIBS) $(LIBICONV) \
$(LIBGC_STATIC_LIBS)
runtime_lib=$(top_builddir)/mono/mini/$(LIBMONO_LA) $(static_libs)
else
runtime_lib=$(top_builddir)/mono/mini/$(LIBMONO_LA)
endif
endif
if DISABLE_EXECUTABLES
bin_PROGRAMS =
else
if DISABLE_LIBRARIES
bin_PROGRAMS =
else
if SUPPORT_BOEHM
bin_PROGRAMS = monograph
endif
endif
endif
AM_CPPFLAGS = \
-I$(top_srcdir) \
$(GLIB_CFLAGS)
monograph_LDADD = \
$(runtime_lib) \
$(GLIB_LIBS) \
$(LLVM_LIBS) \
$(LIBICONV) \
-lm
if PLATFORM_DARWIN
monograph_LDFLAGS=-framework CoreFoundation
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
EXTRA_DIST = ChangeLog