aboutsummaryrefslogtreecommitdiff
path: root/lib/ncurses
diff options
context:
space:
mode:
authorRodney W. Grimes <rgrimes@FreeBSD.org>2000-01-14 07:57:47 +0000
committerRodney W. Grimes <rgrimes@FreeBSD.org>2000-01-14 07:57:47 +0000
commitd05257b0f2bad8d76a4e0bb3cae2bdacb08ff947 (patch)
treeeb6fb1d114d443d91bf0dfbd4b2abce399113c75 /lib/ncurses
parentfccf86c1a443ed9e2359c8a05e6ec462078e5629 (diff)
downloadsrc-d05257b0f2bad8d76a4e0bb3cae2bdacb08ff947.tar.gz
src-d05257b0f2bad8d76a4e0bb3cae2bdacb08ff947.zip
Replace beforeinstall target with new variables used by .mk system.
Reviewed by: marcel, and make world
Notes
Notes: svn path=/head/; revision=55955
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 83dfbc6a94d2..aeb6e1d01974 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 11fb19de91de..e6ed97e0db7d 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 f8788172aad6..cbe2ebbe58f1 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>