diff options
author | bde <bde@FreeBSD.org> | 1998-03-20 16:50:08 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1998-03-20 16:50:08 +0000 |
commit | 44d8612890e82dfa6061e6d64f386946ca6c7f46 (patch) | |
tree | 3433ab13dfbc7070a9578db21663039a4921091e /lib/libncurses | |
parent | e0eeac5f43e36aeff5c3f847f5c901b68a7ca6d9 (diff) | |
download | FreeBSD-src-44d8612890e82dfa6061e6d64f386946ca6c7f46.zip FreeBSD-src-44d8612890e82dfa6061e6d64f386946ca6c7f46.tar.gz |
Renamed the generated include file keys.tries to keys.tries.h so
that it can be put in SRCS for dependency generation to work
properly. Don't use beforedepend, as usual.
Diffstat (limited to 'lib/libncurses')
-rw-r--r-- | lib/libncurses/Makefile | 16 | ||||
-rw-r--r-- | lib/libncurses/lib_options.c | 4 |
2 files changed, 8 insertions, 12 deletions
diff --git a/lib/libncurses/Makefile b/lib/libncurses/Makefile index b62856a..949d617 100644 --- a/lib/libncurses/Makefile +++ b/lib/libncurses/Makefile @@ -1,5 +1,5 @@ # Makefile for ncurses -# $Id: Makefile,v 1.23 1997/08/25 07:41:13 ache Exp $ +# $Id: Makefile,v 1.24 1997/10/20 17:53:54 ache Exp $ LIB= ncurses SHLIB_MAJOR= 3 @@ -7,7 +7,8 @@ SHLIB_MINOR= 1 SRCS= lib_kernel.c lib_pad.c lib_bkgd.c \ lib_unctrl.c lib_raw.c lib_vidattr.c lib_trace.c lib_beep.c \ lib_doupdate.c lib_refresh.c lib_initscr.c lib_newwin.c lib_addch.c \ - lib_addstr.c lib_scroll.c lib_clreol.c lib_touch.c lib_mvcur.c lib_keyname.c\ + lib_addstr.c lib_scroll.c lib_clreol.c lib_touch.c lib_mvcur.c \ + lib_keyname.c keys.tries.h \ lib_delwin.c lib_endwin.c lib_clrbot.c lib_move.c lib_printw.c \ lib_scanw.c lib_erase.c lib_getch.c lib_options.c lib_acs.c lib_slk.c\ lib_box.c lib_clear.c lib_delch.c lib_insch.c lib_instr.c \ @@ -19,9 +20,7 @@ CFLAGS+= -I. -I${.CURDIR} -Wall -DMYTINFO #-DTRACE DPADD= ${LIBMYTINFO} LDADD= -lmytinfo -CLEANFILES+= lib_keyname.c keys.tries - -beforedepend: keys.tries +CLEANFILES+= lib_keyname.c keys.tries.h beforeinstall: ${INSTALL} -C -m 444 -o $(BINOWN) -g $(BINGRP) ${.CURDIR}/unctrl.h \ @@ -29,11 +28,8 @@ beforeinstall: ${INSTALL} -C -m 444 -o $(BINOWN) -g $(BINGRP) ${.CURDIR}/curses.h \ ${DESTDIR}/usr/include/ncurses.h -keys.tries: ${.CURDIR}/keys.list ${.CURDIR}/MKkeys.awk - awk -f ${.CURDIR}/MKkeys.awk ${.CURDIR}/keys.list > keys.tries - -# in case you don't run make depend -lib_options.o lib_options.so lib_options.po: keys.tries +keys.tries.h: ${.CURDIR}/keys.list ${.CURDIR}/MKkeys.awk + awk -f ${.CURDIR}/MKkeys.awk ${.CURDIR}/keys.list > keys.tries.h lib_keyname.c: ${.CURDIR}/keys.list ${.CURDIR}/MKkeyname.awk awk -f ${.CURDIR}/MKkeyname.awk ${.CURDIR}/keys.list > lib_keyname.c diff --git a/lib/libncurses/lib_options.c b/lib/libncurses/lib_options.c index 7aefe96..df2449b 100644 --- a/lib/libncurses/lib_options.c +++ b/lib/libncurses/lib_options.c @@ -147,9 +147,9 @@ static struct try *newtry; static void init_keytry() { - newtry = NULL; + newtry = NULL; -#include "keys.tries" +#include "keys.tries.h" SP->_keytry = newtry; } |