head	1.27;
access;
symbols
	netbsd-9-5-RELEASE:1.12
	netbsd-11-0-RELEASE:1.27
	netbsd-11-0-RC7:1.27
	netbsd-11-0-RC6:1.27
	netbsd-11-0-RC5:1.27
	netbsd-11-0-RC4:1.27
	netbsd-11-0-RC3:1.27
	netbsd-11-0-RC2:1.27
	netbsd-11-0-RC1:1.27
	perseant-exfatfs-base-20250801:1.27
	netbsd-11:1.27.0.4
	netbsd-11-base:1.27
	netbsd-10-1-RELEASE:1.22
	perseant-exfatfs-base-20240630:1.27
	perseant-exfatfs:1.27.0.2
	perseant-exfatfs-base:1.27
	netbsd-8-3-RELEASE:1.9
	netbsd-9-4-RELEASE:1.12
	netbsd-10-0-RELEASE:1.22
	netbsd-10-0-RC6:1.22
	netbsd-10-0-RC5:1.22
	netbsd-10-0-RC4:1.22
	netbsd-10-0-RC3:1.22
	netbsd-10-0-RC2:1.22
	thorpej-ifq:1.24.0.4
	thorpej-ifq-base:1.24
	thorpej-altq-separation:1.24.0.2
	thorpej-altq-separation-base:1.24
	netbsd-10-0-RC1:1.22
	netbsd-10:1.22.0.4
	netbsd-10-base:1.22
	bouyer-sunxi-drm:1.22.0.2
	bouyer-sunxi-drm-base:1.22
	netbsd-9-3-RELEASE:1.12
	thorpej-i2c-spi-conf2:1.18.0.16
	thorpej-i2c-spi-conf2-base:1.18
	thorpej-futex2:1.18.0.14
	thorpej-futex2-base:1.18
	thorpej-cfargs2:1.18.0.12
	thorpej-cfargs2-base:1.18
	cjep_sun2x-base1:1.18
	cjep_sun2x:1.18.0.10
	cjep_sun2x-base:1.18
	cjep_staticlib_x-base1:1.18
	netbsd-9-2-RELEASE:1.12
	cjep_staticlib_x:1.18.0.8
	cjep_staticlib_x-base:1.18
	thorpej-i2c-spi-conf:1.18.0.6
	thorpej-i2c-spi-conf-base:1.18
	thorpej-cfargs:1.18.0.4
	thorpej-cfargs-base:1.18
	thorpej-futex:1.18.0.2
	thorpej-futex-base:1.18
	netbsd-9-1-RELEASE:1.12
	bouyer-xenpvh-base2:1.14
	phil-wifi-20200421:1.14
	bouyer-xenpvh-base1:1.14
	phil-wifi-20200411:1.13
	bouyer-xenpvh:1.13.0.6
	bouyer-xenpvh-base:1.13
	is-mlppp:1.13.0.4
	is-mlppp-base:1.13
	phil-wifi-20200406:1.13
	netbsd-8-2-RELEASE:1.9
	ad-namecache-base3:1.13
	netbsd-9-0-RELEASE:1.12
	netbsd-9-0-RC2:1.12
	ad-namecache-base2:1.13
	ad-namecache-base1:1.13
	ad-namecache:1.13.0.2
	ad-namecache-base:1.13
	netbsd-9-0-RC1:1.12
	phil-wifi-20191119:1.13
	netbsd-9:1.12.0.2
	netbsd-9-base:1.12
	phil-wifi-20190609:1.10
	netbsd-8-1-RELEASE:1.9
	netbsd-8-1-RC1:1.9
	isaki-audio2:1.10.0.2
	isaki-audio2-base:1.10
	pgoyette-compat-merge-20190127:1.9
	pgoyette-compat-20190127:1.9
	pgoyette-compat-20190118:1.9
	pgoyette-compat-1226:1.9
	pgoyette-compat-1126:1.9
	pgoyette-compat-1020:1.9
	pgoyette-compat-0930:1.9
	pgoyette-compat-0906:1.9
	netbsd-7-2-RELEASE:1.9
	pgoyette-compat-0728:1.9
	netbsd-8-0-RELEASE:1.9
	phil-wifi:1.9.0.28
	phil-wifi-base:1.9
	pgoyette-compat-0625:1.9
	netbsd-8-0-RC2:1.9
	pgoyette-compat-0521:1.9
	pgoyette-compat-0502:1.9
	pgoyette-compat-0422:1.9
	netbsd-8-0-RC1:1.9
	pgoyette-compat-0415:1.9
	pgoyette-compat-0407:1.9
	pgoyette-compat-0330:1.9
	pgoyette-compat-0322:1.9
	pgoyette-compat-0315:1.9
	netbsd-7-1-2-RELEASE:1.9
	pgoyette-compat:1.9.0.26
	pgoyette-compat-base:1.9
	netbsd-7-1-1-RELEASE:1.9
	tls-maxphys-base-20171202:1.9
	matt-nb8-mediatek:1.9.0.24
	matt-nb8-mediatek-base:1.9
	nick-nhusb-base-20170825:1.9
	perseant-stdc-iso10646:1.9.0.22
	perseant-stdc-iso10646-base:1.9
	netbsd-8:1.9.0.20
	netbsd-8-base:1.9
	prg-localcount2-base3:1.9
	prg-localcount2-base2:1.9
	prg-localcount2-base1:1.9
	prg-localcount2:1.9.0.18
	prg-localcount2-base:1.9
	pgoyette-localcount-20170426:1.9
	bouyer-socketcan-base1:1.9
	jdolecek-ncq:1.9.0.16
	jdolecek-ncq-base:1.9
	pgoyette-localcount-20170320:1.9
	netbsd-7-1:1.9.0.14
	netbsd-7-1-RELEASE:1.9
	netbsd-7-1-RC2:1.9
	nick-nhusb-base-20170204:1.9
	netbsd-7-nhusb-base-20170116:1.9
	bouyer-socketcan:1.9.0.12
	bouyer-socketcan-base:1.9
	pgoyette-localcount-20170107:1.9
	netbsd-7-1-RC1:1.9
	nick-nhusb-base-20161204:1.9
	pgoyette-localcount-20161104:1.9
	netbsd-7-0-2-RELEASE:1.9
	nick-nhusb-base-20161004:1.9
	localcount-20160914:1.9
	netbsd-7-nhusb:1.9.0.10
	netbsd-7-nhusb-base:1.9
	pgoyette-localcount-20160806:1.9
	pgoyette-localcount-20160726:1.9
	pgoyette-localcount:1.9.0.8
	pgoyette-localcount-base:1.9
	nick-nhusb-base-20160907:1.9
	nick-nhusb-base-20160529:1.9
	netbsd-7-0-1-RELEASE:1.9
	nick-nhusb-base-20160422:1.9
	nick-nhusb-base-20160319:1.9
	nick-nhusb-base-20151226:1.9
	netbsd-7-0:1.9.0.6
	netbsd-7-0-RELEASE:1.9
	nick-nhusb-base-20150921:1.9
	netbsd-7-0-RC3:1.9
	netbsd-7-0-RC2:1.9
	netbsd-7-0-RC1:1.9
	nick-nhusb-base-20150606:1.9
	nick-nhusb-base-20150406:1.9
	nick-nhusb:1.9.0.4
	nick-nhusb-base:1.9
	netbsd-5-2-3-RELEASE:1.1
	netbsd-5-1-5-RELEASE:1.1
	netbsd-6-0-6-RELEASE:1.7
	netbsd-6-1-5-RELEASE:1.7
	netbsd-7:1.9.0.2
	netbsd-7-base:1.9
	yamt-pagecache-base9:1.9
	yamt-pagecache-tag8:1.7.4.1
	netbsd-6-1-4-RELEASE:1.7
	netbsd-6-0-5-RELEASE:1.7
	tls-earlyentropy:1.8.0.12
	tls-earlyentropy-base:1.9
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.8
	riastradh-drm2-base3:1.8
	netbsd-6-1-3-RELEASE:1.7
	netbsd-6-0-4-RELEASE:1.7
	netbsd-5-2-2-RELEASE:1.1
	netbsd-5-1-4-RELEASE:1.1
	netbsd-6-1-2-RELEASE:1.7
	netbsd-6-0-3-RELEASE:1.7
	netbsd-5-2-1-RELEASE:1.1
	netbsd-5-1-3-RELEASE:1.1
	rmind-smpnet-nbase:1.9
	netbsd-6-1-1-RELEASE:1.7
	riastradh-drm2-base2:1.8
	riastradh-drm2-base1:1.8
	riastradh-drm2:1.8.0.10
	riastradh-drm2-base:1.8
	rmind-smpnet:1.8.0.4
	rmind-smpnet-base:1.9
	netbsd-6-1:1.7.0.16
	netbsd-6-0-2-RELEASE:1.7
	netbsd-6-1-RELEASE:1.7
	khorben-n900:1.8.0.8
	netbsd-6-1-RC4:1.7
	netbsd-6-1-RC3:1.7
	agc-symver:1.8.0.6
	agc-symver-base:1.8
	netbsd-6-1-RC2:1.7
	netbsd-6-1-RC1:1.7
	yamt-pagecache-base8:1.8
	netbsd-5-2:1.1.0.22
	netbsd-6-0-1-RELEASE:1.7
	yamt-pagecache-base7:1.8
	netbsd-5-2-RELEASE:1.1
	netbsd-5-2-RC1:1.1
	matt-nb6-plus-nbase:1.7
	yamt-pagecache-base6:1.8
	netbsd-6-0:1.7.0.14
	netbsd-6-0-RELEASE:1.7
	netbsd-6-0-RC2:1.7
	tls-maxphys:1.8.0.2
	tls-maxphys-base:1.9
	matt-nb6-plus:1.7.0.12
	matt-nb6-plus-base:1.7
	netbsd-6-0-RC1:1.7
	jmcneill-usbmp-base10:1.8
	yamt-pagecache-base5:1.8
	jmcneill-usbmp-base9:1.7
	yamt-pagecache-base4:1.7
	jmcneill-usbmp-base8:1.7
	jmcneill-usbmp-base7:1.7
	jmcneill-usbmp-base6:1.7
	jmcneill-usbmp-base5:1.7
	jmcneill-usbmp-base4:1.7
	jmcneill-usbmp-base3:1.7
	jmcneill-usbmp-pre-base2:1.7
	jmcneill-usbmp-base2:1.7
	netbsd-6:1.7.0.10
	netbsd-6-base:1.7
	netbsd-5-1-2-RELEASE:1.1
	netbsd-5-1-1-RELEASE:1.1
	jmcneill-usbmp:1.7.0.8
	jmcneill-usbmp-base:1.7
	jmcneill-audiomp3:1.7.0.6
	jmcneill-audiomp3-base:1.7
	yamt-pagecache-base3:1.7
	yamt-pagecache-base2:1.7
	yamt-pagecache:1.7.0.4
	yamt-pagecache-base:1.7
	rmind-uvmplock-nbase:1.7
	cherry-xenmp:1.7.0.2
	cherry-xenmp-base:1.7
	bouyer-quota2-nbase:1.4
	bouyer-quota2:1.4.0.6
	bouyer-quota2-base:1.4
	jruoho-x86intr:1.4.0.4
	jruoho-x86intr-base:1.4
	matt-mips64-premerge-20101231:1.4
	matt-nb5-mips64-premerge-20101231:1.1
	matt-nb5-pq3:1.1.0.20
	matt-nb5-pq3-base:1.1
	netbsd-5-1:1.1.0.18
	netbsd-5-1-RELEASE:1.1
	uebayasi-xip-base4:1.4
	uebayasi-xip-base3:1.4
	yamt-nfs-mp-base11:1.4
	netbsd-5-1-RC4:1.1
	matt-nb5-mips64-k15:1.1
	uebayasi-xip-base2:1.4
	yamt-nfs-mp-base10:1.4
	netbsd-5-1-RC3:1.1
	netbsd-5-1-RC2:1.1
	uebayasi-xip-base1:1.4
	netbsd-5-1-RC1:1.1
	rmind-uvmplock:1.4.0.2
	rmind-uvmplock-base:1.7
	yamt-nfs-mp-base9:1.4
	uebayasi-xip:1.3.0.4
	uebayasi-xip-base:1.3
	netbsd-5-0-2-RELEASE:1.1
	matt-nb5-mips64-premerge-20091211:1.1
	matt-premerge-20091211:1.3
	yamt-nfs-mp-base8:1.3
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.1
	matt-nb4-mips64-k7-u2a-k9b:1.1
	matt-nb5-mips64-u1-k1-k5:1.1
	yamt-nfs-mp-base7:1.3
	matt-nb5-mips64:1.1.0.16
	netbsd-5-0-1-RELEASE:1.1
	jymxensuspend-base:1.3
	yamt-nfs-mp-base6:1.3
	yamt-nfs-mp-base5:1.3
	yamt-nfs-mp-base4:1.3
	jym-xensuspend-nbase:1.3
	yamt-nfs-mp:1.3.0.2
	yamt-nfs-mp-base3:1.3
	nick-hppapmap-base4:1.3
	nick-hppapmap-base3:1.3
	netbsd-5-0:1.1.0.14
	netbsd-5-0-RELEASE:1.1
	netbsd-5-0-RC4:1.1
	netbsd-5-0-RC3:1.1
	nick-hppapmap-base2:1.3
	netbsd-5-0-RC2:1.1
	jym-xensuspend:1.2.0.4
	jym-xensuspend-base:1.3
	netbsd-5-0-RC1:1.1
	haad-dm-base2:1.2
	haad-nbase2:1.2
	ad-audiomp2:1.2.0.2
	ad-audiomp2-base:1.2
	netbsd-5:1.1.0.12
	netbsd-5-base:1.1
	nick-hppapmap:1.1.0.10
	nick-hppapmap-base:1.3
	matt-mips64-base2:1.1
	haad-dm-base1:1.1
	wrstuden-revivesa-base-4:1.1
	wrstuden-revivesa-base-3:1.1
	wrstuden-revivesa:1.1.0.8
	wrstuden-revivesa-base-2:1.1
	haad-dm:1.1.0.6
	haad-dm-base:1.2
	simonb-wapbl-base:1.1
	simonb-wapbl:1.1.0.4
	simonb-wapbl-nbase:1.1
	mjf-devfs2-base:1.2
	mjf-devfs2:1.1.0.2;
locks; strict;
comment	@# @;


1.27
date	2024.05.23.06.10.03;	author pgoyette;	state Exp;
branches;
next	1.26;
commitid	gbxIrgks1rkPt5bF;

1.26
date	2024.05.22.17.20.45;	author pgoyette;	state Exp;
branches;
next	1.25;
commitid	SxxckyheSpsTd1bF;

1.25
date	2024.05.20.18.14.38;	author pgoyette;	state Exp;
branches;
next	1.24;
commitid	yMIyjOuyMcUoALaF;

1.24
date	2023.06.03.08.52.58;	author lukem;	state Exp;
branches;
next	1.23;
commitid	JFrjk5m11qFkNtrE;

1.23
date	2023.05.29.20.31.10;	author lukem;	state Exp;
branches;
next	1.22;
commitid	7eoavsrzwYTQNTqE;

1.22
date	2022.08.09.20.05.14;	author pgoyette;	state Exp;
branches;
next	1.21;
commitid	fYZzuVkwBC8G5fPD;

1.21
date	2022.01.08.01.58.16;	author pgoyette;	state Exp;
branches;
next	1.20;
commitid	Pbn91yJu24vqVLnD;

1.20
date	2022.01.08.01.50.54;	author pgoyette;	state Exp;
branches;
next	1.19;
commitid	aolUd9KmRDSMSLnD;

1.19
date	2022.01.06.15.08.56;	author pgoyette;	state Exp;
branches;
next	1.18;
commitid	bpauX80RL0smmAnD;

1.18
date	2020.10.18.19.56.41;	author christos;	state Exp;
branches;
next	1.17;
commitid	GCwWkaUGU2G7gqsC;

1.17
date	2020.10.18.15.02.12;	author christos;	state Exp;
branches;
next	1.16;
commitid	mpq4hNChxjd9DosC;

1.16
date	2020.10.18.14.33.28;	author christos;	state Exp;
branches;
next	1.15;
commitid	GY1VuJY9CFYftosC;

1.15
date	2020.05.16.18.31.52;	author christos;	state Exp;
branches;
next	1.14;
commitid	AayHkepHy6nSLu8C;

1.14
date	2020.04.18.19.18.33;	author christos;	state Exp;
branches;
next	1.13;
commitid	Od5zXLPpmW5MVT4C;

1.13
date	2019.08.19.09.31.30;	author christos;	state Exp;
branches
	1.13.6.1;
next	1.12;
commitid	WfsaIowW1SuHuCzB;

1.12
date	2019.06.20.03.31.29;	author pgoyette;	state Exp;
branches;
next	1.11;
commitid	2mLSpfHBpVssqSrB;

1.11
date	2019.06.17.03.32.14;	author christos;	state Exp;
branches;
next	1.10;
commitid	w0eo9gzMi1U1xurB;

1.10
date	2019.02.17.04.05.49;	author rin;	state Exp;
branches;
next	1.9;
commitid	viEUadQYccaOx4cB;

1.9
date	2014.05.08.08.21.53;	author hannken;	state Exp;
branches
	1.9.28.1;
next	1.8;
commitid	L54PT1ywESTH6Izx;

1.8
date	2012.05.10.07.51.34;	author riastradh;	state Exp;
branches
	1.8.2.1
	1.8.4.1
	1.8.12.1;
next	1.7;

1.7
date	2011.05.26.12.56.31;	author joerg;	state Exp;
branches
	1.7.4.1
	1.7.8.1;
next	1.6;

1.6
date	2011.03.13.18.23.30;	author bouyer;	state Exp;
branches;
next	1.5;

1.5
date	2011.03.06.17.08.36;	author bouyer;	state Exp;
branches;
next	1.4;

1.4
date	2010.03.03.00.01.20;	author pooka;	state Exp;
branches
	1.4.2.1
	1.4.4.1
	1.4.6.1;
next	1.3;

1.3
date	2009.02.22.20.28.06;	author ad;	state Exp;
branches
	1.3.2.1
	1.3.4.1;
next	1.2;

1.2
date	2008.11.13.10.50.26;	author ad;	state Exp;
branches
	1.2.4.1;
next	1.1;

1.1
date	2008.06.28.16.11.35;	author rumble;	state Exp;
branches
	1.1.2.1
	1.1.4.1
	1.1.6.1
	1.1.8.1
	1.1.10.1;
next	;

1.13.6.1
date	2020.04.20.11.29.12;	author bouyer;	state Exp;
branches;
next	;
commitid	4WLfIgNPymVsg75C;

1.9.28.1
date	2019.06.10.22.09.24;	author christos;	state Exp;
branches;
next	1.9.28.2;
commitid	jtc8rnCzWiEEHGqB;

1.9.28.2
date	2020.04.13.08.05.11;	author martin;	state Exp;
branches;
next	1.9.28.3;
commitid	X01YhRUPVUDaec4C;

1.9.28.3
date	2020.04.21.18.42.43;	author martin;	state Exp;
branches;
next	;
commitid	86tA4aEmdr3VCh5C;

1.8.2.1
date	2014.08.20.00.04.33;	author tls;	state Exp;
branches;
next	;
commitid	jTnpym9Qu0o4R1Nx;

1.8.4.1
date	2014.05.18.17.46.11;	author rmind;	state Exp;
branches;
next	;
commitid	mL5ZYSzpqK6QS2Bx;

1.8.12.1
date	2014.08.10.06.56.10;	author tls;	state Exp;
branches;
next	;
commitid	i4aS5ndhchyrCMLx;

1.7.4.1
date	2012.05.23.10.08.15;	author yamt;	state Exp;
branches;
next	1.7.4.2;

1.7.4.2
date	2014.05.22.11.41.07;	author yamt;	state Exp;
branches;
next	;
commitid	VUUXuyNWnt3AKwBx;

1.7.8.1
date	2012.06.02.11.09.37;	author mrg;	state Exp;
branches;
next	;

1.4.2.1
date	2011.04.21.01.42.13;	author rmind;	state Exp;
branches;
next	1.4.2.2;

1.4.2.2
date	2011.05.31.03.05.06;	author rmind;	state Exp;
branches;
next	;

1.4.4.1
date	2011.06.06.09.09.47;	author jruoho;	state Exp;
branches;
next	;

1.4.6.1
date	2011.02.08.19.29.42;	author bouyer;	state Exp;
branches;
next	1.4.6.2;

1.4.6.2
date	2011.02.08.20.04.52;	author bouyer;	state Exp;
branches;
next	;

1.3.2.1
date	2009.02.22.20.28.06;	author yamt;	state dead;
branches;
next	1.3.2.2;

1.3.2.2
date	2009.05.04.08.14.10;	author yamt;	state Exp;
branches;
next	1.3.2.3;

1.3.2.3
date	2010.03.11.15.04.25;	author yamt;	state Exp;
branches;
next	;

1.3.4.1
date	2010.04.30.14.44.17;	author uebayasi;	state Exp;
branches;
next	;

1.2.4.1
date	2009.05.13.17.22.19;	author jym;	state Exp;
branches;
next	;

1.1.2.1
date	2008.06.28.16.11.35;	author mjf;	state dead;
branches;
next	1.1.2.2;

1.1.2.2
date	2008.06.29.09.33.16;	author mjf;	state Exp;
branches;
next	1.1.2.3;

1.1.2.3
date	2009.01.17.13.29.29;	author mjf;	state Exp;
branches;
next	;

1.1.4.1
date	2008.06.28.16.11.35;	author simonb;	state dead;
branches;
next	1.1.4.2;

1.1.4.2
date	2008.07.03.18.38.19;	author simonb;	state Exp;
branches;
next	;

1.1.6.1
date	2008.12.13.01.15.25;	author haad;	state Exp;
branches;
next	;

1.1.8.1
date	2008.06.28.16.11.35;	author wrstuden;	state dead;
branches;
next	1.1.8.2;

1.1.8.2
date	2008.09.18.04.36.58;	author wrstuden;	state Exp;
branches;
next	;

1.1.10.1
date	2009.01.19.13.20.09;	author skrll;	state Exp;
branches;
next	1.1.10.2;

1.1.10.2
date	2009.03.03.18.33.38;	author skrll;	state Exp;
branches;
next	;


desc
@@


1.27
log
@Get the case right when reverting local changes
@
text
@#	$NetBSD: Makefile,v 1.26 2024/05/22 17:20:45 pgoyette Exp $

.include "../Makefile.inc"

.PATH:	${S}/ufs/ffs

KMOD=	ffs
CPPFLAGS+=	-DFFS_EI -DWAPBL -DAPPLE_UFS -DQUOTA -DQUOTA2
CPPFLAGS+=	-DUFS_EXTATTR -DUFS_ACL -DUFS_DIRHASH

CWARNFLAGS.clang=	-Wno-conversion
COPTS.ffs_appleufs.c+=	${CC_WNO_ADDRESS_OF_PACKED_MEMBER}

SRCS+=	ffs_alloc.c ffs_balloc.c ffs_inode.c ffs_subr.c ffs_tables.c \
	ffs_vfsops.c ffs_vnops.c ffs_snapshot.c ffs_extattr.c \
	ffs_bswap.c ffs_wapbl.c ffs_appleufs.c ffs_quota2.c

WARNS=	3

.include <bsd.kmodule.mk>
@


1.26
log
@Remove some more accidental local changes
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.25 2024/05/20 18:14:38 pgoyette Exp $
d9 1
a9 1
CPPFLAGS+=	-DUFS_EXTATTR -DUFS_ACl -DUFS_DIRHASH
@


1.25
log
@Oooppss remove some local change that was accidentally committed
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.24 2023/06/03 08:52:58 lukem Exp $
d9 1
a9 1
CPPFLAGS+=	-DUFS_DIRHASH
d15 1
a15 1
	ffs_vfsops.c ffs_vnops.c ffs_snapshot.c \
a17 6
#CPPFLAGS+=	-DUFS_EXTATTR
#SRCS+=	ffs_extattr.c

#CPPFLAGS+=	-DUFS_ACL
#SRCS+=	ufs_acl.c

@


1.24
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.23 2023/05/29 20:31:10 lukem Exp $
d9 1
a9 1
CPPFLAGS+=	-DUFS_EXTATTR -DUFS_ACL -DUFS_DIRHASH
d15 1
a15 1
	ffs_vfsops.c ffs_vnops.c ffs_snapshot.c ffs_extattr.c \
d18 6
@


1.23
log
@bsd.own.mk: rename NO_ADDR_OF_PACKED_MEMBER to CC_NO_ADDR_OF_PACKED_MEMBER

Add "CC_" prefix to NO_ADDR_OF_PACKED_MEMBER.

We now have the following convention:
GCC_NO_*: Disable specific warnings from GCC.
CLANG_NO_*: Disable specific warnings from Clang.
CC_NO_*: Disable specific warnings from both Clang and GCC.

This reserves "NO_*" Makefile variables to disable other features.

Some space->tab fixes.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.22 2022/08/09 20:05:14 pgoyette Exp $
d12 1
a12 1
COPTS.ffs_appleufs.c+=	${CC_NO_ADDR_OF_PACKED_MEMBER}
@


1.22
log
@Now that UFS_DIRHASH is default for biuilt-in file system modules, we
need to update the loadable module builds, too.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.21 2022/01/08 01:58:16 pgoyette Exp $
d12 1
a12 1
COPTS.ffs_appleufs.c+=   ${NO_ADDR_OF_PACKED_MEMBER}
@


1.21
log
@Remove extra blank line
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.20 2022/01/08 01:50:54 pgoyette Exp $
d9 1
a9 2
CPPFLAGS+=	-DUFS_EXTATTR -DUFS_ACL
#CPPFLAGS+=	-DUFS_DIRHASH	# disabled - suspected of corrupting memory
@


1.20
log
@Use \t for pre-comment white-space
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.19 2022/01/06 15:08:56 pgoyette Exp $
a14 1

@


1.19
log
@Since UFS_DIRHASH is explicitly disabled in GENERIC kernels (due to
being suspected of memory corruption), it should not be enabled in
the default module configurations either.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.18 2020/10/18 19:56:41 christos Exp $
d10 1
a10 1
#CPPFLAGS+=	-DUFS_DIRHASH # disabled - suspected of corrupting memory
@


1.18
log
@Provide a global no-packed-address for both gcc and clang
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.17 2020/10/18 15:02:12 christos Exp $
d8 1
a8 1
CPPFLAGS+=      -DUFS_DIRHASH -DFFS_EI -DWAPBL -DAPPLE_UFS -DQUOTA -DQUOTA2
d10 1
@


1.17
log
@use the GCC_ warning variable
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.16 2020/10/18 14:33:28 christos Exp $
d12 1
a12 1
CWARNFLAGS.ffs_appleufs.c+=   ${GCC_NO_ADDR_OF_PACKED_MEMBER}
@


1.16
log
@Avoid alignment of packed member
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.15 2020/05/16 18:31:52 christos Exp $
d12 2
a13 1
COPTS.ffs_appleufs.c += -Wno-error=address-of-packed-member
@


1.15
log
@Add ACL support for FFS. From FreeBSD.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.14 2020/04/18 19:18:33 christos Exp $
d12 1
@


1.14
log
@Extended attribute support for ffsv2, from FreeBSD.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.13 2019/08/19 09:31:30 christos Exp $
d9 1
a9 1
CPPFLAGS+=	-DUFS_EXTATTR
@


1.13
log
@Enable extended attributes in modules.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.12 2019/06/20 03:31:29 pgoyette Exp $
d14 1
a14 1
	ffs_vfsops.c ffs_vnops.c ffs_snapshot.c \
@


1.13.6.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.14 2020/04/18 19:18:33 christos Exp $
d14 1
a14 1
	ffs_vfsops.c ffs_vnops.c ffs_snapshot.c ffs_extattr.c \
@


1.12
log
@Split the ufs code out of the ffs module and into its own module.

Adapt chfs and ext2fs modules accordingly.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.11 2019/06/17 03:32:14 christos Exp $
d9 1
@


1.11
log
@Add missing file for QUOTA
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.10 2019/02/17 04:05:49 rin Exp $
a11 6
.PATH:	${S}/ufs/ufs
SRCS=	ufs_bmap.c ufs_dirhash.c ufs_extattr.c ufs_inode.c \
	ufs_lookup.c ufs_quota.c ufs_quota1.c ufs_quota2.c ufs_rename.c \
	ufs_vfsops.c ufs_vnops.c ufs_wapbl.c quota1_subr.c quota2_subr.c

.PATH:	${S}/ufs/ffs
@


1.10
log
@Bump default value of WARNS for modules from 3 to 5, and
explicitly set WARNS for modules that fail with WARNS=5.

Also, turn on -Wno-missing-noreturn for clang for some files.

At the moment, among ~ 360 modules,
- 2 (lua and zfs) need WARNS=0
- 1 (solaris) needs WARNS=1
- 136 need WARNS=3 (mostly due to sign-compare)
- 4 need WARNS=4
- others can be compiled with WARNS=5

Discussed on tech-kern.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.9 2014/05/08 08:21:53 hannken Exp $
d15 1
a15 1
	ufs_vfsops.c ufs_vnops.c ufs_wapbl.c quota2_subr.c
@


1.9
log
@Add a global vnode cache:

- vcache_get() retrieves a referenced and initialised vnode / fs node pair.
- vcache_remove() removes a vnode / fs node pair from the cache.

On cache miss vcache_get() calls new vfs operation vfs_loadvnode() to
initialise a vnode / fs node pair.  This call is guaranteed exclusive,
no other thread will try to load this vnode / fs node pair.

Convert ufs/ext2fs, ufs/ffs and ufs/mfs to use this interface.

Remove now unused ufs/ufs_ihash

Discussed on tech-kern.

Welcome to 6.99.41
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.8 2012/05/10 07:51:34 riastradh Exp $
d22 2
@


1.9.28.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.10 2019/02/17 04:05:49 rin Exp $
a21 2
WARNS=	3

@


1.9.28.2
log
@Mostly merge changes from HEAD upto 20200411
@
text
@d1 1
a1 1
#	$NetBSD$
a8 1
CPPFLAGS+=	-DUFS_EXTATTR
d12 6
@


1.9.28.3
log
@Sync with HEAD
@
text
@d14 1
a14 1
	ffs_vfsops.c ffs_vnops.c ffs_snapshot.c ffs_extattr.c \
@


1.8
log
@Update ffs, ext2fs, and tmpfs module makefiles to add *_rename.c.

ok martin
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.7 2011/05/26 12:56:31 joerg Exp $
d13 1
a13 1
SRCS=	ufs_bmap.c ufs_dirhash.c ufs_extattr.c ufs_ihash.c ufs_inode.c \
@


1.8.2.1
log
@Rebase to HEAD as of a few days ago.
@
text
@d1 1
a1 1
#	$NetBSD$
d13 1
a13 1
SRCS=	ufs_bmap.c ufs_dirhash.c ufs_extattr.c ufs_inode.c \
@


1.8.12.1
log
@Rebase.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.9 2014/05/08 08:21:53 hannken Exp $
d13 1
a13 1
SRCS=	ufs_bmap.c ufs_dirhash.c ufs_extattr.c ufs_inode.c \
@


1.8.4.1
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.8 2012/05/10 07:51:34 riastradh Exp $
d13 1
a13 1
SRCS=	ufs_bmap.c ufs_dirhash.c ufs_extattr.c ufs_inode.c \
@


1.7
log
@Default to -Wno-sign-compare -Wno-pointer-sign for clang.
Push -Wno-array-bounds down to the cases that depend on it.
Selectively disable warnings for 3rd party software or non-trivial
issues to be reviewed later to get clang -Werror to build most of the
tree.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.6 2011/03/13 18:23:30 bouyer Exp $
d14 2
a15 2
	ufs_lookup.c ufs_quota.c ufs_quota1.c ufs_quota2.c ufs_vfsops.c \
	ufs_vnops.c ufs_wapbl.c quota2_subr.c
@


1.7.8.1
log
@sync to latest -current.
@
text
@d1 1
a1 1
#	$NetBSD$
d14 2
a15 2
	ufs_lookup.c ufs_quota.c ufs_quota1.c ufs_quota2.c ufs_rename.c \
	ufs_vfsops.c ufs_vnops.c ufs_wapbl.c quota2_subr.c
@


1.7.4.1
log
@sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.7 2011/05/26 12:56:31 joerg Exp $
d14 2
a15 2
	ufs_lookup.c ufs_quota.c ufs_quota1.c ufs_quota2.c ufs_rename.c \
	ufs_vfsops.c ufs_vnops.c ufs_wapbl.c quota2_subr.c
@


1.7.4.2
log
@sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.7.4.1 2012/05/23 10:08:15 yamt Exp $
d13 1
a13 1
SRCS=	ufs_bmap.c ufs_dirhash.c ufs_extattr.c ufs_inode.c \
@


1.6
log
@Fix source list for ffs module.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.5 2011/03/06 17:08:36 bouyer Exp $
d10 2
@


1.5
log
@merge the bouyer-quota2 branch. This adds a new on-disk format
to store disk quota usage and limits, integrated with ffs
metadata. Usage is checked by fsck_ffs (no more quotacheck)
and is covered by the WAPBL journal. Enabled with kernel
option QUOTA2 (added where QUOTA was enabled in kernel config files),
turned on with tunefs(8) on a per-filesystem
basis. mount_mfs(8) can also turn quotas on.

See http://mail-index.netbsd.org/tech-kern/2011/02/19/msg010025.html
for details.
@
text
@d1 1
a1 1
#	$NetBSD$
d13 1
a13 1
	ufs_vnops.c ufs_wapbl.c
d18 1
a18 1
	ffs_bswap.c ffs_wapbl.c ffs_appleufs.c
@


1.4
log
@-DFFS is no longer necessary
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.3 2009/02/22 20:28:06 ad Exp $
d8 1
a8 1
CPPFLAGS+=      -DUFS_DIRHASH -DFFS_EI -DWAPBL -DAPPLE_UFS -DQUOTA
d12 2
a13 1
	ufs_lookup.c ufs_quota.c ufs_vfsops.c ufs_vnops.c ufs_wapbl.c
@


1.4.4.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.7 2011/05/26 12:56:31 joerg Exp $
d8 1
a8 3
CPPFLAGS+=      -DUFS_DIRHASH -DFFS_EI -DWAPBL -DAPPLE_UFS -DQUOTA -DQUOTA2

CWARNFLAGS.clang=	-Wno-conversion
d12 1
a12 2
	ufs_lookup.c ufs_quota.c ufs_quota1.c ufs_quota2.c ufs_vfsops.c \
	ufs_vnops.c ufs_wapbl.c quota2_subr.c
d17 1
a17 1
	ffs_bswap.c ffs_wapbl.c ffs_appleufs.c ffs_quota2.c
@


1.4.2.1
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD$
d8 1
a8 1
CPPFLAGS+=      -DUFS_DIRHASH -DFFS_EI -DWAPBL -DAPPLE_UFS -DQUOTA -DQUOTA2
d12 1
a12 2
	ufs_lookup.c ufs_quota.c ufs_quota1.c ufs_quota2.c ufs_vfsops.c \
	ufs_vnops.c ufs_wapbl.c quota2_subr.c
d17 1
a17 1
	ffs_bswap.c ffs_wapbl.c ffs_appleufs.c ffs_quota2.c
@


1.4.2.2
log
@sync with head
@
text
@a9 2
CWARNFLAGS.clang=	-Wno-conversion

@


1.4.6.1
log
@Add QUOTA2 where QUOTA is enabled (and QUOTA2 commented out where QUOTA
is commented out)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4 2010/03/03 00:01:20 pooka Exp $
d8 1
a8 1
CPPFLAGS+=      -DUFS_DIRHASH -DFFS_EI -DWAPBL -DAPPLE_UFS -DQUOTA -DQUOTA2
@


1.4.6.2
log
@Add ufs_quota?.c
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4.6.1 2011/02/08 19:29:42 bouyer Exp $
d12 1
a12 2
	ufs_lookup.c ufs_quota.c ufs_quota1.c ufs_quota2.c ufs_vfsops.c \
	ufs_vnops.c ufs_wapbl.c
@


1.3
log
@PR kern/26878 FFSv2 + softdep = livelock (no free ram)
PR kern/16942 panic with softdep and quotas
PR kern/19565 panic: softdep_write_inodeblock: indirect pointer #1 mismatch
PR kern/26274 softdep panic: allocdirect_merge: ...
PR kern/26374 Long delay before non-root users can write to softdep partitions
PR kern/28621 1.6.x "vp != NULL" panic in ffs_softdep.c:4653 while unmounting a softdep (+quota) filesystem
PR kern/29513 FFS+Softdep panic with unfsck-able file-corruption
PR kern/31544 The ffs softdep code appears to fail to write dirty bits to disk
PR kern/31981 stopping scsi disk can cause panic (softdep)
PR kern/32116 kernel panic in softdep (assertion failure)
PR kern/32532 softdep_trackbufs deadlock
PR kern/37191 softdep: locking against myself
PR kern/40474 Kernel panic after remounting raid root with softdep

Retire softdep, pass 2. As discussed and later formally announced on the
mailing lists.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.2 2008/11/13 10:50:26 ad Exp $
d8 1
a8 1
CPPFLAGS+=      -DUFS_DIRHASH -DFFS_EI -DWAPBL -DAPPLE_UFS -DQUOTA -DFFS
@


1.3.4.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD$
d8 1
a8 1
CPPFLAGS+=      -DUFS_DIRHASH -DFFS_EI -DWAPBL -DAPPLE_UFS -DQUOTA
@


1.3.2.1
log
@file Makefile was added on branch yamt-nfs-mp on 2009-05-04 08:14:10 +0000
@
text
@d1 19
@


1.3.2.2
log
@sync with head.
@
text
@a0 19
#	$NetBSD$

.include "../Makefile.inc"

.PATH:	${S}/ufs/ffs

KMOD=	ffs
CPPFLAGS+=      -DUFS_DIRHASH -DFFS_EI -DWAPBL -DAPPLE_UFS -DQUOTA -DFFS

.PATH:	${S}/ufs/ufs
SRCS=	ufs_bmap.c ufs_dirhash.c ufs_extattr.c ufs_ihash.c ufs_inode.c \
	ufs_lookup.c ufs_quota.c ufs_vfsops.c ufs_vnops.c ufs_wapbl.c

.PATH:	${S}/ufs/ffs
SRCS+=	ffs_alloc.c ffs_balloc.c ffs_inode.c ffs_subr.c ffs_tables.c \
	ffs_vfsops.c ffs_vnops.c ffs_snapshot.c \
	ffs_bswap.c ffs_wapbl.c ffs_appleufs.c

.include <bsd.kmodule.mk>
@


1.3.2.3
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.3.2.2 2009/05/04 08:14:10 yamt Exp $
d8 1
a8 1
CPPFLAGS+=      -DUFS_DIRHASH -DFFS_EI -DWAPBL -DAPPLE_UFS -DQUOTA
@


1.2
log
@PR kern/39263 $ufs kernel module dependency problems

Pull in the ufs stuff and enable features to make this module useful.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1 2008/06/28 16:11:35 rumble Exp $
d16 1
a16 1
	ffs_vfsops.c ffs_vnops.c ffs_softdep.stub.c ffs_snapshot.c \
@


1.2.4.1
log
@Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.3 2009/02/22 20:28:06 ad Exp $
d16 1
a16 1
	ffs_vfsops.c ffs_vnops.c ffs_snapshot.c \
@


1.1
log
@Add of bunch of file system modules.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.7 2001/12/12 12:06:50 lukem Exp $
d8 10
a17 2
SRCS=	ffs_alloc.c ffs_balloc.c ffs_inode.c ffs_subr.c ffs_tables.c \
	ffs_vfsops.c ffs_vnops.c
@


1.1.10.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.2 2008/11/13 10:50:26 ad Exp $
d8 2
a9 10
CPPFLAGS+=      -DUFS_DIRHASH -DFFS_EI -DWAPBL -DAPPLE_UFS -DQUOTA -DFFS

.PATH:	${S}/ufs/ufs
SRCS=	ufs_bmap.c ufs_dirhash.c ufs_extattr.c ufs_ihash.c ufs_inode.c \
	ufs_lookup.c ufs_quota.c ufs_vfsops.c ufs_vnops.c ufs_wapbl.c

.PATH:	${S}/ufs/ffs
SRCS+=	ffs_alloc.c ffs_balloc.c ffs_inode.c ffs_subr.c ffs_tables.c \
	ffs_vfsops.c ffs_vnops.c ffs_softdep.stub.c ffs_snapshot.c \
	ffs_bswap.c ffs_wapbl.c ffs_appleufs.c
@


1.1.10.2
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1.10.1 2009/01/19 13:20:09 skrll Exp $
d16 1
a16 1
	ffs_vfsops.c ffs_vnops.c ffs_snapshot.c \
@


1.1.6.1
log
@Update haad-dm branch to haad-dm-base2.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.2 2008/11/13 10:50:26 ad Exp $
d8 2
a9 10
CPPFLAGS+=      -DUFS_DIRHASH -DFFS_EI -DWAPBL -DAPPLE_UFS -DQUOTA -DFFS

.PATH:	${S}/ufs/ufs
SRCS=	ufs_bmap.c ufs_dirhash.c ufs_extattr.c ufs_ihash.c ufs_inode.c \
	ufs_lookup.c ufs_quota.c ufs_vfsops.c ufs_vnops.c ufs_wapbl.c

.PATH:	${S}/ufs/ffs
SRCS+=	ffs_alloc.c ffs_balloc.c ffs_inode.c ffs_subr.c ffs_tables.c \
	ffs_vfsops.c ffs_vnops.c ffs_softdep.stub.c ffs_snapshot.c \
	ffs_bswap.c ffs_wapbl.c ffs_appleufs.c
@


1.1.8.1
log
@file Makefile was added on branch wrstuden-revivesa on 2008-09-18 04:36:58 +0000
@
text
@d1 11
@


1.1.8.2
log
@Sync with wrstuden-revivesa-base-2.
@
text
@a0 11
#	$NetBSD: Makefile,v 1.1 2008/06/28 16:11:35 rumble Exp $

.include "../Makefile.inc"

.PATH:	${S}/ufs/ffs

KMOD=	ffs
SRCS=	ffs_alloc.c ffs_balloc.c ffs_inode.c ffs_subr.c ffs_tables.c \
	ffs_vfsops.c ffs_vnops.c

.include <bsd.kmodule.mk>
@


1.1.4.1
log
@file Makefile was added on branch simonb-wapbl on 2008-07-03 18:38:19 +0000
@
text
@d1 11
@


1.1.4.2
log
@Sync with head.
@
text
@a0 11
#	$NetBSD: Makefile,v 1.1 2008/06/28 16:11:35 rumble Exp $

.include "../Makefile.inc"

.PATH:	${S}/ufs/ffs

KMOD=	ffs
SRCS=	ffs_alloc.c ffs_balloc.c ffs_inode.c ffs_subr.c ffs_tables.c \
	ffs_vfsops.c ffs_vnops.c

.include <bsd.kmodule.mk>
@


1.1.2.1
log
@file Makefile was added on branch mjf-devfs2 on 2008-06-29 09:33:16 +0000
@
text
@d1 11
@


1.1.2.2
log
@Sync with HEAD.
@
text
@a0 11
#	$NetBSD$

.include "../Makefile.inc"

.PATH:	${S}/ufs/ffs

KMOD=	ffs
SRCS=	ffs_alloc.c ffs_balloc.c ffs_inode.c ffs_subr.c ffs_tables.c \
	ffs_vfsops.c ffs_vnops.c

.include <bsd.kmodule.mk>
@


1.1.2.3
log
@Sync with HEAD.
@
text
@d8 2
a9 10
CPPFLAGS+=      -DUFS_DIRHASH -DFFS_EI -DWAPBL -DAPPLE_UFS -DQUOTA -DFFS

.PATH:	${S}/ufs/ufs
SRCS=	ufs_bmap.c ufs_dirhash.c ufs_extattr.c ufs_ihash.c ufs_inode.c \
	ufs_lookup.c ufs_quota.c ufs_vfsops.c ufs_vnops.c ufs_wapbl.c

.PATH:	${S}/ufs/ffs
SRCS+=	ffs_alloc.c ffs_balloc.c ffs_inode.c ffs_subr.c ffs_tables.c \
	ffs_vfsops.c ffs_vnops.c ffs_softdep.stub.c ffs_snapshot.c \
	ffs_bswap.c ffs_wapbl.c ffs_appleufs.c
@


