head	1.20;
access;
symbols
	perseant-exfatfs-base-20250801:1.20
	perseant-exfatfs-base-20240630:1.20
	cjep_sun2x:1.20.0.44
	cjep_sun2x-base:1.20
	cjep_staticlib_x-base1:1.20
	cjep_staticlib_x:1.20.0.42
	cjep_staticlib_x-base:1.20
	phil-wifi-20200421:1.20
	phil-wifi-20200411:1.20
	phil-wifi-20200406:1.20
	pgoyette-compat-merge-20190127:1.20
	pgoyette-compat-20190127:1.20
	pgoyette-compat-20190118:1.20
	pgoyette-compat-1226:1.20
	pgoyette-compat-1126:1.20
	pgoyette-compat-1020:1.20
	pgoyette-compat-0930:1.20
	pgoyette-compat-0906:1.20
	pgoyette-compat-0728:1.20
	pgoyette-compat-0625:1.20
	pgoyette-compat-0521:1.20
	pgoyette-compat-0502:1.20
	pgoyette-compat-0422:1.20
	pgoyette-compat-0415:1.20
	pgoyette-compat-0407:1.20
	pgoyette-compat-0330:1.20
	pgoyette-compat-0322:1.20
	pgoyette-compat-0315:1.20
	pgoyette-compat:1.20.0.40
	pgoyette-compat-base:1.20
	perseant-stdc-iso10646:1.20.0.38
	perseant-stdc-iso10646-base:1.20
	prg-localcount2-base3:1.20
	prg-localcount2-base2:1.20
	prg-localcount2-base1:1.20
	prg-localcount2:1.20.0.36
	prg-localcount2-base:1.20
	pgoyette-localcount-20170426:1.20
	bouyer-socketcan-base1:1.20
	pgoyette-localcount-20170320:1.20
	bouyer-socketcan:1.20.0.34
	bouyer-socketcan-base:1.20
	pgoyette-localcount-20170107:1.20
	pgoyette-localcount-20161104:1.20
	localcount-20160914:1.20
	pgoyette-localcount-20160806:1.20
	pgoyette-localcount-20160726:1.20
	pgoyette-localcount:1.20.0.32
	pgoyette-localcount-base:1.20
	netbsd-5-2-3-RELEASE:1.20
	netbsd-5-1-5-RELEASE:1.20
	yamt-pagecache-base9:1.20
	yamt-pagecache-tag8:1.20
	tls-earlyentropy:1.20.0.28
	tls-earlyentropy-base:1.20
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.20
	riastradh-drm2-base3:1.20
	netbsd-5-2-2-RELEASE:1.20
	netbsd-5-1-4-RELEASE:1.20
	netbsd-5-2-1-RELEASE:1.20
	netbsd-5-1-3-RELEASE:1.20
	agc-symver:1.20.0.30
	agc-symver-base:1.20
	tls-maxphys-base:1.20
	yamt-pagecache-base8:1.20
	netbsd-5-2:1.20.0.26
	yamt-pagecache-base7:1.20
	netbsd-5-2-RELEASE:1.20
	netbsd-5-2-RC1:1.20
	yamt-pagecache-base6:1.20
	yamt-pagecache-base5:1.20
	yamt-pagecache-base4:1.20
	netbsd-5-1-2-RELEASE:1.20
	netbsd-5-1-1-RELEASE:1.20
	yamt-pagecache-base3:1.20
	yamt-pagecache-base2:1.20
	yamt-pagecache:1.20.0.24
	yamt-pagecache-base:1.20
	bouyer-quota2-nbase:1.20
	bouyer-quota2:1.20.0.22
	bouyer-quota2-base:1.20
	matt-nb5-pq3:1.20.0.20
	matt-nb5-pq3-base:1.20
	netbsd-5-1:1.20.0.18
	netbsd-5-1-RELEASE:1.20
	netbsd-5-1-RC4:1.20
	netbsd-5-1-RC3:1.20
	netbsd-5-1-RC2:1.20
	netbsd-5-1-RC1:1.20
	netbsd-5-0-2-RELEASE:1.20
	netbsd-5-0-1-RELEASE:1.20
	jym-xensuspend-nbase:1.20
	netbsd-5-0:1.20.0.16
	netbsd-5-0-RELEASE:1.20
	netbsd-5-0-RC4:1.20
	netbsd-5-0-RC3:1.20
	netbsd-5-0-RC2:1.20
	jym-xensuspend:1.20.0.14
	jym-xensuspend-base:1.20
	netbsd-5-0-RC1:1.20
	netbsd-5:1.20.0.12
	netbsd-5-base:1.20
	mjf-devfs2:1.20.0.10
	mjf-devfs2-base:1.20
	yamt-pf42-base4:1.20
	yamt-pf42-base3:1.20
	hpcarm-cleanup-nbase:1.20
	yamt-pf42-base2:1.20
	yamt-pf42:1.20.0.8
	yamt-pf42-base:1.20
	keiichi-mipv6:1.20.0.6
	keiichi-mipv6-base:1.20
	cube-autoconf:1.20.0.4
	cube-autoconf-base:1.20
	hpcarm-cleanup:1.20.0.2
	hpcarm-cleanup-base:1.20
	netbsd-1-6-PATCH002-RELEASE:1.19
	netbsd-1-6-PATCH002:1.19
	netbsd-1-6-PATCH002-RC4:1.19
	netbsd-1-6-PATCH002-RC3:1.19
	netbsd-1-6-PATCH002-RC2:1.19
	netbsd-1-6-PATCH002-RC1:1.19
	WIZ_20030630_PRE_1_19:1.19
	netbsd-1-6-PATCH001:1.19
	netbsd-1-6-PATCH001-RELEASE:1.19
	netbsd-1-6-PATCH001-RC3:1.19
	netbsd-1-6-PATCH001-RC2:1.19
	netbsd-1-6-PATCH001-RC1:1.19
	fvdl_fs64_base:1.19
	netbsd-1-6-RELEASE:1.19
	netbsd-1-6-RC3:1.19
	netbsd-1-6-RC2:1.19
	netbsd-1-6-RC1:1.19
	netbsd-1-6:1.19.0.2
	netbsd-1-6-base:1.19
	netbsd-1-5-PATCH003:1.16
	netbsd-1-5-PATCH002:1.16
	netbsd-1-5-PATCH001:1.16
	groff-1-16-1-reachover:1.1.1.2
	TNF:1.1.1
	netbsd-1-5-RELEASE:1.16
	netbsd-1-5-BETA2:1.16
	netbsd-1-5-BETA:1.16
	netbsd-1-4-PATCH003:1.16
	netbsd-1-5-ALPHA2:1.16
	netbsd-1-5:1.16.0.8
	netbsd-1-5-base:1.16
	netbsd-1-4-PATCH002:1.16
	wrstuden-devbsize-19991221:1.16
	wrstuden-devbsize:1.16.0.6
	wrstuden-devbsize-base:1.16
	comdex-fall-1999:1.16.0.4
	comdex-fall-1999-base:1.16
	netbsd-1-4-PATCH001:1.16
	netbsd-1-4-RELEASE:1.16
	netbsd-1-4:1.16.0.2
	netbsd-1-4-base:1.16
	netbsd-1-3-PATCH003:1.13.2.1
	netbsd-1-3-PATCH003-CANDIDATE2:1.13.2.1
	netbsd-1-3-PATCH003-CANDIDATE1:1.13.2.1
	netbsd-1-3-PATCH003-CANDIDATE0:1.13.2.1
	netbsd-1-3-PATCH002:1.13.2.1
	netbsd-1-3-PATCH001:1.13.2.1
	netbsd-1-3-RELEASE:1.13.2.1
	netbsd-1-3-BETA:1.13.2.1
	netbsd-1-3:1.13.0.2
	netbsd-1-3-base:1.13
	netbsd-1-2-PATCH001:1.10
	netbsd-1-2-RELEASE:1.10
	explorer-groff-upgrade:1.10
	netbsd-1-2-BETA:1.10
	netbsd-1-2-base:1.10
	netbsd-1-2:1.10.0.4
	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.7
	netbsd-1-0-PATCH05:1.7
	netbsd-1-0-PATCH04:1.7
	netbsd-1-0-PATCH03:1.7
	netbsd-1-0-PATCH02:1.7
	netbsd-1-0-PATCH1:1.7
	netbsd-1-0-PATCH0:1.7
	netbsd-1-0-RELEASE:1.7
	netbsd-1-0:1.7.0.2
	netbsd-1-0-base:1.7
	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.20
date	2003.06.30.18.34.25;	author wiz;	state dead;
branches;
next	1.19;

1.19
date	2002.01.01.01.38.30;	author thorpej;	state Exp;
branches;
next	1.18;

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

1.17
date	2001.04.19.14.41.47;	author wiz;	state Exp;
branches;
next	1.16;

1.16
date	99.02.13.02.54.28;	author lukem;	state Exp;
branches;
next	1.15;

1.15
date	98.09.27.17.22.06;	author lukem;	state Exp;
branches;
next	1.14;

1.14
date	97.10.25.10.12.32;	author lukem;	state Exp;
branches;
next	1.13;

1.13
date	97.10.18.05.59.35;	author lukem;	state Exp;
branches
	1.13.2.1;
next	1.12;

1.12
date	97.03.24.22.06.34;	author christos;	state Exp;
branches;
next	1.11;

1.11
date	96.10.18.03.06.42;	author thorpej;	state Exp;
branches;
next	1.10;

1.10
date	95.10.26.00.59.18;	author jtc;	state Exp;
branches;
next	1.9;

1.9
date	95.01.15.21.59.34;	author jtc;	state Exp;
branches;
next	1.8;

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

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

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

1.5
date	93.07.15.22.05.14;	author jtc;	state Exp;
branches;
next	1.4;

1.4
date	93.07.15.16.41.39;	author jtc;	state Exp;
branches;
next	1.3;

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

1.2
date	93.04.19.00.03.46;	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.13.2.1
date	97.11.08.06.54.04;	author lukem;	state Exp;
branches;
next	1.13.2.2;

1.13.2.2
date	99.02.03.07.09.46;	author cgd;	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.14;	author wiz;	state Exp;
branches;
next	;


desc
@@


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

.include "../Makefile.lib"

DIST=		${IDIST}/src/roff/troff
.PATH:		${DIST}

PROG_CXX=	troff
SRCS=		column.cc dictionary.cc div.cc env.cc input.cc node.cc \
		number.cc reg.cc symbol.cc majorminor.cc
LDADD+=		$(LIBGROFF) -lm
DPADD+=		$(LIBGROFF) $(LIBM)

CLEANFILES+=	majorminor.cc
majorminor.cc: $(IDIST)/VERSION
	@@echo Making $@@
	@@-rm -f $@@
	@@echo const char \*major_version = \
	\"`sed -e 's/^\([^.]*\)\..*$$/\1/' $(IDIST)/VERSION`\"\; >$@@
	@@echo const char \*minor_version = \
	\"`sed -e 's/^[^.]*\.\([0-9]*\).*$$/\1/' $(IDIST)/VERSION`\"\; >>$@@
	@@echo const char \*revision = \"`cat $(IDIST)/REVISION`\"\; >>$@@

.include <bsd.own.mk>

# XXX -- this depends on ../include/defs.h
TMACDIR=/usr/share/tmac

.if ${MKSHARE} != "no"
FILES=hyphen.us
FILESDIR=${TMACDIR}
.endif

.include <bsd.prog.mk>
@


1.19
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.18 2002/01/01 00:27:37 thorpej Exp $
@


1.18
log
@Set PROG_CXX since these are C++ programs.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.17 2001/04/19 14:41:47 wiz Exp $
d8 1
a8 2
PROG=		troff
PROG_CXX=
@


1.17
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:14 wiz Exp $
d9 1
@


1.16
log
@convert from NOxxx= to MKxxx=no.
include <bsd.own.mk> if testing a MKxxx variable.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.15 1998/09/27 17:22:06 lukem Exp $
d3 4
a6 1
.include <bsd.own.mk>
d9 2
a10 3
SRCS=		env.cc node.cc input.cc div.cc symbol.cc dictionary.cc reg.cc \
		number.cc majorminor.cc
CPPFLAGS+=	-I$(.CURDIR)/../include
d15 1
a15 1
majorminor.cc: $(.CURDIR)/../VERSION
d19 1
a19 1
	\"`sed -e 's/^\([^.]*\)\..*$$/\1/' $(.CURDIR)/../VERSION`\"\; >$@@
d21 4
a24 1
	\"`sed -e 's/^[^.]*\.\([0-9]*\).*$$/\1/' $(.CURDIR)/../VERSION`\"\; >>$@@
a33 2
.include "../../Makefile.inc"
.include "../Makefile.cfg"
@


1.15
log
@don't install in /usr/share if NOSHARE is defined
@
text
@d1 3
a3 1
#	$NetBSD: Makefile,v 1.14 1997/10/25 10:12:32 lukem Exp $
d24 1
a24 1
.if !defined(NOSHARE)
@


1.14
log
@use CPPFLAGS instead of CFLAGS
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.13 1997/10/18 05:59:35 lukem Exp $
d22 1
d25 1
@


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


1.13.2.1
log
@sync with trunk (approved by thorpej)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.14 1997/10/25 10:12:32 lukem Exp $
d6 1
a6 1
CPPFLAGS+=	-I$(.CURDIR)/../include
@


1.13.2.2
log
@Avoid g++ optimisation bugs in 2.7.2.2 that cause troff and grotty
to crash on vax.  Not needed with -current/egcs.  (abs)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.13.2.1 1997/11/08 06:54:04 lukem Exp $
a23 6

# gcc 2.7.2.2 c++ optimisation broken on vax. (env.cc)
# egcs fixes this, but for now disable optimisation to get working groff.
.if (${MACHINE_ARCH} == "vax" && ${CXXFLAGS} == "-O")
CXXFLAGS=
.endif
@


1.12
log
@Makefile cleanups
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.11 1996/10/18 03:06:42 thorpej Exp $
@


1.11
log
@Use ${INSTALL}.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.10 1995/10/26 00:59:18 jtc Exp $
d22 2
a23 3
afterinstall:
	${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 $(.CURDIR)/hyphen.us \
		$(DESTDIR)$(TMACDIR)/hyphen.us
@


1.10
log
@LIBMATH -> LIBM; (PR #1689)
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.9 1995/01/15 21:59:34 jtc Exp $
d23 1
a23 1
	install -c -o ${BINOWN} -g ${BINGRP} -m 444 $(.CURDIR)/hyphen.us \
@


1.9
log
@Fix tipo
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.8 1995/01/12 19:14:55 jtc Exp $
d8 1
a8 1
DPADD+=		$(LIBGROFF) $(LIBMATH)
@


1.8
log
@Use ${BINOWN} and ${BINGRP}.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.7 1993/08/02 17:45:32 mycroft Exp $
d23 1
a23 1
	install -c -o ${BINDIR} -g ${BINGRP} -m 444 $(.CURDIR)/hyphen.us \
@


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: $
d23 1
a23 1
	install -c -o bin -g bin -m 444 $(.CURDIR)/hyphen.us \
@


1.6
log
@Fix some lossage that was caused bsd.prog.mk to be included twice.
@
text
@d1 1
a1 1
# Makefile for troff
@


1.5
log
@Make sure hyphen tables are installed correctly
@
text
@a25 1
.include <bsd.prog.mk>
d28 1
@


1.4
log
@Check in remainder of groff 1.08
@
text
@d19 2
a20 6
install_data: hyphen.us
	-test -d $(datadir) || mkdir $(datadir)
	-test -d $(datasubdir) || mkdir $(datasubdir)
	-test -d $(tmacdir) || mkdir $(tmacdir)
	-rm -f $(tmacdir)/hyphen.us
	$(INSTALL_DATA) $(srcdir)/hyphen.us $(tmacdir)/hyphen.us
a21 3
uninstall_sub:
	-rm -f $(tmacdir)/hyphen.us

d24 1
a24 1
		$(DESTDIR)$(tmacdir)/hyphen.us
@


1.3
log
@Use CXX and CXXFLAGS.
@
text
@d1 1
a1 1
#	@@(#)Makefile	6.2 (Berkeley) 3/3/91
d3 22
a24 2
.include "../Makefile.g++"
.include "../../Makefile.inc"
d26 2
a27 10
PROG=		troff
HYPHENDIR=	/usr/share/misc
SRCS=		column.cc dictionary.cc div.cc env.cc input.cc \
		node.cc number.cc reg.cc symbol.cc
LDADD+=		$(.CURDIR)/../libgroff/obj/libgroff.a -lm
# Delete the -Ig++-include after we fix libg++ and install it
CXXFLAGS+=	-I$(.CURDIR) -I$(.CURDIR)/../libgroff \
		-I$(.CURDIR)/../../../lib/libg++/g++-include \
		-DMACROPATH=\"/usr/share/tmac\" -DSTORE_WIDTH \
		-DHYPHENFILE=\"$(HYPHENDIR)/hyphen\"
d30 2
a31 2
	install -c -o bin -g bin -m 444 $(.CURDIR)/hyphen \
		$(DESTDIR)$(HYPHENDIR)/hyphen
d34 2
@


1.2
log
@Cleanup for GCC 2.
@
text
@d12 1
a12 1
GXXFLAGS+=	-I$(.CURDIR) -I$(.CURDIR)/../libgroff \
@


1.1
log
@Initial revision
@
text
@d10 1
a10 1
LDADD+=		$(.CURDIR)/../libgroff/obj/libgroff.a
@


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/roff/troff
.PATH:		${DIST}
d7 13
a19 24
SRCS=		column.cc dictionary.cc div.cc env.cc input.cc node.cc \
		number.cc reg.cc symbol.cc majorminor.cc
LDADD+=		$(LIBGROFF) -lm
DPADD+=		$(LIBGROFF) $(LIBM)

CLEANFILES+=	majorminor.cc
majorminor.cc: $(IDIST)/VERSION
	@@echo Making $@@
	@@-rm -f $@@
	@@echo const char \*major_version = \
	\"`sed -e 's/^\([^.]*\)\..*$$/\1/' $(IDIST)/VERSION`\"\; >$@@
	@@echo const char \*minor_version = \
	\"`sed -e 's/^[^.]*\.\([0-9]*\).*$$/\1/' $(IDIST)/VERSION`\"\; >>$@@
	@@echo const char \*revision = \"`cat $(IDIST)/REVISION`\"\; >>$@@

.include <bsd.own.mk>

# XXX -- this depends on ../include/defs.h
TMACDIR=/usr/share/tmac

.if ${MKSHARE} != "no"
FILES=hyphen.us
FILESDIR=${TMACDIR}
.endif
@

