]> git.saurik.com Git - apt.git/blob - cmdline/makefile
* lp:~mvo/apt/add-glob-function:
[apt.git] / cmdline / makefile
1 # -*- make -*-
2 BASE=..
3 SUBDIR=cmdline
4
5 # Bring in the default rules
6 include ../buildlib/defaults.mak
7
8 # The apt-cache program
9 PROGRAM=apt-cache
10 SLIBS = -lapt-pkg $(INTLLIBS)
11 LIB_MAKES = apt-pkg/makefile
12 SOURCE = apt-cache.cc
13 include $(PROGRAM_H)
14
15 # The apt-get program
16 PROGRAM=apt-get
17 SLIBS = -lapt-pkg -lutil $(INTLLIBS)
18 LIB_MAKES = apt-pkg/makefile
19 SOURCE = apt-get.cc acqprogress.cc
20 include $(PROGRAM_H)
21
22 # The apt-config program
23 PROGRAM=apt-config
24 SLIBS = -lapt-pkg $(INTLLIBS)
25 LIB_MAKES = apt-pkg/makefile
26 SOURCE = apt-config.cc
27 include $(PROGRAM_H)
28
29 # The apt-cdrom program
30 PROGRAM=apt-cdrom
31 SLIBS = -lapt-pkg $(INTLLIBS)
32 LIB_MAKES = apt-pkg/makefile
33 SOURCE = apt-cdrom.cc
34 include $(PROGRAM_H)
35
36 # The apt-key program
37 SOURCE=apt-key
38 TO=$(BIN)
39 TARGET=program
40 include $(COPY_H)
41
42 # The apt-mark program
43 PROGRAM=apt-mark
44 SLIBS = -lapt-pkg $(INTLLIBS)
45 LIB_MAKES = apt-pkg/makefile
46 SOURCE = apt-mark.cc
47 include $(PROGRAM_H)
48
49 # The apt-report-mirror-failure program
50 #SOURCE=apt-report-mirror-failure
51 #TO=$(BIN)
52 #TARGET=program
53 #include $(COPY_H)
54
55 #
56 # the following programs are shipped in apt-utils
57 #
58 APT_DOMAIN:=apt-utils
59
60 # The apt-sortpkgs program
61 PROGRAM=apt-sortpkgs
62 SLIBS = -lapt-pkg $(INTLLIBS)
63 LIB_MAKES = apt-pkg/makefile
64 SOURCE = apt-sortpkgs.cc
65 include $(PROGRAM_H)
66
67 # The apt-extracttemplates program
68 PROGRAM=apt-extracttemplates
69 SLIBS = -lapt-pkg -lapt-inst $(INTLLIBS)
70 LIB_MAKES = apt-pkg/makefile
71 SOURCE = apt-extracttemplates.cc
72 include $(PROGRAM_H)
73
74 # The internal solver acting as an external
75 PROGRAM=apt-internal-solver
76 SLIBS = -lapt-pkg $(INTLLIBS)
77 LIB_MAKES = apt-pkg/makefile
78 SOURCE = apt-internal-solver.cc
79 include $(PROGRAM_H)
80
81 # This just dumps out the state
82 PROGRAM=apt-dump-solver
83 SLIBS = -lapt-pkg $(INTLLIBS)
84 LIB_MAKES = apt-pkg/makefile
85 SOURCE = apt-dump-solver.cc
86 include $(PROGRAM_H)