head	1.19;
access;
symbols
	perseant-exfatfs-base-20250801:1.19
	perseant-exfatfs-base-20240630:1.19
	cjep_sun2x:1.19.0.44
	cjep_sun2x-base:1.19
	cjep_staticlib_x-base1:1.19
	cjep_staticlib_x:1.19.0.42
	cjep_staticlib_x-base:1.19
	phil-wifi-20200421:1.19
	phil-wifi-20200411:1.19
	phil-wifi-20200406:1.19
	pgoyette-compat-merge-20190127:1.19
	pgoyette-compat-20190127:1.19
	pgoyette-compat-20190118:1.19
	pgoyette-compat-1226:1.19
	pgoyette-compat-1126:1.19
	pgoyette-compat-1020:1.19
	pgoyette-compat-0930:1.19
	pgoyette-compat-0906:1.19
	pgoyette-compat-0728:1.19
	pgoyette-compat-0625:1.19
	pgoyette-compat-0521:1.19
	pgoyette-compat-0502:1.19
	pgoyette-compat-0422:1.19
	pgoyette-compat-0415:1.19
	pgoyette-compat-0407:1.19
	pgoyette-compat-0330:1.19
	pgoyette-compat-0322:1.19
	pgoyette-compat-0315:1.19
	pgoyette-compat:1.19.0.40
	pgoyette-compat-base:1.19
	perseant-stdc-iso10646:1.19.0.38
	perseant-stdc-iso10646-base:1.19
	prg-localcount2-base3:1.19
	prg-localcount2-base2:1.19
	prg-localcount2-base1:1.19
	prg-localcount2:1.19.0.36
	prg-localcount2-base:1.19
	pgoyette-localcount-20170426:1.19
	bouyer-socketcan-base1:1.19
	pgoyette-localcount-20170320:1.19
	bouyer-socketcan:1.19.0.34
	bouyer-socketcan-base:1.19
	pgoyette-localcount-20170107:1.19
	pgoyette-localcount-20161104:1.19
	localcount-20160914:1.19
	pgoyette-localcount-20160806:1.19
	pgoyette-localcount-20160726:1.19
	pgoyette-localcount:1.19.0.32
	pgoyette-localcount-base:1.19
	netbsd-5-2-3-RELEASE:1.19
	netbsd-5-1-5-RELEASE:1.19
	yamt-pagecache-base9:1.19
	yamt-pagecache-tag8:1.19
	tls-earlyentropy:1.19.0.28
	tls-earlyentropy-base:1.19
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.19
	riastradh-drm2-base3:1.19
	netbsd-5-2-2-RELEASE:1.19
	netbsd-5-1-4-RELEASE:1.19
	netbsd-5-2-1-RELEASE:1.19
	netbsd-5-1-3-RELEASE:1.19
	agc-symver:1.19.0.30
	agc-symver-base:1.19
	tls-maxphys-base:1.19
	yamt-pagecache-base8:1.19
	netbsd-5-2:1.19.0.26
	yamt-pagecache-base7:1.19
	netbsd-5-2-RELEASE:1.19
	netbsd-5-2-RC1:1.19
	yamt-pagecache-base6:1.19
	yamt-pagecache-base5:1.19
	yamt-pagecache-base4:1.19
	netbsd-5-1-2-RELEASE:1.19
	netbsd-5-1-1-RELEASE:1.19
	yamt-pagecache-base3:1.19
	yamt-pagecache-base2:1.19
	yamt-pagecache:1.19.0.24
	yamt-pagecache-base:1.19
	bouyer-quota2-nbase:1.19
	bouyer-quota2:1.19.0.22
	bouyer-quota2-base:1.19
	matt-nb5-pq3:1.19.0.20
	matt-nb5-pq3-base:1.19
	netbsd-5-1:1.19.0.18
	netbsd-5-1-RELEASE:1.19
	netbsd-5-1-RC4:1.19
	netbsd-5-1-RC3:1.19
	netbsd-5-1-RC2:1.19
	netbsd-5-1-RC1:1.19
	netbsd-5-0-2-RELEASE:1.19
	netbsd-5-0-1-RELEASE:1.19
	jym-xensuspend-nbase:1.19
	netbsd-5-0:1.19.0.16
	netbsd-5-0-RELEASE:1.19
	netbsd-5-0-RC4:1.19
	netbsd-5-0-RC3:1.19
	netbsd-5-0-RC2:1.19
	jym-xensuspend:1.19.0.14
	jym-xensuspend-base:1.19
	netbsd-5-0-RC1:1.19
	netbsd-5:1.19.0.12
	netbsd-5-base:1.19
	mjf-devfs2:1.19.0.10
	mjf-devfs2-base:1.19
	yamt-pf42-base4:1.19
	yamt-pf42-base3:1.19
	hpcarm-cleanup-nbase:1.19
	yamt-pf42-base2:1.19
	yamt-pf42:1.19.0.8
	yamt-pf42-base:1.19
	keiichi-mipv6:1.19.0.6
	keiichi-mipv6-base:1.19
	cube-autoconf:1.19.0.4
	cube-autoconf-base:1.19
	hpcarm-cleanup:1.19.0.2
	hpcarm-cleanup-base:1.19
	netbsd-1-6-PATCH002-RELEASE:1.18
	netbsd-1-6-PATCH002:1.18
	netbsd-1-6-PATCH002-RC4:1.18
	netbsd-1-6-PATCH002-RC3:1.18
	netbsd-1-6-PATCH002-RC2:1.18
	netbsd-1-6-PATCH002-RC1:1.18
	WIZ_20030630_PRE_1_19:1.18
	netbsd-1-6-PATCH001:1.18
	netbsd-1-6-PATCH001-RELEASE:1.18
	netbsd-1-6-PATCH001-RC3:1.18
	netbsd-1-6-PATCH001-RC2:1.18
	netbsd-1-6-PATCH001-RC1:1.18
	fvdl_fs64_base:1.18
	netbsd-1-6-RELEASE:1.18
	netbsd-1-6-RC3:1.18
	netbsd-1-6-RC2:1.18
	netbsd-1-6-RC1:1.18
	netbsd-1-6:1.18.0.2
	netbsd-1-6-base:1.18
	netbsd-1-5-PATCH003:1.13
	netbsd-1-5-PATCH002:1.13
	netbsd-1-5-PATCH001:1.13
	groff-1-16-1-reachover:1.1.1.2
	TNF:1.1.1
	netbsd-1-5-RELEASE:1.13
	netbsd-1-5-BETA2:1.13
	netbsd-1-5-BETA:1.13
	netbsd-1-4-PATCH003:1.12
	netbsd-1-5-ALPHA2:1.13
	netbsd-1-5:1.13.0.2
	netbsd-1-5-base:1.13
	netbsd-1-4-PATCH002:1.12
	wrstuden-devbsize-19991221:1.12
	wrstuden-devbsize:1.12.0.6
	wrstuden-devbsize-base:1.12
	comdex-fall-1999:1.12.0.4
	comdex-fall-1999-base:1.12
	netbsd-1-4-PATCH001:1.12
	netbsd-1-4-RELEASE:1.12
	netbsd-1-4:1.12.0.2
	netbsd-1-4-base:1.12
	netbsd-1-3-PATCH003:1.11.2.1
	netbsd-1-3-PATCH003-CANDIDATE2:1.11.2.1
	netbsd-1-3-PATCH003-CANDIDATE1:1.11.2.1
	netbsd-1-3-PATCH003-CANDIDATE0:1.11.2.1
	netbsd-1-3-PATCH002:1.11.2.1
	netbsd-1-3-PATCH001:1.11.2.1
	netbsd-1-3-RELEASE:1.11.2.1
	netbsd-1-3-BETA:1.11.2.1
	netbsd-1-3:1.11.0.2
	netbsd-1-3-base:1.11
	netbsd-1-2-PATCH001:1.9
	netbsd-1-2-RELEASE:1.9
	explorer-groff-upgrade:1.9
	netbsd-1-2-BETA:1.9
	netbsd-1-2-base:1.9
	netbsd-1-2:1.9.0.6
	netbsd-1-1-PATCH001:1.9
	netbsd-1-1-RELEASE:1.9
	netbsd-1-1:1.9.0.2
	netbsd-1-1-base:1.9
	netbsd-1-0-PATCH06:1.8
	netbsd-1-0-PATCH05:1.8
	netbsd-1-0-PATCH04:1.8
	netbsd-1-0-PATCH03:1.8
	netbsd-1-0-PATCH02:1.8
	netbsd-1-0-PATCH1:1.8
	netbsd-1-0-PATCH0:1.8
	netbsd-1-0-RELEASE:1.8
	netbsd-1-0:1.8.0.2
	netbsd-1-0-base:1.8
	netbsd-0-9-RELEASE:1.6
	netbsd-0-9-BETA:1.6
	netbsd-0-9-ALPHA2:1.6
	netbsd-0-9-ALPHA:1.6
	netbsd-0-9:1.6.0.2
	netbsd-0-9-base:1.6
	netbsd-0-8:1.1.1.1
	netbsd-alpha-1:1.1.1.1
	patchkit-0-2-2:1.1.1.1
	WFJ-386bsd-01:1.1.1.1
	WFJ-920714:1.1.1;
locks; strict;
comment	@# @;


1.19
date	2003.06.30.18.34.14;	author wiz;	state dead;
branches;
next	1.18;

1.18
date	2002.01.01.01.38.26;	author thorpej;	state Exp;
branches;
next	1.17;

1.17
date	2002.01.01.00.27.33;	author thorpej;	state Exp;
branches;
next	1.16;

1.16
date	2001.11.13.17.01.23;	author tv;	state Exp;
branches;
next	1.15;

1.15
date	2001.11.12.17.09.46;	author tv;	state Exp;
branches;
next	1.14;

1.14
date	2001.04.19.14.41.13;	author wiz;	state Exp;
branches;
next	1.13;

1.13
date	2000.01.23.22.17.11;	author mycroft;	state Exp;
branches;
next	1.12;

1.12
date	97.10.25.10.11.33;	author lukem;	state Exp;
branches;
next	1.11;

1.11
date	97.10.18.05.58.51;	author lukem;	state Exp;
branches
	1.11.2.1;
next	1.10;

1.10
date	97.03.24.22.06.28;	author christos;	state Exp;
branches;
next	1.9;

1.9
date	95.06.10.20.37.55;	author mycroft;	state Exp;
branches;
next	1.8;

1.8
date	93.10.01.00.16.44;	author jtc;	state Exp;
branches;
next	1.7;

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

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

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

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

1.3
date	93.07.14.20.43.49;	author jtc;	state Exp;
branches;
next	1.2;

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

1.1
date	93.03.21.09.45.37;	author cgd;	state Exp;
branches
	1.1.1.1;
next	;

1.11.2.1
date	97.11.08.06.53.31;	author lukem;	state Exp;
branches;
next	;

1.1.1.1
date	93.03.21.09.45.37;	author cgd;	state Exp;
branches;
next	1.1.1.2;

1.1.1.2
date	2001.04.19.14.33.07;	author wiz;	state Exp;
branches;
next	;


desc
@@


1.19
log
@Replace old build structure with FreBSD one (local changes in next commit).
@
text
@#	$NetBSD: Makefile,v 1.18 2002/01/01 01:38:26 thorpej Exp $

.include "../Makefile.lib"

DIST=		${IDIST}/src/preproc/eqn
.PATH:		${DIST}

PROG_CXX=	eqn
SRCS=		main.cc lex.cc  box.cc limit.cc list.cc over.cc text.cc\
		script.cc mark.cc other.cc delim.cc sqrt.cc pile.cc special.cc\
		eqn.cc
CPPFLAGS+=	-I. -I${DIST}
LDADD+=		$(LIBGROFF)
DPADD+=		$(LIBGROFF)
DPSRCS+=	eqn_tab.h
CLEANFILES+=	eqn.cc neqn

eqn_tab.h lex.o: eqn.cc

FILES=neqn
FILESMODE=${BINMODE}

realall: neqn

neqn:	neqn.sh
	sed -e 's/@@g@@/$(g)/g' ${.ALLSRC} > ${.TARGET}

.include <bsd.prog.mk>
@


1.18
log
@Per a suggestion from matthew green, PROG_CXX takes the place of
PROG for C++ programs.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.17 2002/01/01 00:27:33 thorpej Exp $
@


1.17
log
@Set PROG_CXX since these are C++ programs.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.16 2001/11/13 17:01:23 tv Exp $
d8 1
a8 2
PROG=		eqn
PROG_CXX=
@


1.16
log
@Build *_tab.h as part of DPSRCS to make "make depend" work correctly.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.15 2001/11/12 17:09:46 tv Exp $
d9 1
@


1.15
log
@Build .y.cc correctly.  The .h file is supposed to be "foo_tab.h", not
"foo.tab.h", and now no longer exists in gnu/dist/groff to avoid conflicts.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.14 2001/04/19 14:41:13 wiz Exp $
d12 1
a12 1
CPPFLAGS+=	-I${DIST}
d15 2
d18 1
a18 3
CLEANFILES+=	eqn.cc eqn_tab.h neqn

lex.o:	eqn.cc
@


1.14
log
@Remove old groff files from usr.bin.
Pull up reach-over to head.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1.1.2 2001/04/19 14:33:07 wiz Exp $
d16 1
a16 1
CLEANFILES+=	eqn.cc eqn.tab.h neqn
@


1.13
log
@More .mk file fallout.  *sigh*
@
text
@d1 6
a6 1
#	$NetBSD: Makefile,v 1.12 1997/10/25 10:11:33 lukem Exp $
d12 1
a12 1
CPPFLAGS+=	-I. -I$(.CURDIR)/../include
a27 2
.include "../../Makefile.inc"
.include "../Makefile.cfg"
@


1.12
log
@use CPPFLAGS instead of CFLAGS
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.11 1997/10/18 05:58:51 lukem Exp $
d18 1
a18 1
all: neqn
@


1.11
log
@rcsid fascism, fix make -j race condition when building libs
@
text
@d1 1
a1 1
#	$NetBSD$
d7 1
a7 1
CFLAGS+=	-I. -I$(.CURDIR)/../include
@


1.11.2.1
log
@sync with trunk (approved by thorpej)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.12 1997/10/25 10:11:33 lukem Exp $
d7 1
a7 1
CPPFLAGS+=	-I. -I$(.CURDIR)/../include
@


1.10
log
@Makefile cleanups
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.9 1995/06/10 20:37:55 mycroft Exp $
@


1.9
log
@Explicitly remove file before creating it.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.2 1995/04/24 19:08:32 ghudson Exp $
d11 1
a11 1
CLEANFILES+=	eqn.cc eqn.tab.h
d15 7
a21 5
afterinstall:
	rm -f ${DESTDIR}${BINDIR}/neqn
	sed -e 's/@@g@@/$(g)/g' $(.CURDIR)/neqn.sh > $(DESTDIR)$(BINDIR)/neqn
	chown ${BINOWN}:${BINGRP} $(DESTDIR)$(BINDIR)/neqn
	chmod ${BINMODE} $(DESTDIR)$(BINDIR)/neqn
@


1.8
log
@Use `:', rather than `.' to separate user and group in chown commands
in case we ever decide to remove the support for the (obsolete) `.'
separator.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.7 1993/08/02 17:42:41 mycroft Exp $
d16 1
@


1.7
log
@Add RCS identifiers, remove some completely useless RCS logs and patchkit
headers, and a few other insignificant changes.
@
text
@d1 1
a1 1
#	$Id: $
d17 1
a17 1
	chown ${BINOWN}.${BINGRP} $(DESTDIR)$(BINDIR)/neqn
@


1.6
log
@Make lex.o depend on eqn.cc to force eqn.tab.h to be built...
@
text
@d1 1
a1 1
# Makefile for eqn
@


1.5
log
@Fix some lossage that was caused bsd.prog.mk to be included twice.
@
text
@d13 2
@


1.4
log
@Put eqn.cc in $SRCS, even thought it is generated automatically, so that
`make depend' doesn't barf on it.
@
text
@a17 1
.include <bsd.prog.mk>
d20 1
@


1.3
log
@Update groff to release 1.08
@
text
@d5 2
a6 2
		script.cc mark.cc other.cc delim.cc sqrt.cc pile.cc special.cc
OBJS=		eqn.o 
@


1.2
log
@Use CXX and CXXFLAGS.
@
text
@d1 1
a1 1
#	@@(#)Makefile	6.1 (Berkeley) 3/3/91
d3 9
a11 2
.include "../Makefile.g++"
.include "../../Makefile.inc"
d13 4
a16 9
PROG=		eqn
SRCS=		box.cc delim.cc eqn.y lex.cc limit.cc list.cc \
		main.cc mark.cc other.cc over.cc pile.cc script.cc \
		sqrt.cc text.cc
LDADD+=		$(.CURDIR)/../libgroff/obj/libgroff.a
# Delete the -Ig++-include after we fix libg++ and install it
CXXFLAGS+=	-I. -I$(.CURDIR) -I$(.CURDIR)/../libgroff \
		-I$(.CURDIR)/../../../lib/libg++/g++-include
CLEANFILES+=	eqn.tab.h
d19 2
@


1.1
log
@Initial revision
@
text
@d12 1
a12 1
GXXFLAGS+=	-I. -I$(.CURDIR) -I$(.CURDIR)/../libgroff \
@


1.1.1.1
log
@initial import of 386bsd-0.1 sources
@
text
@@


1.1.1.2
log
@New reachover build structure for groff 1.16.1.
@
text
@d1 1
a1 1
#	$NetBSD$
d3 2
a4 4
.include "../Makefile.lib"

DIST=		${IDIST}/src/preproc/eqn
.PATH:		${DIST}
d7 8
a14 18
SRCS=		main.cc lex.cc  box.cc limit.cc list.cc over.cc text.cc\
		script.cc mark.cc other.cc delim.cc sqrt.cc pile.cc special.cc\
		eqn.cc
CPPFLAGS+=	-I${DIST}
LDADD+=		$(LIBGROFF)
DPADD+=		$(LIBGROFF)

CLEANFILES+=	eqn.cc eqn.tab.h neqn

lex.o:	eqn.cc

FILES=neqn
FILESMODE=${BINMODE}

realall: neqn

neqn:	neqn.sh
	sed -e 's/@@g@@/$(g)/g' ${.ALLSRC} > ${.TARGET}
@

