summaryrefslogtreecommitdiffstats
path: root/lib/libpanel
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2002-05-21 05:41:07 +0000
committerpeter <peter@FreeBSD.org>2002-05-21 05:41:07 +0000
commitd8d8936d7d3dd961e21548c5b796821a96a0f564 (patch)
tree25fcb45cc9c6c29857bf4dafdf15c03ade82bf2f /lib/libpanel
parent6c92d517b89180663cac47a6530789d1b2d28721 (diff)
downloadFreeBSD-src-d8d8936d7d3dd961e21548c5b796821a96a0f564.zip
FreeBSD-src-d8d8936d7d3dd961e21548c5b796821a96a0f564.tar.gz
Initial update of bmake glue for ncurses-5.2-20020518
Diffstat (limited to 'lib/libpanel')
-rw-r--r--lib/libpanel/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/lib/libpanel/Makefile b/lib/libpanel/Makefile
index f9733db..5c1f601 100644
--- a/lib/libpanel/Makefile
+++ b/lib/libpanel/Makefile
@@ -16,8 +16,13 @@ SRCS= ncurses_def.h \
INCS= ${NCURSES}/panel/panel.h
CLEANFILES+= ncurses_def.h
-CFLAGS+= -I. -I${.CURDIR}/../libncurses -I${NCURSES}/panel -I${NCURSES}/include \
- -Wall -DNDEBUG -DHAVE_CONFIG_H
+CFLAGS+= -I.
+.if exists(${.OBJDIR}/../libncurses)
+CFLAGS+= -I${.OBJDIR}/../libncurses
+.endif
+CFLAGS+= -I${.CURDIR}/../libncurses
+CFLAGS+= -I${NCURSES}/panel -I${NCURSES}/include -I${NCURSES}/ncurses \
+ -Wall -DNDEBUG -DHAVE_CONFIG_H
ncurses_def.h: MKncurses_def.sh ncurses_defs
AWK=${AWK} sh ${NCURSES}/include/MKncurses_def.sh \
OpenPOWER on IntegriCloud