[mono/driver] On OSX, increase the number of file handles available.
[mono-project.git] / mono / unit-tests / Makefile.am
blob2c2369589e143fde0125a2b1ca09046b99620031
1 AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/mono $(LIBGC_CPPFLAGS) $(GLIB_CFLAGS) -DMONO_BINDIR=\"$(bindir)/\" -DMONO_ASSEMBLIES=\"$(assembliesdir)\" -DMONO_CFG_DIR=\"$(confdir)\"
3 test_cflags = $(AM_CFLAGS) $(SGEN_DEFINES)
4 test_ldadd = libtestlib.la \
5         $(LIBGC_LIBS) $(GLIB_LIBS) -lm $(LIBICONV)
6 if PLATFORM_DARWIN
7 test_ldflags = -framework CoreFoundation -framework Foundation
8 endif
11 if !CROSS_COMPILE
12 if !HOST_WIN32
13 if SUPPORT_BOEHM
15 noinst_LTLIBRARIES = libtestlib.la
16 libtestlib_la_SOURCES =
17 libtestlib_la_LIBADD = ../metadata/libmonoruntimesgen.la ../sgen/libmonosgen.la ../utils/libmonoutils.la ../io-layer/libwapi.la 
19 test_sgen_qsort_SOURCES = test-sgen-qsort.c
20 test_sgen_qsort_CFLAGS = $(test_cflags)
21 test_sgen_qsort_LDADD = $(test_ldadd)
22 test_sgen_qsort_LDFLAGS = $(test_ldflags)
24 test_memfuncs_SOURCES = test-memfuncs.c
25 test_memfuncs_CFLAGS = $(test_cflags)
26 test_memfuncs_LDADD = $(test_ldadd)
27 test_memfuncs_LDFLAGS = $(test_ldflags)
29 test_mono_linked_list_set_SOURCES = test-mono-linked-list-set.c
30 test_mono_linked_list_set_CFLAGS = $(test_cflags)
31 test_mono_linked_list_set_LDADD = $(test_ldadd)
32 test_mono_linked_list_set_LDFLAGS = $(test_ldflags)
34 test_conc_hashtable_SOURCES = test-conc-hashtable.c
35 test_conc_hashtable_CFLAGS = $(test_cflags)
36 test_conc_hashtable_LDADD = $(test_ldadd)
37 test_conc_hashtable_LDFLAGS = $(test_ldflags)
39 noinst_PROGRAMS = test-sgen-qsort test-memfuncs test-mono-linked-list-set test-conc-hashtable
41 TESTS = test-sgen-qsort test-memfuncs test-mono-linked-list-set test-conc-hashtable
43 endif SUPPORT_BOEHM
44 endif !HOST_WIN32
45 endif !CROSS_COMPILE