4fb8260abdb5eabf4910592d391487d1e3310721
[mono.git] / tools / pedump / Makefile.am
1
2 AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/mono $(LIBGC_CPPFLAGS) $(GLIB_CFLAGS) $(SHARED_CFLAGS)
3
4 if DISABLE_EXECUTABLES
5 bin_PROGRAMS =
6 else
7 if DISABLE_LIBRARIES
8 bin_PROGRAMS =
9 else
10 if SUPPORT_SGEN
11 bin_PROGRAMS = pedump
12 endif
13 endif
14 endif
15
16 pedump_SOURCES =                \
17         pedump.c
18
19 pedump_LDADD =                  \
20         $(top_builddir)/mono/metadata/libmonoruntimesgen-static.la \
21         $(top_builddir)/mono/sgen/libmonosgen-static.la \
22         $(top_builddir)/mono/utils/libmonoutils.la \
23         $(LLVM_LIBS)                    \
24         $(LLVM_LDFLAGS)                 \
25         $(GLIB_LIBS)                    \
26         $(LIBICONV)
27
28 if PLATFORM_DARWIN
29 pedump_LDFLAGS=-framework CoreFoundation -framework Foundation
30 endif