head	1.64;
access;
symbols
	RELENG_8_4:1.64.0.2
	RELENG_9_1_0_RELEASE:1.59.2.3.2.2
	RELENG_9_1:1.59.2.3.0.2
	RELENG_9_1_BP:1.59.2.3
	RELENG_8_3_0_RELEASE:1.55.2.2.2.1
	RELENG_8_3:1.55.2.2.0.2
	RELENG_8_3_BP:1.55.2.2
	RELENG_9_0_0_RELEASE:1.59.2.1.2.1
	RELENG_9_0:1.59.2.1.0.2
	RELENG_9_0_BP:1.59.2.1
	RELENG_9:1.59.0.2
	RELENG_9_BP:1.59
	RELENG_7_4_0_RELEASE:1.45.2.6.8.1
	RELENG_8_2_0_RELEASE:1.55.2.1.6.1
	RELENG_7_4:1.45.2.6.0.8
	RELENG_7_4_BP:1.45.2.6
	RELENG_8_2:1.55.2.1.0.6
	RELENG_8_2_BP:1.55.2.1
	RELENG_8_1_0_RELEASE:1.55.2.1.4.1
	RELENG_8_1:1.55.2.1.0.4
	RELENG_8_1_BP:1.55.2.1
	RELENG_7_3_0_RELEASE:1.45.2.6.6.1
	RELENG_7_3:1.45.2.6.0.6
	RELENG_7_3_BP:1.45.2.6
	RELENG_8_0_0_RELEASE:1.55.2.1.2.1
	RELENG_8_0:1.55.2.1.0.2
	RELENG_8_0_BP:1.55.2.1
	RELENG_8:1.55.0.2
	RELENG_8_BP:1.55
	RELENG_7_2_0_RELEASE:1.45.2.6.4.1
	RELENG_7_2:1.45.2.6.0.4
	RELENG_7_2_BP:1.45.2.6
	RELENG_7_1_0_RELEASE:1.45.2.6.2.1
	RELENG_6_4_0_RELEASE:1.33.2.4.2.1
	RELENG_7_1:1.45.2.6.0.2
	RELENG_7_1_BP:1.45.2.6
	RELENG_6_4:1.33.2.4.0.2
	RELENG_6_4_BP:1.33.2.4
	RELENG_7_0_0_RELEASE:1.45
	RELENG_6_3_0_RELEASE:1.33.2.3
	RELENG_7_0:1.45.0.4
	RELENG_7_0_BP:1.45
	RELENG_6_3:1.33.2.3.0.2
	RELENG_6_3_BP:1.33.2.3
	RELENG_7:1.45.0.2
	RELENG_7_BP:1.45
	RELENG_6_2_0_RELEASE:1.33.2.2.2.1
	RELENG_6_2:1.33.2.2.0.2
	RELENG_6_2_BP:1.33.2.2
	RELENG_5_5_0_RELEASE:1.30.2.1
	RELENG_5_5:1.30.2.1.0.6
	RELENG_5_5_BP:1.30.2.1
	RELENG_6_1_0_RELEASE:1.33
	RELENG_6_1:1.33.0.6
	RELENG_6_1_BP:1.33
	RELENG_6_0_0_RELEASE:1.33
	RELENG_6_0:1.33.0.4
	RELENG_6_0_BP:1.33
	RELENG_6:1.33.0.2
	RELENG_6_BP:1.33
	RELENG_5_4_0_RELEASE:1.30.2.1
	RELENG_5_4:1.30.2.1.0.4
	RELENG_5_4_BP:1.30.2.1
	RELENG_4_11_0_RELEASE:1.20.2.1
	RELENG_4_11:1.20.2.1.0.18
	RELENG_4_11_BP:1.20.2.1
	RELENG_5_3_0_RELEASE:1.30.2.1
	RELENG_5_3:1.30.2.1.0.2
	RELENG_5_3_BP:1.30.2.1
	RELENG_5:1.30.0.2
	RELENG_5_BP:1.30
	RELENG_4_10_0_RELEASE:1.20.2.1
	RELENG_4_10:1.20.2.1.0.16
	RELENG_4_10_BP:1.20.2.1
	RELENG_5_2_1_RELEASE:1.28
	RELENG_5_2_0_RELEASE:1.28
	RELENG_5_2:1.28.0.2
	RELENG_5_2_BP:1.28
	RELENG_4_9_0_RELEASE:1.20.2.1
	RELENG_4_9:1.20.2.1.0.14
	RELENG_4_9_BP:1.20.2.1
	RELENG_5_1_0_RELEASE:1.27
	RELENG_5_1:1.27.0.2
	RELENG_5_1_BP:1.27
	RELENG_4_8_0_RELEASE:1.20.2.1
	RELENG_4_8:1.20.2.1.0.12
	RELENG_4_8_BP:1.20.2.1
	RELENG_5_0_0_RELEASE:1.26
	RELENG_5_0:1.26.0.2
	RELENG_5_0_BP:1.26
	RELENG_4_7_0_RELEASE:1.20.2.1
	RELENG_4_7:1.20.2.1.0.10
	RELENG_4_7_BP:1.20.2.1
	RELENG_4_6_2_RELEASE:1.20.2.1
	RELENG_4_6_1_RELEASE:1.20.2.1
	RELENG_4_6_0_RELEASE:1.20.2.1
	RELENG_4_6:1.20.2.1.0.8
	RELENG_4_6_BP:1.20.2.1
	RELENG_4_5_0_RELEASE:1.20.2.1
	RELENG_4_5:1.20.2.1.0.6
	RELENG_4_5_BP:1.20.2.1
	RELENG_4_4_0_RELEASE:1.20.2.1
	RELENG_4_4:1.20.2.1.0.4
	RELENG_4_4_BP:1.20.2.1
	KSE_MILESTONE_2:1.25
	KSE_PRE_MILESTONE_2:1.25
	RELENG_4_3_0_RELEASE:1.20.2.1
	RELENG_4_3:1.20.2.1.0.2
	RELENG_4_3_BP:1.20.2.1
	RELENG_4_2_0_RELEASE:1.20.2.1
	RELENG_4_1_1_RELEASE:1.20.2.1
	PRE_SMPNG:1.25
	RELENG_4_1_0_RELEASE:1.20.2.1
	RELENG_3_5_0_RELEASE:1.16.2.2
	RELENG_4_0_0_RELEASE:1.20
	RELENG_4:1.20.0.2
	RELENG_4_BP:1.20
	RELENG_3_4_0_RELEASE:1.16.2.2
	RELENG_3_3_0_RELEASE:1.16.2.2
	RELENG_3_2_PAO:1.16.0.4
	RELENG_3_2_PAO_BP:1.16
	RELENG_3_2_0_RELEASE:1.16
	POST_VFS_BIO_NFS_PATCH:1.17
	PRE_VFS_BIO_NFS_PATCH:1.17
	POST_SMP_VMSHARE:1.17
	PRE_SMP_VMSHARE:1.17
	POST_NEWBUS:1.16
	PRE_NEWBUS:1.16
	RELENG_3_1_0_RELEASE:1.16
	RELENG_3:1.16.0.2
	RELENG_3_BP:1.16
	RELENG_2_2_8_RELEASE:1.5.2.1
	RELENG_3_0_0_RELEASE:1.13
	RELENG_2_2_7_RELEASE:1.5.2.1
	PRE_NOBDEV:1.9
	POST_DEVFS_SLICE:1.9
	PRE_DEVFS_SLICE:1.9
	RELENG_2_2_6_RELEASE:1.5.2.1
	POST_SOFTUPDATE:1.9
	PRE_SOFTUPDATE:1.9
	RELENG_2_2_5_RELEASE:1.5.2.1
	WOLLMAN_MBUF:1.7.0.2
	BP_WOLLMAN_MBUF:1.7
	RELENG_2_2_2_RELEASE:1.5.2.1
	post_smp_merge:1.7
	pre_smp_merge:1.7
	RELENG_2_2_1_RELEASE:1.5
	RELENG_2_2_0_RELEASE:1.5
	RELENG_2_1_7_RELEASE:1.3
	RELENG_2_1_6_1_RELEASE:1.3
	RELENG_2_1_6_RELEASE:1.3
	RELENG_2_2:1.5.0.2
	RELENG_2_2_BP:1.5
	RELENG_2_1_5_RELEASE:1.3
	wollman_polling:1.4.0.2
	RELENG_2_1_0_RELEASE:1.3
	RELENG_2_1_0:1.3.0.8
	RELENG_2_1_0_BP:1.3
	RELENG_2_0_5_RELEASE:1.3
	RELENG_2_0_5:1.3.0.6
	RELENG_2_0_5_BP:1.3
	RELENG_2_0_5_ALPHA:1.3
	OLAH_TTCP:1.3.0.4
	RELEASE_2_0:1.3
	BETA_2_0:1.3
	ALPHA_2_0:1.3.0.2;
locks; strict;
comment	@# @;


1.64
date	2013.03.13.04.21.58;	author svnexp;	state Exp;
branches
	1.64.2.1;
next	1.63;

1.63
date	2012.12.02.20.53.16;	author svnexp;	state Exp;
branches;
next	1.62;

1.62
date	2012.11.17.01.51.04;	author svnexp;	state Exp;
branches;
next	1.61;

1.61
date	2012.03.20.18.05.15;	author jhb;	state Exp;
branches;
next	1.60;

1.60
date	2012.01.03.17.31.27;	author jhb;	state Exp;
branches;
next	1.59;

1.59
date	2011.06.10.20.51.41;	author gibbs;	state Exp;
branches
	1.59.2.1;
next	1.58;

1.58
date	2011.05.14.01.53.38;	author attilio;	state Exp;
branches;
next	1.57;

1.57
date	2010.11.21.03.58.11;	author obrien;	state Exp;
branches;
next	1.56;

1.56
date	2010.11.21.03.56.41;	author obrien;	state Exp;
branches;
next	1.55;

1.55
date	2009.05.22.12.35.12;	author rwatson;	state Exp;
branches
	1.55.2.1;
next	1.54;

1.54
date	2009.02.15.18.19.24;	author imp;	state Exp;
branches;
next	1.53;

1.53
date	2008.08.15.14.11.30;	author philip;	state Exp;
branches;
next	1.52;

1.52
date	2008.08.08.18.00.33;	author philip;	state Exp;
branches;
next	1.51;

1.51
date	2008.07.20.09.16.00;	author maxim;	state Exp;
branches;
next	1.50;

1.50
date	2008.07.10.16.03.24;	author obrien;	state Exp;
branches;
next	1.49;

1.49
date	2008.05.26.10.39.52;	author bz;	state Exp;
branches;
next	1.48;

1.48
date	2008.05.25.22.11.27;	author rwatson;	state Exp;
branches;
next	1.47;

1.47
date	2008.05.21.07.56.10;	author obrien;	state Exp;
branches;
next	1.46;

1.46
date	2008.01.23.08.50.34;	author maxim;	state Exp;
branches;
next	1.45;

1.45
date	2007.07.12.21.04.55;	author rwatson;	state Exp;
branches
	1.45.2.1;
next	1.44;

1.44
date	2007.07.05.08.55.13;	author bz;	state Exp;
branches;
next	1.43;

1.43
date	2007.07.01.11.38.26;	author gnn;	state Exp;
branches;
next	1.42;

1.42
date	2007.04.14.16.29.15;	author maxim;	state Exp;
branches;
next	1.41;

1.41
date	2007.03.24.22.21.01;	author maxim;	state Exp;
branches;
next	1.40;

1.40
date	2006.11.26.18.27.16;	author maxim;	state Exp;
branches;
next	1.39;

1.39
date	2006.11.11.16.26.55;	author trhodes;	state Exp;
branches;
next	1.38;

1.38
date	2006.08.10.06.29.43;	author imp;	state Exp;
branches;
next	1.37;

1.37
date	2006.07.04.14.14.16;	author maxim;	state Exp;
branches;
next	1.36;

1.36
date	2006.05.29.19.29.41;	author maxim;	state Exp;
branches;
next	1.35;

1.35
date	2006.03.17.18.54.34;	author ru;	state Exp;
branches;
next	1.34;

1.34
date	2006.01.10.20.58.27;	author rees;	state Exp;
branches;
next	1.33;

1.33
date	2005.03.08.00.09.41;	author grog;	state Exp;
branches
	1.33.2.1;
next	1.32;

1.32
date	2005.03.05.00.56.15;	author grog;	state Exp;
branches;
next	1.31;

1.31
date	2004.08.19.09.54.28;	author des;	state Exp;
branches;
next	1.30;

1.30
date	2004.05.16.00.19.12;	author cognet;	state Exp;
branches
	1.30.2.1;
next	1.29;

1.29
date	2004.01.17.03.28.27;	author ru;	state Exp;
branches;
next	1.28;

1.28
date	2003.06.26.03.52.48;	author peter;	state Exp;
branches;
next	1.27;

1.27
date	2003.05.08.06.35.39;	author peter;	state Exp;
branches;
next	1.26;

1.26
date	2002.04.26.17.55.21;	author ru;	state Exp;
branches;
next	1.25;

1.25
date	2000.08.24.18.53.09;	author peter;	state Exp;
branches;
next	1.24;

1.24
date	2000.08.17.05.43.41;	author jhb;	state Exp;
branches;
next	1.23;

1.23
date	2000.06.17.10.51.51;	author obrien;	state Exp;
branches;
next	1.22;

1.22
date	2000.05.02.02.26.03;	author chuckr;	state Exp;
branches;
next	1.21;

1.21
date	2000.03.19.11.41.50;	author peter;	state Exp;
branches;
next	1.20;

1.20
date	99.11.14.13.54.38;	author marcel;	state Exp;
branches
	1.20.2.1;
next	1.19;

1.19
date	99.08.28.00.38.20;	author peter;	state Exp;
branches;
next	1.18;

1.18
date	99.06.03.10.38.07;	author kato;	state Exp;
branches;
next	1.17;

1.17
date	99.04.21.11.09.40;	author jkoshy;	state Exp;
branches;
next	1.16;

1.16
date	98.12.30.12.06.08;	author bde;	state Exp;
branches
	1.16.2.1;
next	1.15;

1.15
date	98.12.30.11.17.09;	author bde;	state Exp;
branches;
next	1.14;

1.14
date	98.11.03.06.50.58;	author peter;	state Exp;
branches;
next	1.13;

1.13
date	98.10.11.18.39.38;	author rnordier;	state Exp;
branches;
next	1.12;

1.12
date	98.10.04.00.42.08;	author gpalmer;	state Exp;
branches;
next	1.11;

1.11
date	98.09.05.08.27.56;	author jb;	state Exp;
branches;
next	1.10;

1.10
date	98.08.27.04.26.40;	author jb;	state Exp;
branches;
next	1.9;

1.9
date	98.02.20.07.37.08;	author jb;	state Exp;
branches;
next	1.8;

1.8
date	97.07.13.07.36.20;	author jkh;	state Exp;
branches;
next	1.7;

1.7
date	97.02.22.09.27.56;	author peter;	state Exp;
branches;
next	1.6;

1.6
date	97.01.14.06.34.49;	author jkh;	state Exp;
branches;
next	1.5;

1.5
date	96.06.14.10.56.36;	author asami;	state Exp;
branches
	1.5.2.1;
next	1.4;

1.4
date	95.12.26.13.57.32;	author bde;	state Exp;
branches;
next	1.3;

1.3
date	94.08.25.13.54.28;	author paul;	state Exp;
branches
	1.3.8.1;
next	1.2;

1.2
date	94.08.02.07.38.17;	author davidg;	state Exp;
branches;
next	1.1;

1.1
date	94.05.28.04.10.32;	author rgrimes;	state Exp;
branches;
next	;

1.64.2.1
date	2013.03.13.04.21.58;	author svnexp;	state dead;
branches;
next	1.64.2.2;

1.64.2.2
date	2013.03.28.13.03.55;	author svnexp;	state Exp;
branches;
next	;

1.59.2.1
date	2011.09.23.00.51.37;	author kensmith;	state Exp;
branches
	1.59.2.1.2.1;
next	1.59.2.2;

1.59.2.2
date	2012.01.13.19.10.53;	author jhb;	state Exp;
branches;
next	1.59.2.3;

1.59.2.3
date	2012.04.02.20.36.35;	author jhb;	state Exp;
branches
	1.59.2.3.2.1;
next	1.59.2.4;

1.59.2.4
date	2012.11.17.11.36.44;	author svnexp;	state Exp;
branches;
next	;

1.59.2.1.2.1
date	2011.11.11.04.20.22;	author kensmith;	state Exp;
branches;
next	1.59.2.1.2.2;

1.59.2.1.2.2
date	2012.11.17.08.36.43;	author svnexp;	state Exp;
branches;
next	;

1.59.2.3.2.1
date	2012.08.05.23.54.33;	author kensmith;	state Exp;
branches;
next	1.59.2.3.2.2;

1.59.2.3.2.2
date	2012.11.17.08.47.33;	author svnexp;	state Exp;
branches;
next	;

1.55.2.1
date	2009.08.03.08.13.06;	author kensmith;	state Exp;
branches
	1.55.2.1.2.1
	1.55.2.1.4.1
	1.55.2.1.6.1;
next	1.55.2.2;

1.55.2.2
date	2012.01.13.19.13.43;	author jhb;	state Exp;
branches
	1.55.2.2.2.1;
next	1.55.2.3;

1.55.2.3
date	2012.11.17.10.36.24;	author svnexp;	state Exp;
branches;
next	1.55.2.4;

1.55.2.4
date	2013.03.01.10.24.46;	author svnexp;	state Exp;
branches;
next	1.55.2.5;

1.55.2.5
date	2013.03.30.01.23.16;	author svnexp;	state Exp;
branches;
next	1.55.2.6;

1.55.2.6
date	2013.03.30.21.21.43;	author svnexp;	state Exp;
branches;
next	1.55.2.7;

1.55.2.7
date	2013.05.04.19.22.15;	author svnexp;	state Exp;
branches;
next	1.55.2.8;

1.55.2.8
date	2013.07.08.12.22.21;	author svnexp;	state Exp;
branches;
next	;

1.55.2.1.2.1
date	2009.10.25.01.10.29;	author kensmith;	state Exp;
branches;
next	;

1.55.2.1.4.1
date	2010.06.14.02.09.06;	author kensmith;	state Exp;
branches;
next	;

1.55.2.1.6.1
date	2010.12.21.17.09.25;	author kensmith;	state Exp;
branches;
next	;

1.55.2.2.2.1
date	2012.03.03.06.15.13;	author kensmith;	state Exp;
branches;
next	1.55.2.2.2.2;

1.55.2.2.2.2
date	2012.11.17.08.25.04;	author svnexp;	state Exp;
branches;
next	;

1.45.2.1
date	2008.07.29.08.44.44;	author maxim;	state Exp;
branches;
next	1.45.2.2;

1.45.2.2
date	2008.07.29.11.31.08;	author kib;	state Exp;
branches;
next	1.45.2.3;

1.45.2.3
date	2008.08.10.10.15.20;	author philip;	state Exp;
branches;
next	1.45.2.4;

1.45.2.4
date	2008.08.28.18.02.16;	author obrien;	state Exp;
branches;
next	1.45.2.5;

1.45.2.5
date	2008.08.28.20.09.01;	author obrien;	state Exp;
branches;
next	1.45.2.6;

1.45.2.6
date	2008.08.31.10.15.43;	author rwatson;	state Exp;
branches
	1.45.2.6.2.1
	1.45.2.6.4.1
	1.45.2.6.6.1
	1.45.2.6.8.1;
next	1.45.2.7;

1.45.2.7
date	2012.11.17.08.04.35;	author svnexp;	state Exp;
branches;
next	;

1.45.2.6.2.1
date	2008.11.25.02.59.29;	author kensmith;	state Exp;
branches;
next	;

1.45.2.6.4.1
date	2009.04.15.03.14.26;	author kensmith;	state Exp;
branches;
next	;

1.45.2.6.6.1
date	2010.02.10.00.26.20;	author kensmith;	state Exp;
branches;
next	;

1.45.2.6.8.1
date	2010.12.21.17.10.29;	author kensmith;	state Exp;
branches;
next	1.45.2.6.8.2;

1.45.2.6.8.2
date	2012.11.17.08.17.02;	author svnexp;	state Exp;
branches;
next	;

1.33.2.1
date	2006.05.13.00.29.46;	author cel;	state Exp;
branches;
next	1.33.2.2;

1.33.2.2
date	2006.08.18.21.43.47;	author imp;	state Exp;
branches
	1.33.2.2.2.1;
next	1.33.2.3;

1.33.2.3
date	2006.11.17.00.32.53;	author obrien;	state Exp;
branches;
next	1.33.2.4;

1.33.2.4
date	2008.09.01.23.52.54;	author obrien;	state Exp;
branches
	1.33.2.4.2.1;
next	1.33.2.5;

1.33.2.5
date	2012.11.17.07.42.13;	author svnexp;	state Exp;
branches;
next	;

1.33.2.2.2.1
date	2006.11.23.02.13.40;	author obrien;	state Exp;
branches;
next	;

1.33.2.4.2.1
date	2008.10.02.02.57.24;	author kensmith;	state Exp;
branches;
next	;

1.30.2.1
date	2004.08.22.14.19.53;	author des;	state Exp;
branches;
next	;

1.20.2.1
date	2000.07.10.08.22.34;	author obrien;	state Exp;
branches;
next	1.20.2.2;

1.20.2.2
date	2012.11.17.07.25.11;	author svnexp;	state Exp;
branches;
next	;

1.16.2.1
date	99.07.03.08.20.32;	author nyan;	state Exp;
branches;
next	1.16.2.2;

1.16.2.2
date	99.08.29.16.20.04;	author peter;	state Exp;
branches;
next	;

1.5.2.1
date	97.04.20.20.16.22;	author jkh;	state Exp;
branches;
next	1.5.2.2;

1.5.2.2
date	99.09.05.08.08.33;	author peter;	state Exp;
branches;
next	;

1.3.8.1
date	99.09.05.08.27.24;	author peter;	state Exp;
branches;
next	;


desc
@@


1.64
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/248209
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# $FreeBSD: head/sys/Makefile 248209 2013-03-12 14:21:52Z bryanv $

.include <bsd.own.mk>

# The boot loader
.if ${MK_BOOT} != "no"
SUBDIR=	boot
.endif

# Directories to include in cscope name file and TAGS.
CSCOPEDIRS=	boot bsm cam cddl compat conf contrib crypto ddb dev fs gdb \
		geom gnu isa kern libkern modules net net80211 netatalk \
		netgraph netinet netinet6 netipsec netipx netnatm \
		netsmb nfs nfsclient nfsserver nlm ofed opencrypto \
		pci rpc security sys ufs vm xdr xen ${CSCOPE_ARCHDIR}
.if !defined(CSCOPE_ARCHDIR)
.if defined(ALL_ARCH)
CSCOPE_ARCHDIR = amd64 arm i386 ia64 mips pc98 powerpc sparc64 x86
.else
CSCOPE_ARCHDIR = ${MACHINE} 
.if ${MACHINE} != ${MACHINE_CPUARCH}
CSCOPE_ARCHDIR += ${MACHINE_CPUARCH}
.endif
.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64"
CSCOPE_ARCHDIR += x86
.endif
.endif
.endif

# Loadable kernel modules

.if defined(MODULES_WITH_WORLD)
SUBDIR+=modules
.endif

HTAGSFLAGS+= -at `awk -F= '/^RELEASE *=/{release=$2}; END {print "FreeBSD", release, "kernel"}' < conf/newvers.sh`

# You need the devel/cscope port for this.
cscope: cscope.out
cscope.out: ${.CURDIR}/cscope.files
	cd ${.CURDIR}; cscope -k -buq -p4 -v

${.CURDIR}/cscope.files: .PHONY
	cd ${.CURDIR}; \
		find ${CSCOPEDIRS} -name "*.[chSsly]" -a -type f > ${.TARGET}

cscope-clean:
	rm -f cscope.files cscope.out cscope.in.out cscope.po.out

# You need the devel/global and one of editor/emacs* ports for that.
TAGS ${.CURDIR}/TAGS: ${.CURDIR}/cscope.files
	rm -f ${.CURDIR}/TAGS
	cd ${.CURDIR}; xargs etags -a < ${.CURDIR}/cscope.files

# You need the textproc/glimpse ports for this.
glimpse:
.if !exists(${.CURDIR}/.glimpse_exclude)
	echo .svn > ${.CURDIR}/.glimpse_exclude
	echo /compile/ >> ${.CURDIR}/.glimpse_exclude
.endif
	cd ${.CURDIR}; glimpseindex -H . -B -f -o .

glimpse-clean:
	cd ${.CURDIR}; rm -f .glimpse_*

.include <bsd.subdir.mk>
@


1.64.2.1
log
@file Makefile was added on branch RELENG_8_4 on 2013-03-28 13:03:55 +0000
@
text
@d1 66
@


1.64.2.2
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/248810
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@a0 66
# $FreeBSD: releng/8.4/sys/Makefile 247542 2013-03-01 09:50:45Z des $

.include <bsd.own.mk>

# The boot loader
.if ${MK_BOOT} != "no"
SUBDIR=	boot
.endif

# Directories to include in cscope name file and TAGS.
CSCOPEDIRS=	boot bsm cam cddl compat conf contrib crypto ddb dev fs gdb \
		geom gnu isa kern libkern modules net net80211 netatalk \
		netgraph netinet netinet6 netipsec netipx netnatm netncp \
		netsmb nfs nfsclient nfsserver nlm opencrypto \
		pci rpc security sys ufs vm xdr xen ${CSCOPE_ARCHDIR}
.if !defined(CSCOPE_ARCHDIR)
.if defined(ALL_ARCH)
CSCOPE_ARCHDIR = amd64 arm i386 ia64 mips pc98 powerpc sparc64 sun4v x86
.else
CSCOPE_ARCHDIR = ${MACHINE} 
.if ${MACHINE} != ${MACHINE_ARCH}
CSCOPE_ARCHDIR += ${MACHINE_ARCH}
.endif
.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "amd64"
CSCOPE_ARCHDIR += x86
.endif
.endif
.endif

# Loadable kernel modules

.if defined(MODULES_WITH_WORLD)
SUBDIR+=modules
.endif

HTAGSFLAGS+= -at `awk -F= '/^RELEASE *=/{release=$2}; END {print "FreeBSD", release, "kernel"}' < conf/newvers.sh`

# You need the devel/cscope port for this.
cscope: cscope.out
cscope.out: ${.CURDIR}/cscope.files
	cd ${.CURDIR}; cscope -k -buq -p4

${.CURDIR}/cscope.files: .PHONY
	cd ${.CURDIR}; \
		find ${CSCOPEDIRS} -name "*.[chSsly]" -a -type f > ${.TARGET}

cscope-clean:
	rm -f cscope.files cscope.out cscope.in.out cscope.po.out

# You need the devel/global and one of editor/emacs* ports for that.
TAGS ${.CURDIR}/TAGS: ${.CURDIR}/cscope.files
	rm -f ${.CURDIR}/TAGS
	cd ${.CURDIR}; xargs etags -a < ${.CURDIR}/cscope.files

# You need the textproc/glimpse ports for this.
glimpse:
.if !exists(${.CURDIR}/.glimpse_exclude)
	echo .svn > ${.CURDIR}/.glimpse_exclude
	echo /compile/ >> ${.CURDIR}/.glimpse_exclude
.endif
	cd ${.CURDIR}; glimpseindex -H . -B -f -o .

glimpse-clean:
	cd ${.CURDIR}; rm -f .glimpse_*

.include <bsd.subdir.mk>
@


1.63
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/243796
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d1 1
a1 1
# $FreeBSD: head/sys/Makefile 243796 2012-12-02 20:51:24Z rpaulo $
d13 1
a13 1
		netgraph netinet netinet6 netipsec netipx netnatm netncp \
@


1.62
log
@Switching exporter and resync
@
text
@d1 1
a1 1
# $FreeBSD: head/sys/Makefile 233236 2012-03-20 18:05:15Z jhb $
d41 1
a41 1
	cd ${.CURDIR}; cscope -k -buq -p4
@


1.61
log
@SVN rev 233236 on 2012-03-20 18:05:15Z by jhb

Add sys/ofed to the 'make cscope' target.

MFC after:	1 week
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.60
log
@SVN rev 229400 on 2012-01-03 17:31:27Z by jhb

Improve the cscope target's handling of MD directories.  Automatically
include the MACHINE_CPUARCH directory if it differents from MACHINE when
building an index for a single machine.  Also, include the 'x86' directory
when building an index for i386, pc98, or amd64.

MFC after:	1 week
@
text
@d14 1
a14 1
		netsmb nfs nfsclient nfsserver nlm opencrypto \
@


1.59
log
@SVN rev 222952 on 2011-06-10 20:51:41Z by gibbs

Include sys/xen in cscope tag file generation.
@
text
@d16 1
d18 1
a18 1
CSCOPE_ARCHDIR ?= amd64 arm i386 ia64 mips pc98 powerpc sparc64 x86
d20 8
a27 1
CSCOPE_ARCHDIR ?= ${MACHINE}
@


1.59.2.1
log
@SVN rev 225736 on 2011-09-23 00:51:37Z by kensmith

Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by:	re (implicit)
@
text
@@


1.59.2.2
log
@SVN rev 230072 on 2012-01-13 19:10:53Z by jhb

MFC 229400:
Improve the cscope target's handling of MD directories.  Automatically
include the MACHINE_CPUARCH directory if it differents from MACHINE when
building an index for a single machine.  Also, include the 'x86' directory
when building an index for i386, pc98, or amd64.
@
text
@a15 1
.if !defined(CSCOPE_ARCHDIR)
d17 1
a17 1
CSCOPE_ARCHDIR = amd64 arm i386 ia64 mips pc98 powerpc sparc64 x86
d19 1
a19 8
CSCOPE_ARCHDIR = ${MACHINE} 
.if ${MACHINE} != ${MACHINE_CPUARCH}
CSCOPE_ARCHDIR += ${MACHINE_CPUARCH}
.endif
.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64"
CSCOPE_ARCHDIR += x86
.endif
.endif
@


1.59.2.3
log
@SVN rev 233816 on 2012-04-02 20:36:35Z by jhb

MFC 233236: Add sys/ofed to the 'make cscope' target.
@
text
@d14 1
a14 1
		netsmb nfs nfsclient nfsserver nlm ofed opencrypto \
@


1.59.2.4
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 242902
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r242902 | dteske | 2012-11-11 23:29:45 +0000 (Sun, 11 Nov 2012) | 10 lines
## SVN ##
## SVN ## Fix a regression introduced by SVN r211417 that saw the breakage of a feature
## SVN ## documented in usr.sbin/sysinstall/help/shortcuts.hlp (reproduced below):
## SVN ##
## SVN ## If /usr/sbin/sysinstall is linked to another filename, say
## SVN ## `/usr/local/bin/configPackages', then the basename will be used
## SVN ## as an implicit command name.
## SVN ##
## SVN ## Reviewed by:	adrian (co-mentor)
## SVN ## Approved by:	adrian (co-mentor)
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d1 1
a1 1
# $FreeBSD: stable/9/sys/Makefile 235743 2012-05-21 21:29:59Z jhb $
@


1.59.2.3.2.1
log
@SVN rev 239080 on 2012-08-05 23:54:33Z by kensmith

Copy stable/9 to releng/9.1 as part of the 9.1-RELEASE release process.

Approved by:	re (implicit)
@
text
@@


1.59.2.3.2.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/9.1/sys/Makefile 235743 2012-05-21 21:29:59Z jhb $
@


1.59.2.1.2.1
log
@SVN rev 227445 on 2011-11-11 04:20:22Z by kensmith

Copy stable/9 to releng/9.0 as part of the FreeBSD 9.0-RELEASE release
cycle.

Approved by:	re (implicit)
@
text
@@


1.59.2.1.2.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/9.0/sys/Makefile 222952 2011-06-10 20:51:41Z gibbs $
@


1.58
log
@SVN rev 221869 on 2011-05-14 01:53:38Z by attilio

Disconnect sun4v architecture from the three.

Some files keep the SUN4V tags as a code reference, for the future,
if any rewamped sun4v support wants to be added again.

Reviewed by:	marius
Tested by:	sbruno
Approved by:	re
@
text
@d15 1
a15 1
		pci rpc security sys ufs vm xdr ${CSCOPE_ARCHDIR}
@


1.57
log
@SVN rev 215606 on 2010-11-21 03:58:11Z by obrien

Add lex and yacc sources to things cscope'd.
@
text
@d17 1
a17 1
CSCOPE_ARCHDIR ?= amd64 arm i386 ia64 mips pc98 powerpc sparc64 sun4v x86
@


1.56
log
@SVN rev 215605 on 2010-11-21 03:56:41Z by obrien

Add x86 to ALL_ARCH.
@
text
@d37 1
a37 1
		find ${CSCOPEDIRS} -name "*.[chSs]" -a -type f > ${.TARGET}
@


1.55
log
@SVN rev 192578 on 2009-05-22 12:35:12Z by rwatson

Remove the unmaintained University of Michigan NFSv4 client from 8.x
prior to 8.0-RELEASE.  Rick Macklem's new and more feature-rich NFSv234
client and server are replacing it.

Discussed with:	rmacklem
@
text
@d17 1
a17 1
CSCOPE_ARCHDIR ?= amd64 arm i386 ia64 mips pc98 powerpc sparc64 sun4v
@


1.55.2.1
log
@SVN rev 196045 on 2009-08-03 08:13:06Z by kensmith

Copy head to stable/8 as part of 8.0 Release cycle.

Approved by:	re (Implicit)
@
text
@@


1.55.2.2
log
@SVN rev 230073 on 2012-01-13 19:13:43Z by jhb

MFC 215605,215606,222952,229400:
Various improvements to the 'cscope' target:
- Add x86 to ALL_ARCH.
- Add lex and yacc sources to things cscope'd.
- Include sys/xen in cscope tag file generation.
- Improve the cscope target's handling of MD directories.  Automatically
  include the MACHINE_ARCH directory if it differs from MACHINE when
  building an index for a single machine.  Also, include the 'x86'
  directory when building an index for i386, pc98, or amd64.
@
text
@d15 1
a15 2
		pci rpc security sys ufs vm xdr xen ${CSCOPE_ARCHDIR}
.if !defined(CSCOPE_ARCHDIR)
d17 1
a17 1
CSCOPE_ARCHDIR = amd64 arm i386 ia64 mips pc98 powerpc sparc64 sun4v x86
d19 1
a19 8
CSCOPE_ARCHDIR = ${MACHINE} 
.if ${MACHINE} != ${MACHINE_ARCH}
CSCOPE_ARCHDIR += ${MACHINE_ARCH}
.endif
.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "amd64"
CSCOPE_ARCHDIR += x86
.endif
.endif
d37 1
a37 1
		find ${CSCOPEDIRS} -name "*.[chSsly]" -a -type f > ${.TARGET}
@


1.55.2.3
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 242909
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r242909 | dim | 2012-11-12 07:47:19 +0000 (Mon, 12 Nov 2012) | 20 lines
## SVN ##
## SVN ## MFC r242625:
## SVN ##
## SVN ## Remove duplicate const specifiers in many drivers (I hope I got all of
## SVN ## them, please let me know if not).  Most of these are of the form:
## SVN ##
## SVN ## static const struct bzzt_type {
## SVN ##       [...list of members...]
## SVN ## } const bzzt_devs[] = {
## SVN ##       [...list of initializers...]
## SVN ## };
## SVN ##
## SVN ## The second const is unnecessary, as arrays cannot be modified anyway,
## SVN ## and if the elements are const, the whole thing is const automatically
## SVN ## (e.g. it is placed in .rodata).
## SVN ##
## SVN ## I have verified this does not change the binary output of a full kernel
## SVN ## build (except for build timestamps embedded in the object files).
## SVN ##
## SVN ## Reviewed by:	yongari, marius
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d1 1
a1 1
# $FreeBSD: stable/8/sys/Makefile 240218 2012-09-07 22:34:30Z thomas $
@


1.55.2.4
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/247542
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d1 1
a1 1
# $FreeBSD: stable/8/sys/Makefile 247542 2013-03-01 09:50:45Z des $
@


1.55.2.5
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/248923
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d1 1
a1 1
# $FreeBSD: stable/8/sys/Makefile 248923 2013-03-30 00:22:26Z mckusick $
@


1.55.2.6
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/248936
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d1 1
a1 1
# $FreeBSD: stable/8/sys/Makefile 248936 2013-03-30 20:57:35Z mckusick $
@


1.55.2.7
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/250249
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d1 1
a1 1
# $FreeBSD: stable/8/sys/Makefile 250249 2013-05-04 18:49:04Z mdf $
@


1.55.2.8
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/253033
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d1 1
a1 1
# $FreeBSD: stable/8/sys/Makefile 253033 2013-07-08 12:17:06Z achim $
@


1.55.2.2.2.1
log
@SVN rev 232438 on 2012-03-03 06:15:13Z by kensmith

Copy stable/8 to releng/8.3 as part of 8.3-RELEASE release cycle.

Approved by:	re (implicit)
@
text
@@


1.55.2.2.2.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/8.3/sys/Makefile 230073 2012-01-13 19:13:43Z jhb $
@


1.55.2.1.6.1
log
@SVN rev 216617 on 2010-12-21 17:09:25Z by kensmith

Copy stable/8 to releng/8.2 in preparation for FreeBSD-8.2 release.

Approved by:	re (implicit)
@
text
@@


1.55.2.1.4.1
log
@SVN rev 209145 on 2010-06-14 02:09:06Z by kensmith

Copy stable/8 to releng/8.1 in preparation for 8.1-RC1.

Approved by:	re (implicit)
@
text
@@


1.55.2.1.2.1
log
@SVN rev 198460 on 2009-10-25 01:10:29Z by kensmith

Copy stable/8 to releng/8.0 as part of 8.0-RELEASE release procedure.

Approved by:	re (implicit)
@
text
@@


1.54
log
@SVN rev 188651 on 2009-02-15 18:19:24Z by imp

Removal pccard directory requires removing it from the list of things
that get installed too.  <blush>

Submitted by:	Olivier Smedts (identical patches to what I came up
		with before checking email)
@
text
@d14 1
a14 1
		netsmb nfs nfs4client nfsclient nfsserver nlm opencrypto \
@


1.53
log
@SVN rev 181756 on 2008-08-15 14:11:30Z by philip

Improve the glimpse target: don't index .svn and compile directories.

Suggested by:	brooks
@
text
@d15 1
a15 1
		pccard pci rpc security sys ufs vm xdr ${CSCOPE_ARCHDIR}
@


1.52
log
@SVN rev 181432 on 2008-08-08 18:00:33Z by philip

Add a "glimpse" target to the kernel Makefile.

Glimpse is a powerful "grep on an index".
Especially addictive on slow laptop hard disks.

MFC after:	2 days
@
text
@d49 4
@


1.51
log
@SVN rev 180627 on 2008-07-20 09:16:00Z by maxim

o Add cddl, nlm and xdr to CSCOPEDIRS.
o Add pc98 and sun4v to CSCOPE_ARCHDIR.

PR:		misc/125792
Submitted by:	KOIE Hidetaka
MFC after:	1 week
@
text
@d47 7
@


1.50
log
@SVN rev 180428 on 2008-07-10 16:03:24Z by obrien

Use 'CSCOPE_ARCHDIR' to change the default architecture directories to
cscope.  After the addition of sys/modules/dtrace/dtrace, setting
'ARCHDIR' in /etc/src.conf breaks the build.
@
text
@d11 2
a12 2
CSCOPEDIRS=	boot bsm cam compat conf contrib crypto ddb dev fs gdb geom \
		gnu isa kern libkern modules net net80211 netatalk \
d14 2
a15 2
		netsmb nfs nfs4client nfsclient nfsserver opencrypto pccard \
		pci rpc security sys ufs vm ${CSCOPE_ARCHDIR}
d17 1
a17 1
CSCOPE_ARCHDIR ?= amd64 arm i386 ia64 mips powerpc sparc64
@


1.49
log
@Remove ISDN4BSD (I4B) from HEAD as it is not MPSAFE and
parts relied on the now removed NET_NEEDS_GIANT.
Most of I4B has been disconnected from the build
since July 2007 in HEAD/RELENG_7.

This is what was removed:
- configuration in /etc/isdn
- examples
- man pages
- kernel configuration
- sys/i4b (drivers, layers, include files)
- user space tools
- i4b support from ppp
- further documentation

Discussed with: rwatson, re
@
text
@d15 6
a20 3
		pci rpc security sys ufs vm ${ARCHDIR}

ARCHDIR	?=	${MACHINE}
@


1.48
log
@Remove netatm from HEAD as it is not MPSAFE and relies on the now removed
NET_NEEDS_GIANT.  netatm has been disconnected from the build for ten
months in HEAD/RELENG_7.  Specifics:

- netatm include files
- netatm command line management tools
- libatm
- ATM parts in rescue and sysinstall
- sample configuration files and documents
- kernel support as a module or in NOTES
- netgraph wrapper nodes for netatm
- ctags data for netatm.
- netatm-specific device drivers.

MFC after:	3 weeks
Reviewed by:	bz
Discussed with:	bms, bz, harti
@
text
@d12 1
a12 1
		gnu i4b isa kern libkern modules net net80211 netatalk \
@


1.47
log
@+ Use the default cscope names.
+ Enable fast symbol lookup.
+ Make sure files cscoped are really files, and add .S's.
+ Add 'cscope-clean' target.
@
text
@d12 1
a12 1
		gnu i4b isa kern libkern modules net net80211 netatalk netatm \
@


1.46
log
@o Add boot, gdb, nfsserver and opencrypto dirs to CSCOPEDIRS; sort.
@
text
@d11 2
a12 2
CSCOPEDIRS=	boot bsm cam compat conf contrib crypto ddb dev fs gdb geom gnu \
		i4b isa kern libkern modules net net80211 netatalk netatm \
d28 7
a34 2
cscope:	${.CURDIR}/cscopenamefile
	cd ${.CURDIR}; cscope -k -p4 -i cscopenamefile
d36 2
a37 2
${.CURDIR}/cscopenamefile: 
	cd ${.CURDIR}; find ${CSCOPEDIRS} -name "*.[csh]" > ${.TARGET}
d40 1
a40 1
TAGS ${.CURDIR}/TAGS:	${.CURDIR}/cscopenamefile
d42 1
a42 1
	cd ${.CURDIR}; xargs etags -a < ${.CURDIR}/cscopenamefile
@


1.45
log
@Complete repo-copy and move of Coda from src/sys/coda to src/sys/fs/coda
by removing files from src/sys/coda, and updating include paths in the
new location, kernel configuration, and  Makefiles.  In one case add
$FreeBSD$.

Discussed with:		anderson, Jan Harkes <jaharkes@@cs.cmu.edu>
Approved by:		re (kensmith)
Repo-copy madness:	simon
@
text
@d11 1
a11 1
CSCOPEDIRS=	bsm cam compat conf contrib crypto ddb dev fs geom gnu \
d14 2
a15 2
		netsmb nfs nfsclient nfs4client rpc pccard pci security sys \
		ufs vm ${ARCHDIR}
@


1.45.2.1
log
@SVN rev 180951 on 2008-07-29 08:44:44Z by maxim

Partially MFC r180627: add cddl, nlm and xdr to CSCOPEDIRS.
@
text
@d11 1
a11 1
CSCOPEDIRS=	bsm cam cddl compat conf contrib crypto ddb dev fs geom gnu \
d14 2
a15 2
		netsmb nfs nfsclient nfs4client nlm rpc pccard pci security
		sys ufs vm xdr ${ARCHDIR}
@


1.45.2.2
log
@SVN rev 180958 on 2008-07-29 11:31:08Z by kib

Correct CSCOPEDIRS definition
@
text
@d14 1
a14 1
		netsmb nfs nfsclient nfs4client nlm rpc pccard pci security \
@


1.45.2.3
log
@SVN rev 181526 on 2008-08-10 10:15:20Z by philip

MFC r181432:

 Add a "glimpse" target to the kernel Makefile.
@
text
@a38 7
# You need the textproc/glimpse ports for this.
glimpse:
	cd ${.CURDIR}; glimpseindex -H . -B -f -o .

glimpse-clean:
	cd ${.CURDIR}; rm -f .glimpse_*

@


1.45.2.4
log
@SVN rev 182384 on 2008-08-28 18:02:16Z by obrien

MFC: r180428: Use 'CSCOPE_ARCHDIR' to change the default architecture
directories to cscope.  After the addition of sys/modules/dtrace/dtrace,
setting 'ARCHDIR' in /etc/src.conf breaks the build.
@
text
@d15 3
a17 6
		sys ufs vm xdr ${CSCOPE_ARCHDIR}
.if defined(ALL_ARCH)
CSCOPE_ARCHDIR ?= amd64 arm i386 ia64 pc98 powerpc sparc64 sun4v
.else
CSCOPE_ARCHDIR ?= ${MACHINE}
.endif
@


1.45.2.5
log
@SVN rev 182402 on 2008-08-28 20:09:01Z by obrien

MFC: r179174 (rev 1.47): Cscope enhancement's.
@
text
@d31 2
a32 3
cscope: cscope.out
cscope.out: ${.CURDIR}/cscope.files
	cd ${.CURDIR}; cscope -k -buq -p4
d34 2
a35 6
${.CURDIR}/cscope.files: .PHONY
	cd ${.CURDIR}; \
		find ${CSCOPEDIRS} -name "*.[chSs]" -a -type f > ${.TARGET}

cscope-clean:
	rm -f cscope.files cscope.out cscope.in.out cscope.po.out
d38 1
a38 1
TAGS ${.CURDIR}/TAGS: ${.CURDIR}/cscope.files
d40 1
a40 1
	cd ${.CURDIR}; xargs etags -a < ${.CURDIR}/cscope.files
@


1.45.2.6
log
@SVN rev 182526 on 2008-08-31 10:15:43Z by rwatson

Merge r179308 from head to stable/7:

  Remove netatm from HEAD as it is not MPSAFE and relies on the now removed
  NET_NEEDS_GIANT.  netatm has been disconnected from the build for ten
  months in HEAD/RELENG_7.  Specifics:

  - netatm include files
  - netatm command line management tools
  - libatm
  - ATM parts in rescue and sysinstall
  - sample configuration files and documents
  - kernel support as a module or in NOTES
  - netgraph wrapper nodes for netatm
  - ctags data for netatm.
  - netatm-specific device drivers.

  Reviewed by:    bz
  Discussed with: bms, bz, harti

MFC discussed with:	des, peter
@
text
@d12 1
a12 1
		i4b isa kern libkern modules net net80211 netatalk \
@


1.45.2.7
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/7/sys/Makefile 182526 2008-08-31 10:15:43Z rwatson $
@


1.45.2.6.8.1
log
@SVN rev 216618 on 2010-12-21 17:10:29Z by kensmith

Copy stable/7 to releng/7.4 in preparation for FreeBSD-7.4 release.

Approved by:	re (implicit)
@
text
@@


1.45.2.6.8.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/7.4/sys/Makefile 182526 2008-08-31 10:15:43Z rwatson $
@


1.45.2.6.6.1
log
@SVN rev 203736 on 2010-02-10 00:26:20Z by kensmith

Copy stable/7 to releng/7.3 as part of the 7.3-RELEASE process.

Approved by:	re (implicit)
@
text
@@


1.45.2.6.4.1
log
@SVN rev 191087 on 2009-04-15 03:14:26Z by kensmith

Create releng/7.2 from stable/7 in preparation for 7.2-RELEASE.

Approved by:	re (implicit)
@
text
@@


1.45.2.6.2.1
log
@SVN rev 185281 on 2008-11-25 02:59:29Z by kensmith

Create releng/7.1 in preparation for moving into RC phase of 7.1 release
cycle.

Approved by:	re (implicit)
@
text
@@


1.44
log
@Remove netkey directory from cscope/TAGs generation and replace
it with netipsec now that KAME IPsec is gone.
While here add missing netinet6 directories.

Add comments about the ports needed to be able to run those targets.

Reviewed by:	philip
Approved by:	re (rwatson)
@
text
@d11 1
a11 1
CSCOPEDIRS=	bsm cam coda compat conf contrib crypto ddb dev fs geom gnu \
@


1.43
log
@Commit IPv6 support for FAST_IPSEC to the tree.
This commit includes only the kernel files, the rest of the files
will follow in a second commit.

Reviewed by:    bz
Approved by:    re
Supported by:   Secure Computing
@
text
@d13 1
a13 1
		netgraph netinet netinet6 netipx netnatm netncp \
d27 1
d34 1
@


1.42
log
@o Add bsm and security to a list of cscope dirs.
@
text
@d13 1
a13 1
		netgraph netinet netinet6 netipx netkey netnatm netncp \
@


1.41
log
@o Remove isofs from the cscope dirs list.  Its content was
repo-copied to fs/.
@
text
@d11 2
a12 2
CSCOPEDIRS=	cam coda compat conf contrib crypto ddb dev fs geom gnu i4b \
		isa kern libkern modules net net80211 netatalk netatm \
d14 1
a14 1
		netsmb nfs nfsclient nfs4client rpc pccard pci sys \
@


1.40
log
@o Add cam to a list of cscope dirs.
@
text
@d12 1
a12 1
		isa isofs kern libkern modules net net80211 netatalk netatm \
@


1.39
log
@Merge posix4/* into normal kernel hierarchy.

Reviewed by:	glanced at by jhb
Approved by:	silence on -arch@@ and -standards@@
@
text
@d11 2
a12 2
CSCOPEDIRS=	coda compat conf contrib crypto ddb dev fs geom gnu i4b isa \
		isofs kern libkern modules net net80211 netatalk netatm \
@


1.38
log
@Don't need to special case arm here anymore
@
text
@d14 1
a14 1
		netsmb nfs nfsclient nfs4client rpc pccard pci posix4 sys \
@


1.37
log
@o Add geom to a list of cscope dirs.
@
text
@a6 1
.if ${MACHINE_ARCH} != "arm"
a8 1
.endif
@


1.36
log
@o Add net80211/ to cscope dir list.
@
text
@d13 1
a13 1
CSCOPEDIRS=	coda compat conf contrib crypto ddb dev fs gnu i4b isa \
@


1.35
log
@Reimplementation of world/kernel build options.  For details, see:

http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061725.html

The src.conf(5) manpage is to follow in a few days.

Brought to you by:	imp, jhb, kris, phk, ru (all bugs are mine)
@
text
@d14 4
a17 4
		isofs kern libkern modules net netatalk netatm netgraph \
		netinet netinet6 netipx netkey netnatm netncp netsmb nfs \
		nfsclient nfs4client rpc pccard pci posix4 sys ufs vm \
		${ARCHDIR}
@


1.34
log
@add nfsclient/, nfs4client/, and rpc/ directories to the
top Makefile's rule to build a cscope database.

Submitted by:	cel@@citi.umich.edu
Approved by:	alfred
@
text
@d3 2
d6 1
a6 1
.if !defined(NO_BOOT)
@


1.33
log
@When building cscopnamefile, default architecture to ${MACHINE}, not i386.

Suggested by:	ru
@
text
@d14 2
a15 1
		pccard pci posix4 sys ufs vm ${ARCHDIR}
@


1.33.2.1
log
@MFC revision 1.34

add nfsclient/, nfs4client/, and rpc/ directories to the
top Makefile's rule to build a cscope database.
@
text
@d14 1
a14 2
		nfsclient nfs4client rpc pccard pci posix4 sys ufs vm \
		${ARCHDIR}
@


1.33.2.2
log
@MFC: don't special case arm
@
text
@d5 1
d8 1
@


1.33.2.2.2.1
log
@MF6: Fix ARM build.

Approved by:	re(KEN)
@
text
@a2 4
.if ${MACHINE_ARCH} == "arm"
NO_BOOT=
.endif

@


1.33.2.3
log
@Fix ARM build:
1. NO_FORTH needs to be defined
2. bootpd.c rev 1.24: make tv_sec a time_t
3. authpf.c rev 1.7: handle timeval.tv_sec change from long to time_t

Approved by:	re(BMAH)
@
text
@a2 4
.if ${MACHINE_ARCH} == "arm"
NO_BOOT=
.endif

@


1.33.2.4
log
@SVN rev 182663 on 2008-09-01 23:52:54Z by obrien

MFC: r179174 (rev 1.47): Cscope enhancement's.
@
text
@d17 3
a19 6
		${CSCOPE_ARCHDIR}
.if defined(ALL_ARCH)
CSCOPE_ARCHDIR ?= amd64 arm i386 ia64 pc98 powerpc sparc64 sun4v
.else
CSCOPE_ARCHDIR ?= ${MACHINE}
.endif
d29 2
a30 7
cscope: cscope.out
cscope.out: ${.CURDIR}/cscope.files
	cd ${.CURDIR}; cscope -k -buq -p4

${.CURDIR}/cscope.files: .PHONY
	cd ${.CURDIR}; \
		find ${CSCOPEDIRS} -name "*.[chSs]" -a -type f > ${.TARGET}
d32 2
a33 2
cscope-clean:
	rm -f cscope.files cscope.out cscope.in.out cscope.po.out
d35 1
a35 2
# You need the devel/global and one of editor/emacs* ports for that.
TAGS ${.CURDIR}/TAGS: ${.CURDIR}/cscope.files
d37 1
a37 1
	cd ${.CURDIR}; xargs etags -a < ${.CURDIR}/cscope.files
@


1.33.2.5
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/6/sys/Makefile 199880 2009-11-28 15:23:53Z bz $
@


1.33.2.4.2.1
log
@SVN rev 183531 on 2008-10-02 02:57:24Z by kensmith

Create releng/6.4 from stable/6 in preparation for 6.4-RC1.

Approved by:	re (implicit)
@
text
@@


1.32
log
@Add targets to build cscope name files and TAGS file for etags.
@
text
@d16 1
a16 1
ARCHDIR	?=	i386
@


1.31
log
@Add a NO_BOOT knob to prevent building the boot blocks and loader.

Reviewed by:	ru
MFC after:	3 days
@
text
@d10 8
d19 1
d26 10
@


1.30
log
@Try harder not to compile anything in sys/boot for arm.
I wonder how buildworld ever worked for me...
@
text
@d4 1
d7 1
@


1.30.2.1
log
@MFC: add NO_BOOT knob to disable building the boot blocks and loader.

Approved by:	re (kensmith)
@
text
@a3 1
.if !defined(NO_BOOT)
a5 1
.endif
@


1.29
log
@Replaced outdated comment.
@
text
@d4 1
d6 1
@


1.28
log
@Revert exclusion for amd64 that stopped boot/ being built.
@
text
@d6 1
a6 1
# KLD modules build for both a.out and ELF
@


1.27
log
@Exclude sys/boot for amd64.  There are still toolchain issues to deal
with.  In theory, gcc -m32 should work, but for now, do not tempt fate.

Approved by:	re (scottl)
@
text
@a2 1
SUBDIR=
d4 1
a4 3
.if ${MACHINE_ARCH} != "amd64"
SUBDIR+=boot
.endif
@


1.26
log
@Milestone #1 in cross-arch make releases.

Do not install games and profiled libraries to the ${CHROOTDIR}
with the initial installworld.

Eliminate the need in the second installworld.  For that, make sure
_everything_ is built in the "world" environment, using the right
tool chain.

Added SUBDIR_OVERRIDE helper stuff to Makefile.inc1.  Split the
buildworld process into stages, and skip some stages when
SUBDIR_OVERRIDE is set (used to build crypto, krb4, and krb5
dists).

Added NO_MAKEDB_RUN knob to Makefile.inc1 to avoid running
makewhatis(1) at the end of installworld (used when making crypto,
krb4, and krb5 dists).

In release/scripts/doFS.sh, ensure that the correct boot blocks are
used.

Moved the creation of the "crypto" dist from release.5 to
release.2.

In release.3 and doMFSKERN, build kernels in the "world"
environment.  KERNELS now means "additional" kernels, GENERIC is
always built.

Ensure we build crunched binaries in the "world" environment.
Obfuscate release/Makefile some more (WMAKEENV) to achieve this.

Inline createBOOTMFS target.

Use already built GENERIC kernel modules to augment mfsfd's
/stand/modules.  GC doMODULES as such.

Assorted fixes:

Get rid of the "afterdistribute" target by moving the single use
of it from sys/Makefile to etc/Makefile's "distribute".

Makefile.inc1: apparently "etc" no longer needs to be last for
"distribute" to succeed.

gnu/usr.bin/perl/library/Makefile.inc: do not override the
"install" and "distribute" targets, do it the "canonical" way.

release/scripts/{man,cat}pages-make.sh: make sure Perl manpages and
catpages appear in the right dists.  Note that because Perl does
not respect the MANBUILDCAT (and NOMAN), this results in a loss of
/usr/share/perl/man/cat* empty directories.  This will be fixed
soon.

Turn MAKE_KERBEROS4 into a plain boolean variable (if it is set it
means "make KerberosIV"), as documented in the make.conf(5)
manpage.  Most of the userland makefiles did not test it for "YES"
anyway.

XXX Should specialized kerberized libpam versions be included into
the krb4 and krb5 dists?  (libpam.a would be incorrect anyway if
both krb4 and krb5 dists were choosen.)

Make sure "games" dist is made before "catpages", otherwise games
catpages settle in the wrong dist.

Fast build machine provided by: Igor Kucherenko <kivvy@@sunbay.com>
@
text
@d3 1
d5 3
a7 1
SUBDIR=	boot
@


1.25
log
@I should know better than to touch this without testing a 'make release'
but ${MACHINE_ARCH} should be ${MACHINE} here.  pc98 has its own
GENERIC.hints file and should not be used with the i386 version.
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/Makefile,v 1.24 2000/08/17 05:43:41 jhb Exp $
a9 5

afterdistribute:
	${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 444 \
		${.CURDIR}/${MACHINE}/conf/GENERIC.hints \
		${DESTDIR}/boot/device.hints
@


1.24
log
@Add in a hack that installs 'src/sys/${MACHINE_ARCH}/GENERIC.hints' as
/boot/device.hints in the bin dist during releases so that current snapshots
have a chance of booting up ok after installing.  The real fix for this
problem is to rewrite userconfig in Forth, stick it in the loader, axe
userconfig from the kernel, and extract the hints from the booted kernel in
sysinstall similar to the way we generate /boot/kernel.conf right now.  For
now, however, this will have to do.
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/Makefile,v 1.23 2000/06/17 10:51:51 obrien Exp $
d13 1
a13 1
		${.CURDIR}/${MACHINE_ARCH}/conf/GENERIC.hints \
@


1.23
log
@If "MODULES_WITH_WORLD" is defined, sys/modules will be built with the
world as was our old way, rather than when building a kernel.

Some people do not like the new way, and the release building still assumes
modules are built with the world.
@
text
@d1 1
a1 1
# $FreeBSD$
d10 5
@


1.22
log
@Cause modules to build with the kernel build.  Modules are removed
from the sys Makefile's SUBDIRs.  This is conditioned in make.conf by the
NO_MODULES variable and the existence of the modules directory.  The
actual location of the modules is not modified.  Changes in Makefiles
only, this does not affect Peter's recent changes.

Reviewed by:	Peter Wemm, who warned me I would get some flack, and
		he had the good idea for the NO_MODULES variable.
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/Makefile,v 1.21 2000/03/19 11:41:50 peter Exp $
d5 5
@


1.21
log
@Remove the old a.out-only boot loader, we don't use it any more.
The new boot1/boot2 can load a.out and elf kernels directly.
I think the sys/pc98 version can go too as the sys/boot/pc98 code
appears to be functional, but I'll leave that for the pc98 folks.

"There can be only one."
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/Makefile,v 1.20 1999/11/14 13:54:38 marcel Exp $
a4 3

# KLD modules build for both a.out and ELF
SUBDIR+=modules
@


1.20
log
@${MACHINE} -> ${MACHINE_ARCH}

All Makefiles now use MACHINE_ARCH for the target architecture.
Unification is required for cross-building.

Tags added to:
	sys/boot/Makefile
	sys/boot/arc/loader/Makefile
	sys/kern/Makefile
	usr.bin/cpp/Makefile
	usr.bin/gcore/Makefile
	usr.bin/truss/Makefile

usr.bin/gcore/Makefile:
	fixed typo: MACHINDE -> MACHINE_ARCH
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/Makefile,v 1.19 1999/08/28 00:38:20 peter Exp $
d3 1
a3 4
# This is the old aout only boot loader.
.if	exists(${.CURDIR}/${MACHINE_ARCH}/boot) && ${OBJFORMAT} == "aout"
SUBDIR=	${MACHINE_ARCH}/boot
.elif	exists(${.CURDIR}/boot) && ${MACHINE_ARCH} == "i386" && ${OBJFORMAT} == "elf"
a4 5
.endif

.if	exists(${.CURDIR}/boot) && ${MACHINE_ARCH} == "alpha"
SUBDIR= boot
.endif
@


1.20.2.1
log
@Do not build modules with the world bulid unless MODULES_WITH_WORLD
is defined.
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/Makefile,v 1.20 1999/11/14 13:54:38 marcel Exp $
a14 1
.if defined(MODULES_WITH_WORLD)
a15 1
.endif
@


1.20.2.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/4/sys/Makefile 62885 2000-07-10 08:22:34Z obrien $
@


1.19
log
@$Id$ -> $FreeBSD$
@
text
@d1 1
a1 1
# $FreeBSD$
d4 2
a5 2
.if	exists(${.CURDIR}/${MACHINE}/boot) && ${OBJFORMAT} == "aout"
SUBDIR=	${MACHINE}/boot
@


1.18
log
@Use MACHINE_ARCH instead of MACHINE to check x86 architecture.

Pointed out by:	Akio Morita <amorita@@meadow.scphys.kyoto-u.ac.jp>
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.17 1999/04/21 11:09:40 jkoshy Exp $
@


1.17
log
@Use ${.CURDIR} in `exists()' constructs.

PR:		misc/4395
Submitted by:	J Wunsch <j@@ida.interface-business.de>
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.16 1998/12/30 12:06:08 bde Exp $
d6 1
a6 1
.elif	exists(${.CURDIR}/boot) && ${MACHINE} == "i386" && ${OBJFORMAT} == "elf"
@


1.16
log
@Backed out previous commit.  It depends on a.out utilities and libraries
somehow being available even on pure elf systems.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.15 1998/12/30 11:17:09 bde Exp $
d4 1
a4 1
.if	exists(${MACHINE}/boot) && ${OBJFORMAT} == "aout"
d6 1
a6 1
.elif	exists(boot) && ${MACHINE} == "i386" && ${OBJFORMAT} == "elf"
d10 1
a10 1
.if	exists(boot) && ${MACHINE_ARCH} == "alpha"
@


1.16.2.1
log
@MFC: Use MACHINE_ARCH instead of MACHINE to check x86 architecture.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.16 1998/12/30 12:06:08 bde Exp $
d6 1
a6 1
.elif	exists(boot) && ${MACHINE_ARCH} == "i386" && ${OBJFORMAT} == "elf"
@


1.16.2.2
log
@$Id$ -> $FreeBSD$
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.15
log
@Always build ${MACHINE}/boot if it exists.  Makefiles shouldn't know
about deficiencies in subdirs.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.14 1998/11/03 06:50:58 peter Exp $
d3 6
a8 1
SUBDIR=	modules
d10 2
a11 2
.if ${MACHINE_ARCH} == "alpha" || ${OBJFORMAT} == "elf"
SUBDIR+=boot
d14 2
a15 3
.if exists(${.CURDIR}/${MACHINE}/boot)
SUBDIR+=${MACHINE}/boot
.endif
@


1.14
log
@Build KLD modules, these work for both a.out and elf.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.13 1998/10/11 18:39:38 rnordier Exp $
d3 4
a6 5
# This is the old aout only boot loader.
.if	exists(${MACHINE}/boot) && ${OBJFORMAT} == "aout"
SUBDIR=	${MACHINE}/boot
.elif	exists(boot) && ${MACHINE} == "i386" && ${OBJFORMAT} == "elf"
SUBDIR=	boot
d9 2
a10 2
.if	exists(boot) && ${MACHINE_ARCH} == "alpha"
SUBDIR= boot
a11 3

# KLD modules build for both a.out and ELF
SUBDIR+=modules
@


1.13
log
@In src/Makefile.inc1:
    Remove /sys/boot from legacy-build.
    Add btxld to build-tools.
In src/sys/Makefile:
    Add /sys/boot for i386 ELF.

I'm still not sure why the new boot code was being built along with the
legacy stuff, which meant a completely wrong default environment for it.

This may well still be the wrong way to go about this, but it can't work
all that much worse than it has been.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.12 1998/10/04 00:42:08 gpalmer Exp $
d13 3
@


1.12
log
@Build the new boot loader on the alpha. This allows make release to work again.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.11 1998/09/05 08:27:56 jb Exp $
d6 2
@


1.11
log
@Add support for MACHINE=pc98. This leaves a single legacy entry for
the old aout bootloader.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.10 1998/08/27 04:26:40 jb Exp $
d6 4
@


1.10
log
@Only build the old boot loader on i386 if aout. The new loader will
eventually be built if elf.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.9 1998/02/20 07:37:08 jb Exp $
d3 2
a4 7
.if defined(MACHINE_PC98) && ${MACHINE_PC98} == "yes"
SUBDIR=	pc98/boot
.elif	exists(${MACHINE}/boot) && ${MACHINE} == "i386"
.if ${OBJFORMAT} == "aout"
SUBDIR=	${MACHINE}/boot
.endif
.elif	exists(${MACHINE}/boot)
@


1.9
log
@Test for the existance of ${MACHINE}/boot before trying to build it.

The PC98 stuff in this makefile should be removed and that system
should build with MACHINE=pc98 and MACHINE_ARCH=i386.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.8 1997/07/13 07:36:20 jkh Exp $
d5 4
@


1.8
log
@Commit a long-forgotten tweak for building tags in /usr/src/sys.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.7 1997/02/22 09:27:56 peter Exp $
d5 1
a5 1
.else
@


1.7
log
@Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$.  We are not
ready for it yet.
@
text
@d1 1
a1 1
#	$Id$
d8 2
@


1.6
log
@Make the long-awaited change from $Id$ to $FreeBSD$

This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
@
text
@d1 1
a1 1
#	$FreeBSD$
@


1.5
log
@The Great PC98 Merge.

All new code is "#ifdef PC98"ed so this should make no difference to
PC/AT (and its clones) users.

Ok'd by:	core
Submitted by:	FreeBSD(98) development team
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.4 1995/12/26 13:57:32 bde Exp $
@


1.5.2.1
log
@Sync from -current; global tag support (it was actually tested in 2.2)
and some miscellaneous fixes.  Also bring in some fixes to the explanatory
text in bsd.port.mk since Satoshi never responded to my submission (and
around here, that == yes :-).
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.5 1996/06/14 10:56:36 asami Exp $
a7 2

HTAGSFLAGS+= -at `awk -F= '/^RELEASE *=/{release=$2}; END {print "FreeBSD", release, "kernel"}' < conf/newvers.sh`
@


1.5.2.2
log
@$Id$ -> $FreeBSD$
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.4
log
@Removed almost all traces of libkern.a.  The objects that were in
libkern.a are now specified by listing their source files in
files.${MACHINE}.  The list is machine-dependent to save space.
All the necessary object for each machine must be linked into the
kernel in case an lkm wants one.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.3 1994/08/25 13:54:28 paul Exp $
d3 3
d7 1
@


1.3
log
@Added ${MACHINE}/boot to build bootblocks.
Submitted by:	Paul Richards
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.2 1994/08/02 07:38:17 davidg Exp $
d3 1
a3 1
SUBDIR=	${MACHINE}/boot libkern
@


1.3.8.1
log
@$Id$ -> $FreeBSD$
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.2
log
@Added $Id$
@
text
@d1 1
a1 1
#	$Id$
d3 1
a3 1
SUBDIR=	libkern
@


1.1
log
@Add this so that the top level Makefile can traverse down into here
and build libkern.  This will be enhanced later to build other things.
@
text
@d1 1
a1 1
#	$FreeBSD$
@
