| 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 |
| 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 |
| 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 |
| 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 |
| 32 | LIB_MAKES = apt-pkg/makefile |
| 33 | SOURCE = apt-cdrom.cc indexcopy.cc |
| 34 | include $(PROGRAM_H) |
| 35 | |
| 36 | # The apt-sortpkgs program |
| 37 | PROGRAM=apt-sortpkgs |
| 38 | SLIBS = -lapt-pkg |
| 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 |
| 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) |