[LoongArch64] Part-5:add loongarch support in some files for LoongArch64. (#21769)
[mono-project.git] / mono / sgen / Makefile.am
blob875f29be9928862190207bed9e13a604f8abcffa
1 MAKEFLAGS := $(MAKEFLAGS) --no-builtin-rules
3 if !ENABLE_MSVC_ONLY
5 AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/mono $(LIBGC_CPPFLAGS) $(GLIB_CFLAGS) $(SHARED_CFLAGS)
7 if SUPPORT_SGEN
8 shared_libraries = libmonosgen.la
9 endif
11 noinst_LTLIBRARIES = $(shared_libraries)
13 monosgen_sources = \
14         gc-internal-agnostic.h \
15         sgen-alloc.c \
16         sgen-archdep.h \
17         sgen-cardtable.c \
18         sgen-cardtable.h \
19         sgen-client.h \
20         sgen-conf.h \
21         sgen-copy-object.h \
22         sgen-debug.c \
23         sgen-descriptor.c \
24         sgen-descriptor.h \
25         sgen-fin-weak-hash.c \
26         sgen-gc.c \
27         sgen-gc.h \
28         sgen-gchandles.c \
29         sgen-gray.c \
30         sgen-gray.h \
31         sgen-hash-table.c \
32         sgen-hash-table.h \
33         sgen-internal.c \
34         sgen-layout-stats.c \
35         sgen-layout-stats.h \
36         sgen-los.c \
37         sgen-major-copy-object.h \
38         sgen-marksweep-drain-gray-stack.h \
39         sgen-marksweep.c \
40         sgen-memory-governor.c \
41         sgen-memory-governor.h \
42         sgen-minor-copy-object.h \
43         sgen-minor-scan-object.h \
44         sgen-nursery-allocator.c \
45         sgen-pinning-stats.c \
46         sgen-pinning.c \
47         sgen-pinning.h \
48         sgen-pointer-queue.c \
49         sgen-pointer-queue.h \
50         sgen-array-list.h \
51         sgen-array-list.c \
52         sgen-protocol-def.h \
53         sgen-protocol.c \
54         sgen-protocol.h \
55         sgen-qsort.c \
56         sgen-qsort.h \
57         sgen-scan-object.h \
58         sgen-simple-nursery.c \
59         sgen-split-nursery.c \
60         sgen-tagged-pointer.h \
61         sgen-thread-pool.c \
62         sgen-thread-pool.h \
63         sgen-workers.c \
64         sgen-workers.h
66 libmonosgen_la_SOURCES = $(monosgen_sources)
67 libmonosgen_la_CFLAGS = $(SGEN_DEFINES)
69 endif # !ENABLE_MSVC_ONLY
71 CFLAGS := $(filter-out @CXX_REMOVE_CFLAGS@, @CFLAGS@) @CXX_ADD_CFLAGS@
73 if ENABLE_MSVC_ONLY
75 all-local:
77         make -C $(top_srcdir)/msvc libgcmonosgen
79 clean-local:
81         make -C $(top_srcdir)/msvc clean-libgcmonosgen
83 endif # ENABLE_MSVC_ONLY