]> git.saurik.com Git - apt.git/blame - cmdline/makefile
* lp:~mvo/apt/add-glob-function:
[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
08e8f724 8# The apt-cache program
1164783d 9PROGRAM=apt-cache
8cd53bd4 10SLIBS = -lapt-pkg $(INTLLIBS)
f760b7d2 11LIB_MAKES = apt-pkg/makefile
8fde7239 12SOURCE = apt-cache.cc
08e8f724 13include $(PROGRAM_H)
1164783d 14
7a1b1f8b 15# The apt-get program
0a8e3465 16PROGRAM=apt-get
8cd53bd4 17SLIBS = -lapt-pkg -lutil $(INTLLIBS)
f760b7d2 18LIB_MAKES = apt-pkg/makefile
8fde7239 19SOURCE = apt-get.cc acqprogress.cc
1164783d 20include $(PROGRAM_H)
7a1b1f8b
AL
21
22# The apt-config program
23PROGRAM=apt-config
8cd53bd4 24SLIBS = -lapt-pkg $(INTLLIBS)
f760b7d2 25LIB_MAKES = apt-pkg/makefile
7a1b1f8b
AL
26SOURCE = apt-config.cc
27include $(PROGRAM_H)
83d89a9f
AL
28
29# The apt-cdrom program
30PROGRAM=apt-cdrom
8cd53bd4 31SLIBS = -lapt-pkg $(INTLLIBS)
f760b7d2 32LIB_MAKES = apt-pkg/makefile
a75c6a6e 33SOURCE = apt-cdrom.cc
83d89a9f 34include $(PROGRAM_H)
b2e465d6 35
7db98ffc
MZ
36# The apt-key program
37SOURCE=apt-key
38TO=$(BIN)
39TARGET=program
40include $(COPY_H)
c15f5690
MV
41
42# The apt-mark program
c98fb5e0
DK
43PROGRAM=apt-mark
44SLIBS = -lapt-pkg $(INTLLIBS)
45LIB_MAKES = apt-pkg/makefile
46SOURCE = apt-mark.cc
47include $(PROGRAM_H)
a577a938 48
23c5897c
MV
49# The apt-report-mirror-failure program
50#SOURCE=apt-report-mirror-failure
51#TO=$(BIN)
52#TARGET=program
53#include $(COPY_H)
4128c846 54
53ec04bb
DK
55#
56# the following programs are shipped in apt-utils
57#
58APT_DOMAIN:=apt-utils
59
60# The apt-sortpkgs program
61PROGRAM=apt-sortpkgs
62SLIBS = -lapt-pkg $(INTLLIBS)
63LIB_MAKES = apt-pkg/makefile
64SOURCE = apt-sortpkgs.cc
65include $(PROGRAM_H)
66
67# The apt-extracttemplates program
68PROGRAM=apt-extracttemplates
69SLIBS = -lapt-pkg -lapt-inst $(INTLLIBS)
70LIB_MAKES = apt-pkg/makefile
71SOURCE = apt-extracttemplates.cc
72include $(PROGRAM_H)
73
4128c846
DK
74# The internal solver acting as an external
75PROGRAM=apt-internal-solver
76SLIBS = -lapt-pkg $(INTLLIBS)
77LIB_MAKES = apt-pkg/makefile
78SOURCE = apt-internal-solver.cc
79include $(PROGRAM_H)
7f471354 80
a2cba9cc 81# This just dumps out the state
7f471354
DK
82PROGRAM=apt-dump-solver
83SLIBS = -lapt-pkg $(INTLLIBS)
84LIB_MAKES = apt-pkg/makefile
85SOURCE = apt-dump-solver.cc
86include $(PROGRAM_H)