- move common code in apt-cache/shell to cmdline
[apt.git] / cmdline / Makefile.am
1
2 EXTRA_DIST = indexcopy.cc indexcopy.h
3
4 bin_PROGRAMS = apt-get apt-cache apt-cdrom apt-config
5
6 if COMPILE_APTSHELL
7 bin_PROGRAMS += apt-shell
8 endif
9 if COMPILE_STATIC
10 bin_PROGRAMS += apt-get-static apt-cache-static apt-cdrom-static
11 endif
12
13 LDADD = ../apt-pkg/libapt-pkg.la $(RPMLIBS)
14
15 apt_get_SOURCES = apt-get.cc acqprogress.cc acqprogress.h cmdline.cc cmdline.h
16 apt_cache_SOURCES = apt-cache.cc cmdline.cc cmdline.h
17 apt_shell_SOURCES = apt-shell.cc acqprogress.cc acqprogress.h cmdline.cc cmdline.h
18 apt_shell_LDADD = $(LDADD) -lreadline -lncurses
19 apt_config_SOURCES = apt-config.cc
20 apt_cdrom_SOURCES = apt-cdrom.cc rpmindexcopy.cc rpmindexcopy.h
21
22 apt_get_static_SOURCES = $(apt_get_SOURCES)
23 apt_get_static_LDFLAGS = -all-static
24 apt_cache_static_SOURCES = $(apt_cache_SOURCES)
25 apt_cache_static_LDFLAGS = -all-static
26 apt_cdrom_static_SOURCES = $(apt_cdrom_SOURCES)
27 apt_cdrom_static_LDFLAGS = -all-static
28