]> git.saurik.com Git - apt.git/blobdiff - methods/makefile
merge lp:~mvo/apt/sha512-template to add support for sha512
[apt.git] / methods / makefile
index d94a853401e74484d81a3730c3b82595670ced34..6ba51058ebb3d25ff554af60254781afd6cb041b 100644 (file)
@@ -67,7 +67,7 @@ include $(PROGRAM_H)
 
 # The rred method
 PROGRAM=rred
-SLIBS = -lapt-pkg $(SOCKETLIBS) $(INTLLIBS)
+SLIBS = -lapt-pkg -lz $(SOCKETLIBS) $(INTLLIBS)
 LIB_MAKES = apt-pkg/makefile
 SOURCE = rred.cc
 include $(PROGRAM_H)
@@ -94,8 +94,8 @@ SOURCE = bzip2.cc
 include $(PROGRAM_H)
 
 # SSH and lzma method symlink
-binary: $(BIN)/ssh $(BIN)/lzma
-veryclean: clean-$(BIN)/ssh clean-$(BIN)/lzma
+binary: $(BIN)/ssh $(BIN)/lzma $(BIN)/xz
+veryclean: clean-$(BIN)/ssh clean-$(BIN)/lzma clean-$(BIN)/xz
 
 $(BIN)/ssh:
        echo "Installing ssh method link"
@@ -108,3 +108,9 @@ $(BIN)/lzma:
        ln -fs bzip2 $(BIN)/lzma
 clean-$(BIN)/lzma:
        -rm $(BIN)/lzma
+
+$(BIN)/xz:
+       echo "Installing xz method link"
+       ln -fs bzip2 $(BIN)/xz
+clean-$(BIN)/xz:
+       -rm $(BIN)/xz