squash merge of the feature/apt-binary branch without the changes from experimental
[ntk/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 program
9 PROGRAM=apt
10 SLIBS = -lapt-pkg -lapt-private $(INTLLIBS)
11 LIB_MAKES = apt-pkg/makefile
12 SOURCE = apt.cc
13 include $(PROGRAM_H)
14
15 # The apt-cache program
16 PROGRAM=apt-cache
17 SLIBS = -lapt-pkg -lapt-private $(INTLLIBS)
18 LIB_MAKES = apt-pkg/makefile
19 SOURCE = apt-cache.cc
20 include $(PROGRAM_H)
21
22 # The apt-get program
23 PROGRAM=apt-get
24 SLIBS = -lapt-pkg -lapt-private $(INTLLIBS)
25 LIB_MAKES = apt-pkg/makefile
26 SOURCE = apt-get.cc
27 include $(PROGRAM_H)
28
29 # The apt-config program
30 PROGRAM=apt-config
31 SLIBS = -lapt-pkg -lapt-private $(INTLLIBS)
32 LIB_MAKES = apt-pkg/makefile
33 SOURCE = apt-config.cc
34 include $(PROGRAM_H)
35
36 # The apt-cdrom program
37 PROGRAM=apt-cdrom
38 SLIBS = -lapt-pkg -lapt-private $(INTLLIBS)
39 LIB_MAKES = apt-pkg/makefile
40 SOURCE = apt-cdrom.cc
41 include $(PROGRAM_H)
42
43 # The apt-key program
44 SOURCE=apt-key
45 TO=$(BIN)
46 TARGET=program
47 include $(COPY_H)
48
49 # The apt-mark program
50 PROGRAM=apt-mark
51 SLIBS = -lapt-pkg -lapt-private $(INTLLIBS)
52 LIB_MAKES = apt-pkg/makefile
53 SOURCE = apt-mark.cc
54 include $(PROGRAM_H)
55
56 # The apt-report-mirror-failure program
57 #SOURCE=apt-report-mirror-failure
58 #TO=$(BIN)
59 #TARGET=program
60 #include $(COPY_H)
61
62 #
63 # the following programs are shipped in apt-utils
64 #
65 APT_DOMAIN:=apt-utils
66
67 # The apt-sortpkgs program
68 PROGRAM=apt-sortpkgs
69 SLIBS = -lapt-pkg $(INTLLIBS)
70 LIB_MAKES = apt-pkg/makefile
71 SOURCE = apt-sortpkgs.cc
72 include $(PROGRAM_H)
73
74 # The apt-extracttemplates program
75 PROGRAM=apt-extracttemplates
76 SLIBS = -lapt-pkg -lapt-inst $(INTLLIBS)
77 LIB_MAKES = apt-pkg/makefile
78 SOURCE = apt-extracttemplates.cc
79 include $(PROGRAM_H)
80
81 # The internal solver acting as an external
82 PROGRAM=apt-internal-solver
83 SLIBS = -lapt-pkg $(INTLLIBS)
84 LIB_MAKES = apt-pkg/makefile
85 SOURCE = apt-internal-solver.cc
86 include $(PROGRAM_H)
87
88 # This just dumps out the state
89 PROGRAM=apt-dump-solver
90 SLIBS = -lapt-pkg $(INTLLIBS)
91 LIB_MAKES = apt-pkg/makefile
92 SOURCE = apt-dump-solver.cc
93 include $(PROGRAM_H)