From d05257b0f2bad8d76a4e0bb3cae2bdacb08ff947 Mon Sep 17 00:00:00 2001 From: "Rodney W. Grimes" Date: Fri, 14 Jan 2000 07:57:47 +0000 Subject: Replace beforeinstall target with new variables used by .mk system. Reviewed by: marcel, and make world --- lib/ncurses/form/Makefile | 5 +---- lib/ncurses/menu/Makefile | 7 +------ lib/ncurses/panel/Makefile | 5 +---- 3 files changed, 3 insertions(+), 14 deletions(-) (limited to 'lib/ncurses') 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 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 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 -- cgit v1.2.3