]> git.saurik.com Git - apt.git/blame - cmdline/makefile
make the main loop a while() instead of a for() as I find this (much) easier to read...
[apt.git] / cmdline / makefile
CommitLineData
1164783d
AL
1# -*- make -*-
2BASE=..
3164dff9 3SUBDIR=cmdline
1164783d
AL
4
5# Bring in the default rules
6include ../buildlib/defaults.mak
7
b9179170
MV
8# The apt program
9PROGRAM=apt
10SLIBS = -lapt-pkg -lapt-private $(INTLLIBS)
11LIB_MAKES = apt-pkg/makefile
12SOURCE = apt.cc
13include $(PROGRAM_H)
14
08e8f724 15# The apt-cache program
1164783d 16PROGRAM=apt-cache
b9179170 17SLIBS = -lapt-pkg -lapt-private $(INTLLIBS)
f760b7d2 18LIB_MAKES = apt-pkg/makefile
8fde7239 19SOURCE = apt-cache.cc
08e8f724 20include $(PROGRAM_H)
1164783d 21
7a1b1f8b 22# The apt-get program
0a8e3465 23PROGRAM=apt-get
b9179170 24SLIBS = -lapt-pkg -lapt-private $(INTLLIBS)
f760b7d2 25LIB_MAKES = apt-pkg/makefile
b9179170 26SOURCE = apt-get.cc
1164783d 27include $(PROGRAM_H)
7a1b1f8b
AL
28
29# The apt-config program
30PROGRAM=apt-config
b9179170 31SLIBS = -lapt-pkg -lapt-private $(INTLLIBS)
f760b7d2 32LIB_MAKES = apt-pkg/makefile
7a1b1f8b
AL
33SOURCE = apt-config.cc
34include $(PROGRAM_H)
83d89a9f
AL
35
36# The apt-cdrom program
37PROGRAM=apt-cdrom
b9179170 38SLIBS = -lapt-pkg -lapt-private $(INTLLIBS)
f760b7d2 39LIB_MAKES = apt-pkg/makefile
a75c6a6e 40SOURCE = apt-cdrom.cc
83d89a9f 41include $(PROGRAM_H)
b2e465d6 42
7db98ffc
MZ
43# The apt-key program
44SOURCE=apt-key
45TO=$(BIN)
46TARGET=program
47include $(COPY_H)
c15f5690
MV
48
49# The apt-mark program
c98fb5e0 50PROGRAM=apt-mark
b9179170 51SLIBS = -lapt-pkg -lapt-private $(INTLLIBS)
c98fb5e0
DK
52LIB_MAKES = apt-pkg/makefile
53SOURCE = apt-mark.cc
54include $(PROGRAM_H)
a577a938 55
23c5897c
MV
56# The apt-report-mirror-failure program
57#SOURCE=apt-report-mirror-failure
58#TO=$(BIN)
59#TARGET=program
60#include $(COPY_H)
4128c846 61
53ec04bb
DK
62#
63# the following programs are shipped in apt-utils
64#
65APT_DOMAIN:=apt-utils
66
67# The apt-sortpkgs program
68PROGRAM=apt-sortpkgs
69SLIBS = -lapt-pkg $(INTLLIBS)
70LIB_MAKES = apt-pkg/makefile
71SOURCE = apt-sortpkgs.cc
72include $(PROGRAM_H)
73
74# The apt-extracttemplates program
75PROGRAM=apt-extracttemplates
76SLIBS = -lapt-pkg -lapt-inst $(INTLLIBS)
77LIB_MAKES = apt-pkg/makefile
78SOURCE = apt-extracttemplates.cc
79include $(PROGRAM_H)
80
4128c846
DK
81# The internal solver acting as an external
82PROGRAM=apt-internal-solver
83SLIBS = -lapt-pkg $(INTLLIBS)
84LIB_MAKES = apt-pkg/makefile
85SOURCE = apt-internal-solver.cc
86include $(PROGRAM_H)
7f471354 87
a2cba9cc 88# This just dumps out the state
7f471354
DK
89PROGRAM=apt-dump-solver
90SLIBS = -lapt-pkg $(INTLLIBS)
91LIB_MAKES = apt-pkg/makefile
92SOURCE = apt-dump-solver.cc
93include $(PROGRAM_H)