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