2014-05-21 07:09:43 -05:00
|
|
|
if BUILD_COL
|
|
|
|
usrbin_exec_PROGRAMS += col
|
|
|
|
dist_man_MANS += text-utils/col.1
|
2012-06-04 03:36:37 -05:00
|
|
|
col_SOURCES = text-utils/col.c
|
2012-07-09 09:23:51 -05:00
|
|
|
col_LDADD = $(LDADD) libcommon.la
|
2014-05-21 07:09:43 -05:00
|
|
|
endif
|
2012-05-30 08:02:33 -05:00
|
|
|
|
2014-05-21 07:09:43 -05:00
|
|
|
if BUILD_COLCRT
|
|
|
|
usrbin_exec_PROGRAMS += colcrt
|
|
|
|
dist_man_MANS += text-utils/colcrt.1
|
2012-05-30 08:02:33 -05:00
|
|
|
colcrt_SOURCES = text-utils/colcrt.c
|
2014-05-21 07:09:43 -05:00
|
|
|
endif
|
2012-05-30 08:02:33 -05:00
|
|
|
|
2014-05-21 07:09:43 -05:00
|
|
|
if BUILD_COLRM
|
|
|
|
usrbin_exec_PROGRAMS += colrm
|
|
|
|
dist_man_MANS += text-utils/colrm.1
|
2012-06-04 03:36:37 -05:00
|
|
|
colrm_SOURCES = text-utils/colrm.c
|
2012-07-09 09:23:51 -05:00
|
|
|
colrm_LDADD = $(LDADD) libcommon.la
|
2014-05-21 07:09:43 -05:00
|
|
|
endif
|
2012-05-30 08:02:33 -05:00
|
|
|
|
2014-05-21 07:09:43 -05:00
|
|
|
if BUILD_COLUMN
|
|
|
|
usrbin_exec_PROGRAMS += column
|
|
|
|
dist_man_MANS += text-utils/column.1
|
2012-06-04 03:36:37 -05:00
|
|
|
column_SOURCES = text-utils/column.c
|
2017-02-24 07:05:59 -06:00
|
|
|
column_LDADD = $(LDADD) libcommon.la libsmartcols.la
|
|
|
|
column_CFLAGS = $(AM_CFLAGS) -I$(ul_libsmartcols_incdir)
|
2014-05-21 07:09:43 -05:00
|
|
|
endif
|
2012-05-30 08:02:33 -05:00
|
|
|
|
2014-05-21 07:09:43 -05:00
|
|
|
if BUILD_HEXDUMP
|
|
|
|
usrbin_exec_PROGRAMS += hexdump
|
|
|
|
dist_man_MANS += text-utils/hexdump.1
|
2012-05-30 08:02:33 -05:00
|
|
|
hexdump_SOURCES = \
|
2013-11-08 10:13:06 -06:00
|
|
|
text-utils/hexdump-conv.c \
|
|
|
|
text-utils/hexdump-display.c \
|
2012-05-30 08:02:33 -05:00
|
|
|
text-utils/hexdump.c \
|
|
|
|
text-utils/hexdump.h \
|
2013-11-08 10:13:06 -06:00
|
|
|
text-utils/hexdump-parse.c
|
2015-02-27 06:57:34 -06:00
|
|
|
hexdump_LDADD = $(LDADD) libcommon.la libtcolors.la
|
2014-05-21 07:09:43 -05:00
|
|
|
endif
|
2012-05-30 08:02:33 -05:00
|
|
|
|
2014-05-21 07:09:43 -05:00
|
|
|
if BUILD_REV
|
|
|
|
usrbin_exec_PROGRAMS += rev
|
|
|
|
dist_man_MANS += text-utils/rev.1
|
2012-05-30 08:02:33 -05:00
|
|
|
rev_SOURCES = text-utils/rev.c
|
2014-05-21 07:09:43 -05:00
|
|
|
endif
|
2012-05-30 08:02:33 -05:00
|
|
|
|
|
|
|
if BUILD_LINE
|
|
|
|
usrbin_exec_PROGRAMS += line
|
|
|
|
line_SOURCES = text-utils/line.c
|
|
|
|
dist_man_MANS += text-utils/line.1
|
|
|
|
endif
|
|
|
|
|
2013-01-24 12:23:56 -06:00
|
|
|
if BUILD_PG
|
|
|
|
usrbin_exec_PROGRAMS += pg
|
|
|
|
dist_man_MANS += text-utils/pg.1
|
2012-05-30 08:02:33 -05:00
|
|
|
pg_SOURCES = text-utils/pg.c
|
2013-10-04 06:28:37 -05:00
|
|
|
pg_CFLAGS = $(AM_CFLAGS) $(BSD_WARN_CFLAGS) $(NCURSES_CFLAGS) $(TINFO_CFLAGS)
|
2013-09-28 23:44:43 -05:00
|
|
|
pg_LDADD = $(LDADD) libcommon.la $(NCURSES_LIBS) $(TINFO_LIBS)
|
2013-01-24 12:23:56 -06:00
|
|
|
endif # BUILD_PG
|
|
|
|
|
2012-05-30 08:02:33 -05:00
|
|
|
|
2013-01-24 12:23:56 -06:00
|
|
|
if BUILD_UL
|
|
|
|
usrbin_exec_PROGRAMS += ul
|
|
|
|
dist_man_MANS += text-utils/ul.1
|
|
|
|
ul_SOURCES = text-utils/ul.c
|
2013-10-04 06:28:37 -05:00
|
|
|
ul_CFLAGS = $(AM_CFLAGS)
|
|
|
|
ul_LDADD = $(LDADD)
|
|
|
|
if HAVE_TINFO
|
|
|
|
ul_LDADD += $(TINFO_LIBS)
|
|
|
|
ul_LDADD += $(TINFO_CFLAGS)
|
|
|
|
else
|
|
|
|
ul_CFLAGS += $(NCURSES_CFLAGS)
|
|
|
|
ul_LDADD += $(NCURSES_LIBS)
|
|
|
|
endif
|
2013-01-24 12:23:56 -06:00
|
|
|
endif # BUILD_UL
|
2012-05-30 08:02:33 -05:00
|
|
|
|
2013-01-24 12:23:56 -06:00
|
|
|
|
|
|
|
if BUILD_MORE
|
2012-05-30 08:02:33 -05:00
|
|
|
bin_PROGRAMS += more
|
|
|
|
dist_man_MANS += text-utils/more.1
|
2013-01-24 12:23:56 -06:00
|
|
|
more_SOURCES = text-utils/more.c
|
2013-10-04 06:28:37 -05:00
|
|
|
more_CFLAGS = $(AM_CFLAGS) $(BSD_WARN_CFLAGS)
|
2020-05-06 14:19:22 -05:00
|
|
|
more_LDADD = $(LDADD) $(MAGIC_LIBS) libcommon.la
|
2013-10-04 06:28:37 -05:00
|
|
|
if HAVE_TINFO
|
|
|
|
more_LDADD += $(TINFO_LIBS)
|
|
|
|
more_LDADD += $(TINFO_CFLAGS)
|
|
|
|
else
|
|
|
|
more_CFLAGS += $(NCURSES_CFLAGS)
|
|
|
|
more_LDADD += $(NCURSES_LIBS)
|
|
|
|
endif
|
|
|
|
|
2013-01-24 12:27:12 -06:00
|
|
|
check_PROGRAMS += test_more
|
|
|
|
test_more_SOURCES = $(more_SOURCES)
|
2016-02-22 20:15:23 -06:00
|
|
|
test_more_CFLAGS = -DTEST_PROGRAM $(more_CFLAGS)
|
2013-01-24 12:27:12 -06:00
|
|
|
test_more_LDADD = $(more_LDADD)
|
|
|
|
|
2013-01-24 12:23:56 -06:00
|
|
|
endif # BUILD_MORE
|
|
|
|
|