head	1.43;
access;
symbols
	netbsd-11-0-RELEASE:1.43
	netbsd-11-0-RC7:1.43
	netbsd-11-0-RC6:1.43
	netbsd-11-0-RC5:1.43
	netbsd-11-0-RC4:1.43
	netbsd-11-0-RC3:1.43
	netbsd-11-0-RC2:1.43
	netbsd-11-0-RC1:1.43
	perseant-exfatfs-base-20250801:1.43
	netbsd-11:1.43.0.4
	netbsd-11-base:1.43
	netbsd-10-1-RELEASE:1.41
	perseant-exfatfs-base-20240630:1.43
	perseant-exfatfs:1.43.0.2
	perseant-exfatfs-base:1.43
	netbsd-8-3-RELEASE:1.39
	netbsd-9-4-RELEASE:1.39
	netbsd-10-0-RELEASE:1.41
	netbsd-10-0-RC6:1.41
	netbsd-10-0-RC5:1.41
	netbsd-10-0-RC4:1.41
	netbsd-10-0-RC3:1.41
	netbsd-10-0-RC2:1.41
	netbsd-10-0-RC1:1.41
	netbsd-10:1.41.0.6
	netbsd-10-base:1.41
	netbsd-9-3-RELEASE:1.39
	cjep_sun2x-base1:1.41
	cjep_sun2x:1.41.0.4
	cjep_sun2x-base:1.41
	cjep_staticlib_x-base1:1.41
	netbsd-9-2-RELEASE:1.39
	cjep_staticlib_x:1.41.0.2
	cjep_staticlib_x-base:1.41
	netbsd-9-1-RELEASE:1.39
	phil-wifi-20200421:1.40
	phil-wifi-20200411:1.40
	is-mlppp:1.40.0.2
	is-mlppp-base:1.40
	phil-wifi-20200406:1.40
	netbsd-8-2-RELEASE:1.39
	netbsd-9-0-RELEASE:1.39
	netbsd-9-0-RC2:1.39
	netbsd-9-0-RC1:1.39
	phil-wifi-20191119:1.40
	netbsd-9:1.39.0.34
	netbsd-9-base:1.39
	phil-wifi-20190609:1.39
	netbsd-8-1-RELEASE:1.39
	netbsd-8-1-RC1:1.39
	pgoyette-compat-merge-20190127:1.39
	pgoyette-compat-20190127:1.39
	pgoyette-compat-20190118:1.39
	pgoyette-compat-1226:1.39
	pgoyette-compat-1126:1.39
	pgoyette-compat-1020:1.39
	pgoyette-compat-0930:1.39
	pgoyette-compat-0906:1.39
	netbsd-7-2-RELEASE:1.39
	pgoyette-compat-0728:1.39
	netbsd-8-0-RELEASE:1.39
	phil-wifi:1.39.0.32
	phil-wifi-base:1.39
	pgoyette-compat-0625:1.39
	netbsd-8-0-RC2:1.39
	pgoyette-compat-0521:1.39
	pgoyette-compat-0502:1.39
	pgoyette-compat-0422:1.39
	netbsd-8-0-RC1:1.39
	pgoyette-compat-0415:1.39
	pgoyette-compat-0407:1.39
	pgoyette-compat-0330:1.39
	pgoyette-compat-0322:1.39
	pgoyette-compat-0315:1.39
	netbsd-7-1-2-RELEASE:1.39
	pgoyette-compat:1.39.0.30
	pgoyette-compat-base:1.39
	netbsd-7-1-1-RELEASE:1.39
	matt-nb8-mediatek:1.39.0.28
	matt-nb8-mediatek-base:1.39
	perseant-stdc-iso10646:1.39.0.26
	perseant-stdc-iso10646-base:1.39
	netbsd-8:1.39.0.24
	netbsd-8-base:1.39
	prg-localcount2-base3:1.39
	prg-localcount2-base2:1.39
	prg-localcount2-base1:1.39
	prg-localcount2:1.39.0.22
	prg-localcount2-base:1.39
	pgoyette-localcount-20170426:1.39
	bouyer-socketcan-base1:1.39
	pgoyette-localcount-20170320:1.39
	netbsd-7-1:1.39.0.20
	netbsd-7-1-RELEASE:1.39
	netbsd-7-1-RC2:1.39
	netbsd-7-nhusb-base-20170116:1.39
	bouyer-socketcan:1.39.0.18
	bouyer-socketcan-base:1.39
	pgoyette-localcount-20170107:1.39
	netbsd-7-1-RC1:1.39
	pgoyette-localcount-20161104:1.39
	netbsd-7-0-2-RELEASE:1.39
	localcount-20160914:1.39
	netbsd-7-nhusb:1.39.0.16
	netbsd-7-nhusb-base:1.39
	pgoyette-localcount-20160806:1.39
	pgoyette-localcount-20160726:1.39
	pgoyette-localcount:1.39.0.14
	pgoyette-localcount-base:1.39
	netbsd-7-0-1-RELEASE:1.39
	netbsd-7-0:1.39.0.12
	netbsd-7-0-RELEASE:1.39
	netbsd-7-0-RC3:1.39
	netbsd-7-0-RC2:1.39
	netbsd-7-0-RC1:1.39
	netbsd-5-2-3-RELEASE:1.35
	netbsd-5-1-5-RELEASE:1.35
	netbsd-6-0-6-RELEASE:1.37
	netbsd-6-1-5-RELEASE:1.37
	netbsd-7:1.39.0.10
	netbsd-7-base:1.39
	yamt-pagecache-base9:1.39
	yamt-pagecache-tag8:1.37.2.2
	netbsd-6-1-4-RELEASE:1.37
	netbsd-6-0-5-RELEASE:1.37
	tls-earlyentropy:1.39.0.8
	tls-earlyentropy-base:1.39
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.39
	riastradh-drm2-base3:1.39
	netbsd-6-1-3-RELEASE:1.37
	netbsd-6-0-4-RELEASE:1.37
	netbsd-5-2-2-RELEASE:1.35
	netbsd-5-1-4-RELEASE:1.35
	netbsd-6-1-2-RELEASE:1.37
	netbsd-6-0-3-RELEASE:1.37
	netbsd-5-2-1-RELEASE:1.35
	netbsd-5-1-3-RELEASE:1.35
	netbsd-6-1-1-RELEASE:1.37
	riastradh-drm2-base2:1.39
	riastradh-drm2-base1:1.39
	riastradh-drm2:1.39.0.4
	riastradh-drm2-base:1.39
	netbsd-6-1:1.37.0.10
	netbsd-6-0-2-RELEASE:1.37
	netbsd-6-1-RELEASE:1.37
	netbsd-6-1-RC4:1.37
	netbsd-6-1-RC3:1.37
	agc-symver:1.39.0.6
	agc-symver-base:1.39
	netbsd-6-1-RC2:1.37
	netbsd-6-1-RC1:1.37
	yamt-pagecache-base8:1.39
	netbsd-5-2:1.35.0.14
	netbsd-6-0-1-RELEASE:1.37
	yamt-pagecache-base7:1.39
	netbsd-5-2-RELEASE:1.35
	netbsd-5-2-RC1:1.35
	matt-nb6-plus-nbase:1.37
	yamt-pagecache-base6:1.39
	netbsd-6-0:1.37.0.8
	netbsd-6-0-RELEASE:1.37
	netbsd-6-0-RC2:1.37
	tls-maxphys:1.39.0.2
	tls-maxphys-base:1.39
	matt-nb6-plus:1.37.0.6
	matt-nb6-plus-base:1.37
	netbsd-6-0-RC1:1.37
	yamt-pagecache-base5:1.38
	yamt-pagecache-base4:1.38
	netbsd-6:1.37.0.4
	netbsd-6-base:1.37
	netbsd-5-1-2-RELEASE:1.35
	netbsd-5-1-1-RELEASE:1.35
	yamt-pagecache-base3:1.37
	yamt-pagecache-base2:1.37
	yamt-pagecache:1.37.0.2
	yamt-pagecache-base:1.37
	cherry-xenmp:1.36.0.4
	cherry-xenmp-base:1.36
	bouyer-quota2-nbase:1.36
	bouyer-quota2:1.36.0.2
	bouyer-quota2-base:1.36
	matt-mips64-premerge-20101231:1.36
	matt-nb5-mips64-premerge-20101231:1.35
	matt-nb5-pq3:1.35.0.12
	matt-nb5-pq3-base:1.35
	netbsd-5-1:1.35.0.10
	netbsd-5-1-RELEASE:1.35
	netbsd-5-1-RC4:1.35
	matt-nb5-mips64-k15:1.35
	netbsd-5-1-RC3:1.35
	netbsd-5-1-RC2:1.35
	netbsd-5-1-RC1:1.35
	netbsd-5-0-2-RELEASE:1.35
	matt-nb5-mips64-premerge-20091211:1.35
	matt-premerge-20091211:1.36
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.35
	matt-nb4-mips64-k7-u2a-k9b:1.35
	matt-nb5-mips64-u1-k1-k5:1.35
	matt-nb5-mips64:1.35.0.8
	netbsd-5-0-1-RELEASE:1.35
	jym-xensuspend-nbase:1.36
	netbsd-5-0:1.35.0.6
	netbsd-5-0-RELEASE:1.35
	netbsd-5-0-RC4:1.35
	netbsd-5-0-RC3:1.35
	netbsd-5-0-RC2:1.35
	jym-xensuspend:1.35.0.4
	jym-xensuspend-base:1.36
	netbsd-5-0-RC1:1.35
	netbsd-5:1.35.0.2
	netbsd-5-base:1.35
	matt-mips64-base2:1.35
	matt-mips64:1.33.0.26
	netbsd-4-0-1-RELEASE:1.33
	wrstuden-revivesa-base-3:1.35
	wrstuden-revivesa-base-2:1.35
	wrstuden-fixsa-newbase:1.33
	wrstuden-revivesa-base-1:1.33
	yamt-pf42-base4:1.33
	yamt-pf42-base3:1.33
	hpcarm-cleanup-nbase:1.33
	yamt-pf42-baseX:1.33
	yamt-pf42-base2:1.33
	wrstuden-revivesa:1.33.0.24
	wrstuden-revivesa-base:1.33
	yamt-pf42:1.33.0.22
	yamt-pf42-base:1.33
	mjf-devfs2:1.33.0.20
	mjf-devfs2-base:1.35
	keiichi-mipv6:1.33.0.18
	keiichi-mipv6-base:1.33
	matt-armv6-nbase:1.33
	matt-armv6-prevmlocking:1.33
	wrstuden-fixsa-base-1:1.33
	netbsd-4-0:1.33.0.16
	netbsd-4-0-RELEASE:1.33
	cube-autoconf:1.33.0.14
	cube-autoconf-base:1.33
	mjf-devfs:1.33.0.12
	mjf-devfs-base:1.33
	netbsd-4-0-RC5:1.33
	netbsd-4-0-RC4:1.33
	netbsd-4-0-RC3:1.33
	netbsd-4-0-RC2:1.33
	netbsd-4-0-RC1:1.33
	matt-armv6:1.33.0.10
	matt-armv6-base:1.33
	matt-mips64-base:1.33
	hpcarm-cleanup:1.33.0.8
	hpcarm-cleanup-base:1.33
	netbsd-3-1-1-RELEASE:1.31.6.1
	netbsd-3-0-3-RELEASE:1.31.6.1
	wrstuden-fixsa:1.33.0.6
	wrstuden-fixsa-base:1.33
	abandoned-netbsd-4-base:1.33
	abandoned-netbsd-4:1.33.0.2
	netbsd-3-1:1.31.6.1.0.4
	netbsd-3-1-RELEASE:1.31.6.1
	netbsd-3-0-2-RELEASE:1.31.6.1
	netbsd-3-1-RC4:1.31.6.1
	netbsd-3-1-RC3:1.31.6.1
	netbsd-3-1-RC2:1.31.6.1
	netbsd-3-1-RC1:1.31.6.1
	netbsd-4:1.33.0.4
	netbsd-4-base:1.33
	netbsd-3-0-1-RELEASE:1.31.6.1
	netbsd-3-0:1.31.6.1.0.2
	netbsd-3-0-RELEASE:1.31.6.1
	netbsd-3-0-RC6:1.31.6.1
	netbsd-3-0-RC5:1.31.6.1
	netbsd-3-0-RC4:1.31.6.1
	netbsd-3-0-RC3:1.31.6.1
	netbsd-3-0-RC2:1.31.6.1
	netbsd-3-0-RC1:1.31.6.1
	netbsd-2-0-3-RELEASE:1.31
	netbsd-2-1:1.31.0.8
	netbsd-2-1-RELEASE:1.31
	netbsd-2-1-RC6:1.31
	netbsd-2-1-RC5:1.31
	netbsd-2-1-RC4:1.31
	netbsd-2-1-RC3:1.31
	netbsd-2-1-RC2:1.31
	netbsd-2-1-RC1:1.31
	netbsd-2-0-2-RELEASE:1.31
	netbsd-3:1.31.0.6
	netbsd-3-base:1.31
	netbsd-2-0-1-RELEASE:1.31
	netbsd-2:1.31.0.4
	netbsd-2-base:1.31
	netbsd-2-0-RELEASE:1.31
	netbsd-2-0-RC5:1.31
	netbsd-2-0-RC4:1.31
	netbsd-2-0-RC3:1.31
	netbsd-2-0-RC2:1.31
	netbsd-2-0-RC1:1.31
	netbsd-2-0:1.31.0.2
	netbsd-2-0-base:1.31
	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.29
	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.2
	netbsd-1-6-base:1.27
	netbsd-1-5-PATCH003:1.25
	netbsd-1-5-PATCH002:1.25
	netbsd-1-5-PATCH001:1.25
	netbsd-1-5-RELEASE:1.25
	netbsd-1-5-BETA2:1.25
	netbsd-1-5-BETA:1.25
	netbsd-1-4-PATCH003:1.22
	netbsd-1-5-ALPHA2:1.25
	netbsd-1-5:1.25.0.6
	netbsd-1-5-base:1.25
	minoura-xpg4dl:1.25.0.4
	minoura-xpg4dl-base:1.25
	netbsd-1-4-PATCH002:1.22
	wrstuden-devbsize-19991221:1.25
	wrstuden-devbsize:1.22.0.4
	wrstuden-devbsize-base:1.25
	comdex-fall-1999:1.25.0.2
	comdex-fall-1999-base:1.25
	netbsd-1-4-PATCH001:1.22
	netbsd-1-4-RELEASE:1.22
	netbsd-1-4:1.22.0.2
	netbsd-1-4-base:1.22
	netbsd-1-3-PATCH003:1.18
	netbsd-1-3-PATCH003-CANDIDATE2:1.18
	netbsd-1-3-PATCH003-CANDIDATE1:1.18
	netbsd-1-3-PATCH003-CANDIDATE0:1.18
	netbsd-1-3-PATCH002:1.18
	netbsd-1-3-PATCH001:1.18
	netbsd-1-3-RELEASE:1.18
	netbsd-1-3-BETA:1.18
	netbsd-1-3:1.18.0.2
	netbsd-1-3-base:1.18
	lite-2:1.1.1.2
	netbsd-1-2-PATCH001:1.16
	mrg-rcmd:1.16.0.4
	netbsd-1-2-RELEASE:1.16
	netbsd-1-2-BETA:1.16
	netbsd-1-2:1.16.0.6
	netbsd-1-2-base:1.16
	netbsd-1-1-PATCH001:1.16
	netbsd-1-1-RELEASE:1.16
	netbsd-1-1:1.16.0.2
	netbsd-1-1-base:1.16
	netbsd-1-0-PATCH06:1.14
	netbsd-1-0-PATCH05:1.14
	netbsd-1-0-PATCH04:1.14
	netbsd-1-0-PATCH03:1.14
	netbsd-1-0-PATCH02:1.14
	netbsd-1-0-PATCH1:1.14
	netbsd-1-0-PATCH0:1.14
	netbsd-1-0-RELEASE:1.14
	netbsd-1-0:1.14.0.2
	netbsd-1-0-base:1.14
	lite-1:1.1.1.2
	CSRG:1.1.1
	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
	netbsd-0-8:1.4
	netbsd-alpha-1:1.4
	patchkit-0-2-2:1.1.1.1
	WFJ-386bsd-01:1.1.1.1
	WFJ-920714:1.1.1;
locks; strict;
comment	@# @;


1.43
date	2023.06.03.09.09.12;	author lukem;	state Exp;
branches;
next	1.42;
commitid	aBaIRnuykonRStrE;

1.42
date	2023.06.03.08.52.55;	author lukem;	state Exp;
branches;
next	1.41;
commitid	JFrjk5m11qFkNtrE;

1.41
date	2020.09.06.07.20.27;	author mrg;	state Exp;
branches;
next	1.40;
commitid	IFqEYW6MZdeXkXmC;

1.40
date	2019.10.13.07.28.12;	author mrg;	state Exp;
branches;
next	1.39;
commitid	vRNwN94v7NgB2GGB;

1.39
date	2012.08.10.12.20.11;	author joerg;	state Exp;
branches
	1.39.32.1;
next	1.38;

1.38
date	2012.04.07.04.52.20;	author christos;	state Exp;
branches;
next	1.37;

1.37
date	2011.06.20.07.43.59;	author mrg;	state Exp;
branches
	1.37.2.1;
next	1.36;

1.36
date	2009.04.11.07.58.11;	author lukem;	state Exp;
branches
	1.36.4.1;
next	1.35;

1.35
date	2008.08.29.00.02.23;	author gmcgarry;	state Exp;
branches
	1.35.4.1;
next	1.34;

1.34
date	2008.08.10.08.06.23;	author simonb;	state Exp;
branches;
next	1.33;

1.33
date	2006.05.11.23.16.29;	author mrg;	state Exp;
branches
	1.33.20.1
	1.33.24.1;
next	1.32;

1.32
date	2005.04.19.07.26.38;	author hannken;	state Exp;
branches;
next	1.31;

1.31
date	2003.04.02.10.39.24;	author fvdl;	state Exp;
branches
	1.31.6.1;
next	1.30;

1.30
date	2003.03.27.13.56.46;	author lukem;	state Exp;
branches;
next	1.29;

1.29
date	2002.08.19.10.16.52;	author lukem;	state Exp;
branches;
next	1.28;

1.28
date	2002.08.02.02.07.09;	author christos;	state Exp;
branches;
next	1.27;

1.27
date	2001.12.25.11.56.14;	author lukem;	state Exp;
branches;
next	1.26;

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

1.25
date	99.10.01.04.35.22;	author perseant;	state Exp;
branches;
next	1.24;

1.24
date	99.09.30.20.39.58;	author perseant;	state Exp;
branches;
next	1.23;

1.23
date	99.09.29.04.57.49;	author perseant;	state Exp;
branches;
next	1.22;

1.22
date	99.03.23.14.22.59;	author bouyer;	state Exp;
branches
	1.22.4.1;
next	1.21;

1.21
date	99.03.09.17.25.52;	author bouyer;	state Exp;
branches;
next	1.20;

1.20
date	99.01.15.13.32.05;	author bouyer;	state Exp;
branches;
next	1.19;

1.19
date	98.03.18.16.54.56;	author bouyer;	state Exp;
branches;
next	1.18;

1.18
date	97.10.10.19.48.01;	author christos;	state Exp;
branches;
next	1.17;

1.17
date	97.05.27.08.35.25;	author mrg;	state Exp;
branches;
next	1.16;

1.16
date	95.03.18.14.54.53;	author cgd;	state Exp;
branches
	1.16.4.1;
next	1.15;

1.15
date	94.12.22.10.44.12;	author cgd;	state Exp;
branches;
next	1.14;

1.14
date	94.06.08.18.57.30;	author mycroft;	state Exp;
branches;
next	1.13;

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

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

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

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

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

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

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

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

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

1.4
date	93.04.08.13.53.28;	author cgd;	state Exp;
branches;
next	1.3;

1.3
date	93.03.23.00.26.59;	author cgd;	state Exp;
branches;
next	1.2;

1.2
date	93.03.22.08.04.00;	author cgd;	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.39.32.1
date	2020.04.13.08.03.19;	author martin;	state Exp;
branches;
next	;
commitid	X01YhRUPVUDaec4C;

1.37.2.1
date	2012.04.17.00.05.38;	author yamt;	state Exp;
branches;
next	1.37.2.2;

1.37.2.2
date	2012.10.30.18.59.25;	author yamt;	state Exp;
branches;
next	;

1.36.4.1
date	2011.06.23.14.18.41;	author cherry;	state Exp;
branches;
next	;

1.35.4.1
date	2009.05.13.19.19.00;	author jym;	state Exp;
branches;
next	;

1.33.20.1
date	2008.09.28.11.17.11;	author mjf;	state Exp;
branches;
next	;

1.33.24.1
date	2008.09.18.04.28.22;	author wrstuden;	state Exp;
branches;
next	;

1.31.6.1
date	2005.04.21.19.04.20;	author tron;	state Exp;
branches;
next	;

1.22.4.1
date	99.12.27.18.30.22;	author wrstuden;	state Exp;
branches;
next	;

1.16.4.1
date	97.02.17.15.13.08;	author mrg;	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	94.06.13.22.41.21;	author mycroft;	state Exp;
branches;
next	;


desc
@@


1.43
log
@bsd.own.mk: rename GCC_NO_* to CC_WNO_*

Rename compiler-warning-disable variables from
	GCC_NO_warning
to
	CC_WNO_warning
where warning is the full warning name as used by the compiler.

GCC_NO_IMPLICIT_FALLTHRU is CC_WNO_IMPLICIT_FALLTHROUGH

Using the convention CC_compilerflag, where compilerflag
is based on the full compiler flag name.
@
text
@#	$NetBSD: Makefile,v 1.42 2023/06/03 08:52:55 lukem Exp $
#	@@(#)Makefile	8.1 (Berkeley) 6/5/93

#	dump.h			header file
#	itime.c			reads /etc/dumpdates
#	main.c			driver
#	optr.c			operator interface
#	dumprmt.c		handles remote tape via rmt(8)
#	rcache.c		read cache
#	tape.c			handles the mag tape and opening/closing
#	traverse.c		traverses the file system
#	unctime.c		undo ctime
#	ffs_inode.c		FFS-specific filestore routines
#	ffs_bswap.c		FFS byte-swapping
#
#	DEBUG			use local directory to find ddate and dumpdates
#	TDEBUG			trace out the process forking
#	FDEBUG			trace dumpdates parsing
#	WRITEDEBUG		trace slave writes
#	STATS			read cache statistics
#	DIAGNOSTICS		read cache diagnostic checks

WARNS?=	3	# XXX: sign-compare issues

.include <bsd.own.mk>

PROG=	dump
LINKS=	${BINDIR}/dump ${BINDIR}/rdump
CPPFLAGS+=-DRDUMP -I${.CURDIR}
# CPPFLAGS+= -DDEBUG -DTDEBUG -DFDEBUG -DWRITEDEBUG -DSTATS -DDIAGNOSTICS
SRCS=	itime.c main.c optr.c dumprmt.c rcache.c snapshot.c tape.c \
	traverse.c unctime.c ffs_inode.c ffs_bswap.c
MAN=	dump.8
MLINKS+=dump.8 rdump.8
DPADD+= ${LIBUTIL}
LDADD+= -lutil

.PATH:  ${NETBSDSRCDIR}/sys/ufs/ffs

COPTS.ffs_inode.c+=	-Wno-pointer-sign
COPTS.traverse.c+=	${CC_WNO_FORMAT_TRUNCATION}
CWARNFLAGS.gcc+=	${CC_WNO_ADDRESS_OF_PACKED_MEMBER}
CWARNFLAGS.gcc+=	${CC_WNO_FORMAT_TRUNCATION}

.include <bsd.prog.mk>
@


1.42
log
@bsd.own.mk: rename to CC_WNO_ADDRESS_OF_PACKED_MEMBER

Provide a single variable
	CC_WNO_ADDRESS_OF_PACKED_MEMBER
with options for both clang and gcc, to replace
	CLANG_NO_ADDR_OF_PACKED_MEMBER
	CC_NO_ADDR_OF_PACKED_MEMBER
	GCC_NO_ADDR_OF_PACKED_MEMBER

Using the convention CC_compilerflag, where compilerflag
is based on the full compiler flag name.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.41 2020/09/06 07:20:27 mrg Exp $
d41 1
a41 1
COPTS.traverse.c+=	${GCC_NO_FORMAT_TRUNCATION}
d43 1
a43 1
CWARNFLAGS.gcc+=	${GCC_NO_FORMAT_TRUNCATION}
@


1.41
log
@add support for new GCC 9 warnings that may be too much to fix
right now.  new address-of-packed-member and format-overflow
warnings have new GCC_NO_ADDR_OF_PACKED_MEMBER amd
GCC_NO_FORMAT_OVERFLOW variables to remove these warnings.

apply to a bunch of the tree.  mostly, these are real bugs that
should be fixed, but in many cases, only by removing the 'packed'
attribute from some structure that doesn't really need it.  (i
looked at many different ones, and while perhaps 60-80% were
already properly aligned, it wasn't clear to me that the uses
were always coming from sane data vs network alignment, so it
doesn't seem safe to remove packed without careful research for
each affect struct.)  clang already warned (and was not erroring)
for many of these cases, but gcc picked up dozens more.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.40 2019/10/13 07:28:12 mrg Exp $
d42 1
a42 1
CWARNFLAGS.gcc+=	${GCC_NO_ADDR_OF_PACKED_MEMBER}
@


1.40
log
@introduce some common variables for use in GCC warning disables:

GCC_NO_FORMAT_TRUNCATION    -Wno-format-truncation (GCC 7/8)
GCC_NO_STRINGOP_TRUNCATION  -Wno-stringop-truncation (GCC 8)
GCC_NO_STRINGOP_OVERFLOW    -Wno-stringop-overflow (GCC 8)
GCC_NO_CAST_FUNCTION_TYPE   -Wno-cast-function-type (GCC 8)

use these to turn off warnings for most GCC-8 complaints.  many
of these are false positives, most of the real bugs are already
commited, or are yet to come.


we plan to introduce versions of (some?) of these that use the
"-Wno-error=" form, which still displays the warnings but does
not make it an error, and all of the above will be re-considered
as either being "fix me" (warning still displayed) or "warning
is wrong."
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.39 2012/08/10 12:20:11 joerg Exp $
d42 2
@


1.39
log
@Don't depend on HAVE_GCC being always defined.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.38 2012/04/07 04:52:20 christos Exp $
d41 1
@


1.39.32.1
log
@Mostly merge changes from HEAD upto 20200411
@
text
@d1 1
a1 1
#	$NetBSD$
a40 1
COPTS.traverse.c+=	${GCC_NO_FORMAT_TRUNCATION}
@


1.38
log
@use getfsspecname()
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.37 2011/06/20 07:43:59 mrg Exp $
a39 1
.if defined(HAVE_GCC) || defined(HAVE_PCC)
a40 1
.endif
@


1.37
log
@remove most of the remaining HAVE_GCC tests that are always true in
the modern world.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.36 2009/04/11 07:58:11 lukem Exp $
d35 2
@


1.37.2.1
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.37 2011/06/20 07:43:59 mrg Exp $
a34 2
DPADD+= ${LIBUTIL}
LDADD+= -lutil
@


1.37.2.2
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.37.2.1 2012/04/17 00:05:38 yamt Exp $
d40 1
d42 1
@


1.36
log
@Enable WARNS=4 by default except for:
	dump  dump_lfs  fsck_ffs  fsck_lfs  fsdb  mount_smbfs
	newfs_ext2fs  newfs_lfs  resize_lfs  setkey
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.35 2008/08/29 00:02:23 gmcgarry Exp $
d38 1
a38 1
.if (defined(HAVE_GCC) && ${HAVE_GCC} == 4) || defined(HAVE_PCC)
@


1.36.4.1
log
@Catchup with rmind-uvmplock merge.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.37 2011/06/20 07:43:59 mrg Exp $
d38 1
a38 1
.if defined(HAVE_GCC) || defined(HAVE_PCC)
@


1.35
log
@Wrap compiler-specific flags with HAVE_GCC and HAVE_PCC as necessary. Add a few flags for PCC.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.34 2008/08/10 08:06:23 simonb Exp $
d23 2
@


1.35.4.1
log
@Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.36 2009/04/11 07:58:11 lukem Exp $
a22 2
WARNS?=	3	# XXX: sign-compare issues

@


1.34
log
@Remove adding -g to CFLAGS and LDFLAGS.  Ancient debug bogon?
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.33 2006/05/11 23:16:29 mrg Exp $
d36 1
a36 1
.if ${HAVE_GCC} == 4
@


1.33
log
@sprinkle some -fno-strict-aliasing and -Wno-pointer-sign with GCC4.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.32 2005/04/19 07:26:38 hannken Exp $
a35 3
CFLAGS+=-g
LDFLAGS+=-g

@


1.33.20.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD$
d36 4
a39 1
.if (defined(HAVE_GCC) && ${HAVE_GCC} == 4) || defined(HAVE_PCC)
@


1.33.24.1
log
@Sync with wrstuden-revivesa-base-2.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.33 2006/05/11 23:16:29 mrg Exp $
d36 4
a39 1
.if (defined(HAVE_GCC) && ${HAVE_GCC} == 4) || defined(HAVE_PCC)
@


1.32
log
@Snapshot support for dump(8):

- New option `-x backup' takes the dump from a snapshot backed up by `backup'.
  The snapshot will be deleted on exit.

- New option `-X' as a synonym for `-x mountpoint' where `mountpoint' is the
  file system to be dumped.

Reviewed and Approved by: Manuel Bouyer <bouyer@@netbsd.org>
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.31 2003/04/02 10:39:24 fvdl Exp $
d39 4
@


1.31
log
@Add support for UFS2. UFS2 is an enhanced FFS, adding support for
64 bit block pointers, extended attribute storage, and a few
other things.

This commit does not yet include the code to manipulate the extended
storage (for e.g. ACLs), this will be done later.

Originally written by Kirk McKusick and Network Associates Laboratories for
FreeBSD.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.30 2003/03/27 13:56:46 lukem Exp $
d29 2
a30 2
SRCS=	itime.c main.c optr.c dumprmt.c rcache.c tape.c traverse.c unctime.c \
	ffs_inode.c ffs_bswap.c
@


1.31.6.1
log
@Pull up revision 1.32 (requested by hannken in ticket #184):
Snapshot support for dump(8):
- New option `-x backup' takes the dump from a snapshot backed up by `backup'.
  The snapshot will be deleted on exit.
- New option `-X' as a synonym for `-x mountpoint' where `mountpoint' is the
  file system to be dumped.
Reviewed and Approved by: Manuel Bouyer <bouyer@@netbsd.org>
@
text
@d1 1
a1 1
#	$NetBSD$
d29 2
a30 2
SRCS=	itime.c main.c optr.c dumprmt.c rcache.c snapshot.c tape.c \
	traverse.c unctime.c ffs_inode.c ffs_bswap.c
@


1.30
log
@Use "wall -g operator" (instead of private code) to broadcast() messages to
members of the operator group.
Don't install "setgid tty", and remove now unnecessary gid/egid swapping.
Remove utmp trawling code pulled in from usr.bin/who.
The Code is now simpler, and more portable (without the utmp cruft) too.

This is derived from similar work in OpenBSD.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.29 2002/08/19 10:16:52 lukem Exp $
d35 3
@


1.29
log
@Use ${NETBSDSRCDIR}/some/path instead of ${.CURDIR}/../../some/path
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.28 2002/08/02 02:07:09 christos Exp $
a27 1
CPPFLAGS+=-I${NETBSDSRCDIR}/usr.bin/who -DSUPPORT_UTMPX -DSUPPORT_UTMP
d30 1
a30 3
	ffs_inode.c ffs_bswap.c utmpentry.c
BINGRP=	tty
BINMODE=2555
d34 1
a34 1
.PATH:  ${NETBSDSRCDIR}/sys/ufs/ffs ${NETBSDSRCDIR}/usr.bin/who
@


1.28
log
@support utmpx
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.27 2001/12/25 11:56:14 lukem Exp $
d23 2
d28 1
a28 1
CPPFLAGS+=-I${.CURDIR}/../../usr.bin/who -DSUPPORT_UTMPX -DSUPPORT_UTMP
d37 1
a37 1
.PATH:  ${.CURDIR}/../../sys/ufs/ffs ${.CURDIR}/../../usr.bin/who
@


1.27
log
@document more of the debug options
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.26 2001/12/23 12:29:55 lukem Exp $
d26 1
d29 1
a29 1
	ffs_inode.c ffs_bswap.c
d35 1
a35 1
.PATH:  ${.CURDIR}/../../sys/ufs/ffs
@


1.26
log
@nuke trailing whitespace
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.25 1999/10/01 04:35:22 perseant Exp $
d9 1
d18 4
@


1.25
log
@Working version of aborted dump{,_lfs} join.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.23 1999/09/29 04:57:49 perseant Exp $
d29 1
a29 1
.PATH:  ${.CURDIR}/../../sys/ufs/ffs 
@


1.24
log
@Back out changes made on the 29th, not at all the changes I intended to commit.
(I don't know how I did it though ... I'll figure it out tonight.)
I'll reapply this, in a working form, this evening.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.22 1999/03/23 14:22:59 bouyer Exp $
d12 2
d20 1
a20 1
CPPFLAGS+=-DRDUMP
d23 1
a23 1
	ffs_bswap.c
@


1.23
log
@Adapt dump(8) to use filestore-independent (but still ufs-specific)
replacements for NINDIR, fsbtodb, etc.  Create dump_lfs by adding a few
LFS-filestore-specific routines.  As described in PR#8317.
@
text
@a11 2
#	ffs_inode.c		FFS-specific filestore routines
#	ffs_bswap.c		FFS byte-swapping
d18 1
a18 1
CPPFLAGS+=-DRDUMP -I${.CURDIR}
d21 1
a21 1
	ffs_inode.c ffs_bswap.c
@


1.22
log
@Implement a read cache, as announced on tech-userlevel. Default is 32k
read buffer size, 512 buffer or 15% of the user memory. Can be changed
with the -k and -s options.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.21 1999/03/09 17:25:52 bouyer Exp $
d12 2
d20 1
a20 1
CPPFLAGS+=-DRDUMP
d23 1
a23 1
	ffs_bswap.c
@


1.22.4.1
log
@Pull up to last week's -current.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.25 1999/10/01 04:35:22 perseant Exp $
a11 2
#	ffs_inode.c		FFS-specific filestore routines
#	ffs_bswap.c		FFS byte-swapping
d18 1
a18 1
CPPFLAGS+=-DRDUMP -I${.CURDIR}
d21 1
a21 1
	ffs_inode.c ffs_bswap.c
@


1.21
log
@Handle "nodump" flag on directories, by not dumping any files or directories
under it. Based on some parts of PR 6705 by Brian Grayson.
In the Makefile, add (commented out) debug options that can be turned on.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.20 1999/01/15 13:32:05 bouyer Exp $
d19 2
a20 2
# CPPFLAGS+= -DDEBUG -DTDEBUG -DFDEBUG -DWRITEDEBUG
SRCS=	itime.c main.c optr.c dumprmt.c tape.c traverse.c unctime.c \
@


1.20
log
@#include machine/bswap.h and remove -lutil.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.19 1998/03/18 16:54:56 bouyer Exp $
d19 1
@


1.19
log
@Add support for non-native byte order FFS. The dump is in filesystem byte
order, restore already knows how to byteswap dumps.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.18 1997/10/10 19:48:01 christos Exp $
a20 2
DPADD=	${LIBUTIL}
LDADD+=	-lutil
@


1.18
log
@CFLAGS->CPPFLAGS
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.17 1997/05/27 08:35:25 mrg Exp $
d19 4
a22 1
SRCS=	itime.c main.c optr.c dumprmt.c tape.c traverse.c unctime.c
d27 2
@


1.17
log
@enable rcmd().  garbage collect.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.16 1995/03/18 14:54:53 cgd Exp $
d18 1
a18 1
CFLAGS+=-DRDUMP
@


1.16
log
@convert to new RCS Id conventions; reduce my headache
@
text
@d1 1
a1 1
#	$NetBSD$
a19 1
BINOWN=	root
d21 1
a21 1
BINMODE=6555
@


1.16.4.1
log
@this program is not setuid in the new-rcmd-world-order
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.16 1995/03/18 14:54:53 cgd Exp $
d20 1
d22 1
a22 1
BINMODE=2555
@


1.15
log
@specify man pages the new way.
@
text
@d1 2
a2 2
#	from: @@(#)Makefile	8.1 (Berkeley) 6/5/93
#	$Id: Makefile,v 1.14 1994/06/08 18:57:30 mycroft Exp $
@


1.14
log
@Update from 4.4-Lite, with local changes.
@
text
@d2 1
a2 1
#	$Id: $
d23 1
a23 1
MAN8=	dump.0
@


1.13
log
@new version from CSRG, via BSDI, with fixes
@
text
@d1 2
a2 2
#	from: @@(#)Makefile	5.16 (Berkeley) 7/15/92
#	$Id$
@


1.12
log
@from Thomas Eberhardt <thomas@@mathematik.uni-Bremen.de>:
    Some reordering and modifications in the Makefiles for sh, dump,
    restore to get dependicies right.  The README in /usr/share/mk
    states that it's a Bad Thing(tm) to add something after
    .include <bsd.prog.mk>, but this seems the only way to get the
    dependencies right.
@
text
@d1 3
a3 3
#	from: @@(#)Makefile	5.12 (Berkeley) 3/7/91
#	$Id: Makefile,v 1.11 1993/11/12 08:48:26 cgd Exp $
#
d5 6
a10 5
#	dumpitime.c		reads /etc/dumpdates
#	dumpmain.c		driver
#	dumpoptr.c		operator interface
#	dumptape.c		handles the mag tape and opening/closing
#	dumptraverse.c		traverses the file system
d17 4
a20 4
SRCS=	dumpitime.c dumpmain.c dumpoptr.c dumptape.c dumptraverse.c \
	unctime.c
ROBJS=	dumpitime.o dumprmain.o dumpoptr.o dumprmt.o dumprtape.o \
	dumptraverse.o unctime.o
d22 3
a24 14
MAN8=	dump.0 rdump.0
CLEANFILES=dumprmain.o dumprtape.o dumprmt.o rdump

all: rdump

dumprmain.o: dumpmain.o
	${CC} -c -DRDUMP ${CFLAGS} ${.CURDIR}/dumpmain.c -o ${.TARGET}

dumprtape.o: dumptape.o
	${CC} -c -DRDUMP ${CFLAGS} ${.CURDIR}/dumptape.c -o ${.TARGET}

afterinstall:
	install ${COPY} ${STRIP} -o root -g ${BINGRP} -m 6555 rdump \
	    ${DESTDIR}${BINDIR}
a26 3

rdump: ${LIBCRT0} ${ROBJS} ${LIBC} ${DPADD}
	${CC} ${LDFLAGS} ${LDSTATIC} -o ${.TARGET} ${ROBJS} ${LDADD}
@


1.11
log
@oops again; fix that last
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.10 1993/11/12 08:45:45 cgd Exp $
a25 3
rdump: ${LIBCRT0} ${ROBJS} ${LIBC} ${DPADD}
	${CC} ${LDSTATIC} ${LDFLAGS} -o ${.TARGET} ${ROBJS} ${LDADD}

d37 3
@


1.10
log
@oops; fix that last
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.9 1993/11/12 08:20:49 cgd Exp $
d26 1
a26 1
rdump: ${LIBCRT0} ${ROBJS} ${LIBC}
@


1.9
log
@add LDSTATIC
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.8 1993/08/01 05:38:14 mycroft Exp $
d26 1
a26 1
rdump: ${ROBJS} ${LIBC}
@


1.8
log
@Add RCS identifiers.
@
text
@d2 1
a2 1
#	$Id: $
d27 1
a27 1
	${CC} ${LDFLAGS} -o ${.TARGET} ${ROBJS} ${LDADD}
@


1.7
log
@Use ${COPY}, not -c for install.
@
text
@d1 2
a2 1
#	@@(#)Makefile	5.12 (Berkeley) 3/7/91
a3 2
#	$Header: /b/source/CVS/src/sbin/dump/Makefile,v 1.6 1993/04/18 18:56:24 mycroft Exp $

@


1.6
log
@Okay, so I was confused (but only a little).
@
text
@d3 1
a3 1
#	$Header: /b/source/CVS/src/sbin/dump/Makefile,v 1.5 1993/04/18 18:39:26 mycroft Exp $
d37 1
a37 1
	install -c ${STRIP} -o root -g ${BINGRP} -m 6555 rdump \
@


1.5
log
@Make rdump target match normal program target.
(This should probably be in a separate directory, no?)
@
text
@d3 1
a3 1
#	$Header: /b/source/CVS/src/sbin/dump/Makefile,v 1.4 1993/04/08 13:53:28 cgd Exp $
d28 1
a28 1
	${CC} ${STRIP} ${CFLAGS} -o ${.TARGET} ${.CURDIR}/${ROBJS} ${LDADD}
@


1.4
log
@make install copy
@
text
@d3 1
a3 1
#	$Header: /b/source/CVS/src/sbin/dump/Makefile,v 1.3 1993/03/23 00:26:59 cgd Exp $
d28 1
a28 1
	${CC} -o ${.TARGET} ${CFLAGS} ${ROBJS}
@


1.3
log
@changed "Id" to "Header" for rcsids
@
text
@d3 1
a3 1
#	$Header: Makefile,v 1.2 93/03/22 08:08:29 cgd Exp $
d37 1
a37 1
	install ${STRIP} -o root -g ${BINGRP} -m 6555 rdump \
@


1.2
log
@added rcs ids to all files
@
text
@d3 1
a3 1
#	$Id: Makefile,v 1.2 93/03/21 23:10:29 cgd Exp $
@


1.1
log
@Initial revision
@
text
@d2 2
@


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


1.1.1.2
log
@Import 4.4-Lite version.
@
text
@d1 1
a1 1
#	@@(#)Makefile	8.1 (Berkeley) 6/5/93
d4 5
a8 6
#	itime.c			reads /etc/dumpdates
#	main.c			driver
#	optr.c			operator interface
#	dumprmt.c		handles remote tape via rmt(8)
#	tape.c			handles the mag tape and opening/closing
#	traverse.c		traverses the file system
d15 4
a18 4
LINKS=	${BINDIR}/dump ${BINDIR}/rdump
CFLAGS+=-DRDUMP
SRCS=	itime.c main.c optr.c dumprmt.c tape.c traverse.c unctime.c
BINOWN=	root
d20 17
a36 3
BINMODE=6555
MAN8=	dump.0
MLINKS+=dump.8 rdump.8
@
