aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>2002-05-21 07:08:30 +0000
committerPeter Wemm <peter@FreeBSD.org>2002-05-21 07:08:30 +0000
commit42d4025c742786e78a80c755d1f1fcb7c5262311 (patch)
tree69d7a366de7df6ee65533a5eb7017deed9bb3b87
parent3e1a1dd23d801af32280b025056b8d7c10366661 (diff)
Notes
-rw-r--r--lib/libform/Makefile6
-rw-r--r--lib/libmenu/Makefile6
-rw-r--r--lib/ncurses/form/Makefile6
-rw-r--r--lib/ncurses/menu/Makefile6
4 files changed, 20 insertions, 4 deletions
diff --git a/lib/libform/Makefile b/lib/libform/Makefile
index 308e97be16c97..7c225887fd9e1 100644
--- a/lib/libform/Makefile
+++ b/lib/libform/Makefile
@@ -21,7 +21,11 @@ SRCS= ncurses_def.h \
INCS= ${NCURSES}/form/form.h
CLEANFILES+= ncurses_def.h
-CFLAGS+= -I. -I${.CURDIR}/../libncurses -I${NCURSES}/form -I${NCURSES}/menu \
+CFLAGS+= -I.
+.if exists(${.OBJDIR}/../libncurses)
+CFLAGS+= -I${.OBJDIR}/../libncurses
+.endif
+CFLAGS+=-I${.CURDIR}/../libncurses -I${NCURSES}/form -I${NCURSES}/menu \
-I${NCURSES}/include -Wall -DNDEBUG -DHAVE_CONFIG_H
ncurses_def.h: MKncurses_def.sh ncurses_defs
diff --git a/lib/libmenu/Makefile b/lib/libmenu/Makefile
index 2ba121162eeb5..0c3088bd6db40 100644
--- a/lib/libmenu/Makefile
+++ b/lib/libmenu/Makefile
@@ -18,7 +18,11 @@ SRCS= ncurses_def.h \
INCS= ${NCURSES}/menu/menu.h ${NCURSES}/menu/eti.h
CLEANFILES+= ncurses_def.h
-CFLAGS+= -I. -I${.CURDIR}/../libncurses -I${NCURSES}/menu -I${NCURSES}/include \
+CFLAGS+= -I.
+.if exists(${.OBJDIR}/../libncurses)
+CFLAGS+= -I${.OBJDIR}/../libncurses
+.endif
+CFLAGS+=-I${.CURDIR}/../libncurses -I${NCURSES}/menu -I${NCURSES}/include \
-Wall -DNDEBUG -DHAVE_CONFIG_H
ncurses_def.h: MKncurses_def.sh ncurses_defs
diff --git a/lib/ncurses/form/Makefile b/lib/ncurses/form/Makefile
index 308e97be16c97..7c225887fd9e1 100644
--- a/lib/ncurses/form/Makefile
+++ b/lib/ncurses/form/Makefile
@@ -21,7 +21,11 @@ SRCS= ncurses_def.h \
INCS= ${NCURSES}/form/form.h
CLEANFILES+= ncurses_def.h
-CFLAGS+= -I. -I${.CURDIR}/../libncurses -I${NCURSES}/form -I${NCURSES}/menu \
+CFLAGS+= -I.
+.if exists(${.OBJDIR}/../libncurses)
+CFLAGS+= -I${.OBJDIR}/../libncurses
+.endif
+CFLAGS+=-I${.CURDIR}/../libncurses -I${NCURSES}/form -I${NCURSES}/menu \
-I${NCURSES}/include -Wall -DNDEBUG -DHAVE_CONFIG_H
ncurses_def.h: MKncurses_def.sh ncurses_defs
diff --git a/lib/ncurses/menu/Makefile b/lib/ncurses/menu/Makefile
index 2ba121162eeb5..0c3088bd6db40 100644
--- a/lib/ncurses/menu/Makefile
+++ b/lib/ncurses/menu/Makefile
@@ -18,7 +18,11 @@ SRCS= ncurses_def.h \
INCS= ${NCURSES}/menu/menu.h ${NCURSES}/menu/eti.h
CLEANFILES+= ncurses_def.h
-CFLAGS+= -I. -I${.CURDIR}/../libncurses -I${NCURSES}/menu -I${NCURSES}/include \
+CFLAGS+= -I.
+.if exists(${.OBJDIR}/../libncurses)
+CFLAGS+= -I${.OBJDIR}/../libncurses
+.endif
+CFLAGS+=-I${.CURDIR}/../libncurses -I${NCURSES}/menu -I${NCURSES}/include \
-Wall -DNDEBUG -DHAVE_CONFIG_H
ncurses_def.h: MKncurses_def.sh ncurses_defs