From 622683f61541ff205c842307dbd37810f2391956 Mon Sep 17 00:00:00 2001 From: ru Date: Fri, 14 Sep 2001 15:27:51 +0000 Subject: Unbreak build-tools -- build and use up-to-date ${HEADERS}. These might not be present in /usr/include, or they may be incompatible with the version we are building (for library upgrades/downgrades). This stopped the RELENG_4 buildworld on a -CURRENT box. Well, this only fixes the issue if MFC'ed. :-) --- lib/libncurses/Makefile | 4 ++-- lib/ncurses/ncurses/Makefile | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/libncurses/Makefile b/lib/libncurses/Makefile index 38fb526..f73af6c 100644 --- a/lib/libncurses/Makefile +++ b/lib/libncurses/Makefile @@ -329,10 +329,10 @@ term.h: MKterm.h.awk edit_cfg.sh Caps # Build tools build-tools: make_hash make_keys -make_keys: make_keys.c names.c curses.h ncurses_def.h +make_keys: make_keys.c names.c ncurses_def.h ${HEADERS} ${CC} -o $@ ${CFLAGS} ${NCURSES}/ncurses/tinfo/make_keys.c -make_hash: comp_hash.c hashsize.h curses.h ncurses_def.h +make_hash: comp_hash.c hashsize.h ncurses_def.h ${HEADERS} ${CC} -o $@ ${CFLAGS} -DMAIN_PROGRAM \ ${NCURSES}/ncurses/tinfo/comp_hash.c diff --git a/lib/ncurses/ncurses/Makefile b/lib/ncurses/ncurses/Makefile index 38fb526..f73af6c 100644 --- a/lib/ncurses/ncurses/Makefile +++ b/lib/ncurses/ncurses/Makefile @@ -329,10 +329,10 @@ term.h: MKterm.h.awk edit_cfg.sh Caps # Build tools build-tools: make_hash make_keys -make_keys: make_keys.c names.c curses.h ncurses_def.h +make_keys: make_keys.c names.c ncurses_def.h ${HEADERS} ${CC} -o $@ ${CFLAGS} ${NCURSES}/ncurses/tinfo/make_keys.c -make_hash: comp_hash.c hashsize.h curses.h ncurses_def.h +make_hash: comp_hash.c hashsize.h ncurses_def.h ${HEADERS} ${CC} -o $@ ${CFLAGS} -DMAIN_PROGRAM \ ${NCURSES}/ncurses/tinfo/comp_hash.c -- cgit v1.1