From d8d8936d7d3dd961e21548c5b796821a96a0f564 Mon Sep 17 00:00:00 2001 From: peter Date: Tue, 21 May 2002 05:41:07 +0000 Subject: Initial update of bmake glue for ncurses-5.2-20020518 --- lib/ncurses/panel/Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'lib/ncurses') diff --git a/lib/ncurses/panel/Makefile b/lib/ncurses/panel/Makefile index f9733db..5c1f601 100644 --- a/lib/ncurses/panel/Makefile +++ b/lib/ncurses/panel/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 \ -- cgit v1.1