summaryrefslogtreecommitdiff
path: root/lib/libcurses
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2012-12-21 08:50:28 +0000
committerMarc Espie <espie@cvs.openbsd.org>2012-12-21 08:50:28 +0000
commit3383500a588173e0d4315551d05a352e39861694 (patch)
treeed70c12c0fe75d66f0c03ae7ca2eb576637f270c /lib/libcurses
parenta35e820400998b878e37bfd59b64a8525b00e462 (diff)
remove makefile hacks that are no longer needed with t1 t2: working properly
okay krw@
Diffstat (limited to 'lib/libcurses')
-rw-r--r--lib/libcurses/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/lib/libcurses/Makefile b/lib/libcurses/Makefile
index 934e5f9f0c3..7a2e4ce4275 100644
--- a/lib/libcurses/Makefile
+++ b/lib/libcurses/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.62 2012/08/02 13:38:38 okan Exp $
+# $OpenBSD: Makefile,v 1.63 2012/12/21 08:50:27 espie Exp $
# Uncomment this to enable tracing in libcurses
#CURSESTRACE=-DTRACE
@@ -269,7 +269,7 @@ MLINKS+= curs_inwstr.3 inwstr.3 curs_inwstr.3 innwstr.3 \
GENERATED= init_keytry.h codes.c comp_captab.c expanded.c fallback.c \
keys.list lib_gen.c lib_keyname.c names.c unctrl.c make_hash make_keys
-CLEANFILES+= ${GENERATED} stamp_namebuild term.5 terminfo.5 curses.3 \
+CLEANFILES+= ${GENERATED} term.5 terminfo.5 curses.3 \
curs_addch.3 curs_attr.3 curs_getch.3 curs_inch.3 curs_mouse.3
.if make(install)
@@ -323,14 +323,12 @@ lib_keyname.c: keys.list ${.CURDIR}/base/MKkeyname.awk
${AWK} -f ${.CURDIR}/base/MKkeyname.awk bigstrings=1 \
keys.list > ${.TARGET}
-names.c codes.c: stamp_namebuild
-
-stamp_namebuild: ${.CURDIR}/tinfo/MKnames.awk ${.CURDIR}/tinfo/MKcodes.awk
+names.c: ${.CURDIR}/tinfo/MKnames.awk
${AWK} -f ${.CURDIR}/tinfo/MKnames.awk \
${.CURDIR}/Caps > names.c
+codes.c: ${.CURDIR}/tinfo/MKcodes.awk
${AWK} -f ${.CURDIR}/tinfo/MKcodes.awk \
bigstrings=1 ${.CURDIR}/Caps > codes.c
- touch $@
unctrl.c: ${.CURDIR}/base/MKunctrl.awk
echo | ${AWK} -f ${.CURDIR}/base/MKunctrl.awk bigstrings=1 > ${.TARGET}