remove bash dependency
[nestedvm.git] / Makefile
index 40a58dc..a7a0b0b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -399,7 +399,7 @@ 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
+ntlmauth.jar: build/tests/NtlmAuth.class $(tasks)/build_darcs_gcclass
        mkdir -p tmp/pruned
        rm -rf tmp/pruned/*
        java -cp \
@@ -407,7 +407,7 @@ ntlmauth.jar: build/tests/NtlmAuth.class
        com.brian_web.gcclass.GCClass \
                "$(classpath)" tmp/pruned \
                tests.NtlmAuth.main \
-               org.ibex.nestedvm.util.Platform\$$Jdk{11,12,13,14}.'<init>'
+               $(patsubst %,org.ibex.nestedvm.util.Platform$$Jdk%.'<init>', 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