summaryrefslogtreecommitdiffstats
path: root/text-utils/Makefile.am
blob: e495cdfafdb3a95559f71ad8f4c6e0c0f55638f8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
include $(top_srcdir)/config/include-Makefile.am

usrbin_exec_PROGRAMS = \
	col \
	colcrt \
	colrm \
	column \
	hexdump \
	rev \
	tailf

column_SOURCES = column.c $(top_srcdir)/lib/strutils.c

col_SOURCES = col.c $(top_srcdir)/lib/strutils.c

colrm_SOURCES = colrm.c $(top_srcdir)/lib/strutils.c

hexdump_SOURCES = \
	conv.c \
	display.c \
	hexdump.c \
	hexdump.h \
	hexsyntax.c \
	parse.c \
	$(top_srcdir)/lib/strutils.c

tailf_SOURCES = tailf.c $(top_srcdir)/lib/strutils.c

dist_man_MANS = \
	col.1 \
	colcrt.1 \
	colrm.1 \
	column.1 \
	hexdump.1 \
	rev.1 \
	tailf.1

if BUILD_LINE
usrbin_exec_PROGRAMS += line
dist_man_MANS += line.1
endif

if HAVE_NCURSES
bin_PROGRAMS = more
usrbin_exec_PROGRAMS += ul pg
if HAVE_TINFO
more_LDADD = -ltinfo
pg_LDADD = -ltinfo @NCURSES_LIBS@
ul_LDADD = -ltinfo
else
more_LDADD = @NCURSES_LIBS@
pg_LDADD = @NCURSES_LIBS@
ul_LDADD = @NCURSES_LIBS@
endif
dist_man_MANS += ul.1 more.1 pg.1
else
if HAVE_TERMCAP
bin_PROGRAMS = more
more_LDADD = -ltermcap
dist_man_MANS += more.1
endif
endif