merged from debian
[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 SOURCE=apt-mark
58 TO=$(BIN)
59 TARGET=program
60 include $(COPY_H)
61
62 # The apt-key program
63 SOURCE=apt-report-mirror-failure
64 TO=$(BIN)
65 TARGET=program
66 include $(COPY_H)