Avoid duplicates in the SSC xrefs.
[mono.git] / mono / metadata / Makefile.am
index 83c50ca98f97bdc68160fe91766ffba6bc709808..248dc77a29ca58d744a04ef2f4732f3eb9d7162a 100644 (file)
@@ -29,8 +29,10 @@ platform_sources = $(unix_sources)
 endif
 
 if SHARED_MONO
+if SUPPORT_BOEHM
 bin_PROGRAMS = pedump
 endif
+endif
 
 #
 # libtool is not capable of creating static/shared versions of the same
@@ -52,8 +54,10 @@ moon-do-clean:
 endif
 
 if SHARED_MONO
+if SUPPORT_BOEHM
 shared_libraries = libmonoruntime.la
 endif
+endif
 noinst_LTLIBRARIES =  $(shared_libraries) libmonoruntime-static.la $(sgen_libraries) $(moonlight_libraries)
 
 INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/mono $(LIBGC_CFLAGS) $(GLIB_CFLAGS) -DMONO_BINDIR=\"$(bindir)/\" -DMONO_ASSEMBLIES=\"$(assembliesdir)\" -DMONO_CFG_DIR=\"$(confdir)\"
@@ -81,7 +85,8 @@ sgen_sources = \
        sgen-gray.c             \
        sgen-pinning.c          \
        sgen-pinning-stats.c    \
-       sgen-workers.c
+       sgen-workers.c          \
+       sgen-fin-weak-hash.c
 
 libmonoruntime_la_SOURCES = \
        $(platform_sources)     \
@@ -139,6 +144,8 @@ libmonoruntime_la_SOURCES = \
        mono-basic-block.c      \
        mono-basic-block.h      \
        mono-config.c           \
+       mono-cq.c               \
+       mono-cq.h               \
        mono-debug.h            \
        mono-debug.c            \
        mono-debug-debugger.h   \
@@ -184,6 +191,7 @@ libmonoruntime_la_SOURCES = \
        sgen-os-mach.c          \
        sgen-gc.c               \
        sgen-internal.c         \
+       sgen-pinned-allocator.c \
        sgen-marksweep.c        \
        sgen-marksweep-fixed.c  \
        sgen-marksweep-par.c    \
@@ -200,6 +208,8 @@ libmonoruntime_la_SOURCES = \
        sgen-major-scan-object.h \
        sgen-protocol.h         \
        sgen-scan-object.h      \
+       sgen-nursery-allocator.c        \
+       sgen-hash-table.c       \
        string-icalls.c         \
        string-icalls.h         \
        sysmath.h               \
@@ -277,16 +287,19 @@ PEDUMP_DTRACE_OBJECT =
 endif
 
 if SHARED_MONO
+if SUPPORT_BOEHM
 pedump_SOURCES =               \
        pedump.c
 
 pedump_LDADD = libmonoruntime.la ../io-layer/libwapi.la ../utils/libmonoutils.la \
-       $(LIBGC_LIBS) $(GLIB_LIBS) -lm $(PEDUMP_DTRACE_OBJECT)
+       $(LIBGC_LIBS) $(GLIB_LIBS) -lm $(LIBICONV) $(PEDUMP_DTRACE_OBJECT)
 
 if PLATFORM_DARWIN
 pedump_LDFLAGS=-framework CoreFoundation
 endif
 endif
+endif
 
-EXTRA_DIST = make-bundle.pl sample-bundle $(win32_sources) $(unix_sources) $(null_sources) $(sgen_sources) runtime.h
+EXTRA_DIST = make-bundle.pl sample-bundle $(win32_sources) $(unix_sources) $(null_sources) $(sgen_sources) runtime.h \
+               tpool-poll.c tpool-epoll.c tpool-kqueue.c