SHARED_LDADD --> LDADD

cmp redirection removed
This commit is contained in:
Andrey A. Chernov 1994-10-12 01:57:56 +00:00
parent ad37120909
commit 2041b760c8
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=3525

View File

@ -1,9 +1,9 @@
# From: @(#)Makefile 8.2 (Berkeley) 1/2/94
# $Id: Makefile,v 1.2 1994/08/05 01:38:32 wollman Exp $
# $Id: Makefile,v 1.3 1994/08/28 21:48:11 ache Exp $
CFLAGS+=#-DTFILE=\"/dev/ttyp0\"
CFLAGS+=-D_CURSES_PRIVATE -I${.CURDIR}
SHARED_LDADD+= -ltermcap
LDADD+= -ltermcap
LIB= curses
SRCS= addbytes.c addch.c addnstr.c box.c clear.c clrtobot.c clrtoeol.c \
cr_put.c ctrace.c cur_hash.c curses.c delch.c deleteln.c delwin.c \
@ -14,8 +14,7 @@ SRCS= addbytes.c addch.c addnstr.c box.c clear.c clrtobot.c clrtoeol.c \
MAN3= curses.3
beforeinstall:
-cd ${.CURDIR}; cmp -s curses.h ${DESTDIR}/usr/include/curses.h > \
/dev/null 2>&1 || \
-cd ${.CURDIR}; cmp -s curses.h ${DESTDIR}/usr/include/curses.h || \
install -c -o ${BINOWN} -g ${BINGRP} -m 444 curses.h \
${DESTDIR}/usr/include