]> git.saurik.com Git - apt.git/blame_incremental - cmdline/makefile
Merge branch 'feature/policy-parser-bts732746' 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-key program
44apt-key: apt-key.in
45 sed -e "s#&keyring-filename;#$(shell ../vendor/getinfo keyring-filename)#" \
46 -e "s#&keyring-removed-filename;#$(shell ../vendor/getinfo keyring-removed-filename)#" \
47 -e "s#&keyring-master-filename;#$(shell ../vendor/getinfo keyring-master-filename)#" \
48 -e "s#&keyring-uri;#$(shell ../vendor/getinfo keyring-uri)#" \
49 -e "s#&keyring-package;#$(shell ../vendor/getinfo keyring-package)#" $< > $@
50 chmod 755 $@
51
52SOURCE=apt-key
53TO=$(BIN)
54TARGET=program
55include $(COPY_H)
56
57# The apt-mark program
58PROGRAM=apt-mark
59SLIBS = -lapt-pkg -lapt-private $(INTLLIBS)
60LIB_MAKES = apt-pkg/makefile
61SOURCE = apt-mark.cc
62include $(PROGRAM_H)
63
64# The apt-report-mirror-failure program
65#SOURCE=apt-report-mirror-failure
66#TO=$(BIN)
67#TARGET=program
68#include $(COPY_H)
69
70#
71# the following programs are shipped in apt-utils
72#
73APT_DOMAIN:=apt-utils
74
75# The apt-sortpkgs program
76PROGRAM=apt-sortpkgs
77SLIBS = -lapt-pkg $(INTLLIBS)
78LIB_MAKES = apt-pkg/makefile
79SOURCE = apt-sortpkgs.cc
80include $(PROGRAM_H)
81
82# The apt-extracttemplates program
83PROGRAM=apt-extracttemplates
84SLIBS = -lapt-pkg -lapt-inst $(INTLLIBS)
85LIB_MAKES = apt-pkg/makefile
86SOURCE = apt-extracttemplates.cc
87include $(PROGRAM_H)
88
89# The internal solver acting as an external
90PROGRAM=apt-internal-solver
91SLIBS = -lapt-pkg $(INTLLIBS)
92LIB_MAKES = apt-pkg/makefile
93SOURCE = apt-internal-solver.cc
94include $(PROGRAM_H)
95
96# This just dumps out the state
97PROGRAM=apt-dump-solver
98SLIBS = -lapt-pkg $(INTLLIBS)
99LIB_MAKES = apt-pkg/makefile
100SOURCE = apt-dump-solver.cc
101include $(PROGRAM_H)