5 # Bring in the default rules
6 include ../buildlib/defaults.mak
10 SLIBS = -lapt-pkg -lapt-private $(INTLLIBS)
11 LIB_MAKES = apt-pkg/makefile
15 # The apt-cache program
17 SLIBS = -lapt-pkg -lapt-private $(INTLLIBS)
18 LIB_MAKES = apt-pkg/makefile
24 SLIBS = -lapt-pkg -lapt-private $(INTLLIBS)
25 LIB_MAKES = apt-pkg/makefile
29 # The apt-config program
31 SLIBS = -lapt-pkg -lapt-private $(INTLLIBS)
32 LIB_MAKES = apt-pkg/makefile
33 SOURCE = apt-config.cc
36 # The apt-cdrom program
38 SLIBS = -lapt-pkg -lapt-private $(INTLLIBS)
39 LIB_MAKES = apt-pkg/makefile
43 # The apt-mark program
45 SLIBS = -lapt-pkg -lapt-private $(INTLLIBS)
46 LIB_MAKES = apt-pkg/makefile
50 # The apt-report-mirror-failure program
51 #SOURCE=apt-report-mirror-failure
57 # the following programs are shipped in apt-utils
61 # The apt-sortpkgs program
63 SLIBS = -lapt-pkg $(INTLLIBS)
64 LIB_MAKES = apt-pkg/makefile
65 SOURCE = apt-sortpkgs.cc
68 # The apt-extracttemplates program
69 PROGRAM=apt-extracttemplates
70 SLIBS = -lapt-pkg -lapt-inst $(INTLLIBS)
71 LIB_MAKES = apt-pkg/makefile
72 SOURCE = apt-extracttemplates.cc
75 # The internal solver acting as an external
76 PROGRAM=apt-internal-solver
77 SLIBS = -lapt-pkg $(INTLLIBS)
78 LIB_MAKES = apt-pkg/makefile
79 SOURCE = apt-internal-solver.cc
82 # This just dumps out the state
83 PROGRAM=apt-dump-solver
84 SLIBS = -lapt-pkg $(INTLLIBS)
85 LIB_MAKES = apt-pkg/makefile
86 SOURCE = apt-dump-solver.cc
91 sed -e "s#&keyring-filename;#$(shell ../vendor/getinfo keyring-filename)#" \
92 -e "s#&keyring-removed-filename;#$(shell ../vendor/getinfo keyring-removed-filename)#" \
93 -e "s#&keyring-master-filename;#$(shell ../vendor/getinfo keyring-master-filename)#" \
94 -e "s#&keyring-uri;#$(shell ../vendor/getinfo keyring-uri)#" \
95 -e "s#&keyring-package;#$(shell ../vendor/getinfo keyring-package)#" $< > $@