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