diff options
author | peter <peter@FreeBSD.org> | 2002-05-21 05:41:07 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2002-05-21 05:41:07 +0000 |
commit | d8d8936d7d3dd961e21548c5b796821a96a0f564 (patch) | |
tree | 25fcb45cc9c6c29857bf4dafdf15c03ade82bf2f /lib | |
parent | 6c92d517b89180663cac47a6530789d1b2d28721 (diff) | |
download | FreeBSD-src-d8d8936d7d3dd961e21548c5b796821a96a0f564.zip FreeBSD-src-d8d8936d7d3dd961e21548c5b796821a96a0f564.tar.gz |
Initial update of bmake glue for ncurses-5.2-20020518
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libpanel/Makefile | 9 | ||||
-rw-r--r-- | lib/ncurses/panel/Makefile | 9 |
2 files changed, 14 insertions, 4 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 \ 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 \ |