Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/less Add makefiles to build the new version of ...



details:   https://anonhg.NetBSD.org/src/rev/944c0b18ebc3
branches:  trunk
changeset: 766891:944c0b18ebc3
user:      tron <tron%NetBSD.org@localhost>
date:      Sun Jul 03 18:02:00 2011 +0000

description:
Add makefiles to build the new version of "less".

diffstat:

 external/bsd/less/Makefile              |   7 +++++++
 external/bsd/less/Makefile.inc          |   4 ++++
 external/bsd/less/bin/Makefile          |   7 +++++++
 external/bsd/less/bin/Makefile.inc      |   7 +++++++
 external/bsd/less/bin/less/Makefile     |  17 +++++++++++++++++
 external/bsd/less/bin/lessecho/Makefile |   9 +++++++++
 external/bsd/less/bin/lesskey/Makefile  |  12 ++++++++++++
 7 files changed, 63 insertions(+), 0 deletions(-)

diffs (91 lines):

diff -r b283dbbae66b -r 944c0b18ebc3 external/bsd/less/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/bsd/less/Makefile        Sun Jul 03 18:02:00 2011 +0000
@@ -0,0 +1,7 @@
+#      $NetBSD: Makefile,v 1.1 2011/07/03 18:02:00 tron Exp $
+
+.include <bsd.own.mk>
+
+SUBDIR=        bin
+
+.include <bsd.subdir.mk>
diff -r b283dbbae66b -r 944c0b18ebc3 external/bsd/less/Makefile.inc
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/bsd/less/Makefile.inc    Sun Jul 03 18:02:00 2011 +0000
@@ -0,0 +1,4 @@
+#      $NetBSD: Makefile.inc,v 1.1 2011/07/03 18:02:00 tron Exp $
+
+LESS_DISTDIR=  ${NETBSDSRCDIR}/external/bsd/less/dist
+.PATH:         ${LESS_DISTDIR}
diff -r b283dbbae66b -r 944c0b18ebc3 external/bsd/less/bin/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/bsd/less/bin/Makefile    Sun Jul 03 18:02:00 2011 +0000
@@ -0,0 +1,7 @@
+#      $NetBSD: Makefile,v 1.1 2011/07/03 18:02:01 tron Exp $
+
+.include <bsd.own.mk>
+
+SUBDIR=        less lessecho lesskey
+
+.include <bsd.subdir.mk>
diff -r b283dbbae66b -r 944c0b18ebc3 external/bsd/less/bin/Makefile.inc
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/bsd/less/bin/Makefile.inc        Sun Jul 03 18:02:00 2011 +0000
@@ -0,0 +1,7 @@
+# $NetBSD: Makefile.inc,v 1.1 2011/07/03 18:02:01 tron Exp $
+
+.include "../Makefile.inc"
+
+BINDIR=                /usr/bin
+
+CPPFLAGS+=     -I${LESS_DISTDIR} -DBINDIR=\"${BINDIR}\" -DSYSDIR=\"/etc\"
diff -r b283dbbae66b -r 944c0b18ebc3 external/bsd/less/bin/less/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/bsd/less/bin/less/Makefile       Sun Jul 03 18:02:00 2011 +0000
@@ -0,0 +1,17 @@
+#      $NetBSD: Makefile,v 1.1 2011/07/03 18:02:01 tron Exp $
+
+.include <bsd.own.mk>
+
+PROG=  less
+
+SRCS=  main.c screen.c brac.c ch.c charset.c cmdbuf.c \
+       command.c cvt.c decode.c edit.c filename.c forwback.c \
+       help.c ifile.c input.c jump.c line.c linenum.c \
+       lsystem.c mark.c optfunc.c option.c opttbl.c os.c \
+       output.c pattern.c position.c prompt.c search.c signal.c \
+       tags.c ttyin.c version.c  
+
+LDADD+=        -lcurses -ltermcap
+DPADD+=        ${LIBCURSES}
+
+.include "bsd.prog.mk"
diff -r b283dbbae66b -r 944c0b18ebc3 external/bsd/less/bin/lessecho/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/bsd/less/bin/lessecho/Makefile   Sun Jul 03 18:02:00 2011 +0000
@@ -0,0 +1,9 @@
+#      $NetBSD: Makefile,v 1.1 2011/07/03 18:02:01 tron Exp $
+
+.include <bsd.own.mk>
+
+PROG=  lessecho
+
+SRCS=  lessecho version.c  
+
+.include "bsd.prog.mk"
diff -r b283dbbae66b -r 944c0b18ebc3 external/bsd/less/bin/lesskey/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/bsd/less/bin/lesskey/Makefile    Sun Jul 03 18:02:00 2011 +0000
@@ -0,0 +1,12 @@
+#      $NetBSD: Makefile,v 1.1 2011/07/03 18:02:01 tron Exp $
+
+.include <bsd.own.mk>
+
+PROG=  lesskey
+
+SRCS=  lesskey version.c  
+
+LDADD+=        -ltermcap
+DPADD+=        ${LIBTERM}
+
+.include "bsd.prog.mk"



Home | Main Index | Thread Index | Old Index