Make this compilable as a host tool.

This commit is contained in:
tv 2002-01-31 19:26:34 +00:00
parent 554a73a4ce
commit c72d58a899
8 changed files with 25 additions and 23 deletions

View File

@ -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 */

View File

@ -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

View File

@ -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>

View File

@ -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 */

View File

@ -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 */

View File

@ -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 */

View File

@ -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 */

View File

@ -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 */