summaryrefslogtreecommitdiff
path: root/methods/makefile
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2013-09-17 22:35:44 +0200
committerDavid Kalnischkies <kalnischkies@gmail.com>2013-10-01 11:06:56 +0200
commit7330f4df8b31e66f6557bf49c9c90ad9a73ff459 (patch)
tree263004bd51e9a1ca272771e1d5d94123763b278a /methods/makefile
parent78c72d0ce22e00b194251445aae306df357d5c1a (diff)
refactor http client implementation
No effective behavior change, just shuffling big junks of code between methods and classes to split them into those strongly related to our client implementation and those implementing HTTP. The idea is to get HTTPS to a point in which most of the implementation can be shared even though the client implementations itself is completely different. This isn't anywhere near yet though, but it should beenough to reuse at least a few lines from http in https now. Git-Dch: Ignore
Diffstat (limited to 'methods/makefile')
-rw-r--r--methods/makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/methods/makefile b/methods/makefile
index 294c55d23..f8098de74 100644
--- a/methods/makefile
+++ b/methods/makefile
@@ -48,7 +48,7 @@ include $(PROGRAM_H)
PROGRAM=http
SLIBS = -lapt-pkg $(SOCKETLIBS) $(INTLLIBS)
LIB_MAKES = apt-pkg/makefile
-SOURCE = http.cc http_main.cc rfc2553emu.cc connect.cc
+SOURCE = http.cc http_main.cc rfc2553emu.cc connect.cc server.cc
include $(PROGRAM_H)
# The https method
@@ -83,7 +83,7 @@ include $(PROGRAM_H)
PROGRAM=mirror
SLIBS = -lapt-pkg $(SOCKETLIBS)
LIB_MAKES = apt-pkg/makefile
-SOURCE = mirror.cc http.cc rfc2553emu.cc connect.cc
+SOURCE = mirror.cc http.cc rfc2553emu.cc connect.cc server.cc
include $(PROGRAM_H)
# SSH method symlink