Upload Tizen:Base source
[framework/base/util-linux-ng.git] / text-utils / Makefile.am
1 include $(top_srcdir)/config/include-Makefile.am
2
3 EXTRA_DIST = README.clear README.col
4
5 usrbin_exec_PROGRAMS = col colcrt colrm column hexdump rev line tailf
6
7 hexdump_SOURCES = hexdump.c conv.c display.c hexsyntax.c odsyntax.c parse.c \
8                   hexdump.h
9
10 dist_man_MANS = col.1 colcrt.1 colrm.1 column.1 hexdump.1 rev.1 line.1 tailf.1
11
12 if HAVE_NCURSES
13 bin_PROGRAMS = more
14 usrbin_exec_PROGRAMS += ul pg
15 if HAVE_TINFO
16 more_LDADD = -ltinfo
17 pg_LDADD = -ltinfo @NCURSES_LIBS@
18 ul_LDADD = -ltinfo
19 else
20 more_LDADD = @NCURSES_LIBS@
21 pg_LDADD = @NCURSES_LIBS@
22 ul_LDADD = @NCURSES_LIBS@
23 endif
24 dist_man_MANS += ul.1 more.1 pg.1
25 else
26 if HAVE_TERMCAP
27 bin_PROGRAMS = more
28 more_LDADD = -ltermcap
29 dist_man_MANS += more.1
30 endif
31 endif
32
33 EXTRA_DIST += README.pg LICENSE.pg