]> git.saurik.com Git - apt.git/blob - methods/makefile
Alfredos bzip2 stuff
[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 # The file method
10 PROGRAM=file
11 SLIBS = -lapt-pkg
12 LIB_MAKES = apt-pkg/makefile
13 SOURCE = file.cc
14 include $(PROGRAM_H)
15
16 # The copy method
17 PROGRAM=copy
18 SLIBS = -lapt-pkg
19 LIB_MAKES = apt-pkg/makefile
20 SOURCE = copy.cc
21 include $(PROGRAM_H)
22
23 # The gzip method
24 PROGRAM=gzip
25 SLIBS = -lapt-pkg
26 LIB_MAKES = apt-pkg/makefile
27 SOURCE = gzip.cc
28 include $(PROGRAM_H)
29
30 # The cdrom method
31 PROGRAM=cdrom
32 SLIBS = -lapt-pkg
33 LIB_MAKES = apt-pkg/makefile
34 SOURCE = cdrom.cc
35 include $(PROGRAM_H)
36
37 # The http method
38 PROGRAM=http
39 SLIBS = -lapt-pkg $(SOCKETLIBS)
40 LIB_MAKES = apt-pkg/makefile
41 SOURCE = http.cc rfc2553emu.cc connect.cc
42 include $(PROGRAM_H)
43
44 # The ftp method
45 PROGRAM=ftp
46 SLIBS = -lapt-pkg $(SOCKETLIBS)
47 LIB_MAKES = apt-pkg/makefile
48 SOURCE = ftp.cc rfc2553emu.cc connect.cc
49 include $(PROGRAM_H)
50
51 # The rsh method
52 PROGRAM=rsh
53 SLIBS = -lapt-pkg
54 LIB_MAKES = apt-pkg/makefile
55 SOURCE = rsh.cc
56 include $(PROGRAM_H)
57
58 # SSH and vzip2 method symlink
59 all: $(BIN)/ssh $(BIN)/bzip2
60 veryclean: clean-$(BIN)/ssh clean-$(BIN)/bzip2
61 $(BIN)/ssh:
62 echo "Installing ssh method link"
63 ln -fs rsh $(BIN)/ssh
64 clean-$(BIN)/ssh:
65 -rm $(BIN)/ssh
66
67 $(BIN)/bzip2:
68 echo "Installing bzip2 method link"
69 ln -fs gzip $(BIN)/bzip2
70 clean-$(BIN)/bzip2:
71 -rm $(BIN)/bzip2