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