]> git.saurik.com Git - apt.git/blame_incremental - cmdline/makefile
Merge remote-tracking branch 'upstream/debian/sid' into debian/sid
[apt.git] / cmdline / makefile
... / ...
CommitLineData
1# -*- make -*-
2BASE=..
3SUBDIR=cmdline
4
5# Bring in the default rules
6include ../buildlib/defaults.mak
7
8# The apt program
9PROGRAM=apt
10SLIBS = -lapt-pkg -lapt-private $(INTLLIBS)
11LIB_MAKES = apt-pkg/makefile
12SOURCE = apt.cc
13include $(PROGRAM_H)
14
15# The apt-cache program
16PROGRAM=apt-cache
17SLIBS = -lapt-pkg -lapt-private $(INTLLIBS)
18LIB_MAKES = apt-pkg/makefile
19SOURCE = apt-cache.cc
20include $(PROGRAM_H)
21
22# The apt-get program
23PROGRAM=apt-get
24SLIBS = -lapt-pkg -lapt-private $(INTLLIBS)
25LIB_MAKES = apt-pkg/makefile
26SOURCE = apt-get.cc
27include $(PROGRAM_H)
28
29# The apt-config program
30PROGRAM=apt-config
31SLIBS = -lapt-pkg -lapt-private $(INTLLIBS)
32LIB_MAKES = apt-pkg/makefile
33SOURCE = apt-config.cc
34include $(PROGRAM_H)
35
36# The apt-cdrom program
37PROGRAM=apt-cdrom
38SLIBS = -lapt-pkg -lapt-private $(INTLLIBS)
39LIB_MAKES = apt-pkg/makefile
40SOURCE = apt-cdrom.cc
41include $(PROGRAM_H)
42
43# The apt-mark program
44PROGRAM=apt-mark
45SLIBS = -lapt-pkg -lapt-private $(INTLLIBS)
46LIB_MAKES = apt-pkg/makefile
47SOURCE = apt-mark.cc
48include $(PROGRAM_H)
49
50# The apt-helper
51PROGRAM=apt-helper
52SLIBS = -lapt-pkg -lapt-private $(INTLLIBS)
53LIB_MAKES = apt-pkg/makefile
54SOURCE = apt-helper.cc
55include $(PROGRAM_H)
56
57# The apt-report-mirror-failure program
58#SOURCE=apt-report-mirror-failure
59#TO=$(BIN)
60#TARGET=program
61#include $(COPY_H)
62
63#
64# the following programs are shipped in apt-utils
65#
66APT_DOMAIN:=apt-utils
67
68# The apt-sortpkgs program
69PROGRAM=apt-sortpkgs
70SLIBS = -lapt-pkg $(INTLLIBS)
71LIB_MAKES = apt-pkg/makefile
72SOURCE = apt-sortpkgs.cc
73include $(PROGRAM_H)
74
75# The apt-extracttemplates program
76PROGRAM=apt-extracttemplates
77SLIBS = -lapt-pkg -lapt-inst $(INTLLIBS)
78LIB_MAKES = apt-pkg/makefile
79SOURCE = apt-extracttemplates.cc
80include $(PROGRAM_H)
81
82# The internal solver acting as an external
83PROGRAM=apt-internal-solver
84SLIBS = -lapt-pkg $(INTLLIBS)
85LIB_MAKES = apt-pkg/makefile
86SOURCE = apt-internal-solver.cc
87include $(PROGRAM_H)
88
89# This just dumps out the state
90PROGRAM=apt-dump-solver
91SLIBS = -lapt-pkg $(INTLLIBS)
92LIB_MAKES = apt-pkg/makefile
93SOURCE = apt-dump-solver.cc
94include $(PROGRAM_H)
95
96# The apt-key program
97apt-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
105SOURCE=apt-key
106TO=$(BIN)
107TARGET=program
108include $(COPY_H)
109
110clean: clean/apt-key
111
112clean/apt-key:
113 rm -f apt-key