summaryrefslogblamecommitdiffstats
path: root/text-utils/Makefile.am
blob: b715aafa6f6f06bd169e5845874b0f3c4d557c79 (plain) (tree)
1
2
3
4
5
6
7
8
9
10

                                                
                                                                
 

                                                      

                                                

                                                    
                                                                  
                                                        
 

                                                    





                                                                       


                   
                             

                    
                                 

                  


                           
     
                                 



                      
                       
     
     
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 = hexdump.c conv.c display.c hexsyntax.c parse.c \
		  hexdump.h $(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