Xamarin Public Jenkins (auto-signing) 73ee7591e8 Imported Upstream version 6.8.0.73
Former-commit-id: d18deab1b47cfd3ad8cba82b3f37d00eec2170af
2019-12-10 18:00:56 +00:00

69 lines
1.4 KiB
Makefile

if !ENABLE_MSVC_ONLY
AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/mono $(LIBGC_CPPFLAGS) $(GLIB_CFLAGS) $(SHARED_CFLAGS)
glib_libs = $(top_builddir)/mono/eglib/libeglib.la
if DISABLE_EXECUTABLES
bin_PROGRAMS =
else
if DISABLE_LIBRARIES
bin_PROGRAMS =
else
if SUPPORT_SGEN
bin_PROGRAMS = pedump
noinst_LIBRARIES = libpedump.a
endif
endif
endif
endif # !ENABLE_MSVC_ONLY
CFLAGS = $(filter-out @CXX_REMOVE_CFLAGS@, @CFLAGS@)
if !ENABLE_MSVC_ONLY
libpedump_a_CFLAGS = @CXX_ADD_CFLAGS@
pedump_SOURCES =
libpedump_a_SOURCES = pedump.c
pedump_LDADD = \
libpedump_a-pedump.$(OBJEXT) \
$(top_builddir)/mono/metadata/libmonoruntimesgen.la \
$(top_builddir)/mono/sgen/libmonosgen.la \
$(top_builddir)/mono/utils/libmonoutils.la \
$(LLVM_LIBS) \
$(LLVM_LDFLAGS) \
$(glib_libs)
if HOST_DARWIN
pedump_LDFLAGS=-framework CoreFoundation -framework Foundation
endif
endif # !ENABLE_MSVC_ONLY
if ENABLE_MSVC_ONLY
if SUPPORT_SGEN
mono_bin_suffix = sgen
else
mono_bin_suffix =
endif
all-local:
make -C $(top_srcdir)/msvc pedump
cp -f $(mono_msvc_build_bin_dir)/pedump-$(mono_bin_suffix)$(EXEEXT) ./pedump$(EXEEXT)
clean-local:
make -C $(top_srcdir)/msvc clean-pedump
rm ./pedump$(EXEEXT)
endif # ENABLE_MSVC_ONLY
#Helper target to rebuild metadata as well, it's useful when working on the verifier as its source still on metadata
md:
make -C ../../mono/metadata all
make -C . all