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