]>
Commit | Line | Data |
---|---|---|
9391a747 AL |
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 | |
f760b7d2 | 12 | LIB_MAKES = apt-pkg/makefile |
9391a747 AL |
13 | SOURCE = file.cc |
14 | include $(PROGRAM_H) | |
561ab0db AL |
15 | |
16 | # The copy method | |
17 | PROGRAM=copy | |
18 | SLIBS = -lapt-pkg | |
f760b7d2 | 19 | LIB_MAKES = apt-pkg/makefile |
561ab0db AL |
20 | SOURCE = copy.cc |
21 | include $(PROGRAM_H) | |
92173b19 AL |
22 | |
23 | # The gzip method | |
24 | PROGRAM=gzip | |
25 | SLIBS = -lapt-pkg | |
f760b7d2 | 26 | LIB_MAKES = apt-pkg/makefile |
92173b19 AL |
27 | SOURCE = gzip.cc |
28 | include $(PROGRAM_H) | |
be4401bf | 29 | |
f46e7681 AL |
30 | # The cdrom method |
31 | PROGRAM=cdrom | |
32 | SLIBS = -lapt-pkg | |
f760b7d2 | 33 | LIB_MAKES = apt-pkg/makefile |
f46e7681 AL |
34 | SOURCE = cdrom.cc |
35 | include $(PROGRAM_H) | |
36 | ||
be4401bf AL |
37 | # The http method |
38 | PROGRAM=http | |
f58a97d3 | 39 | SLIBS = -lapt-pkg $(SOCKETLIBS) |
f760b7d2 | 40 | LIB_MAKES = apt-pkg/makefile |
0837bd25 | 41 | SOURCE = http.cc rfc2553emu.cc connect.cc |
be4401bf | 42 | include $(PROGRAM_H) |
30b30ec1 AL |
43 | |
44 | # The ftp method | |
45 | PROGRAM=ftp | |
f58a97d3 | 46 | SLIBS = -lapt-pkg $(SOCKETLIBS) |
f760b7d2 | 47 | LIB_MAKES = apt-pkg/makefile |
0837bd25 | 48 | SOURCE = ftp.cc rfc2553emu.cc connect.cc |
30b30ec1 | 49 | include $(PROGRAM_H) |