enable APT in unpack/configure ordering to handle loops as well
[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-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-sortpkgs program
37 PROGRAM=apt-sortpkgs
38 SLIBS = -lapt-pkg $(INTLLIBS)
39 LIB_MAKES = apt-pkg/makefile
40 SOURCE = apt-sortpkgs.cc
41 include $(PROGRAM_H)
42
43 # The apt-extracttemplates program
44 PROGRAM=apt-extracttemplates
45 SLIBS = -lapt-pkg -lapt-inst $(INTLLIBS)
46 LIB_MAKES = apt-pkg/makefile
47 SOURCE = apt-extracttemplates.cc
48 include $(PROGRAM_H)
49
50 # The apt-key program
51 SOURCE=apt-key
52 TO=$(BIN)
53 TARGET=program
54 include $(COPY_H)
55
56 # The apt-mark program
57 PROGRAM=apt-mark
58 SLIBS = -lapt-pkg $(INTLLIBS)
59 LIB_MAKES = apt-pkg/makefile
60 SOURCE = apt-mark.cc
61 include $(PROGRAM_H)
62
63 # The apt-report-mirror-failure program
64 #SOURCE=apt-report-mirror-failure
65 #TO=$(BIN)
66 #TARGET=program
67 #include $(COPY_H)
68
69 # The internal solver acting as an external
70 PROGRAM=apt-internal-solver
71 SLIBS = -lapt-pkg $(INTLLIBS)
72 LIB_MAKES = apt-pkg/makefile
73 SOURCE = apt-internal-solver.cc
74 include $(PROGRAM_H)
75
76 # This just dumps out the state
77 PROGRAM=apt-dump-solver
78 SLIBS = -lapt-pkg $(INTLLIBS)
79 LIB_MAKES = apt-pkg/makefile
80 SOURCE = apt-dump-solver.cc
81 include $(PROGRAM_H)