e7c09cc8175147cd3eb8e21979d3383816201f1a
[mono.git] / mono / tests / gc-descriptors / Makefile.am
1 CLASS=$(mcs_topdir)/class/lib/$(DEFAULT_PROFILE)
2
3 with_mono_path = MONO_PATH=$(CLASS)
4 RUNTIME = $(with_mono_path) $(top_builddir)/runtime/mono-wrapper
5 MCS = $(RUNTIME) $(mcs_topdir)/class/lib/build/mcs.exe -unsafe -nowarn:0162 -nowarn:0168 -nowarn:0219 -debug
6
7 check-local: test
8
9 test : descriptor-tests.exe
10
11 descriptor-tests.exe : descriptor-tests.cs
12         $(MCS) -Warn:0 descriptor-tests.cs
13
14 descriptor-tests.cs : descriptor-tests-driver.cs descriptor-tests-prefix.cs gen-descriptor-tests.py
15         if [ "$(srcdir)" != "$(builddir)" ]; then cp $^ .; fi
16         $(srcdir)/gen-descriptor-tests.py >descriptor-tests.cs
17
18 EXTRA_DIST = descriptor-tests-driver.cs descriptor-tests-prefix.cs gen-descriptor-tests.py
19
20 .DELETE_ON_ERROR:
21