]> git.ipfire.org Git - thirdparty/util-linux.git/blob - text-utils/Makemodule.am
docs: standardize the phrases for --help and --version in all man pages
[thirdparty/util-linux.git] / text-utils / Makemodule.am
1
2 usrbin_exec_PROGRAMS += \
3 col \
4 colcrt \
5 colrm \
6 column \
7 hexdump \
8 rev \
9 tailf
10
11 dist_man_MANS += \
12 text-utils/col.1 \
13 text-utils/colcrt.1 \
14 text-utils/colrm.1 \
15 text-utils/column.1 \
16 text-utils/hexdump.1 \
17 text-utils/rev.1 \
18 text-utils/tailf.1
19
20 col_SOURCES = text-utils/col.c
21 col_LDADD = $(LDADD) libcommon.la
22
23 colcrt_SOURCES = text-utils/colcrt.c
24
25 colrm_SOURCES = text-utils/colrm.c
26 colrm_LDADD = $(LDADD) libcommon.la
27
28 column_SOURCES = text-utils/column.c
29 column_LDADD = $(LDADD) libcommon.la
30
31 hexdump_SOURCES = \
32 text-utils/conv.c \
33 text-utils/display.c \
34 text-utils/hexdump.c \
35 text-utils/hexdump.h \
36 text-utils/hexsyntax.c \
37 text-utils/parse.c
38 hexdump_LDADD = $(LDADD) libcommon.la
39
40 rev_SOURCES = text-utils/rev.c
41
42 tailf_SOURCES = text-utils/tailf.c
43 tailf_LDADD = $(LDADD) libcommon.la
44
45 if BUILD_LINE
46 usrbin_exec_PROGRAMS += line
47 line_SOURCES = text-utils/line.c
48 dist_man_MANS += text-utils/line.1
49 endif
50
51
52 if BUILD_PG
53 usrbin_exec_PROGRAMS += pg
54 dist_man_MANS += text-utils/pg.1
55 pg_SOURCES = text-utils/pg.c
56 pg_CFLAGS = $(AM_CFLAGS) $(BSD_WARN_CFLAGS) $(NCURSES_CFLAGS) $(TINFO_CFLAGS)
57 pg_LDADD = $(LDADD) libcommon.la $(NCURSES_LIBS) $(TINFO_LIBS)
58 endif # BUILD_PG
59
60
61 if BUILD_UL
62 usrbin_exec_PROGRAMS += ul
63 dist_man_MANS += text-utils/ul.1
64 ul_SOURCES = text-utils/ul.c
65 ul_CFLAGS = $(AM_CFLAGS)
66 ul_LDADD = $(LDADD)
67 if HAVE_TINFO
68 ul_LDADD += $(TINFO_LIBS)
69 ul_LDADD += $(TINFO_CFLAGS)
70 else
71 ul_CFLAGS += $(NCURSES_CFLAGS)
72 ul_LDADD += $(NCURSES_LIBS)
73 endif
74 endif # BUILD_UL
75
76
77 if BUILD_MORE
78 bin_PROGRAMS += more
79 dist_man_MANS += text-utils/more.1
80 more_SOURCES = text-utils/more.c
81 more_CFLAGS = $(AM_CFLAGS) $(BSD_WARN_CFLAGS)
82 more_LDADD = $(LDADD)
83 if HAVE_TINFO
84 more_LDADD += $(TINFO_LIBS)
85 more_LDADD += $(TINFO_CFLAGS)
86 else
87 more_CFLAGS += $(NCURSES_CFLAGS)
88 more_LDADD += $(NCURSES_LIBS)
89 endif
90
91 if HAVE_TERMCAP
92 more_LDADD += -ltermcap
93 endif
94
95 check_PROGRAMS += test_more
96 test_more_SOURCES = $(more_SOURCES)
97 test_more_CFLAGS = -DTEST_PROGRAM
98 test_more_LDADD = $(more_LDADD)
99
100 endif # BUILD_MORE
101