Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/ctags Make this compilable as a host tool.



details:   https://anonhg.NetBSD.org/src/rev/d2e1da8ef81e
branches:  trunk
changeset: 521508:d2e1da8ef81e
user:      tv <tv%NetBSD.org@localhost>
date:      Thu Jan 31 19:26:34 2002 +0000

description:
Make this compilable as a host tool.

diffstat:

 usr.bin/ctags/C.c       |  6 +++---
 usr.bin/ctags/Makefile  |  4 +++-
 usr.bin/ctags/ctags.c   |  8 ++++----
 usr.bin/ctags/fortran.c |  6 +++---
 usr.bin/ctags/lisp.c    |  6 +++---
 usr.bin/ctags/print.c   |  6 +++---
 usr.bin/ctags/tree.c    |  6 +++---
 usr.bin/ctags/yacc.c    |  6 +++---
 8 files changed, 25 insertions(+), 23 deletions(-)

diffs (182 lines):

diff -r d701e5b69f25 -r d2e1da8ef81e usr.bin/ctags/C.c
--- a/usr.bin/ctags/C.c Thu Jan 31 19:24:47 2002 +0000
+++ b/usr.bin/ctags/C.c Thu Jan 31 19:26:34 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: C.c,v 1.8 2001/05/03 22:25:00 ross Exp $       */
+/*     $NetBSD: C.c,v 1.9 2002/01/31 19:26:34 tv Exp $ */
 
 /*
  * Copyright (c) 1987, 1993, 1994
@@ -34,11 +34,11 @@
  */
 
 #include <sys/cdefs.h>
-#ifndef lint
+#if defined(__RCSID) && !defined(lint)
 #if 0
 static char sccsid[] = "@(#)C.c        8.4 (Berkeley) 4/2/94";
 #else
-__RCSID("$NetBSD: C.c,v 1.8 2001/05/03 22:25:00 ross Exp $");
+__RCSID("$NetBSD: C.c,v 1.9 2002/01/31 19:26:34 tv Exp $");
 #endif
 #endif /* not lint */
 
diff -r d701e5b69f25 -r d2e1da8ef81e usr.bin/ctags/Makefile
--- a/usr.bin/ctags/Makefile    Thu Jan 31 19:24:47 2002 +0000
+++ b/usr.bin/ctags/Makefile    Thu Jan 31 19:26:34 2002 +0000
@@ -1,8 +1,10 @@
-#      $NetBSD: Makefile,v 1.4 1997/10/24 09:00:28 lukem Exp $
+#      $NetBSD: Makefile,v 1.5 2002/01/31 19:26:34 tv Exp $
 #      @(#)Makefile    8.1 (Berkeley) 6/6/93
 
 PROG=  ctags
 CPPFLAGS+=-I${.CURDIR}
 SRCS=  C.c ctags.c fortran.c lisp.c print.c tree.c yacc.c
 
+.ifndef HOSTPROG
 .include <bsd.prog.mk>
+.endif
diff -r d701e5b69f25 -r d2e1da8ef81e usr.bin/ctags/ctags.c
--- a/usr.bin/ctags/ctags.c     Thu Jan 31 19:24:47 2002 +0000
+++ b/usr.bin/ctags/ctags.c     Thu Jan 31 19:26:34 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ctags.c,v 1.6 1998/08/25 20:59:36 ross Exp $   */
+/*     $NetBSD: ctags.c,v 1.7 2002/01/31 19:26:35 tv Exp $     */
 
 /*
  * Copyright (c) 1987, 1993, 1994, 1995
@@ -34,16 +34,16 @@
  */
 
 #include <sys/cdefs.h>
-#ifndef lint
+#if defined(__COPYRIGHT) && !defined(lint)
 __COPYRIGHT("@(#) Copyright (c) 1987, 1993, 1994, 1995\n\
        The Regents of the University of California.  All rights reserved.\n");
 #endif /* not lint */
 
-#ifndef lint
+#if defined(__RCSID) && !defined(lint)
 #if 0
 static char sccsid[] = "@(#)ctags.c    8.4 (Berkeley) 2/7/95";
 #endif
-__RCSID("$NetBSD: ctags.c,v 1.6 1998/08/25 20:59:36 ross Exp $");
+__RCSID("$NetBSD: ctags.c,v 1.7 2002/01/31 19:26:35 tv Exp $");
 #endif /* not lint */
 
 #include <err.h>
diff -r d701e5b69f25 -r d2e1da8ef81e usr.bin/ctags/fortran.c
--- a/usr.bin/ctags/fortran.c   Thu Jan 31 19:24:47 2002 +0000
+++ b/usr.bin/ctags/fortran.c   Thu Jan 31 19:26:34 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fortran.c,v 1.5 1998/11/06 23:06:38 christos Exp $     */
+/*     $NetBSD: fortran.c,v 1.6 2002/01/31 19:26:35 tv Exp $   */
 
 /*
  * Copyright (c) 1987, 1993, 1994
@@ -34,11 +34,11 @@
  */
 
 #include <sys/cdefs.h>
-#ifndef lint
+#if defined(__RCSID) && !defined(lint)
 #if 0
 static char sccsid[] = "@(#)fortran.c  8.3 (Berkeley) 4/2/94";
 #else
-__RCSID("$NetBSD: fortran.c,v 1.5 1998/11/06 23:06:38 christos Exp $");
+__RCSID("$NetBSD: fortran.c,v 1.6 2002/01/31 19:26:35 tv Exp $");
 #endif
 #endif /* not lint */
 
diff -r d701e5b69f25 -r d2e1da8ef81e usr.bin/ctags/lisp.c
--- a/usr.bin/ctags/lisp.c      Thu Jan 31 19:24:47 2002 +0000
+++ b/usr.bin/ctags/lisp.c      Thu Jan 31 19:26:34 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: lisp.c,v 1.5 1998/11/06 23:06:38 christos Exp $        */
+/*     $NetBSD: lisp.c,v 1.6 2002/01/31 19:26:35 tv Exp $      */
 
 /*
  * Copyright (c) 1987, 1993, 1994
@@ -34,11 +34,11 @@
  */
 
 #include <sys/cdefs.h>
-#ifndef lint
+#if defined(__RCSID) && !defined(lint)
 #if 0
 static char sccsid[] = "@(#)lisp.c     8.3 (Berkeley) 4/2/94";
 #else
-__RCSID("$NetBSD: lisp.c,v 1.5 1998/11/06 23:06:38 christos Exp $");
+__RCSID("$NetBSD: lisp.c,v 1.6 2002/01/31 19:26:35 tv Exp $");
 #endif
 #endif /* not lint */
 
diff -r d701e5b69f25 -r d2e1da8ef81e usr.bin/ctags/print.c
--- a/usr.bin/ctags/print.c     Thu Jan 31 19:24:47 2002 +0000
+++ b/usr.bin/ctags/print.c     Thu Jan 31 19:26:34 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: print.c,v 1.5 1997/10/18 13:18:52 lukem Exp $  */
+/*     $NetBSD: print.c,v 1.6 2002/01/31 19:26:35 tv Exp $     */
 
 /*
  * Copyright (c) 1987, 1993, 1994
@@ -34,11 +34,11 @@
  */
 
 #include <sys/cdefs.h>
-#ifndef lint
+#if defined(__RCSID) && !defined(lint)
 #if 0
 static char sccsid[] = "@(#)print.c    8.3 (Berkeley) 4/2/94";
 #else 
-__RCSID("$NetBSD: print.c,v 1.5 1997/10/18 13:18:52 lukem Exp $");
+__RCSID("$NetBSD: print.c,v 1.6 2002/01/31 19:26:35 tv Exp $");
 #endif
 #endif /* not lint */
 
diff -r d701e5b69f25 -r d2e1da8ef81e usr.bin/ctags/tree.c
--- a/usr.bin/ctags/tree.c      Thu Jan 31 19:24:47 2002 +0000
+++ b/usr.bin/ctags/tree.c      Thu Jan 31 19:26:34 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: tree.c,v 1.6 1998/11/06 23:06:30 christos Exp $        */
+/*     $NetBSD: tree.c,v 1.7 2002/01/31 19:26:35 tv Exp $      */
 
 /*
  * Copyright (c) 1987, 1993, 1994
@@ -34,11 +34,11 @@
  */
 
 #include <sys/cdefs.h>
-#ifndef lint
+#if defined(__RCSID) && !defined(lint)
 #if 0
 static char sccsid[] = "@(#)tree.c     8.3 (Berkeley) 4/2/94";
 #else
-__RCSID("$NetBSD: tree.c,v 1.6 1998/11/06 23:06:30 christos Exp $");
+__RCSID("$NetBSD: tree.c,v 1.7 2002/01/31 19:26:35 tv Exp $");
 #endif
 #endif /* not lint */
 
diff -r d701e5b69f25 -r d2e1da8ef81e usr.bin/ctags/yacc.c
--- a/usr.bin/ctags/yacc.c      Thu Jan 31 19:24:47 2002 +0000
+++ b/usr.bin/ctags/yacc.c      Thu Jan 31 19:26:34 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: yacc.c,v 1.6 2001/06/12 15:17:29 wiz Exp $     */
+/*     $NetBSD: yacc.c,v 1.7 2002/01/31 19:26:36 tv Exp $      */
 
 /*
  * Copyright (c) 1987, 1993, 1994
@@ -34,11 +34,11 @@
  */
 
 #include <sys/cdefs.h>
-#ifndef lint
+#if defined(__RCSID) && !defined(lint)
 #if 0
 static char sccsid[] = "@(#)yacc.c     8.3 (Berkeley) 4/2/94";
 #else
-__RCSID("$NetBSD: yacc.c,v 1.6 2001/06/12 15:17:29 wiz Exp $");
+__RCSID("$NetBSD: yacc.c,v 1.7 2002/01/31 19:26:36 tv Exp $");
 #endif
 #endif /* not lint */
 



Home | Main Index | Thread Index | Old Index