Remove -I${.CURDIR}, as we now use system's regex.h
[unix-history] / usr.bin / more / Makefile
CommitLineData
2ec5f51d 1# @(#)Makefile 5.6 (Berkeley) 3/12/91
15637ed4
RG
2
3PROG= more
9368ffc5
AM
4CFLAGS+=-I${.CURDIR} -DREGEX -DHAVE_STRING_H=1
5SRCS= ch.c command.c decode.c filename.c help.c input.c line.c \
6 linenum.c main.c option.c os.c output.c position.c prim.c \
7 screen.c signal.c tags.c ttyin.c regex.c
af6e41cd 8DPADD= ${LIBTERM}
1321b036 9LDADD= -ltermcap
af6e41cd
RM
10MLINKS= more.1 page.1
11LINKS= ${BINDIR}/more ${BINDIR}/page
15637ed4
RG
12
13beforeinstall:
14 install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/more.help \
2ec5f51d 15 ${DESTDIR}/usr/share/misc
15637ed4
RG
16
17.include <bsd.prog.mk>