diff options
| author | Peter Wemm <peter@FreeBSD.org> | 2002-05-21 05:41:07 +0000 |
|---|---|---|
| committer | Peter Wemm <peter@FreeBSD.org> | 2002-05-21 05:41:07 +0000 |
| commit | c8930be1de6c17262982a9b6730ed386e9ed7855 (patch) | |
| tree | 25fcb45cc9c6c29857bf4dafdf15c03ade82bf2f /lib/ncurses | |
| parent | e43996e59adcfa2a7409eaef4c96546ce8b75dbb (diff) | |
Notes
Diffstat (limited to 'lib/ncurses')
| -rw-r--r-- | lib/ncurses/panel/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/lib/ncurses/panel/Makefile b/lib/ncurses/panel/Makefile index f9733db4aeeb..5c1f6010dda2 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 \ |
