1993-11-09 05:59:05 +03:00
|
|
|
# @(#)Makefile 5.6 (Berkeley) 3/12/91
|
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
|
|
|
|
LDADD+= -ltermcap -lgnuregex
|
|
|
|
DPADD+= ${LIBTERM} /usr/lib/libgnuregex.a
|
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>
|