X-Git-Url: http://git.megacz.com/?p=nestedvm.git;a=blobdiff_plain;f=Makefile;h=d0b20c4bb6264a556b5a45227eb9795cd2c6ca38;hp=3a48f48c46af6dc7b2d3af1c4434d38f62087e2b;hb=65756df49f23a57914cc71f4929373ac62682345;hpb=489abe99cb575492b62f51e6ea61aa10f391d3b6 diff --git a/Makefile b/Makefile index 3a48f48..d0b20c4 100644 --- a/Makefile +++ b/Makefile @@ -399,6 +399,19 @@ ntlmtest: build/tests/NtlmAuth.class @test -e smb.conf || cp upstream/build/samba/examples/smb.conf.default smb.conf $(JAVA) -cp "$(classpath)" tests.NtlmAuth --username=brian --password=test --diagnostics -d 5 +ntlmauth.jar: build/tests/NtlmAuth.class $(tasks)/build_darcs_gcclass + mkdir -p tmp/pruned + rm -rf tmp/pruned/* + java -cp \ + upstream/build/gcclass/build:upstream/build/gcclass/upstream/bcel-5.1/bcel-5.1.jar \ + com.brian_web.gcclass.GCClass \ + "$(classpath)" tmp/pruned \ + tests.NtlmAuth.main \ + $(patsubst %,org.ibex.nestedvm.util.Platform\$$Jdk%.'', 11 12 13 14) + printf "Manifest-Version: 1.0\nMain-Class: tests.NtlmAuth\n" > .manifest.ntlm + cd tmp/pruned && jar cfm ../../$@ ../../.manifest.ntlm . + rm -f .manifest.ntlm + # # Speed tests #