head	1.30;
access;
symbols
	netbsd-11-0-RC4:1.30
	netbsd-11-0-RC3:1.30
	netbsd-11-0-RC2:1.30
	netbsd-11-0-RC1:1.30
	perseant-exfatfs-base-20250801:1.30
	netbsd-11:1.30.0.16
	netbsd-11-base:1.30
	netbsd-10-1-RELEASE:1.30
	perseant-exfatfs-base-20240630:1.30
	perseant-exfatfs:1.30.0.14
	perseant-exfatfs-base:1.30
	netbsd-8-3-RELEASE:1.29
	netbsd-9-4-RELEASE:1.30
	netbsd-10-0-RELEASE:1.30
	netbsd-10-0-RC6:1.30
	netbsd-10-0-RC5:1.30
	netbsd-10-0-RC4:1.30
	netbsd-10-0-RC3:1.30
	netbsd-10-0-RC2:1.30
	netbsd-10-0-RC1:1.30
	netbsd-10:1.30.0.12
	netbsd-10-base:1.30
	netbsd-9-3-RELEASE:1.30
	cjep_sun2x-base1:1.30
	cjep_sun2x:1.30.0.10
	cjep_sun2x-base:1.30
	cjep_staticlib_x-base1:1.30
	netbsd-9-2-RELEASE:1.30
	cjep_staticlib_x:1.30.0.8
	cjep_staticlib_x-base:1.30
	netbsd-9-1-RELEASE:1.30
	phil-wifi-20200421:1.30
	phil-wifi-20200411:1.30
	is-mlppp:1.30.0.6
	is-mlppp-base:1.30
	phil-wifi-20200406:1.30
	netbsd-8-2-RELEASE:1.29
	netbsd-9-0-RELEASE:1.30
	netbsd-9-0-RC2:1.30
	netbsd-9-0-RC1:1.30
	phil-wifi-20191119:1.30
	netbsd-9:1.30.0.4
	netbsd-9-base:1.30
	phil-wifi-20190609:1.30
	netbsd-8-1-RELEASE:1.29
	netbsd-8-1-RC1:1.29
	pgoyette-compat-merge-20190127:1.29.22.1
	pgoyette-compat-20190127:1.30
	pgoyette-compat-20190118:1.30
	pgoyette-compat-1226:1.30
	pgoyette-compat-1126:1.30
	pgoyette-compat-1020:1.30
	pgoyette-compat-0930:1.30
	pgoyette-compat-0906:1.30
	netbsd-7-2-RELEASE:1.29
	pgoyette-compat-0728:1.30
	netbsd-8-0-RELEASE:1.29
	phil-wifi:1.30.0.2
	phil-wifi-base:1.30
	pgoyette-compat-0625:1.30
	netbsd-8-0-RC2:1.29
	pgoyette-compat-0521:1.29
	pgoyette-compat-0502:1.29
	pgoyette-compat-0422:1.29
	netbsd-8-0-RC1: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
	netbsd-7-1-2-RELEASE:1.29
	pgoyette-compat:1.29.0.22
	pgoyette-compat-base:1.29
	netbsd-7-1-1-RELEASE:1.29
	matt-nb8-mediatek:1.29.0.20
	matt-nb8-mediatek-base:1.29
	perseant-stdc-iso10646:1.29.0.18
	perseant-stdc-iso10646-base:1.29
	netbsd-8:1.29.0.16
	netbsd-8-base:1.29
	prg-localcount2-base3:1.29
	prg-localcount2-base2:1.29
	prg-localcount2-base1:1.29
	prg-localcount2:1.29.0.14
	prg-localcount2-base:1.29
	pgoyette-localcount-20170426:1.29
	bouyer-socketcan-base1:1.29
	pgoyette-localcount-20170320:1.29
	netbsd-7-1:1.29.0.12
	netbsd-7-1-RELEASE:1.29
	netbsd-7-1-RC2:1.29
	netbsd-7-nhusb-base-20170116:1.29
	bouyer-socketcan:1.29.0.10
	bouyer-socketcan-base:1.29
	pgoyette-localcount-20170107:1.29
	netbsd-7-1-RC1:1.29
	pgoyette-localcount-20161104:1.29
	netbsd-7-0-2-RELEASE:1.29
	localcount-20160914:1.29
	netbsd-7-nhusb:1.29.0.8
	netbsd-7-nhusb-base:1.29
	pgoyette-localcount-20160806:1.29
	pgoyette-localcount-20160726:1.29
	pgoyette-localcount:1.29.0.6
	pgoyette-localcount-base:1.29
	netbsd-7-0-1-RELEASE:1.29
	netbsd-7-0:1.29.0.4
	netbsd-7-0-RELEASE:1.29
	netbsd-7-0-RC3:1.29
	netbsd-7-0-RC2:1.29
	netbsd-7-0-RC1:1.29
	netbsd-5-2-3-RELEASE:1.27
	netbsd-5-1-5-RELEASE:1.27
	netbsd-6-0-6-RELEASE:1.27
	netbsd-6-1-5-RELEASE:1.27
	netbsd-7:1.29.0.2
	netbsd-7-base:1.29
	yamt-pagecache-base9:1.27
	yamt-pagecache-tag8:1.27
	netbsd-6-1-4-RELEASE:1.27
	netbsd-6-0-5-RELEASE:1.27
	tls-earlyentropy:1.27.0.86
	tls-earlyentropy-base:1.29
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.27
	riastradh-drm2-base3:1.27
	netbsd-6-1-3-RELEASE:1.27
	netbsd-6-0-4-RELEASE:1.27
	netbsd-5-2-2-RELEASE:1.27
	netbsd-5-1-4-RELEASE:1.27
	netbsd-6-1-2-RELEASE:1.27
	netbsd-6-0-3-RELEASE:1.27
	netbsd-5-2-1-RELEASE:1.27
	netbsd-5-1-3-RELEASE:1.27
	netbsd-6-1-1-RELEASE:1.27
	riastradh-drm2-base2:1.27
	riastradh-drm2-base1:1.27
	riastradh-drm2:1.27.0.80
	riastradh-drm2-base:1.27
	netbsd-6-1:1.27.0.84
	netbsd-6-0-2-RELEASE:1.27
	netbsd-6-1-RELEASE:1.27
	netbsd-6-1-RC4:1.27
	netbsd-6-1-RC3:1.27
	agc-symver:1.27.0.82
	agc-symver-base:1.27
	netbsd-6-1-RC2:1.27
	netbsd-6-1-RC1:1.27
	yamt-pagecache-base8:1.27
	netbsd-5-2:1.27.0.78
	netbsd-6-0-1-RELEASE:1.27
	yamt-pagecache-base7:1.27
	netbsd-5-2-RELEASE:1.27
	netbsd-5-2-RC1:1.27
	matt-nb6-plus-nbase:1.27
	yamt-pagecache-base6:1.27
	netbsd-6-0:1.27.0.76
	netbsd-6-0-RELEASE:1.27
	netbsd-6-0-RC2:1.27
	tls-maxphys:1.27.0.74
	tls-maxphys-base:1.29
	matt-nb6-plus:1.27.0.72
	matt-nb6-plus-base:1.27
	netbsd-6-0-RC1:1.27
	yamt-pagecache-base5:1.27
	yamt-pagecache-base4:1.27
	netbsd-6:1.27.0.70
	netbsd-6-base:1.27
	netbsd-5-1-2-RELEASE:1.27
	netbsd-5-1-1-RELEASE:1.27
	yamt-pagecache-base3:1.27
	yamt-pagecache-base2:1.27
	yamt-pagecache:1.27.0.68
	yamt-pagecache-base:1.27
	cherry-xenmp:1.27.0.66
	cherry-xenmp-base:1.27
	bouyer-quota2-nbase:1.27
	bouyer-quota2:1.27.0.64
	bouyer-quota2-base:1.27
	matt-mips64-premerge-20101231:1.27
	matt-nb5-mips64-premerge-20101231:1.27
	matt-nb5-pq3:1.27.0.62
	matt-nb5-pq3-base:1.27
	netbsd-5-1:1.27.0.60
	netbsd-5-1-RELEASE:1.27
	netbsd-5-1-RC4:1.27
	matt-nb5-mips64-k15:1.27
	netbsd-5-1-RC3:1.27
	netbsd-5-1-RC2:1.27
	netbsd-5-1-RC1:1.27
	netbsd-5-0-2-RELEASE:1.27
	matt-nb5-mips64-premerge-20091211:1.27
	matt-premerge-20091211:1.27
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.27
	matt-nb4-mips64-k7-u2a-k9b:1.27
	matt-nb5-mips64-u1-k1-k5:1.27
	matt-nb5-mips64:1.27.0.58
	netbsd-5-0-1-RELEASE:1.27
	jym-xensuspend-nbase:1.27
	netbsd-5-0:1.27.0.56
	netbsd-5-0-RELEASE:1.27
	netbsd-5-0-RC4:1.27
	netbsd-5-0-RC3:1.27
	netbsd-5-0-RC2:1.27
	jym-xensuspend:1.27.0.54
	jym-xensuspend-base:1.27
	netbsd-5-0-RC1:1.27
	netbsd-5:1.27.0.52
	netbsd-5-base:1.27
	matt-mips64-base2:1.27
	matt-mips64:1.27.0.50
	mjf-devfs2:1.27.0.48
	mjf-devfs2-base:1.27
	netbsd-4-0-1-RELEASE:1.27
	wrstuden-revivesa-base-3:1.27
	wrstuden-revivesa-base-2:1.27
	wrstuden-fixsa-newbase:1.27
	wrstuden-revivesa-base-1:1.27
	yamt-pf42-base4:1.27
	yamt-pf42-base3:1.27
	hpcarm-cleanup-nbase:1.27
	yamt-pf42-baseX:1.27
	yamt-pf42-base2:1.27
	wrstuden-revivesa:1.27.0.46
	wrstuden-revivesa-base:1.27
	yamt-pf42:1.27.0.44
	yamt-pf42-base:1.27
	keiichi-mipv6-nbase:1.27
	keiichi-mipv6:1.27.0.42
	keiichi-mipv6-base:1.27
	matt-armv6-nbase:1.27
	matt-armv6-prevmlocking:1.27
	wrstuden-fixsa-base-1:1.27
	netbsd-4-0:1.27.0.40
	netbsd-4-0-RELEASE:1.27
	cube-autoconf:1.27.0.38
	cube-autoconf-base:1.27
	netbsd-4-0-RC5:1.27
	netbsd-4-0-RC4:1.27
	netbsd-4-0-RC3:1.27
	netbsd-4-0-RC2:1.27
	netbsd-4-0-RC1:1.27
	matt-armv6:1.27.0.36
	matt-armv6-base:1.27
	matt-mips64-base:1.27
	hpcarm-cleanup:1.27.0.34
	hpcarm-cleanup-base:1.27
	netbsd-3-1-1-RELEASE:1.27
	netbsd-3-0-3-RELEASE:1.27
	wrstuden-fixsa:1.27.0.32
	wrstuden-fixsa-base:1.27
	abandoned-netbsd-4-base:1.27
	abandoned-netbsd-4:1.27.0.26
	netbsd-3-1:1.27.0.28
	netbsd-3-1-RELEASE:1.27
	netbsd-3-0-2-RELEASE:1.27
	netbsd-3-1-RC4:1.27
	netbsd-3-1-RC3:1.27
	netbsd-3-1-RC2:1.27
	netbsd-3-1-RC1:1.27
	netbsd-4:1.27.0.30
	netbsd-4-base:1.27
	chap-midi-nbase:1.27
	netbsd-3-0-1-RELEASE:1.27
	chap-midi:1.27.0.24
	chap-midi-base:1.27
	netbsd-3-0:1.27.0.22
	netbsd-3-0-RELEASE:1.27
	netbsd-3-0-RC6:1.27
	netbsd-3-0-RC5:1.27
	netbsd-3-0-RC4:1.27
	netbsd-3-0-RC3:1.27
	netbsd-3-0-RC2:1.27
	netbsd-3-0-RC1:1.27
	netbsd-2-0-3-RELEASE:1.27
	netbsd-2-1:1.27.0.20
	netbsd-2-1-RELEASE:1.27
	netbsd-2-1-RC6:1.27
	netbsd-2-1-RC5:1.27
	netbsd-2-1-RC4:1.27
	netbsd-2-1-RC3:1.27
	netbsd-2-1-RC2:1.27
	netbsd-2-1-RC1:1.27
	netbsd-2-0-2-RELEASE:1.27
	netbsd-3:1.27.0.18
	netbsd-3-base:1.27
	netbsd-2-0-1-RELEASE:1.27
	netbsd-2:1.27.0.16
	netbsd-2-base:1.27
	netbsd-2-0-RELEASE:1.27
	netbsd-2-0-RC5:1.27
	netbsd-2-0-RC4:1.27
	netbsd-2-0-RC3:1.27
	netbsd-2-0-RC2:1.27
	netbsd-2-0-RC1:1.27
	netbsd-2-0:1.27.0.14
	netbsd-2-0-base:1.27
	netbsd-1-6-PATCH002-RELEASE:1.27
	netbsd-1-6-PATCH002:1.27
	netbsd-1-6-PATCH002-RC4:1.27
	netbsd-1-6-PATCH002-RC3:1.27
	netbsd-1-6-PATCH002-RC2:1.27
	netbsd-1-6-PATCH002-RC1:1.27
	netbsd-1-6-PATCH001:1.27
	netbsd-1-6-PATCH001-RELEASE:1.27
	netbsd-1-6-PATCH001-RC3:1.27
	netbsd-1-6-PATCH001-RC2:1.27
	netbsd-1-6-PATCH001-RC1:1.27
	fvdl_fs64_base:1.27
	netbsd-1-6-RELEASE:1.27
	netbsd-1-6-RC3:1.27
	netbsd-1-6-RC2:1.27
	netbsd-1-6-RC1:1.27
	netbsd-1-6:1.27.0.12
	netbsd-1-6-base:1.27
	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.27
	netbsd-1-5-ALPHA2:1.27
	netbsd-1-5:1.27.0.10
	netbsd-1-5-base:1.27
	minoura-xpg4dl-base:1.27
	minoura-xpg4dl:1.27.0.8
	netbsd-1-4-PATCH002:1.27
	wrstuden-devbsize-19991221:1.27
	wrstuden-devbsize:1.27.0.6
	wrstuden-devbsize-base:1.27
	comdex-fall-1999:1.27.0.4
	comdex-fall-1999-base:1.27
	netbsd-1-4-PATCH001:1.27
	netbsd-1-4-RELEASE:1.27
	netbsd-1-4:1.27.0.2
	netbsd-1-4-base:1.27
	netbsd-1-3-PATCH003:1.18.2.3
	netbsd-1-3-PATCH003-CANDIDATE2:1.18.2.3
	netbsd-1-3-PATCH003-CANDIDATE1:1.18.2.3
	netbsd-1-3-PATCH003-CANDIDATE0:1.18.2.3
	netbsd-1-3-PATCH002:1.18.2.2
	netbsd-1-3-PATCH001:1.18.2.2
	netbsd-1-3-RELEASE:1.18.2.1
	netbsd-1-3-BETA:1.18.2.1
	netbsd-1-3:1.18.0.2
	netbsd-1-3-base:1.18
	lite-2:1.1.1.1
	netbsd-1-2-PATCH001:1.14
	netbsd-1-2-RELEASE:1.14
	netbsd-1-2-BETA:1.14
	netbsd-1-2:1.14.0.6
	netbsd-1-2-base:1.14
	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.12
	netbsd-1-0-PATCH05:1.12
	netbsd-1-0-PATCH04:1.12
	netbsd-1-0-PATCH03:1.12
	netbsd-1-0-PATCH02:1.12
	netbsd-1-0-PATCH1:1.12
	netbsd-1-0-PATCH0:1.12
	netbsd-1-0-RELEASE:1.12
	netbsd-1-0:1.12.0.2
	netbsd-1-0-base:1.12
	lite-1:1.1.1.1
	CSRG:1.1.1
	netbsd-0-9-RELEASE:1.3.2.1
	netbsd-0-9-BETA:1.3.2.1
	netbsd-0-9-ALPHA2:1.3
	netbsd-0-9-ALPHA:1.3
	netbsd-0-9:1.3.0.2
	netbsd-0-9-base:1.3
	netbsd-0-8:1.2
	netbsd-alpha-1:1.2;
locks; strict;
comment	@# @;


1.30
date	2018.06.11.14.18.17;	author kamil;	state Exp;
branches;
next	1.29;
commitid	9pG6Y4T5X8a51SFA;

1.29
date	2014.07.05.19.22.43;	author dholland;	state Exp;
branches
	1.29.22.1;
next	1.28;
commitid	mbedNMLrcXUhUdHx;

1.28
date	2014.07.05.19.22.04;	author dholland;	state Exp;
branches;
next	1.27;
commitid	3a5SlnCocjK3UdHx;

1.27
date	99.02.09.18.28.10;	author tv;	state Exp;
branches
	1.27.74.1
	1.27.86.1;
next	1.26;

1.26
date	99.02.03.00.17.35;	author tv;	state Exp;
branches;
next	1.25;

1.25
date	98.11.07.17.52.19;	author jonathan;	state Exp;
branches;
next	1.24;

1.24
date	98.09.27.17.22.11;	author lukem;	state Exp;
branches;
next	1.23;

1.23
date	98.02.23.10.09.32;	author jonathan;	state Exp;
branches;
next	1.22;

1.22
date	98.02.23.01.04.08;	author jonathan;	state Exp;
branches;
next	1.21;

1.21
date	98.02.23.01.03.25;	author jonathan;	state Exp;
branches;
next	1.20;

1.20
date	98.02.22.12.55.44;	author christos;	state Exp;
branches;
next	1.19;

1.19
date	97.10.24.09.00.31;	author lukem;	state Exp;
branches;
next	1.18;

1.18
date	97.10.19.13.01.25;	author lukem;	state Exp;
branches
	1.18.2.1;
next	1.17;

1.17
date	97.10.11.09.34.39;	author mycroft;	state Exp;
branches;
next	1.16;

1.16
date	97.03.24.21.59.37;	author christos;	state Exp;
branches;
next	1.15;

1.15
date	96.10.18.06.14.49;	author thorpej;	state Exp;
branches;
next	1.14;

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

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

1.12
date	94.06.30.05.33.37;	author cgd;	state Exp;
branches;
next	1.11;

1.11
date	94.06.25.05.57.54;	author cgd;	state Exp;
branches;
next	1.10;

1.10
date	94.05.17.03.35.48;	author cgd;	state Exp;
branches;
next	1.9;

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

1.8
date	94.02.10.02.03.37;	author cgd;	state Exp;
branches;
next	1.7;

1.7
date	93.12.06.05.28.34;	author cgd;	state Exp;
branches;
next	1.6;

1.6
date	93.10.01.00.38.38;	author jtc;	state Exp;
branches;
next	1.5;

1.5
date	93.08.23.05.02.37;	author cgd;	state Exp;
branches;
next	1.4;

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

1.3
date	93.05.20.01.24.27;	author cgd;	state Exp;
branches
	1.3.2.1;
next	1.2;

1.2
date	93.04.10.20.39.06;	author cgd;	state Exp;
branches;
next	1.1;

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

1.29.22.1
date	2018.06.25.07.26.10;	author pgoyette;	state Exp;
branches;
next	;
commitid	8PtAu9af7VvhiDHA;

1.27.74.1
date	2014.08.20.00.04.59;	author tls;	state Exp;
branches;
next	;
commitid	jTnpym9Qu0o4R1Nx;

1.27.86.1
date	2014.08.10.06.58.12;	author tls;	state Exp;
branches;
next	;
commitid	c6N8fsLBZUi9DMLx;

1.18.2.1
date	97.11.08.10.37.02;	author lukem;	state Exp;
branches;
next	1.18.2.2;

1.18.2.2
date	98.03.09.22.01.03;	author mellon;	state Exp;
branches;
next	1.18.2.3;

1.18.2.3
date	98.11.09.07.57.20;	author cgd;	state Exp;
branches;
next	;

1.3.2.1
date	93.08.14.02.09.53;	author cgd;	state Exp;
branches;
next	;

1.1.1.1
date	94.05.17.03.13.25;	author cgd;	state Exp;
branches;
next	;


desc
@@


1.30
log
@Restore the MKGROFF=bo MKCXX=yes build

Mark the documentation in dc(1), gprof(1), rogue(6) and fsck_ffs(8) with
the .roff flag in SUBDIR.

Sponsored by <The NetBSD Foundation>
@
text
@#	$NetBSD: Makefile,v 1.29 2014/07/05 19:22:43 dholland Exp $

SUBDIR.roff=PSD.doc

.include <bsd.subdir.mk>
@


1.29
log
@Reorg docs, part 1:
Move all the reference manuals to subdirs of /usr/share/doc/reference.
We have subdirs ref1-ref9, corresponding to man page sections 1-9.

Everything that's the reference manual for a program (sections 1, 6,
8), C interface (sections 2, 3), driver or file system (section 4),
format or configuration (section 5), or kernel internal interface
(section 9) belongs in here.

Section 7 is a little less clear: some things that might go in section
7 if they were a man page aren't really reference manuals. So I'm only
putting things in reference section 7 that are (to me) clearly
reference material, rather than e.g. tutorials, guides, FAQs, etc.
This obviously leaves some room for debate, especially without first
editing the docs with this distinction in mind, but if people hate
what I've done things can always be moved again.

Note also that while roff macro man pages traditionally go in section
7, I have put all the roff documentation (macros, tools, etc.) in one
place in reference/ref1/roff. This will make it easier to find and
also easier to edit it into some kind of coherent form.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.28 2014/07/05 19:22:04 dholland Exp $
d3 1
a3 1
SUBDIR=PSD.doc
@


1.29.22.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.30 2018/06/11 14:18:17 kamil Exp $
d3 1
a3 1
SUBDIR.roff=PSD.doc
@


1.28
log
@Rework /usr/share/doc.

Update the <bsd.doc.mk> infrastructure, and update the docs to match
the new infrastructure.

- Build and install text, ps, pdf, and/or html, not roff sources.

- Don't wire the chapter numbers into the build system, or use them in
the installed pathnames. This didn't matter much when the docs were a
museum, but now that we're theoretically going to start maintaining
them again, we're going to add and remove documents periodically and
having the chapter numbers baked in creates a lot of thrashing for no
purpose.

- Specify the document name explicitly, rather than implicitly in a
path. Use this name (instead of other random strings) as the name
of the installed files.

- Specify the document section, which is the subdirectory of
/usr/share/doc to install into.

- Allow multiple subdocuments. (That is, multiple documents in one
output directory.)

- Enumerate the .png files groff emits along with html so they can be
installed.

- Remove assorted hand-rolled rules for running roff and roff widgetry
and add enough variable settings to make these unnecessary. This
includes support for
   - explicit use of soelim
   - refer
   - tbl
   - pic
   - eqn

- Forcibly apply at least minimal amounts of sanity to certain
autogenerated roff files.

- Don't exclude USD.doc, SMM.doc, and PSD.doc directories from the
build, as they now actually do stuff.

Note: currently we can't generate pdf. This turns out to be a
nontrivial problem with no immediate solution forthcoming. So for now,
as a workaround, install compressed .ps as the printable form.
@
text
@d1 3
a3 1
#	$NetBSD: Makefile,v 1.27 1999/02/09 18:28:10 tv Exp $
@


1.27
log
@Goodbye, Berkeley gprof; we shall miss you!
(PSD doc remains here, as it has not lost relevance.)
@
text
@d1 1
a1 5
#	$NetBSD: Makefile,v 1.26 1999/02/03 00:17:35 tv Exp $

.if make(install)
SUBDIR=	PSD.doc
.endif
@


1.27.74.1
log
@Rebase to HEAD as of a few days ago.
@
text
@d1 1
a1 1
#	$NetBSD$
d3 3
a5 1
SUBDIR=PSD.doc
@


1.27.86.1
log
@Rebase.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.29 2014/07/05 19:22:43 dholland Exp $
d3 3
a5 1
SUBDIR=PSD.doc
@


1.26
log
@Re-enable binutils-based gprof for i386, and disable old gprof on i386.
@
text
@d1 1
a1 18
#	$NetBSD: Makefile,v 1.25 1998/11/07 17:52:19 jonathan Exp $
#	@@(#)Makefile	8.1 (Berkeley) 6/29/93

.include <bsd.own.mk>			# for OBJECT_FMT definition

.if ((${OBJECT_FMT} == "a.out") && \
     (${MACHINE_ARCH} != "i386")) || \
    (${MACHINE_ARCH} == "mips")
PROG=	gprof
.endif

SRCS=	gprof.c arcs.c dfn.c lookup.c ${MACHINE_ARCH}.c hertz.c \
	printgprof.c printlist.c
CPPFLAGS+= -D${MACHINE_ARCH}

.if !defined(NOSHARE)
FILES=	${.CURDIR}/gprof.flat ${.CURDIR}/gprof.callg
FILESDIR=/usr/share/misc
d4 1
a4 2
SUBDIR+=PSD.doc
.endif
a6 1
.include <bsd.prog.mk>
@


1.25
log
@binutils gprof doesn't support mips. Build a.out gprof on mips, to support
kernel profiling.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.24 1998/09/27 17:22:11 lukem Exp $
d6 3
a8 1
.if (${OBJECT_FMT} == "a.out") || (${MACHINE_ARCH} == "mips")
@


1.24
log
@don't install in /usr/share if NOSHARE is defined
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.23 1998/02/23 10:09:32 jonathan Exp $
d6 1
a6 1
.if (${OBJECT_FMT} == "a.out")
@


1.23
log
@More table-driven changes for different toolchains:
  * new bsd.own.mk variable OBJECT_FMT with values "a.out" or "ELF".
  * use OBJECT_FMT in Makefile tests that depend on toolchain.
  * Add new bsd.own.mk variable NOSHLIB that, if set indicates a given
    port doesnt yet do shared libraries. Set on powerpc.
  * Document new feature-test variables in src/share/mk/bsd.README.
Tested on i386, mips, fakedup Alpha environment.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.22 1998/02/23 01:04:08 jonathan Exp $
d14 1
d20 1
@


1.22
log
@Remove WARNS=	0 from HEAD.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.21 1998/02/23 01:03:25 jonathan Exp $
d4 3
a6 3
# XXX not ELF?
.if (${MACHINE_ARCH} != "alpha" && ${MACHINE_ARCH} != "mips" && \
     ${MACHINE_ARCH} != "powerpc")
@


1.21
log
@Descend into gprof on all ports to build doc/psd/18.gprof.
Don't define PROG in gprof on ELF or powerpc.
Put back WARNS= 0 for compatibility with 1.3.1.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.20 1998/02/22 12:55:44 christos Exp $
a3 1
WARNS=	0
@


1.20
log
@WARNSify
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.19 1997/10/24 09:00:31 lukem Exp $
d4 4
d9 2
@


1.19
log
@use CPPFLAGS instead of CFLAGS
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.18 1997/10/19 13:01:25 lukem Exp $
a3 1
WARNS=	0
@


1.18
log
@use WARNS=0 not WARNS?=0 to disable warnings
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.17 1997/10/11 09:34:39 mycroft Exp $
d8 1
a8 1
CFLAGS+= -D${MACHINE_ARCH}
@


1.18.2.1
log
@sync with trunk (approved by thorpej)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.19 1997/10/24 09:00:31 lukem Exp $
d8 1
a8 1
CPPFLAGS+= -D${MACHINE_ARCH}
@


1.18.2.2
log
@Pull up 1.21 (jonathan)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.18.2.1 1997/11/08 10:37:02 lukem Exp $
a4 3
# XXX not ELF?
.if (${MACHINE_ARCH} != "alpha" && ${MACHINE_ARCH} != "mips" && \
     ${MACHINE_ARCH} != "powerpc")
a5 2
.endif

@


1.18.2.3
log
@Build a.out gprof on mips.  The binutils gprof doesn't support
the mips, and a.out profiling is better than none.  Fix done differently
in -current, so this was a patch.  (jonathan)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.18.2.2 1998/03/09 22:01:03 mellon Exp $
d6 3
a8 2
.if (${MACHINE_ARCH} != "alpha" && ${MACHINE_ARCH} != "powerpc")
 PROG=	gprof
@


1.17
log
@Use bsd.subdir.mk as appropriate.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.16 1997/03/24 21:59:37 christos Exp $
d4 1
@


1.16
log
@- Makefile cleanups
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.15 1996/10/18 06:14:49 thorpej Exp $
d13 1
a13 1
SUBDIR+= PSD.doc
d17 1
@


1.15
log
@Use ${INSTALL}.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.14 1995/04/19 07:24:08 cgd Exp $
d9 2
a10 4
beforeinstall:
	${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 \
	    ${.CURDIR}/gprof.flat ${.CURDIR}/gprof.callg \
	    ${DESTDIR}/usr/share/misc
@


1.14
log
@add -D${MACHINE_ARCH} to cflags; machines with new cpp predefs need it.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.13 1995/04/19 07:15:50 cgd Exp $
d10 1
a10 1
	install -c -o ${BINOWN} -g ${BINGRP} -m 444 \
@


1.13
log
@clean up RCS ids
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.12 1994/06/30 05:33:37 cgd Exp $
d7 1
@


1.12
log
@deal with new share/doc strategy
@
text
@d1 2
a2 2
#	from: @@(#)Makefile	8.1 (Berkeley) 6/29/93
#	$Id: Makefile,v 1.11 1994/06/25 05:57:54 cgd Exp $
@


1.11
log
@update for new doc-make/install strategy
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.10 1994/05/17 03:35:48 cgd Exp $
d13 1
a13 1
.if !make(all) && !make(depend) && !make(lint) && !make(tags)
@


1.10
log
@clean up import, etc.
@
text
@d2 1
a2 1
#	$Id$
d12 4
@


1.9
log
@get it to compile, with new location of gmon.h
@
text
@d1 2
a2 2
#	from: @@(#)Makefile	5.17 (Berkeley) 5/11/90
#	$Id: Makefile,v 1.8 1994/02/10 02:03:37 cgd Exp $
@


1.8
log
@kill bogus install -d's, and clean slightly
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.7 1993/12/06 05:28:34 cgd Exp $
a6 1
CFLAGS+=-I${.CURDIR}/../../lib/csu/${MACHINE_ARCH}
@


1.7
log
@update for MACHINE_ARCH
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.6 1993/10/01 00:38:38 jtc Exp $
a9 1
	@@install -d -o root -g wheel -m 755 ${DESTDIR}/usr/share/misc
@


1.6
log
@Always use `install -d' to make sure destination directory exists & has
correct ownership and permissions.
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.5 1993/08/23 05:02:37 cgd Exp $
d5 1
a5 1
SRCS=	gprof.c arcs.c dfn.c lookup.c ${MACHINE}.c hertz.c \
d7 1
a7 1
CFLAGS+=-I${.CURDIR}/../../lib/csu/${MACHINE}
@


1.5
log
@changes from 0.9-ALPHA2 to 0.9-BETA
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.4 1993/07/31 15:22:23 mycroft Exp $
d10 1
a10 8
	@@if [ ! -d ${DESTDIR}/usr/share/misc ]; then \
                /bin/rm -f ${DESTDIR}/usr/share/misc ; \
                mkdir -p ${DESTDIR}/usr/share/misc ; \
                chown root.wheel ${DESTDIR}/usr/share/misc ; \
                chmod 755 ${DESTDIR}/usr/share/misc ; \
        else \
                true ; \
        fi
@


1.4
log
@Add RCS indentifiers.
@
text
@d2 1
a2 1
#	$Id: $
d18 1
a18 1
	install -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
@


1.3
log
@fix -I for csu change.
@
text
@d1 2
a2 1
#	@@(#)Makefile	5.17 (Berkeley) 5/11/90
@


1.3.2.1
log
@install the files in /usr/share/misc with mode 444, not 555
@
text
@d17 1
a17 1
	install -c -o ${BINOWN} -g ${BINGRP} -m 444 \
@


1.2
log
@make sure /usr/share/misc exists before installing into it.
@
text
@d6 1
a6 1
CFLAGS+=-I${.CURDIR}/../../lib/csu.${MACHINE}
@


1.1
log
@pulled in from net/2.  should work fine -- profiling support exists.
@
text
@d9 8
@


1.1.1.1
log
@new gprof
@
text
@d1 1
a1 1
#	@@(#)Makefile	8.1 (Berkeley) 6/29/93
d6 1
d9 1
a9 1
	install -c -o ${BINOWN} -g ${BINGRP} -m 444 \
@
