Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libcurses Always autogen fileio.h.
details: https://anonhg.NetBSD.org/src/rev/22e7bd03a5b0
branches: trunk
changeset: 985757:22e7bd03a5b0
user: rin <rin%NetBSD.org@localhost>
date: Mon Sep 06 15:17:25 2021 +0000
description:
Always autogen fileio.h.
Bump CURSES_LIB_MAJOR.CURSES_LIB_MINOR to 9.0 belatedly.
diffstat:
lib/libcurses/Makefile | 10 +++++++---
lib/libcurses/fileio.h | 8 --------
lib/libcurses/shlib_version | 3 +--
3 files changed, 8 insertions(+), 13 deletions(-)
diffs (54 lines):
diff -r cc87e1368d16 -r 22e7bd03a5b0 lib/libcurses/Makefile
--- a/lib/libcurses/Makefile Mon Sep 06 14:03:17 2021 +0000
+++ b/lib/libcurses/Makefile Mon Sep 06 15:17:25 2021 +0000
@@ -1,11 +1,11 @@
-# $NetBSD: Makefile,v 1.95 2021/06/27 16:24:52 christos Exp $
+# $NetBSD: Makefile,v 1.96 2021/09/06 15:17:25 rin Exp $
# @(#)Makefile 8.2 (Berkeley) 1/2/94
.include <bsd.own.mk>
WARNS= 2
-CPPFLAGS+=-I${.CURDIR} -I${NETBSDSRCDIR}/lib/libterminfo
+CPPFLAGS+=-I${.CURDIR} -I${NETBSDSRCDIR}/lib/libterminfo -I.
.if defined(DEBUG_CURSES)
CPPFLAGS+=-g -DDEBUG
.endif
@@ -215,8 +215,12 @@
SUBDIR.roff+= PSD.doc
+DPSRCS+= fileio.h
+CLEANFILES+= fileio.h
+
fileio.h: shlib_version genfileioh.awk
- ${TOOL_AWK} -f ${.CURDIR}/genfileioh.awk < ${.CURDIR}/shlib_version > ${.CURDIR}/fileio.h
+ ${TOOL_AWK} -f ${.CURDIR}/genfileioh.awk < ${.CURDIR}/shlib_version \
+ > ${.TARGET}
.include <bsd.lib.mk>
.include <bsd.subdir.mk>
diff -r cc87e1368d16 -r 22e7bd03a5b0 lib/libcurses/fileio.h
--- a/lib/libcurses/fileio.h Mon Sep 06 14:03:17 2021 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,8 +0,0 @@
-/*
- * Do not edit! Automatically generated file:
- * from: NetBSD: shlib_version,v 1.43 2018/11/16 10:12:00 blymn Exp
- * by : NetBSD: genfileioh.awk,v 1.2 2008/05/02 11:13:02 martin Exp
- */
-
-#define CURSES_LIB_MAJOR 8
-#define CURSES_LIB_MINOR 2
diff -r cc87e1368d16 -r 22e7bd03a5b0 lib/libcurses/shlib_version
--- a/lib/libcurses/shlib_version Mon Sep 06 14:03:17 2021 +0000
+++ b/lib/libcurses/shlib_version Mon Sep 06 15:17:25 2021 +0000
@@ -1,6 +1,5 @@
-# $NetBSD: shlib_version,v 1.45 2020/03/13 15:19:24 roy Exp $
+# $NetBSD: shlib_version,v 1.46 2021/09/06 15:17:25 rin Exp $
# Remember to update distrib/sets/lists/base/shl.* when changing
-# Remember to run `make fileio.h` when changing
# Remember to increment the major numbers of libform, libmenu and
# libpanel when the libcurses major number increments.
#
Home |
Main Index |
Thread Index |
Old Index