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