SUBDIRS =
include ../../build/rules.make
-LOCAL_MCS_FLAGS = -r:Mono.Posix.dll
+LOCAL_MCS_FLAGS =
+LIB_REFS = Mono.Posix System System.Xml
PROGRAM = mono-shlib-cop.exe
include ../../build/executable.make
-test-local: $(PROGRAM) $(TEST_INPUT)
-
clean-local: cleanup
cleanup:
run-test-local: run-mono-shlib-cop-test
-run-mono-shlib-cop-test: $(PROGRAM) $(TEST_INPUT)
- $(RUNTIME) $(PROGRAM) $(TEST_INPUT) | diff - test.dll.out
+run-mono-shlib-cop-test: $(the_lib) $(TEST_INPUT)
+ MONO_PATH="$(topdir)/class/lib/$(PROFILE)$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH" $(RUNTIME) $(the_lib) $(TEST_INPUT) | diff - test.dll.out
$(TEST_INPUT) : test.cs
$(CSCOMPILE) -target:library $< -out:$@
-