e79aa3c0ed
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
28 lines
600 B
Makefile
28 lines
600 B
Makefile
thisdir = tools/mono-shlib-cop
|
|
SUBDIRS =
|
|
include ../../build/rules.make
|
|
|
|
LOCAL_MCS_FLAGS =
|
|
LIB_REFS = Mono.Posix System System.Xml
|
|
|
|
PROGRAM = mono-shlib-cop.exe
|
|
|
|
TEST_INPUT = test.dll
|
|
|
|
EXTRA_DISTFILES = test.cs
|
|
|
|
include ../../build/executable.make
|
|
|
|
clean-local: cleanup
|
|
|
|
cleanup:
|
|
-rm -f $(TEST_INPUT)
|
|
|
|
run-test-local: run-mono-shlib-cop-test
|
|
|
|
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:$@
|