]> git.saurik.com Git - apt.git/blame_incremental - methods/makefile
* merged from the apt--auto-mark branch
[apt.git] / methods / makefile
... / ...
CommitLineData
1# -*- make -*-
2BASE=..
3SUBDIR=methods
4
5# Bring in the default rules
6include ../buildlib/defaults.mak
7BIN := $(BIN)/methods
8
9# FIXME..
10LIB_APT_PKG_MAJOR = 4.2
11APT_DOMAIN := libapt-pkg$(LIB_APT_PKG_MAJOR)
12
13# The file method
14PROGRAM=file
15SLIBS = -lapt-pkg
16LIB_MAKES = apt-pkg/makefile
17SOURCE = file.cc
18include $(PROGRAM_H)
19
20# The copy method
21PROGRAM=copy
22SLIBS = -lapt-pkg
23LIB_MAKES = apt-pkg/makefile
24SOURCE = copy.cc
25include $(PROGRAM_H)
26
27# The gzip method
28PROGRAM=gzip
29SLIBS = -lapt-pkg
30LIB_MAKES = apt-pkg/makefile
31SOURCE = gzip.cc
32include $(PROGRAM_H)
33
34# The gpgv method
35PROGRAM=gpgv
36SLIBS = -lapt-pkg
37LIB_MAKES = apt-pkg/makefile
38SOURCE = gpgv.cc
39include $(PROGRAM_H)
40
41# The cdrom method
42PROGRAM=cdrom
43SLIBS = -lapt-pkg
44LIB_MAKES = apt-pkg/makefile
45SOURCE = cdrom.cc
46include $(PROGRAM_H)
47
48# The http method
49PROGRAM=http
50SLIBS = -lapt-pkg $(SOCKETLIBS)
51LIB_MAKES = apt-pkg/makefile
52SOURCE = http.cc rfc2553emu.cc connect.cc
53include $(PROGRAM_H)
54
55# The ftp method
56PROGRAM=ftp
57SLIBS = -lapt-pkg $(SOCKETLIBS)
58LIB_MAKES = apt-pkg/makefile
59SOURCE = ftp.cc rfc2553emu.cc connect.cc
60include $(PROGRAM_H)
61
62# The rred method
63PROGRAM=rred
64SLIBS = -lapt-pkg $(SOCKETLIBS)
65LIB_MAKES = apt-pkg/makefile
66SOURCE = rred.cc
67include $(PROGRAM_H)
68
69# The rsh method
70PROGRAM=rsh
71SLIBS = -lapt-pkg
72LIB_MAKES = apt-pkg/makefile
73SOURCE = rsh.cc
74include $(PROGRAM_H)
75
76# SSH and vzip2 method symlink
77binary: $(BIN)/ssh $(BIN)/bzip2
78veryclean: clean-$(BIN)/ssh clean-$(BIN)/bzip2
79$(BIN)/ssh:
80 echo "Installing ssh method link"
81 ln -fs rsh $(BIN)/ssh
82clean-$(BIN)/ssh:
83 -rm $(BIN)/ssh
84
85$(BIN)/bzip2:
86 echo "Installing bzip2 method link"
87 ln -fs gzip $(BIN)/bzip2
88clean-$(BIN)/bzip2:
89 -rm $(BIN)/bzip2