2010-05-25 Jb Evain <jbevain@novell.com>
[mcs.git] / tools / mono-shlib-cop / Makefile
blobd65d7053bb7a6afe546466bdb3f64717eeba53e4
1 thisdir = tools/mono-shlib-cop
2 SUBDIRS =
3 include ../../build/rules.make
5 LOCAL_MCS_FLAGS = -r:Mono.Posix.dll
7 PROGRAM = mono-shlib-cop.exe
9 TEST_INPUT = test.dll
11 EXTRA_DISTFILES = test.cs
13 include ../../build/executable.make
15 test-local: $(PROGRAM) $(TEST_INPUT)
17 clean-local: cleanup
19 cleanup:
20 -rm -f $(TEST_INPUT)
22 run-test-local: run-mono-shlib-cop-test
24 run-mono-shlib-cop-test: $(PROGRAM) $(TEST_INPUT)
25 $(RUNTIME) $(PROGRAM) $(TEST_INPUT) | diff - test.dll.out
27 $(TEST_INPUT) : test.cs
28 $(CSCOMPILE) -target:library $< -out:$@