5 # Bring in the default rules
6 include ../buildlib/defaults.mak
9 include ../buildlib/libversion.mak
14 SLIBS = -lapt-pkg $(INTLLIBS)
15 LIB_MAKES = apt-pkg/makefile
21 SLIBS = -lapt-pkg $(INTLLIBS)
22 LIB_MAKES = apt-pkg/makefile
28 SLIBS = -lapt-pkg $(INTLLIBS)
29 LIB_MAKES = apt-pkg/makefile
35 SLIBS = -lapt-pkg $(INTLLIBS)
36 LIB_MAKES = apt-pkg/makefile
42 SLIBS = -lapt-pkg $(INTLLIBS)
43 LIB_MAKES = apt-pkg/makefile
49 SLIBS = -lapt-pkg $(SOCKETLIBS) $(INTLLIBS) -lresolv
50 LIB_MAKES = apt-pkg/makefile
51 SOURCE = http.cc http_main.cc rfc2553emu.cc connect.cc server.cc
56 SLIBS = -lapt-pkg -lcurl $(INTLLIBS) -lresolv
57 LIB_MAKES = apt-pkg/makefile
58 SOURCE = https.cc server.cc
63 SLIBS = -lapt-pkg $(SOCKETLIBS) $(INTLLIBS) -lresolv
64 LIB_MAKES = apt-pkg/makefile
65 SOURCE = ftp.cc rfc2553emu.cc connect.cc
70 SLIBS = -lapt-pkg $(SOCKETLIBS) $(INTLLIBS)
71 LIB_MAKES = apt-pkg/makefile
77 SLIBS = -lapt-pkg $(INTLLIBS)
78 LIB_MAKES = apt-pkg/makefile
84 SLIBS = -lapt-pkg $(SOCKETLIBS) -lresolv
85 LIB_MAKES = apt-pkg/makefile
86 SOURCE = mirror.cc http.cc rfc2553emu.cc connect.cc server.cc
91 veryclean: clean-$(BIN)/ssh
94 echo "Installing ssh method link"
99 # create links for all other compressors
100 COMPRESSORS=bzip2 lzma xz
102 binary: $(addprefix $(BIN)/,$(COMPRESSORS))
103 veryclean: $(addprefix clean-$(BIN)/,$(COMPRESSORS))
105 $(addprefix $(BIN)/,$(COMPRESSORS)): $(BIN)/gzip
106 echo "Installing $(notdir $@) method link"
109 $(addprefix clean-$(BIN)/,$(COMPRESSORS)):
110 -rm $(BIN)/$(notdir $@)