Join with aliencode
[ntk/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
9# The file method
10PROGRAM=file
11SLIBS = -lapt-pkg
f760b7d2 12LIB_MAKES = apt-pkg/makefile
9391a747
AL
13SOURCE = file.cc
14include $(PROGRAM_H)
561ab0db
AL
15
16# The copy method
17PROGRAM=copy
18SLIBS = -lapt-pkg
f760b7d2 19LIB_MAKES = apt-pkg/makefile
561ab0db
AL
20SOURCE = copy.cc
21include $(PROGRAM_H)
92173b19
AL
22
23# The gzip method
24PROGRAM=gzip
25SLIBS = -lapt-pkg
f760b7d2 26LIB_MAKES = apt-pkg/makefile
92173b19
AL
27SOURCE = gzip.cc
28include $(PROGRAM_H)
be4401bf 29
f46e7681
AL
30# The cdrom method
31PROGRAM=cdrom
32SLIBS = -lapt-pkg
f760b7d2 33LIB_MAKES = apt-pkg/makefile
f46e7681
AL
34SOURCE = cdrom.cc
35include $(PROGRAM_H)
36
be4401bf
AL
37# The http method
38PROGRAM=http
f58a97d3 39SLIBS = -lapt-pkg $(SOCKETLIBS)
f760b7d2 40LIB_MAKES = apt-pkg/makefile
0837bd25 41SOURCE = http.cc rfc2553emu.cc connect.cc
be4401bf 42include $(PROGRAM_H)
30b30ec1
AL
43
44# The ftp method
45PROGRAM=ftp
f58a97d3 46SLIBS = -lapt-pkg $(SOCKETLIBS)
f760b7d2 47LIB_MAKES = apt-pkg/makefile
0837bd25 48SOURCE = ftp.cc rfc2553emu.cc connect.cc
30b30ec1 49include $(PROGRAM_H)
b2e465d6
AL
50
51# The rsh method
52PROGRAM=rsh
53SLIBS = -lapt-pkg
54LIB_MAKES = apt-pkg/makefile
55SOURCE = rsh.cc
56include $(PROGRAM_H)
57
58# SSH method symlink
59all: $(BIN)/ssh
60veryclean: clean-$(BIN)/ssh
61$(BIN)/ssh:
62 echo "Installing ssh method link"
63 ln -fs rsh $(BIN)/ssh
64clean-$(BIN)/ssh:
65 rm $(BIN)/ssh