]> git.saurik.com Git - apt.git/blame - methods/makefile
Bumped libapt version and excluded eglibc from SONAME. (Closes: #448249)
[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 9# FIXME..
10c9f030 10LIB_APT_PKG_MAJOR = 4.9
c6e8074f 11APT_DOMAIN := libapt-pkg$(LIB_APT_PKG_MAJOR)
80948457 12
9391a747
AL
13# The file method
14PROGRAM=file
8cd53bd4 15SLIBS = -lapt-pkg $(INTLLIBS)
f760b7d2 16LIB_MAKES = apt-pkg/makefile
9391a747
AL
17SOURCE = file.cc
18include $(PROGRAM_H)
561ab0db
AL
19
20# The copy method
21PROGRAM=copy
8cd53bd4 22SLIBS = -lapt-pkg $(INTLLIBS)
f760b7d2 23LIB_MAKES = apt-pkg/makefile
561ab0db
AL
24SOURCE = copy.cc
25include $(PROGRAM_H)
92173b19
AL
26
27# The gzip method
28PROGRAM=gzip
8cd53bd4 29SLIBS = -lapt-pkg $(INTLLIBS)
f760b7d2 30LIB_MAKES = apt-pkg/makefile
92173b19
AL
31SOURCE = gzip.cc
32include $(PROGRAM_H)
be4401bf 33
7db98ffc
MZ
34# The gpgv method
35PROGRAM=gpgv
8cd53bd4 36SLIBS = -lapt-pkg $(INTLLIBS)
7db98ffc
MZ
37LIB_MAKES = apt-pkg/makefile
38SOURCE = gpgv.cc
39include $(PROGRAM_H)
40
f46e7681
AL
41# The cdrom method
42PROGRAM=cdrom
8e372e79 43SLIBS = -lapt-pkg -ldl $(INTLLIBS)
f760b7d2 44LIB_MAKES = apt-pkg/makefile
f46e7681
AL
45SOURCE = cdrom.cc
46include $(PROGRAM_H)
47
be4401bf
AL
48# The http method
49PROGRAM=http
8cd53bd4 50SLIBS = -lapt-pkg $(SOCKETLIBS) $(INTLLIBS)
f760b7d2 51LIB_MAKES = apt-pkg/makefile
0837bd25 52SOURCE = http.cc rfc2553emu.cc connect.cc
be4401bf 53include $(PROGRAM_H)
30b30ec1 54
d546f98d
MV
55# The https method
56PROGRAM=https
8cd53bd4 57SLIBS = -lapt-pkg -lcurl $(INTLLIBS)
d546f98d
MV
58LIB_MAKES = apt-pkg/makefile
59SOURCE = https.cc
60include $(PROGRAM_H)
61
30b30ec1
AL
62# The ftp method
63PROGRAM=ftp
8cd53bd4 64SLIBS = -lapt-pkg $(SOCKETLIBS) $(INTLLIBS)
f760b7d2 65LIB_MAKES = apt-pkg/makefile
0837bd25 66SOURCE = ftp.cc rfc2553emu.cc connect.cc
30b30ec1 67include $(PROGRAM_H)
b2e465d6 68
2e178d1c
MV
69# The rred method
70PROGRAM=rred
8cd53bd4 71SLIBS = -lapt-pkg $(SOCKETLIBS) $(INTLLIBS)
2e178d1c 72LIB_MAKES = apt-pkg/makefile
4a0a786f 73SOURCE = rred.cc
2e178d1c
MV
74include $(PROGRAM_H)
75
b2e465d6
AL
76# The rsh method
77PROGRAM=rsh
8cd53bd4 78SLIBS = -lapt-pkg $(INTLLIBS)
b2e465d6
AL
79LIB_MAKES = apt-pkg/makefile
80SOURCE = rsh.cc
81include $(PROGRAM_H)
82
96c1153a
MV
83# SSH and bzip2 method symlink
84binary: $(BIN)/ssh $(BIN)/bzip2 $(BIN)/lzma
85veryclean: clean-$(BIN)/ssh clean-$(BIN)/bzip2 clean-$(BIN)/lzma
b2e465d6
AL
86$(BIN)/ssh:
87 echo "Installing ssh method link"
88 ln -fs rsh $(BIN)/ssh
89clean-$(BIN)/ssh:
2204bd80
AL
90 -rm $(BIN)/ssh
91
92$(BIN)/bzip2:
93 echo "Installing bzip2 method link"
94 ln -fs gzip $(BIN)/bzip2
96c1153a
MV
95$(BIN)/lzma:
96 echo "Installing lzma method link"
97 ln -fs gzip $(BIN)/lzma
2204bd80
AL
98clean-$(BIN)/bzip2:
99 -rm $(BIN)/bzip2
96c1153a
MV
100clean-$(BIN)/lzma:
101 -rm $(BIN)/lzma