]>
Commit | Line | Data |
---|---|---|
1164783d AL |
1 | # -*- make -*- |
2 | BASE=.. | |
3164dff9 | 3 | SUBDIR=cmdline |
1164783d AL |
4 | |
5 | # Bring in the default rules | |
6 | include ../buildlib/defaults.mak | |
7 | ||
b9179170 MV |
8 | # The apt program |
9 | PROGRAM=apt | |
10 | SLIBS = -lapt-pkg -lapt-private $(INTLLIBS) | |
11 | LIB_MAKES = apt-pkg/makefile | |
12 | SOURCE = apt.cc | |
13 | include $(PROGRAM_H) | |
14 | ||
08e8f724 | 15 | # The apt-cache program |
1164783d | 16 | PROGRAM=apt-cache |
b9179170 | 17 | SLIBS = -lapt-pkg -lapt-private $(INTLLIBS) |
f760b7d2 | 18 | LIB_MAKES = apt-pkg/makefile |
8fde7239 | 19 | SOURCE = apt-cache.cc |
08e8f724 | 20 | include $(PROGRAM_H) |
1164783d | 21 | |
7a1b1f8b | 22 | # The apt-get program |
0a8e3465 | 23 | PROGRAM=apt-get |
b9179170 | 24 | SLIBS = -lapt-pkg -lapt-private $(INTLLIBS) |
f760b7d2 | 25 | LIB_MAKES = apt-pkg/makefile |
b9179170 | 26 | SOURCE = apt-get.cc |
1164783d | 27 | include $(PROGRAM_H) |
7a1b1f8b AL |
28 | |
29 | # The apt-config program | |
30 | PROGRAM=apt-config | |
b9179170 | 31 | SLIBS = -lapt-pkg -lapt-private $(INTLLIBS) |
f760b7d2 | 32 | LIB_MAKES = apt-pkg/makefile |
7a1b1f8b AL |
33 | SOURCE = apt-config.cc |
34 | include $(PROGRAM_H) | |
83d89a9f AL |
35 | |
36 | # The apt-cdrom program | |
37 | PROGRAM=apt-cdrom | |
b9179170 | 38 | SLIBS = -lapt-pkg -lapt-private $(INTLLIBS) |
f760b7d2 | 39 | LIB_MAKES = apt-pkg/makefile |
a75c6a6e | 40 | SOURCE = apt-cdrom.cc |
83d89a9f | 41 | include $(PROGRAM_H) |
b2e465d6 | 42 | |
c15f5690 | 43 | # The apt-mark program |
c98fb5e0 | 44 | PROGRAM=apt-mark |
b9179170 | 45 | SLIBS = -lapt-pkg -lapt-private $(INTLLIBS) |
c98fb5e0 DK |
46 | LIB_MAKES = apt-pkg/makefile |
47 | SOURCE = apt-mark.cc | |
48 | include $(PROGRAM_H) | |
a577a938 | 49 | |
e43a426e MV |
50 | # The apt-helper |
51 | PROGRAM=apt-helper | |
52 | SLIBS = -lapt-pkg -lapt-private $(INTLLIBS) | |
53 | LIB_MAKES = apt-pkg/makefile | |
54 | SOURCE = apt-helper.cc | |
55 | include $(PROGRAM_H) | |
56 | ||
23c5897c MV |
57 | # The apt-report-mirror-failure program |
58 | #SOURCE=apt-report-mirror-failure | |
59 | #TO=$(BIN) | |
60 | #TARGET=program | |
61 | #include $(COPY_H) | |
4128c846 | 62 | |
53ec04bb DK |
63 | # |
64 | # the following programs are shipped in apt-utils | |
65 | # | |
66 | APT_DOMAIN:=apt-utils | |
67 | ||
68 | # The apt-sortpkgs program | |
69 | PROGRAM=apt-sortpkgs | |
70 | SLIBS = -lapt-pkg $(INTLLIBS) | |
71 | LIB_MAKES = apt-pkg/makefile | |
72 | SOURCE = apt-sortpkgs.cc | |
73 | include $(PROGRAM_H) | |
74 | ||
75 | # The apt-extracttemplates program | |
76 | PROGRAM=apt-extracttemplates | |
77 | SLIBS = -lapt-pkg -lapt-inst $(INTLLIBS) | |
78 | LIB_MAKES = apt-pkg/makefile | |
79 | SOURCE = apt-extracttemplates.cc | |
80 | include $(PROGRAM_H) | |
81 | ||
4128c846 DK |
82 | # The internal solver acting as an external |
83 | PROGRAM=apt-internal-solver | |
84 | SLIBS = -lapt-pkg $(INTLLIBS) | |
85 | LIB_MAKES = apt-pkg/makefile | |
86 | SOURCE = apt-internal-solver.cc | |
87 | include $(PROGRAM_H) | |
7f471354 | 88 | |
a2cba9cc | 89 | # This just dumps out the state |
7f471354 DK |
90 | PROGRAM=apt-dump-solver |
91 | SLIBS = -lapt-pkg $(INTLLIBS) | |
92 | LIB_MAKES = apt-pkg/makefile | |
93 | SOURCE = apt-dump-solver.cc | |
94 | include $(PROGRAM_H) | |
46a78c65 MV |
95 | |
96 | # The apt-key program | |
97 | apt-key: apt-key.in | |
98 | sed -e "s#&keyring-filename;#$(shell ../vendor/getinfo keyring-filename)#" \ | |
99 | -e "s#&keyring-removed-filename;#$(shell ../vendor/getinfo keyring-removed-filename)#" \ | |
100 | -e "s#&keyring-master-filename;#$(shell ../vendor/getinfo keyring-master-filename)#" \ | |
101 | -e "s#&keyring-uri;#$(shell ../vendor/getinfo keyring-uri)#" \ | |
102 | -e "s#&keyring-package;#$(shell ../vendor/getinfo keyring-package)#" $< > $@ | |
103 | chmod 755 $@ | |
104 | ||
105 | SOURCE=apt-key | |
106 | TO=$(BIN) | |
107 | TARGET=program | |
108 | include $(COPY_H) | |
109 | ||
110 | clean: clean/apt-key | |
111 | ||
112 | clean/apt-key: | |
113 | rm -f apt-key |