]>
Commit | Line | Data |
---|---|---|
cb45354e KZ |
1 | if BUILD_COL |
2 | usrbin_exec_PROGRAMS += col | |
3 | dist_man_MANS += text-utils/col.1 | |
d77ab74a | 4 | col_SOURCES = text-utils/col.c |
dcdb349b | 5 | col_LDADD = $(LDADD) libcommon.la |
cb45354e | 6 | endif |
f3e03db3 | 7 | |
cb45354e KZ |
8 | if BUILD_COLCRT |
9 | usrbin_exec_PROGRAMS += colcrt | |
10 | dist_man_MANS += text-utils/colcrt.1 | |
f3e03db3 | 11 | colcrt_SOURCES = text-utils/colcrt.c |
cb45354e | 12 | endif |
f3e03db3 | 13 | |
cb45354e KZ |
14 | if BUILD_COLRM |
15 | usrbin_exec_PROGRAMS += colrm | |
16 | dist_man_MANS += text-utils/colrm.1 | |
d77ab74a | 17 | colrm_SOURCES = text-utils/colrm.c |
dcdb349b | 18 | colrm_LDADD = $(LDADD) libcommon.la |
cb45354e | 19 | endif |
f3e03db3 | 20 | |
cb45354e KZ |
21 | if BUILD_COLUMN |
22 | usrbin_exec_PROGRAMS += column | |
23 | dist_man_MANS += text-utils/column.1 | |
d77ab74a | 24 | column_SOURCES = text-utils/column.c |
38d69192 KZ |
25 | column_LDADD = $(LDADD) libcommon.la libsmartcols.la |
26 | column_CFLAGS = $(AM_CFLAGS) -I$(ul_libsmartcols_incdir) | |
cb45354e | 27 | endif |
f3e03db3 | 28 | |
cb45354e KZ |
29 | if BUILD_HEXDUMP |
30 | usrbin_exec_PROGRAMS += hexdump | |
31 | dist_man_MANS += text-utils/hexdump.1 | |
f3e03db3 | 32 | hexdump_SOURCES = \ |
af324b1f OO |
33 | text-utils/hexdump-conv.c \ |
34 | text-utils/hexdump-display.c \ | |
f3e03db3 KZ |
35 | text-utils/hexdump.c \ |
36 | text-utils/hexdump.h \ | |
af324b1f | 37 | text-utils/hexdump-parse.c |
4310faf9 | 38 | hexdump_LDADD = $(LDADD) libcommon.la libtcolors.la |
cb45354e | 39 | endif |
f3e03db3 | 40 | |
cb45354e KZ |
41 | if BUILD_REV |
42 | usrbin_exec_PROGRAMS += rev | |
43 | dist_man_MANS += text-utils/rev.1 | |
f3e03db3 | 44 | rev_SOURCES = text-utils/rev.c |
cb45354e | 45 | endif |
f3e03db3 | 46 | |
f3e03db3 KZ |
47 | if BUILD_LINE |
48 | usrbin_exec_PROGRAMS += line | |
49 | line_SOURCES = text-utils/line.c | |
50 | dist_man_MANS += text-utils/line.1 | |
51 | endif | |
52 | ||
53b22add KZ |
53 | if BUILD_PG |
54 | usrbin_exec_PROGRAMS += pg | |
55 | dist_man_MANS += text-utils/pg.1 | |
f3e03db3 | 56 | pg_SOURCES = text-utils/pg.c |
ccf92e6d | 57 | pg_CFLAGS = $(AM_CFLAGS) $(BSD_WARN_CFLAGS) $(NCURSES_CFLAGS) $(TINFO_CFLAGS) |
2b8f22bd | 58 | pg_LDADD = $(LDADD) libcommon.la $(NCURSES_LIBS) $(TINFO_LIBS) |
53b22add KZ |
59 | endif # BUILD_PG |
60 | ||
f3e03db3 | 61 | |
53b22add KZ |
62 | if BUILD_UL |
63 | usrbin_exec_PROGRAMS += ul | |
64 | dist_man_MANS += text-utils/ul.1 | |
65 | ul_SOURCES = text-utils/ul.c | |
ccf92e6d KZ |
66 | ul_CFLAGS = $(AM_CFLAGS) |
67 | ul_LDADD = $(LDADD) | |
68 | if HAVE_TINFO | |
69 | ul_LDADD += $(TINFO_LIBS) | |
70 | ul_LDADD += $(TINFO_CFLAGS) | |
71 | else | |
72 | ul_CFLAGS += $(NCURSES_CFLAGS) | |
73 | ul_LDADD += $(NCURSES_LIBS) | |
74 | endif | |
53b22add | 75 | endif # BUILD_UL |
f3e03db3 | 76 | |
53b22add KZ |
77 | |
78 | if BUILD_MORE | |
f3e03db3 | 79 | bin_PROGRAMS += more |
f3e03db3 | 80 | dist_man_MANS += text-utils/more.1 |
53b22add | 81 | more_SOURCES = text-utils/more.c |
ccf92e6d KZ |
82 | more_CFLAGS = $(AM_CFLAGS) $(BSD_WARN_CFLAGS) |
83 | more_LDADD = $(LDADD) | |
84 | if HAVE_TINFO | |
85 | more_LDADD += $(TINFO_LIBS) | |
86 | more_LDADD += $(TINFO_CFLAGS) | |
87 | else | |
88 | more_CFLAGS += $(NCURSES_CFLAGS) | |
89 | more_LDADD += $(NCURSES_LIBS) | |
90 | endif | |
91 | ||
951666e9 KZ |
92 | check_PROGRAMS += test_more |
93 | test_more_SOURCES = $(more_SOURCES) | |
2013b33f | 94 | test_more_CFLAGS = -DTEST_PROGRAM $(more_CFLAGS) |
951666e9 KZ |
95 | test_more_LDADD = $(more_LDADD) |
96 | ||
53b22add KZ |
97 | endif # BUILD_MORE |
98 |