summaryrefslogtreecommitdiffstats
path: root/lib/ncurses
diff options
context:
space:
mode:
authorrgrimes <rgrimes@FreeBSD.org>2000-01-14 07:57:47 +0000
committerrgrimes <rgrimes@FreeBSD.org>2000-01-14 07:57:47 +0000
commitc127d0e61e914c6951d98986385ccb730b115cf9 (patch)
treee0bf2775a4898eda7838b05b1a539892d8ea781c /lib/ncurses
parent2801ff847ca9459d227f155a4dedd395b7d35a30 (diff)
downloadFreeBSD-src-c127d0e61e914c6951d98986385ccb730b115cf9.zip
FreeBSD-src-c127d0e61e914c6951d98986385ccb730b115cf9.tar.gz
Replace beforeinstall target with new variables used by .mk system.
Reviewed by: marcel, and make world
Diffstat (limited to 'lib/ncurses')
-rw-r--r--lib/ncurses/form/Makefile5
-rw-r--r--lib/ncurses/menu/Makefile7
-rw-r--r--lib/ncurses/panel/Makefile5
3 files changed, 3 insertions, 14 deletions
diff --git a/lib/ncurses/form/Makefile b/lib/ncurses/form/Makefile
index 83dfbc6..aeb6e1d 100644
--- a/lib/ncurses/form/Makefile
+++ b/lib/ncurses/form/Makefile
@@ -12,12 +12,9 @@ SRCS= fty_regex.c fty_num.c fty_int.c fty_ipv4.c fty_enum.c fty_alpha.c \
fty_alnum.c \
frm_data.c frm_win.c frm_user.c frm_opts.c frm_hook.c frm_req_name.c \
fld_user.c fld_type.c fld_stat.c fld_def.c frm_def.c frm_driver.c
+INCS= ${NCURSES}/form/form.h
CFLAGS+=-I${.CURDIR}/../libncurses -I${NCURSES}/form -I${NCURSES}/menu \
-I${NCURSES}/include -Wall -DNDEBUG -DHAVE_CONFIG_H
-beforeinstall:
- ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 \
- ${NCURSES}/form/form.h ${DESTDIR}/usr/include
-
.include <bsd.lib.mk>
diff --git a/lib/ncurses/menu/Makefile b/lib/ncurses/menu/Makefile
index 11fb19d..e6ed97e 100644
--- a/lib/ncurses/menu/Makefile
+++ b/lib/ncurses/menu/Makefile
@@ -11,14 +11,9 @@ SRCS= m_attribs.c m_cursor.c m_driver.c m_format.c m_global.c m_hook.c \
m_item_cur.c m_item_nam.c m_item_new.c m_item_opt.c m_item_use.c \
m_item_val.c m_item_vis.c m_items.c m_new.c m_opts.c m_post.c \
m_req_name.c m_spacing.c m_userptr.c m_win.c
+INCS= ${NCURSES}/menu/menu.h ${NCURSES}/menu/eti.h
CFLAGS+= -I${.CURDIR}/../libncurses -I${NCURSES}/menu -I${NCURSES}/include \
-Wall -DNDEBUG -DHAVE_CONFIG_H
-beforeinstall:
-.for i in menu.h eti.h
- ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${NCURSES}/menu/$i \
- ${DESTDIR}/usr/include
-.endfor
-
.include <bsd.lib.mk>
diff --git a/lib/ncurses/panel/Makefile b/lib/ncurses/panel/Makefile
index f878817..cbe2ebb 100644
--- a/lib/ncurses/panel/Makefile
+++ b/lib/ncurses/panel/Makefile
@@ -8,12 +8,9 @@ NCURSES=${.CURDIR}/../../contrib/ncurses
LIB= panel
SRCS= panel.c
+INCS= ${NCURSES}/panel/panel.h
CFLAGS+= -I${.CURDIR}/../libncurses -I${NCURSES}/panel -I${NCURSES}/include \
-Wall -DNDEBUG -DHAVE_CONFIG_H
-beforeinstall:
- ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 \
- ${NCURSES}/panel/panel.h ${DESTDIR}/usr/include
-
.include <bsd.lib.mk>
OpenPOWER on IntegriCloud