head	1.29;
access;
symbols
	perseant-exfatfs-base-20250801:1.29
	perseant-exfatfs-base-20240630:1.29
	cjep_sun2x:1.29.0.44
	cjep_sun2x-base:1.29
	cjep_staticlib_x-base1:1.29
	cjep_staticlib_x:1.29.0.42
	cjep_staticlib_x-base:1.29
	phil-wifi-20200421:1.29
	phil-wifi-20200411:1.29
	phil-wifi-20200406:1.29
	pgoyette-compat-merge-20190127:1.29
	pgoyette-compat-20190127:1.29
	pgoyette-compat-20190118:1.29
	pgoyette-compat-1226:1.29
	pgoyette-compat-1126:1.29
	pgoyette-compat-1020:1.29
	pgoyette-compat-0930:1.29
	pgoyette-compat-0906:1.29
	pgoyette-compat-0728:1.29
	pgoyette-compat-0625:1.29
	pgoyette-compat-0521:1.29
	pgoyette-compat-0502:1.29
	pgoyette-compat-0422:1.29
	pgoyette-compat-0415:1.29
	pgoyette-compat-0407:1.29
	pgoyette-compat-0330:1.29
	pgoyette-compat-0322:1.29
	pgoyette-compat-0315:1.29
	pgoyette-compat:1.29.0.40
	pgoyette-compat-base:1.29
	perseant-stdc-iso10646:1.29.0.38
	perseant-stdc-iso10646-base:1.29
	prg-localcount2-base3:1.29
	prg-localcount2-base2:1.29
	prg-localcount2-base1:1.29
	prg-localcount2:1.29.0.36
	prg-localcount2-base:1.29
	pgoyette-localcount-20170426:1.29
	bouyer-socketcan-base1:1.29
	pgoyette-localcount-20170320:1.29
	bouyer-socketcan:1.29.0.34
	bouyer-socketcan-base:1.29
	pgoyette-localcount-20170107:1.29
	pgoyette-localcount-20161104:1.29
	localcount-20160914:1.29
	pgoyette-localcount-20160806:1.29
	pgoyette-localcount-20160726:1.29
	pgoyette-localcount:1.29.0.32
	pgoyette-localcount-base:1.29
	netbsd-5-2-3-RELEASE:1.29
	netbsd-5-1-5-RELEASE:1.29
	yamt-pagecache-base9:1.29
	yamt-pagecache-tag8:1.29
	tls-earlyentropy:1.29.0.28
	tls-earlyentropy-base:1.29
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.29
	riastradh-drm2-base3:1.29
	netbsd-5-2-2-RELEASE:1.29
	netbsd-5-1-4-RELEASE:1.29
	netbsd-5-2-1-RELEASE:1.29
	netbsd-5-1-3-RELEASE:1.29
	agc-symver:1.29.0.30
	agc-symver-base:1.29
	tls-maxphys-base:1.29
	yamt-pagecache-base8:1.29
	netbsd-5-2:1.29.0.26
	yamt-pagecache-base7:1.29
	netbsd-5-2-RELEASE:1.29
	netbsd-5-2-RC1:1.29
	yamt-pagecache-base6:1.29
	yamt-pagecache-base5:1.29
	yamt-pagecache-base4:1.29
	netbsd-5-1-2-RELEASE:1.29
	netbsd-5-1-1-RELEASE:1.29
	yamt-pagecache-base3:1.29
	yamt-pagecache-base2:1.29
	yamt-pagecache:1.29.0.24
	yamt-pagecache-base:1.29
	bouyer-quota2-nbase:1.29
	bouyer-quota2:1.29.0.22
	bouyer-quota2-base:1.29
	matt-nb5-pq3:1.29.0.20
	matt-nb5-pq3-base:1.29
	netbsd-5-1:1.29.0.18
	netbsd-5-1-RELEASE:1.29
	netbsd-5-1-RC4:1.29
	netbsd-5-1-RC3:1.29
	netbsd-5-1-RC2:1.29
	netbsd-5-1-RC1:1.29
	netbsd-5-0-2-RELEASE:1.29
	netbsd-5-0-1-RELEASE:1.29
	jym-xensuspend-nbase:1.29
	netbsd-5-0:1.29.0.16
	netbsd-5-0-RELEASE:1.29
	netbsd-5-0-RC4:1.29
	netbsd-5-0-RC3:1.29
	netbsd-5-0-RC2:1.29
	jym-xensuspend:1.29.0.14
	jym-xensuspend-base:1.29
	netbsd-5-0-RC1:1.29
	netbsd-5:1.29.0.12
	netbsd-5-base:1.29
	mjf-devfs2:1.29.0.10
	mjf-devfs2-base:1.29
	yamt-pf42-base4:1.29
	yamt-pf42-base3:1.29
	hpcarm-cleanup-nbase:1.29
	yamt-pf42-base2:1.29
	yamt-pf42:1.29.0.8
	yamt-pf42-base:1.29
	keiichi-mipv6:1.29.0.6
	keiichi-mipv6-base:1.29
	cube-autoconf:1.29.0.4
	cube-autoconf-base:1.29
	hpcarm-cleanup:1.29.0.2
	hpcarm-cleanup-base:1.29
	netbsd-1-5-PATCH003:1.27
	netbsd-1-5-PATCH002:1.27
	netbsd-1-5-PATCH001:1.27
	netbsd-1-5-RELEASE:1.27
	netbsd-1-5-BETA2:1.27
	netbsd-1-5-BETA:1.27
	netbsd-1-4-PATCH003:1.26
	netbsd-1-5-ALPHA2:1.27
	netbsd-1-5:1.27.0.6
	netbsd-1-5-base:1.27
	netbsd-1-4-PATCH002:1.26
	wrstuden-devbsize-19991221:1.27
	wrstuden-devbsize:1.27.0.4
	wrstuden-devbsize-base:1.27
	comdex-fall-1999:1.27.0.2
	comdex-fall-1999-base:1.27
	netbsd-1-4-PATCH001:1.26
	netbsd-1-4-RELEASE:1.26
	netbsd-1-4:1.26.0.2
	netbsd-1-4-base:1.26
	netbsd-1-3-PATCH003:1.19.2.1
	netbsd-1-3-PATCH003-CANDIDATE2:1.19.2.1
	netbsd-1-3-PATCH003-CANDIDATE1:1.19.2.1
	netbsd-1-3-PATCH003-CANDIDATE0:1.19.2.1
	netbsd-1-3-PATCH002:1.19.2.1
	netbsd-1-3-PATCH001:1.19.2.1
	netbsd-1-3-RELEASE:1.19.2.1
	netbsd-1-3-BETA:1.19.2.1
	netbsd-1-3:1.19.0.2
	netbsd-1-3-base:1.19
	netbsd-1-2-PATCH001:1.15
	netbsd-1-2-RELEASE:1.15
	explorer-groff-upgrade:1.15
	netbsd-1-2-BETA:1.15
	netbsd-1-2-base:1.15
	netbsd-1-2:1.15.0.4
	netbsd-1-1-PATCH001:1.14
	netbsd-1-1-RELEASE:1.14
	netbsd-1-1:1.14.0.2
	netbsd-1-1-base:1.14
	netbsd-1-0-PATCH06:1.13
	netbsd-1-0-PATCH05:1.13
	netbsd-1-0-PATCH04:1.13
	netbsd-1-0-PATCH03:1.13
	netbsd-1-0-PATCH02:1.13
	netbsd-1-0-PATCH1:1.13
	netbsd-1-0-PATCH0:1.13
	netbsd-1-0-RELEASE:1.13
	netbsd-1-0:1.13.0.2
	netbsd-1-0-base:1.13
	netbsd-0-9-RELEASE:1.7
	netbsd-0-9-BETA:1.7
	netbsd-0-9-ALPHA2:1.7
	netbsd-0-9-ALPHA:1.7
	netbsd-0-9:1.7.0.2
	netbsd-0-9-base:1.7;
locks; strict;
comment	@# @;


1.29
date	2001.04.19.14.40.40;	author wiz;	state dead;
branches;
next	1.28;

1.28
date	2001.01.09.08.52.57;	author enami;	state Exp;
branches;
next	1.27;

1.27
date	99.07.30.04.07.25;	author mycroft;	state Exp;
branches;
next	1.26;

1.26
date	99.02.13.02.54.26;	author lukem;	state Exp;
branches;
next	1.25;

1.25
date	99.02.09.15.33.45;	author tv;	state Exp;
branches;
next	1.24;

1.24
date	98.04.14.20.30.27;	author cgd;	state Exp;
branches;
next	1.23;

1.23
date	98.04.09.00.32.35;	author tv;	state Exp;
branches;
next	1.22;

1.22
date	98.02.19.02.17.07;	author cgd;	state Exp;
branches;
next	1.21;

1.21
date	98.02.03.06.38.19;	author perry;	state Exp;
branches;
next	1.20;

1.20
date	97.10.25.10.11.26;	author lukem;	state Exp;
branches;
next	1.19;

1.19
date	97.10.18.05.58.23;	author lukem;	state Exp;
branches
	1.19.2.1;
next	1.18;

1.18
date	97.05.07.07.15.42;	author mycroft;	state Exp;
branches;
next	1.17;

1.17
date	96.12.20.16.33.32;	author cgd;	state Exp;
branches;
next	1.16;

1.16
date	96.10.14.05.24.23;	author cgd;	state Exp;
branches;
next	1.15;

1.15
date	95.10.22.21.58.21;	author christos;	state Exp;
branches;
next	1.14;

1.14
date	95.09.27.13.55.19;	author cgd;	state Exp;
branches;
next	1.13;

1.13
date	94.01.24.18.46.07;	author cgd;	state Exp;
branches;
next	1.12;

1.12
date	93.12.30.00.10.17;	author davidb;	state Exp;
branches;
next	1.11;

1.11
date	93.12.28.11.21.13;	author davidb;	state Exp;
branches;
next	1.10;

1.10
date	93.12.21.22.14.02;	author davidb;	state Exp;
branches;
next	1.9;

1.9
date	93.11.03.16.29.57;	author cgd;	state Exp;
branches;
next	1.8;

1.8
date	93.08.02.17.46.10;	author mycroft;	state Exp;
branches;
next	1.7;

1.7
date	93.07.18.13.13.03;	author mycroft;	state Exp;
branches;
next	1.6;

1.6
date	93.07.18.13.00.11;	author mycroft;	state Exp;
branches;
next	1.5;

1.5
date	93.07.18.12.50.55;	author mycroft;	state Exp;
branches;
next	1.4;

1.4
date	93.07.17.13.44.28;	author mycroft;	state Exp;
branches;
next	1.3;

1.3
date	93.07.17.12.57.33;	author mycroft;	state Exp;
branches;
next	1.2;

1.2
date	93.07.17.12.44.00;	author mycroft;	state Exp;
branches;
next	1.1;

1.1
date	93.07.14.20.36.55;	author jtc;	state Exp;
branches;
next	;

1.19.2.1
date	97.11.08.06.53.26;	author lukem;	state Exp;
branches;
next	;


desc
@@


1.29
log
@Remove old groff files from usr.bin.
Pull up reach-over to head.
@
text
@#	$NetBSD: Makefile.cfg,v 1.28 2001/01/09 08:52:57 enami Exp $

.include <bsd.own.mk>

MKLINT=	no

# Paths to libraries
#
# DEVICES_ is defined in devices/Makefile.inc to avoid this section.
.if !defined(DEVICES_)
LIBGROFFDIR!=	cd $(.CURDIR)/../libgroff && ${PRINTOBJDIR}
LIBGROFF=	${LIBGROFFDIR}/libgroff.a

LIBDRIVERDIR!=	cd $(.CURDIR)/../libdriver && ${PRINTOBJDIR}
LIBDRIVER=	${LIBDRIVERDIR}/libdriver.a

LIBBIBDIR!=	cd $(.CURDIR)/../libbib && ${PRINTOBJDIR}
LIBBIB=		${LIBBIBDIR}/libbib.a
.endif

CPPFLAGS+=	-DHAVE_UNISTD_H=1\
		-DHAVE_DIRENT_H=1\
		-DHAVE_LIMITS_H=1\
		-DHAVE_STDLIB_H=1\
		-DHAVE_SYS_DIR_H=1\
		-DHAVE_CC_LIMITS_H=1\
		-DHAVE_CC_UNISTD_H=1\
		-DUNISTD_H_DECLARES_GETOPT=1\
		-DSTDLIB_H_DECLARES_PUTENV=1\
		-DRETSIGTYPE=void\
		-DHAVE_MMAP=1\
		-DHAVE_RENAME=1\
		-DHAVE_MKSTEMP=1\
		-DHAVE_SYS_SIGLIST=1

CXXFLAGS+=	-fno-rtti -fno-exceptions

# XXX This won't necessarily work if running a parallel make, but does
# XXX work here because each subdir builds at most one .cc file from a .y.
YFLAGS+= -d
.y.cc:
	$(YACC) $(YFLAGS) $(.IMPSRC)
	mv y.tab.c $(.PREFIX).cc
	mv y.tab.h $(.PREFIX).tab.h
@


1.28
log
@- Use PRINTOBJDIR and .WAIT where appropriate.
- Define PARALLEL in gdb/Makefile since multiple yacc might run.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.cfg,v 1.27 1999/07/30 04:07:25 mycroft Exp $
@


1.27
log
@Don't use GNU malloc() any more.
@
text
@d1 3
a3 1
#	$NetBSD: Makefile.cfg,v 1.26 1999/02/13 02:54:26 lukem Exp $
d11 2
a12 2
LIBGROFF!=cd $(.CURDIR)/../libgroff; \
	printf "xxx: .MAKE\n\t@@echo \$${.OBJDIR}/libgroff.a\n" | ${MAKE} -s -f-
d14 2
a15 2
LIBDRIVER!=cd $(.CURDIR)/../libdriver; \
	printf "xxx: .MAKE\n\t@@echo \$${.OBJDIR}/libdriver.a\n" | ${MAKE} -s -f-
d17 2
a18 2
LIBBIB!=cd $(.CURDIR)/../libbib; \
	printf "xxx: .MAKE\n\t@@echo \$${.OBJDIR}/libbib.a\n" | ${MAKE} -s -f-
@


1.26
log
@convert from NOxxx= to MKxxx=no.
include <bsd.own.mk> if testing a MKxxx variable.
@
text
@d1 1
a1 6
#	$NetBSD: Makefile.cfg,v 1.25 1999/02/09 15:33:45 tv Exp $

.if defined(PROG)
LDADD+=	-lgnumalloc
DPADD+=	/usr/lib/libgnumalloc.a
.endif
@


1.25
log
@Remove old alpha addition to CXXFLAGS, and use -fno-rtti and
-fno-exceptions to make the code a lot slimmer.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.cfg,v 1.24 1998/04/14 20:30:27 cgd Exp $
d8 1
a8 1
NOLINT=		nolint (c++)
@


1.24
log
@note bogon in the .y.cc rule which doesn't cause problems here, but
people should be aware of.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.cfg,v 1.23 1998/04/09 00:32:35 tv Exp $
d39 1
a39 6
# XXX NetBSD/Alpha's (cygnus snapshot) g++ doesn't allow virtual functions
# which aren't declared inline to be later defined as inline without a
# warning (-> error).
.if (${MACHINE_ARCH} == "alpha")
CXXFLAGS+=	-DBROKEN_GXX_VIRTUAL_INLINE
.endif
@


1.23
log
@.y.c <sys.mk> rule fixes.  Don't create a y.tab.h file unless asked for,
and use smarter creation of the header file.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.cfg,v 1.22 1998/02/19 02:17:07 cgd Exp $
d46 2
@


1.22
log
@Make sure the reason that NOLINT is set is documented.  Additionally
in places where it should be set (or has to be set right now), do so.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.cfg,v 1.21 1998/02/03 06:38:19 perry Exp $
d46 1
@


1.21
log
@removed -DSTDLIB_H_DECLARES_GETOPT=1 -- it is no longer true
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.cfg,v 1.20 1997/10/25 10:11:26 lukem Exp $
d8 1
a8 1
NOLINT=
@


1.20
log
@use CPPFLAGS instead of CFLAGS
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.cfg,v 1.19 1997/10/18 05:58:23 lukem Exp $
a30 1
		-DSTDLIB_H_DECLARES_GETOPT=1\
@


1.19
log
@rcsid fascism, fix make -j race condition when building libs
@
text
@d1 1
a1 1
#	$NetBSD$
d24 1
a24 1
CFLAGS+=	-DHAVE_UNISTD_H=1\
@


1.19.2.1
log
@sync with trunk (approved by thorpej)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.cfg,v 1.20 1997/10/25 10:11:26 lukem Exp $
d24 1
a24 1
CPPFLAGS+=	-DHAVE_UNISTD_H=1\
@


1.18
log
@Add .MAKE to the .OBJDIR hacks, so they work with `make -n'.
@
text
@d1 1
a1 1
#	$Id: Makefile.cfg,v 1.17 1996/12/20 16:33:32 cgd Exp $
@


1.17
log
@force NOLINT, because it's not so useful on groff, since groff is
written mostly in c++ and lint doesn't understand c++.
@
text
@d1 1
a1 1
#	$Id: Makefile.cfg,v 1.16 1996/10/14 05:24:23 cgd Exp $
d15 1
a15 2
	printf "xxx:\n\techo \$${.OBJDIR}/libgroff.a\n" | \
	${MAKE} -r -s -f - xxx | grep libgroff
d18 1
a18 2
	printf "xxx:\n\techo \$${.OBJDIR}/libdriver.a\n" | \
	${MAKE} -r -s -f - xxx | grep libdriver
d21 1
a21 2
	printf "xxx:\n\techo \$${.OBJDIR}/libbib.a\n" | \
	${MAKE} -r -s -f - xxx | grep libbib
@


1.16
log
@Trade one bit of lossage for another.  Now that groff has been upgraded,
the Alpha no longer needs -fno-for-scope.  However, NetBSD/Alpha's
(cygnus snapshot) g++ doesn't allow virtual functions which aren't
declared inline to be later defined as inline without a warning (-> error).
Therefore, on the Alpha, define BROKEN_GXX_VIRTUAL_INLINE (which will
go away after the Alpha is upgraded to use a more recent toolchain), and
use it to make sure that declarations of virtual functions which will
be defined inline are actually marked as inline when they're declared.
@
text
@d1 1
a1 1
#	$Id: Makefile.cfg,v 1.15 1995/10/22 21:58:21 christos Exp $
d7 2
@


1.15
log
@Parallel make fixes
@
text
@d1 1
a1 1
#	$Id: Makefile.cfg,v 1.14 1995/09/27 13:55:19 cgd Exp $
d41 3
a43 1
# XXX actually, >= 2.7.0 gcc's; for scoping rules changed.
d45 1
a45 1
CXXFLAGS+=	-fno-for-scope
@


1.14
log
@add -fno-for-scope to CXXFLAGS on the alpha.  Really, this should be
conditional on a gcc >= 2.7.0, but there's no good and easy way to do
that short of introducing a new global 'make' variable, which i think
is a bad idea.
@
text
@d1 1
a1 1
#	$Id: Makefile.cfg,v 1.13 1994/01/24 18:46:07 cgd Exp $
d13 2
a14 1
	printf "xxx:\n\techo \$${.OBJDIR}/libgroff.a\n" | ${MAKE} -r -s -f - xxx
d18 1
a18 1
	    ${MAKE} -r -s -f - xxx
d21 2
a22 1
	printf "xxx:\n\techo \$${.OBJDIR}/libbib.a\n" | ${MAKE} -r -s -f - xxx
@


1.13
log
@fix 'make' biff.  from Roland McGrath
@
text
@d1 1
a1 1
#	$Id: Makefile.cfg,v 1.12 1993/12/30 00:10:17 davidb Exp $
d38 5
@


1.12
log
@Fixed a bug I introduced in the last update.  devices/*/Makefile were
barfing on the definition of libraries due to the added directory level.
Easy fix, as they don't need that code.
@
text
@d1 1
a1 1
#	$Id: Makefile.cfg,v 1.11 1993/12/28 11:21:13 davidb Exp $
d13 1
a13 1
	printf "xxx:\n\techo \$${.OBJDIR}/libgroff.a\n" | make -r -s -f - xxx
d16 2
a17 1
	printf "xxx:\n\techo \$${.OBJDIR}/libdriver.a\n" | make -r -s -f - xxx
d20 1
a20 1
	printf "xxx:\n\techo \$${.OBJDIR}/libbib.a\n" | make -r -s -f - xxx
@


1.11
log
@Changed to use make's new .OBJDIR
@
text
@d1 1
a1 1
#	$Id: Makefile.cfg,v 1.10 1993/12/21 22:14:02 davidb Exp $
d9 3
d20 1
@


1.10
log
@Fixed objdir handling to cope with OBJMACHINE.
@
text
@d1 1
a1 1
#	$Id: Makefile.cfg,v 1.9 1993/11/03 16:29:57 cgd Exp $
d9 2
a10 7
.if exists($(.CURDIR)/../libgroff/obj.${MACHINE})
LIBGROFF=	$(.CURDIR)/../libgroff/obj.${MACHINE}/libgroff.a
.elif exists($(.CURDIR)/../libgroff/obj)
LIBGROFF=	$(.CURDIR)/../libgroff/obj/libgroff.a
.else
LIBGROFF=	$(.CURDIR)/../libgroff/libgroff.a
.endif
d12 2
a13 7
.if exists($(.CURDIR)/../libdriver/obj.${MACHINE})
LIBDRIVER=	$(.CURDIR)/../libdriver/obj.${MACHINE}/libdriver.a
.elif exists($(.CURDIR)/../libdriver/obj)
LIBDRIVER=	$(.CURDIR)/../libdriver/obj/libdriver.a
.else
LIBDRIVER=	$(.CURDIR)/../libdriver/libdriver.a
.endif
d15 2
a16 7
.if exists($(.CURDIR)/../libbib/obj.${MACHINE})
LIBBIB=		$(.CURDIR)/../libbib/obj.${MACHINE}/libbib.a
.elif exists($(.CURDIR)/../libbib/obj)
LIBBIB=		$(.CURDIR)/../libbib/obj/libbib.a
.else
LIBBIB=		$(.CURDIR)/../libbib/libbib.a
.endif
@


1.9
log
@use gnu malloc
@
text
@d1 1
a1 1
#	$Id: Makefile.cfg,v 1.8 1993/08/02 17:46:10 mycroft Exp $
d9 3
a11 1
.if exists($(.CURDIR)/../libgroff/obj)
d17 3
a19 1
.if exists($(.CURDIR)/../libdriver/obj)
d25 3
a27 1
.if exists($(.CURDIR)/../libbib/obj)
@


1.8
log
@Add RCS identifiers, remove some completely useless RCS logs and patchkit
headers, and a few other insignificant changes.
@
text
@d1 6
a6 1
#	$Id: $
@


1.7
log
@Get rid of the ugly kluge to link with g++; we don't need it any more and it
was being a pain in my ass.
@
text
@d1 2
@


1.6
log
@Nuke ARRAY_DELETE_NEEDS_SIZE now that we're using GCC 2...
@
text
@a35 7
# Use C++ compiler for linking.  XXX: This is a kluge!
CCC=		cc
CC=		$(CXX)

.c.o:
	$(CCC) $(CFLAGS) -c $(.IMPSRC)

@


1.5
log
@Fix some lossage that was caused bsd.prog.mk to be included twice.
@
text
@d34 1
a34 2
		-DHAVE_SYS_SIGLIST=1\
		-DARRAY_DELETE_NEEDS_SIZE=1
@


1.4
log
@Fix C++ dependencies for good.  `make depend' is now done in two passes--one
of C files and one for C++ files.  No need to specify `-+' in your Makefile,
as it is now done automatically.
@
text
@a47 2

.include <bsd.prog.mk>
@


1.3
log
@Put back kluge for linking with C++ compile but compiling .c files with C
compiler.  Eventually we might want to make /usr/include C++-conscious.
@
text
@a19 3
.if make(depend)
CFLAGS+=	-+
.endif
@


1.2
log
@Remove pre-generated dependency files and make `make depend' really work.
@
text
@d20 1
a20 1
.if target(depend)
d40 2
a41 1
# Just use C++ compiler for everything.
d43 3
@


1.1
log
@Update groff to release 1.08
@
text
@d20 3
d40 1
a40 5
# Since we are still using gcc-1.X, we have to play games to ensure *.c
# files are compiled by gcc, *.cc files are compiled by g++, and everything
# is linked with g++.
CCC=		gcc
CXX=		g++
a42 7
.SUFFIXES:	.cc 
.c.o:
	$(CCC) $(CFLAGS) -c $(.IMPSRC)

.cc.o:
	$(CXX) $(CFLAGS) -c $(.IMPSRC)

d48 1
a48 4
# include dependancies
.if exists($(.CURDIR)/Makefile.dep)
.include "$(.CURDIR)/Makefile.dep"
.endif
@
