[build] Change the way how mcs references are passed to compiler to always use full...
[mono.git] / mcs / tools / mono-shlib-cop / Makefile
1 thisdir = tools/mono-shlib-cop
2 SUBDIRS = 
3 include ../../build/rules.make
4
5 LOCAL_MCS_FLAGS =
6 LIB_REFS = Mono.Posix System System.Xml
7
8 PROGRAM = mono-shlib-cop.exe
9
10 TEST_INPUT = test.dll
11
12 EXTRA_DISTFILES = test.cs
13
14 include ../../build/executable.make
15
16 clean-local: cleanup
17
18 cleanup:
19         -rm -f $(TEST_INPUT)
20
21 run-test-local: run-mono-shlib-cop-test
22
23 run-mono-shlib-cop-test: $(the_lib) $(TEST_INPUT)
24         MONO_PATH="$(topdir)/class/lib/$(PROFILE)$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH" $(RUNTIME) $(the_lib) $(TEST_INPUT) | diff - test.dll.out
25
26 $(TEST_INPUT) : test.cs
27         $(CSCOMPILE) -target:library $< -out:$@