1993-11-09 08:07:24 +03:00
|
|
|
# from: @(#)Makefile 5.6 (Berkeley) 3/12/91
|
1993-11-11 04:29:52 +03:00
|
|
|
# $Id: Makefile,v 1.5 1993/11/11 01:30:28 jtc Exp $
|
1993-03-21 12:45:37 +03:00
|
|
|
|
|
|
|
PROG= more
|
1993-11-09 05:59:05 +03:00
|
|
|
CFLAGS+=-I${.CURDIR} -DREGEX
|
|
|
|
SRCS= ch.c command.c decode.c filename.c help.c input.c line.c \
|
|
|
|
linenum.c main.c option.c os.c output.c position.c prim.c \
|
|
|
|
screen.c signal.c tags.c ttyin.c
|
1993-11-11 04:29:52 +03:00
|
|
|
LDADD+= -ltermcap
|
|
|
|
DPADD+= ${LIBTERM}
|
1993-03-21 12:45:37 +03:00
|
|
|
MLINKS= more.1 page.1
|
|
|
|
LINKS= ${BINDIR}/more ${BINDIR}/page
|
|
|
|
|
|
|
|
beforeinstall:
|
|
|
|
install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/more.help \
|
1993-11-09 05:59:05 +03:00
|
|
|
${DESTDIR}/usr/share/misc
|
1993-03-21 12:45:37 +03:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|