Merge pull request #1870 from saper/langinfo_h
[mono.git] / mono / tests / assemblyresolve / Makefile.am
1 CLASS=$(mcs_topdir)/class/lib/$(DEFAULT_PROFILE)
2
3 with_mono_path = MONO_PATH=$(CLASS)
4
5 RUNTIME = $(with_mono_path) $(top_builddir)/runtime/mono-wrapper --debug
6 MCS = $(RUNTIME) $(mcs_topdir)/class/lib/build/mcs.exe -debug:full -target:library
7
8 prereq: test/asm.dll
9
10 test/.dirstamp deps/.dirstamp:
11         -mkdir $(@D)
12         rm -f $@ && date > $@
13
14 test/asm.dll: test/.dirstamp
15 deps/test.dll deps/TestBase.dll: deps/.dirstamp
16
17 test/asm.dll: deps/test.dll asm.cs
18         $(MCS) -out:test/asm.dll -r:deps/TestBase.dll -r:deps/test.dll $(srcdir)/asm.cs
19
20 deps/test.dll: deps/TestBase.dll Test.cs
21         $(MCS) -out:deps/test.dll -r:deps/TestBase.dll $(srcdir)/Test.cs
22
23 deps/TestBase.dll: TestBase.cs
24         $(MCS) -out:deps/TestBase.dll $(srcdir)/TestBase.cs
25
26 EXTRA_DIST = asm.cs Test.cs TestBase.cs
27
28 clean:
29         rm -f deps/*.dll test/*.dll