X-Git-Url: http://git.megacz.com/?p=nestedvm.git;a=blobdiff_plain;f=Makefile;h=3a48f48c46af6dc7b2d3af1c4434d38f62087e2b;hp=39e1f1deffdbc57c97df5b638552d6166c4abe70;hb=489abe99cb575492b62f51e6ea61aa10f391d3b6;hpb=4923e9ffc2a26cec420a1a2af7cd4dc6fbc5c4a6 diff --git a/Makefile b/Makefile index 39e1f1d..3a48f48 100644 --- a/Makefile +++ b/Makefile @@ -76,13 +76,14 @@ export PATH # # General Build Stuff # -all: $(java_classes) $(mips_objects) +all: $(java_classes) $(tasks)/build_libc ifdef NATIVE_MIPS2JAVA_COMPILER all: build/mips2java$(EXE_EXT) $(mips_objects) endif # HACK: Ensure libc is kept up to date when our mips_objects change -$(tasks)/build_libc: $(mips_objects) upstream/misc/extraheaders.sh +$(tasks)/build_libc: $(mips_objects) $(tasks)/build_extraheaders +$(tasks)/build_extraheaders: upstream/misc/extraheaders.sh $(tasks)/%: $(MAKE) -C upstream tasks/$* usr="$(usr)" \ @@ -132,7 +133,7 @@ build/%.o: src/%.s $(tasks)/build_gcc @mkdir -p `dirname $@` $(MIPS_CC) -x assembler-with-cpp -c -o $@ $< -tmp/%.s: %.c $(tasks)/build_gcc +tmp/%.s: src/%.c $(tasks)/build_gcc @mkdir -p `dirname $@` $(MIPS_CC) $(MIPS_CFLAGS) $($(notdir $*)_CFLAGS) -c -S -o $@ $< @@ -388,7 +389,16 @@ TeX_COMPILERFLAGS = -o unixruntime build/tests/TeX.mips: $(tasks)/build_tex @mkdir -p `dirname $@` cp upstream/build/tex/tex.mips $@ - + +NtlmAuth_COMPILERFLAGS = -o unixruntime +build/tests/NtlmAuth.mips: $(tasks)/build_samba + mkdir -p `dirname $@` + cp upstream/build/samba/source/bin/ntlm_auth $@ + +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 + # # Speed tests #