1# $FreeBSD: src/usr.bin/less/Makefile,v 1.4.2.5 2003/02/02 10:04:50 johan Exp $ 2 3PROG= less 4SRCS= main.c screen.c brac.c ch.c charset.c cmdbuf.c \ 5 command.c cvt.c decode.c edit.c filename.c forwback.c \ 6 help.c ifile.c input.c jump.c line.c linenum.c \ 7 lsystem.c mark.c optfunc.c option.c opttbl.c os.c \ 8 output.c pattern.c position.c prompt.c search.c signal.c \ 9 tags.c ttyin.c version.c 10CFLAGS+= -I${.CURDIR} -DSYSDIR=\"/etc\" 11DPADD= ${LIBNCURSES} 12LDADD= -lprivate_ncurses 13 14CFLAGS+= -I${_SHLIBDIRPREFIX}/usr/include/priv/ncurses 15LDFLAGS+= ${PRIVATELIB_LDFLAGS} 16 17SCRIPTS= lesspipe.sh 18SCRIPTSNAME= lesspipe.sh 19 20LINKS= ${BINDIR}/less ${BINDIR}/more 21MLINKS= less.1 more.1 22CLEANFILES= less.1 23 24WARNS?= 2 25 26.include <Makefile.common> 27.include <bsd.prog.mk> 28