head	1.78;
access;
symbols
	RELENG_8_4:1.76.0.2
	RELENG_9_1_0_RELEASE:1.68.2.3.2.2
	RELENG_9_1:1.68.2.3.0.2
	RELENG_9_1_BP:1.68.2.3
	RELENG_8_3_0_RELEASE:1.67.2.1.8.1
	RELENG_8_3:1.67.2.1.0.8
	RELENG_8_3_BP:1.67.2.1
	RELENG_9_0_0_RELEASE:1.68.2.1.2.1
	RELENG_9_0:1.68.2.1.0.2
	RELENG_9_0_BP:1.68.2.1
	RELENG_9:1.68.0.2
	RELENG_9_BP:1.68
	RELENG_7_4_0_RELEASE:1.65.2.2.6.1
	RELENG_8_2_0_RELEASE:1.67.2.1.6.1
	RELENG_7_4:1.65.2.2.0.6
	RELENG_7_4_BP:1.65.2.2
	RELENG_8_2:1.67.2.1.0.6
	RELENG_8_2_BP:1.67.2.1
	RELENG_8_1_0_RELEASE:1.67.2.1.4.1
	RELENG_8_1:1.67.2.1.0.4
	RELENG_8_1_BP:1.67.2.1
	RELENG_7_3_0_RELEASE:1.65.2.2.4.1
	RELENG_7_3:1.65.2.2.0.4
	RELENG_7_3_BP:1.65.2.2
	RELENG_8_0_0_RELEASE:1.67.2.1.2.1
	RELENG_8_0:1.67.2.1.0.2
	RELENG_8_0_BP:1.67.2.1
	RELENG_8:1.67.0.2
	RELENG_8_BP:1.67
	RELENG_7_2_0_RELEASE:1.65.2.2.2.1
	RELENG_7_2:1.65.2.2.0.2
	RELENG_7_2_BP:1.65.2.2
	RELENG_7_1_0_RELEASE:1.65.2.1.2.1
	RELENG_6_4_0_RELEASE:1.61.12.1
	RELENG_7_1:1.65.2.1.0.2
	RELENG_7_1_BP:1.65.2.1
	RELENG_6_4:1.61.0.12
	RELENG_6_4_BP:1.61
	RELENG_7_0_0_RELEASE:1.65
	RELENG_6_3_0_RELEASE:1.61
	RELENG_7_0:1.65.0.4
	RELENG_7_0_BP:1.65
	RELENG_6_3:1.61.0.10
	RELENG_6_3_BP:1.61
	RELENG_7:1.65.0.2
	RELENG_7_BP:1.65
	RELENG_6_2_0_RELEASE:1.61
	RELENG_6_2:1.61.0.8
	RELENG_6_2_BP:1.61
	RELENG_5_5_0_RELEASE:1.33.2.1
	RELENG_5_5:1.33.2.1.0.6
	RELENG_5_5_BP:1.33.2.1
	RELENG_6_1_0_RELEASE:1.61
	RELENG_6_1:1.61.0.6
	RELENG_6_1_BP:1.61
	RELENG_6_0_0_RELEASE:1.61
	RELENG_6_0:1.61.0.4
	RELENG_6_0_BP:1.61
	RELENG_6:1.61.0.2
	RELENG_6_BP:1.61
	RELENG_5_4_0_RELEASE:1.33.2.1
	RELENG_5_4:1.33.2.1.0.4
	RELENG_5_4_BP:1.33.2.1
	RELENG_4_11_0_RELEASE:1.13.2.1
	RELENG_4_11:1.13.2.1.0.16
	RELENG_4_11_BP:1.13.2.1
	RELENG_5_3_0_RELEASE:1.33.2.1
	RELENG_5_3:1.33.2.1.0.2
	RELENG_5_3_BP:1.33.2.1
	RELENG_5:1.33.0.2
	RELENG_5_BP:1.33
	RELENG_4_10_0_RELEASE:1.13.2.1
	RELENG_4_10:1.13.2.1.0.14
	RELENG_4_10_BP:1.13.2.1
	RELENG_5_2_1_RELEASE:1.30
	RELENG_5_2_0_RELEASE:1.30
	RELENG_5_2:1.30.0.6
	RELENG_5_2_BP:1.30
	RELENG_4_9_0_RELEASE:1.13.2.1
	RELENG_4_9:1.13.2.1.0.12
	RELENG_4_9_BP:1.13.2.1
	RELENG_5_1_0_RELEASE:1.30
	RELENG_5_1:1.30.0.4
	RELENG_5_1_BP:1.30
	RELENG_4_8_0_RELEASE:1.13.2.1
	RELENG_4_8:1.13.2.1.0.10
	RELENG_4_8_BP:1.13.2.1
	RELENG_5_0_0_RELEASE:1.30
	RELENG_5_0:1.30.0.2
	RELENG_5_0_BP:1.30
	RELENG_4_7_0_RELEASE:1.13.2.1
	RELENG_4_7:1.13.2.1.0.8
	RELENG_4_7_BP:1.13.2.1
	RELENG_4_6_2_RELEASE:1.13.2.1
	RELENG_4_6_1_RELEASE:1.13.2.1
	RELENG_4_6_0_RELEASE:1.13.2.1
	RELENG_4_6:1.13.2.1.0.6
	RELENG_4_6_BP:1.13.2.1
	RELENG_4_5_0_RELEASE:1.13.2.1
	RELENG_4_5:1.13.2.1.0.4
	RELENG_4_5_BP:1.13.2.1
	RELENG_4_4_0_RELEASE:1.13.2.1
	RELENG_4_4:1.13.2.1.0.2
	RELENG_4_4_BP:1.13.2.1
	RELENG_4_3_0_RELEASE:1.13
	RELENG_4_3:1.13.0.4
	RELENG_4_3_BP:1.13
	RELENG_4_2_0_RELEASE:1.13
	RELENG_4_1_1_RELEASE:1.13
	PRE_SMPNG:1.14
	RELENG_4_1_0_RELEASE:1.13
	RELENG_3_5_0_RELEASE:1.10.2.1
	RELENG_4_0_0_RELEASE:1.13
	RELENG_4:1.13.0.2
	RELENG_4_BP:1.13
	RELENG_3_4_0_RELEASE:1.10.2.1
	RELENG_3_3_0_RELEASE:1.10.2.1
	RELENG_3_2_PAO:1.10.0.4
	RELENG_3_2_PAO_BP:1.10
	RELENG_3_2_0_RELEASE:1.10
	RELENG_3_1_0_RELEASE:1.10
	RELENG_3:1.10.0.2
	RELENG_3_BP:1.10
	RELENG_2_2_8_RELEASE:1.8
	RELENG_3_0_0_RELEASE:1.10
	RELENG_2_2_7_RELEASE:1.8
	RELENG_2_2_6_RELEASE:1.8
	RELENG_2_2_5_RELEASE:1.8
	RELENG_2_2_2_RELEASE:1.8
	RELENG_2_2_1_RELEASE:1.8
	RELENG_2_2_0_RELEASE:1.8
	RELENG_2_1_7_RELEASE:1.3.4.1
	RELENG_2_1_6_1_RELEASE:1.3.4.1
	RELENG_2_1_6_RELEASE:1.3.4.1
	RELENG_2_2:1.8.0.2
	RELENG_2_2_BP:1.8
	v961006:1.1.1.3
	CHRISTOS:1.1.1
	bsd_44_lite_2:1.1.1.4
	RELENG_2_1_5_RELEASE:1.3.4.1
	RELENG_2_1_0_RELEASE:1.3.4.1
	RELENG_2_1_0:1.3.0.4
	RELENG_2_1_0_BP:1.3
	RELENG_2_0_5_RELEASE:1.3
	RELENG_2_0_5:1.3.0.2
	RELENG_2_0_5_BP:1.3
	RELENG_2_0_5_ALPHA:1.3
	RELEASE_2_0:1.2
	BETA_2_0:1.2
	ALPHA_2_0:1.2.0.2
	bsd_44_lite:1.1.1.1
	CSRG:1.1.1;
locks; strict;
comment	@# @;


1.78
date	2013.05.17.00.45.05;	author svnexp;	state Exp;
branches;
next	1.77;

1.77
date	2013.05.17.00.34.30;	author svnexp;	state Exp;
branches;
next	1.76;

1.76
date	2012.11.17.01.54.25;	author svnexp;	state Exp;
branches
	1.76.2.1;
next	1.75;

1.75
date	2012.06.20.00.37.00;	author obrien;	state Exp;
branches;
next	1.74;

1.74
date	2012.05.30.22.23.08;	author obrien;	state Exp;
branches;
next	1.73;

1.73
date	2012.05.09.04.54.50;	author imp;	state Exp;
branches;
next	1.72;

1.72
date	2012.04.29.09.32.44;	author kib;	state Exp;
branches;
next	1.71;

1.71
date	2011.12.15.06.25.19;	author fjoe;	state Exp;
branches;
next	1.70;

1.70
date	2011.12.15.03.13.23;	author fjoe;	state Exp;
branches;
next	1.69;

1.69
date	2011.11.30.18.07.38;	author fjoe;	state Exp;
branches;
next	1.68;

1.68
date	2010.01.02.10.27.05;	author ed;	state Exp;
branches
	1.68.2.1;
next	1.67;

1.67
date	2009.01.20.17.15.12;	author rdivacky;	state Exp;
branches
	1.67.2.1;
next	1.66;

1.66
date	2008.03.04.22.32.58;	author obrien;	state Exp;
branches;
next	1.65;

1.65
date	2006.05.11.18.08.44;	author ru;	state Exp;
branches
	1.65.2.1;
next	1.64;

1.64
date	2005.09.26.22.07.59;	author phk;	state Exp;
branches;
next	1.63;

1.63
date	2005.09.26.20.34.21;	author phk;	state Exp;
branches;
next	1.62;

1.62
date	2005.09.26.20.31.00;	author phk;	state Exp;
branches;
next	1.61;

1.61
date	2005.05.25.08.46.31;	author harti;	state Exp;
branches
	1.61.2.1
	1.61.12.1;
next	1.60;

1.60
date	2005.05.24.15.48.10;	author harti;	state Exp;
branches;
next	1.59;

1.59
date	2005.05.24.15.46.50;	author harti;	state Exp;
branches;
next	1.58;

1.58
date	2005.05.24.15.41.34;	author harti;	state Exp;
branches;
next	1.57;

1.57
date	2005.05.24.15.30.03;	author harti;	state Exp;
branches;
next	1.56;

1.56
date	2005.05.24.13.19.40;	author harti;	state Exp;
branches;
next	1.55;

1.55
date	2005.05.12.15.58.25;	author harti;	state Exp;
branches;
next	1.54;

1.54
date	2005.05.12.15.41.02;	author harti;	state Exp;
branches;
next	1.53;

1.53
date	2005.05.12.15.20.50;	author harti;	state Exp;
branches;
next	1.52;

1.52
date	2005.05.12.15.20.03;	author harti;	state Exp;
branches;
next	1.51;

1.51
date	2005.05.10.13.45.29;	author harti;	state Exp;
branches;
next	1.50;

1.50
date	2005.05.10.11.53.20;	author harti;	state Exp;
branches;
next	1.49;

1.49
date	2005.04.29.15.15.28;	author harti;	state Exp;
branches;
next	1.48;

1.48
date	2005.04.28.12.05.43;	author harti;	state Exp;
branches;
next	1.47;

1.47
date	2005.04.28.08.04.46;	author harti;	state Exp;
branches;
next	1.46;

1.46
date	2005.04.28.07.55.55;	author harti;	state Exp;
branches;
next	1.45;

1.45
date	2005.03.15.15.10.51;	author harti;	state Exp;
branches;
next	1.44;

1.44
date	2005.03.15.15.05.14;	author harti;	state Exp;
branches;
next	1.43;

1.43
date	2005.02.09.13.22.02;	author harti;	state Exp;
branches;
next	1.42;

1.42
date	2005.02.01.15.28.41;	author harti;	state Exp;
branches;
next	1.41;

1.41
date	2004.12.21.09.59.44;	author ru;	state Exp;
branches;
next	1.40;

1.40
date	2004.12.16.16.14.15;	author harti;	state Exp;
branches;
next	1.39;

1.39
date	2004.12.08.16.22.00;	author harti;	state Exp;
branches;
next	1.38;

1.38
date	2004.11.30.10.35.04;	author harti;	state Exp;
branches;
next	1.37;

1.37
date	2004.11.29.08.38.16;	author harti;	state Exp;
branches;
next	1.36;

1.36
date	2004.11.25.12.51.51;	author harti;	state Exp;
branches;
next	1.35;

1.35
date	2004.11.25.12.50.16;	author harti;	state Exp;
branches;
next	1.34;

1.34
date	2004.09.06.15.25.07;	author jmg;	state Exp;
branches;
next	1.33;

1.33
date	2004.08.12.11.49.55;	author harti;	state Exp;
branches
	1.33.2.1;
next	1.32;

1.32
date	2004.08.03.18.56.31;	author harti;	state Exp;
branches;
next	1.31;

1.31
date	2004.07.29.14.29.23;	author harti;	state Exp;
branches;
next	1.30;

1.30
date	2002.10.28.23.33.57;	author jmallett;	state Exp;
branches;
next	1.29;

1.29
date	2002.10.10.19.27.48;	author jmallett;	state Exp;
branches;
next	1.28;

1.28
date	2002.10.04.20.30.03;	author phk;	state Exp;
branches;
next	1.27;

1.27
date	2002.09.17.22.31.26;	author jmallett;	state Exp;
branches;
next	1.26;

1.26
date	2002.08.31.07.18.40;	author peter;	state Exp;
branches;
next	1.25;

1.25
date	2002.08.25.02.45.04;	author jmallett;	state Exp;
branches;
next	1.24;

1.24
date	2002.05.24.15.51.27;	author ru;	state Exp;
branches;
next	1.23;

1.23
date	2002.05.22.14.53.18;	author ru;	state Exp;
branches;
next	1.22;

1.22
date	2002.05.22.14.35.47;	author ru;	state Exp;
branches;
next	1.21;

1.21
date	2002.04.13.10.57.56;	author obrien;	state Exp;
branches;
next	1.20;

1.20
date	2002.03.23.23.30.30;	author imp;	state Exp;
branches;
next	1.19;

1.19
date	2001.05.18.09.05.56;	author sobomax;	state Exp;
branches;
next	1.18;

1.18
date	2001.04.26.04.40.57;	author will;	state Exp;
branches;
next	1.17;

1.17
date	2001.04.25.14.59.16;	author ru;	state Exp;
branches;
next	1.16;

1.16
date	2001.03.15.10.33.00;	author billf;	state Exp;
branches;
next	1.15;

1.15
date	2000.09.29.19.51.48;	author will;	state Exp;
branches;
next	1.14;

1.14
date	2000.08.16.23.31.43;	author green;	state Exp;
branches;
next	1.13;

1.13
date	99.11.15.17.07.45;	author marcel;	state Exp;
branches
	1.13.2.1;
next	1.12;

1.12
date	99.08.28.01.03.25;	author peter;	state Exp;
branches;
next	1.11;

1.11
date	99.07.07.04.46.46;	author imp;	state Exp;
branches;
next	1.10;

1.10
date	97.02.22.19.27.05;	author peter;	state Exp;
branches
	1.10.2.1;
next	1.9;

1.9
date	97.01.14.07.01.29;	author jkh;	state Exp;
branches;
next	1.8;

1.8
date	96.10.06.13.02.43;	author steve;	state Exp;
branches
	1.8.2.1;
next	1.7;

1.7
date	96.10.06.12.43.14;	author jkh;	state Exp;
branches;
next	1.6;

1.6
date	96.10.06.02.33.53;	author steve;	state Exp;
branches;
next	1.5;

1.5
date	95.09.22.14.14.28;	author phk;	state Exp;
branches;
next	1.4;

1.4
date	95.06.16.22.46.38;	author ache;	state Exp;
branches;
next	1.3;

1.3
date	95.01.23.21.00.09;	author jkh;	state Exp;
branches
	1.3.4.1;
next	1.2;

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

1.1
date	94.05.27.12.32.09;	author rgrimes;	state Exp;
branches
	1.1.1.1;
next	;

1.76.2.1
date	2012.11.17.01.54.25;	author svnexp;	state dead;
branches;
next	1.76.2.2;

1.76.2.2
date	2013.03.28.13.06.06;	author svnexp;	state Exp;
branches;
next	;

1.68.2.1
date	2011.09.23.00.51.37;	author kensmith;	state Exp;
branches
	1.68.2.1.2.1;
next	1.68.2.2;

1.68.2.2
date	2012.05.13.13.57.53;	author kib;	state Exp;
branches;
next	1.68.2.3;

1.68.2.3
date	2012.06.14.20.44.56;	author obrien;	state Exp;
branches
	1.68.2.3.2.1;
next	1.68.2.4;

1.68.2.4
date	2012.10.09.02.52.56;	author obrien;	state Exp;
branches;
next	1.68.2.5;

1.68.2.5
date	2012.10.23.12.37.02;	author jhb;	state Exp;
branches;
next	1.68.2.6;

1.68.2.6
date	2012.11.17.11.37.39;	author svnexp;	state Exp;
branches;
next	;

1.68.2.1.2.1
date	2011.11.11.04.20.22;	author kensmith;	state Exp;
branches;
next	1.68.2.1.2.2;

1.68.2.1.2.2
date	2012.11.17.08.37.36;	author svnexp;	state Exp;
branches;
next	;

1.68.2.3.2.1
date	2012.08.05.23.54.33;	author kensmith;	state Exp;
branches;
next	1.68.2.3.2.2;

1.68.2.3.2.2
date	2012.11.17.08.48.27;	author svnexp;	state Exp;
branches;
next	;

1.67.2.1
date	2009.08.03.08.13.06;	author kensmith;	state Exp;
branches
	1.67.2.1.2.1
	1.67.2.1.4.1
	1.67.2.1.6.1
	1.67.2.1.8.1;
next	1.67.2.2;

1.67.2.2
date	2012.10.09.05.06.30;	author obrien;	state Exp;
branches;
next	1.67.2.3;

1.67.2.3
date	2012.11.17.10.37.18;	author svnexp;	state Exp;
branches;
next	;

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

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

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

1.67.2.1.8.1
date	2012.03.03.06.15.13;	author kensmith;	state Exp;
branches;
next	1.67.2.1.8.2;

1.67.2.1.8.2
date	2012.11.17.08.25.51;	author svnexp;	state Exp;
branches;
next	;

1.65.2.1
date	2008.03.16.06.59.50;	author obrien;	state Exp;
branches
	1.65.2.1.2.1;
next	1.65.2.2;

1.65.2.2
date	2009.03.24.00.07.17;	author obrien;	state Exp;
branches
	1.65.2.2.2.1
	1.65.2.2.4.1
	1.65.2.2.6.1;
next	1.65.2.3;

1.65.2.3
date	2012.10.09.13.21.08;	author obrien;	state Exp;
branches;
next	1.65.2.4;

1.65.2.4
date	2012.11.17.08.08.34;	author svnexp;	state Exp;
branches;
next	;

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

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

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

1.65.2.2.6.1
date	2010.12.21.17.10.29;	author kensmith;	state Exp;
branches;
next	1.65.2.2.6.2;

1.65.2.2.6.2
date	2012.11.17.08.17.43;	author svnexp;	state Exp;
branches;
next	;

1.61.2.1
date	2012.11.17.07.45.48;	author svnexp;	state Exp;
branches;
next	;

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

1.33.2.1
date	2004.09.14.03.52.51;	author jmg;	state Exp;
branches;
next	;

1.13.2.1
date	2001.05.25.08.33.40;	author sobomax;	state Exp;
branches;
next	1.13.2.2;

1.13.2.2
date	2012.11.17.07.27.39;	author svnexp;	state Exp;
branches;
next	;

1.10.2.1
date	99.08.29.15.30.15;	author peter;	state Exp;
branches;
next	;

1.8.2.1
date	99.09.05.11.32.43;	author peter;	state Exp;
branches;
next	;

1.3.4.1
date	95.08.08.04.00.16;	author ache;	state Exp;
branches;
next	1.3.4.2;

1.3.4.2
date	99.09.05.11.35.10;	author peter;	state Exp;
branches;
next	;

1.1.1.1
date	94.05.27.12.32.10;	author rgrimes;	state Exp;
branches;
next	1.1.1.2;

1.1.1.2
date	96.10.06.15.53.58;	author peter;	state Exp;
branches;
next	1.1.1.3;

1.1.1.3
date	96.10.06.16.40.45;	author steve;	state Exp;
branches;
next	1.1.1.4;

1.1.1.4
date	97.07.06.06.52.09;	author bde;	state Exp;
branches;
next	;


desc
@@


1.78
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/250719
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@#	@@(#)Makefile	5.2 (Berkeley) 12/28/90
#	$Id: Makefile,v 1.6 1994/06/30 05:33:39 cgd Exp $
# $FreeBSD: head/usr.bin/make/Makefile 250719 2013-05-16 21:26:46Z sjg $

.include <bsd.own.mk>

PROG=	make
CFLAGS+=-I${.CURDIR}
SRCS=	arch.c buf.c cond.c dir.c for.c hash.c hash_tables.c job.c	\
	lst.c main.c make.c parse.c proc.c shell.c str.c suff.c targ.c	\
	util.c var.c

.if !defined(MK_SHARED_TOOLCHAIN) || ${MK_SHARED_TOOLCHAIN} == "no"
NO_SHARED?=	YES
.endif

# Version has the RYYYYMMDDX format, where R is from RELENG_<R>
CFLAGS+=-DMAKE_VERSION=\"10201205300\"

# There is no obvious performance improvement currently.
# CFLAGS+=-DUSE_KQUEUE

# Make object files which depend on preprocessor symbols defined in
# the Makefile which are not compilation options but rather configuration
# options dependend on the Makefile. main.c needs MAKE_VERSION while
# shell.c uses DEFSHELLNAME. This will cause recompilation in the case
# the definition is changed in the makefile. It will of course not cause
# recompilation if one does 'make MAKE_SHELL=csh'.
main.o shell.o: ${MAKEFILE}

# Directive and keyword tables. We use hash tables. These hash tables have been
# generated with mph (ports/devel/mph)
# If you change the directives or keywords (adding, deleting, reordering) you
# need to create new tables and hash functions (directive_hash, keyword_hash).
#
# The following changes have been made to the generated code:
#
#	o prefix the names of the g, T0 and T1 arrays with 'directive_'
#	  resp. 'keyword_'.
#
#	o make the type of the tables 'const [un]signed char' (if you change
#	  anything make sure that the numbers fit into a char).
#
#	o make the hash function use the length for termination,
#	  not the trailing '\0', via the -l flag in emitc and some editing
#	  (only for directive_hash).

LOCALBASE ?= /usr/local
MPH	?= ${LOCALBASE}/bin/mph
EMITC	?= ${LOCALBASE}/bin/emitc

.PRECIOUS: hash

hash:
	( echo '/*' ;							\
	  echo ' * DO NOT EDIT' ;					\
	  echo ' * $$''FreeBSD$$' ;					\
	  echo -n ' * auto-generated from ' ;				\
	  sed -nEe '/\$$FreeBSD/s/^.*\$$(.*)\$$.*$$/\1/p'		\
		${.CURDIR}/parse.c ;					\
	  echo ' * DO NOT EDIT' ;					\
	  echo ' */' ;							\
	  echo '#include <sys/types.h>' ;				\
	  echo ;							\
	  echo '#include "hash_tables.h"' ;				\
	  echo ;							\
	  cat ${.CURDIR}/parse.c | sed					\
	    -e '1,/DIRECTIVES-START-TAG/d'				\
	    -e '/DIRECTIVES-END-TAG/,$$d'				\
	    -e 's/^[^"]*"\([^"]*\)".*$$/\1/' |				\
	    ${MPH} -d2 -m1 | ${EMITC} -l -s |				\
	    sed								\
	    -e 's/^static int g\[\]/static const signed char directive_g[]/' \
	    -e 's/^static int T0\[\]/static const u_char directive_T0[]/' \
	    -e 's/^static int T1\[\]/static const u_char directive_T1[]/' \
	    -e '/^#define uchar unsigned char/d'			\
	    -e 's/uchar/u_char/g'					\
	    -e 's/^hash(/directive_hash(/'				\
	    -e 's/; \*kp;/; kp < key + len;/'				\
	    -e 's/int len)/size_t len)/'				\
	    -e 's/= T0\[/= directive_T0\[/'				\
	    -e 's/= T1\[/= directive_T1\[/'				\
	    -e 's/g\[f/directive_g[f/g' ;				\
	  cat ${.CURDIR}/parse.c | sed					\
	    -e '1,/KEYWORD-START-TAG/d'					\
	    -e '/KEYWORD-END-TAG/,$$d'					\
	    -e 's/^[^"]*"\([^"]*\)".*$$/\1/' |				\
	    ${MPH} -d2 -m1 | ${EMITC} -l -s |				\
	    sed								\
	    -e 's/^static int g\[\]/static const signed char keyword_g[]/' \
	    -e 's/^static int T0\[\]/static const u_char keyword_T0[]/' \
	    -e 's/^static int T1\[\]/static const u_char keyword_T1[]/' \
	    -e '/^#define uchar unsigned char/d'			\
	    -e 's/uchar/u_char/g'					\
	    -e 's/^hash(/keyword_hash(/'				\
	    -e 's/int len)/size_t len)/'				\
	    -e 's/= T0\[/= keyword_T0\[/'				\
	    -e 's/= T1\[/= keyword_T1\[/'				\
	    -e 's/g\[f/keyword_g[f/g'					\
	) > ${.CURDIR}/hash_tables.c

# Set the shell which make(1) uses.  Bourne is the default, but a decent
# Korn shell works fine, and much faster.  Using the C shell for this
# will almost certainly break everything, but it's Unix tradition to
# allow you to shoot yourself in the foot if you want to :-)

MAKE_SHELL?=	sh
.if ${MAKE_SHELL} == "csh" || ${MAKE_SHELL} == "sh" || ${MAKE_SHELL} == "ksh"
CFLAGS+=	-DDEFSHELLNAME=\"${MAKE_SHELL}\"
.else
.error "MAKE_SHELL must be set to one of \"csh\", \"sh\" or \"ksh\"."
.endif

.if defined(MK_BMAKE) && ${MK_BMAKE} != "no"
# if we are here we don't want this called 'make'
PROG=	fmake
fmake.1: make.1
	cp ${.ALLSRC} ${.TARGET}
.endif

.include <bsd.prog.mk>
@


1.77
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/250699
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d3 1
a3 1
# $FreeBSD: head/usr.bin/make/Makefile 250699 2013-05-16 15:28:38Z sjg $
d114 1
a114 1
.if ${MK_BMAKE} != "no"
@


1.76
log
@Switching exporter and resync
@
text
@d3 1
a3 1
# $FreeBSD: head/usr.bin/make/Makefile 237282 2012-06-20 00:37:00Z obrien $
d114 7
@


1.76.2.1
log
@file Makefile was added on branch RELENG_8_4 on 2013-03-28 13:06:06 +0000
@
text
@d1 114
@


1.76.2.2
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/248810
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@a0 111
#	@@(#)Makefile	5.2 (Berkeley) 12/28/90
#	$Id: Makefile,v 1.6 1994/06/30 05:33:39 cgd Exp $
# $FreeBSD: releng/8.4/usr.bin/make/Makefile 241368 2012-10-09 05:06:30Z obrien $

PROG=	make
CFLAGS+=-I${.CURDIR}
SRCS=	arch.c buf.c cond.c dir.c for.c hash.c hash_tables.c job.c	\
	lst.c main.c make.c parse.c proc.c shell.c str.c suff.c targ.c	\
	util.c var.c

WARNS?=	6
NO_SHARED?=	YES

# Version has the RYYYYMMDDX format, where R is from RELENG_<R>
CFLAGS+=-DMAKE_VERSION=\"8201210080\"

# There is no obvious performance improvement currently.
# CFLAGS+=-DUSE_KQUEUE

# Make object files which depend on preprocessor symbols defined in
# the Makefile which are not compilation options but rather configuration
# options dependend on the Makefile. main.c needs MAKE_VERSION while
# shell.c uses DEFSHELLNAME. This will cause recompilation in the case
# the definition is changed in the makefile. It will of course not cause
# recompilation if one does 'make MAKE_SHELL=csh'.
main.o shell.o: ${MAKEFILE}

# Directive and keyword tables. We use hash tables. These hash tables have been
# generated with mph (ports/devel/mph)
# If you change the directives or keywords (adding, deleting, reordering) you
# need to create new tables and hash functions (directive_hash, keyword_hash).
#
# The following changes have been made to the generated code:
#
#	o prefix the names of the g, T0 and T1 arrays with 'directive_'
#	  resp. 'keyword_'.
#
#	o make the type of the tables 'const [un]signed char' (if you change
#	  anything make sure that the numbers fit into a char).
#
#	o make the hash function use the length for termination,
#	  not the trailing '\0', via the -l flag in emitc and some editing
#	  (only for directive_hash).

LOCALBASE ?= /usr/local
MPH	?= ${LOCALBASE}/bin/mph
EMITC	?= ${LOCALBASE}/bin/emitc

.PRECIOUS: hash

hash:
	( echo '/*' ;							\
	  echo ' * DO NOT EDIT' ;					\
	  echo ' * $$''FreeBSD$$' ;					\
	  echo -n ' * auto-generated from ' ;				\
	  sed -nEe '/\$$FreeBSD/s/^.*\$$(.*)\$$.*$$/\1/p'		\
		${.CURDIR}/parse.c ;					\
	  echo ' * DO NOT EDIT' ;					\
	  echo ' */' ;							\
	  echo '#include <sys/types.h>' ;				\
	  echo ;							\
	  echo '#include "hash_tables.h"' ;				\
	  echo ;							\
	  cat ${.CURDIR}/parse.c | sed					\
	    -e '1,/DIRECTIVES-START-TAG/d'				\
	    -e '/DIRECTIVES-END-TAG/,$$d'				\
	    -e 's/^[^"]*"\([^"]*\)".*$$/\1/' |				\
	    ${MPH} -d2 -m1 | ${EMITC} -l -s |				\
	    sed								\
	    -e 's/^static int g\[\]/static const signed char directive_g[]/' \
	    -e 's/^static int T0\[\]/static const u_char directive_T0[]/' \
	    -e 's/^static int T1\[\]/static const u_char directive_T1[]/' \
	    -e '/^#define uchar unsigned char/d'			\
	    -e 's/uchar/u_char/g'					\
	    -e 's/^hash(/directive_hash(/'				\
	    -e 's/; \*kp;/; kp < key + len;/'				\
	    -e 's/int len)/size_t len)/'				\
	    -e 's/= T0\[/= directive_T0\[/'				\
	    -e 's/= T1\[/= directive_T1\[/'				\
	    -e 's/g\[f/directive_g[f/g' ;				\
	  cat ${.CURDIR}/parse.c | sed					\
	    -e '1,/KEYWORD-START-TAG/d'					\
	    -e '/KEYWORD-END-TAG/,$$d'					\
	    -e 's/^[^"]*"\([^"]*\)".*$$/\1/' |				\
	    ${MPH} -d2 -m1 | ${EMITC} -l -s |				\
	    sed								\
	    -e 's/^static int g\[\]/static const signed char keyword_g[]/' \
	    -e 's/^static int T0\[\]/static const u_char keyword_T0[]/' \
	    -e 's/^static int T1\[\]/static const u_char keyword_T1[]/' \
	    -e '/^#define uchar unsigned char/d'			\
	    -e 's/uchar/u_char/g'					\
	    -e 's/^hash(/keyword_hash(/'				\
	    -e 's/int len)/size_t len)/'				\
	    -e 's/= T0\[/= keyword_T0\[/'				\
	    -e 's/= T1\[/= keyword_T1\[/'				\
	    -e 's/g\[f/keyword_g[f/g'					\
	) > ${.CURDIR}/hash_tables.c

# Set the shell which make(1) uses.  Bourne is the default, but a decent
# Korn shell works fine, and much faster.  Using the C shell for this
# will almost certainly break everything, but it's Unix tradition to
# allow you to shoot yourself in the foot if you want to :-)

MAKE_SHELL?=	sh
.if ${MAKE_SHELL} == "csh" || ${MAKE_SHELL} == "sh" || ${MAKE_SHELL} == "ksh"
CFLAGS+=	-DDEFSHELLNAME=\"${MAKE_SHELL}\"
.else
.error "MAKE_SHELL must be set to one of \"csh\", \"sh\" or \"ksh\"."
.endif

.include <bsd.prog.mk>
@


1.75
log
@SVN rev 237282 on 2012-06-20 00:37:00Z by obrien

Correct typo in version.
@
text
@d3 1
a3 1
# $FreeBSD$
@


1.74
log
@SVN rev 236338 on 2012-05-30 22:23:08Z by obrien

Deprecate the FreeBSD make's ":U" (to-upper case) and ":L" (to-lower case)
modifiers for ":tu" and ":tl" from OSF's ODE, which made its way into
NetBSD's make, which is the source for the Portable Berkeley Make.

Submitted by:	Simon Gerraty <sjg@@juniper.net>
@
text
@d18 1
a18 1
CFLAGS+=-DMAKE_VERSION=\"10201120530\"
@


1.73
log
@SVN rev 235152 on 2012-05-09 04:54:50Z by imp

Make is part of the bootstrap path, so we need to guard against this
not being defined.  Otherwise we don't make a new make when the old
make is incompatible.
@
text
@d18 1
a18 1
CFLAGS+=-DMAKE_VERSION=\"5201111300\"
@


1.72
log
@SVN rev 234782 on 2012-04-29 09:32:44Z by kib

Add src.conf option WITH_SHARED_TOOLCHAIN to enable building the
toolchain binaries as dynamically linked.  Option is disabled by
default.

Reviewed by:	ru (previous version)
MFC after:	2 weeks
@
text
@d13 1
a13 1
.if ${MK_SHARED_TOOLCHAIN} == "no"
@


1.71
log
@SVN rev 228525 on 2011-12-15 06:25:19Z by fjoe

Revert r228521: sometimes job output is lost
(see tools/regression/usr.bin/make/execution/joberr test).

openpty(fd + 0, fd + 1,...) version does not have this problem but
it sometimes enters an infinite sleep in "ttywait" state in tty_drain()
when make(1) closes slave pty.
@
text
@d5 2
d13 1
d15 1
@


1.70
log
@SVN rev 228521 on 2011-12-15 03:13:23Z by fjoe

job make: if stdout is a tty create a pty when running a command.
@
text
@a9 2
DPADD=	${LIBUTIL}
LDADD=	-lutil
@


1.69
log
@SVN rev 228157 on 2011-11-30 18:07:38Z by fjoe

- Fix segmentation fault when running "+command" when run with -jX -n due
to Compat_RunCommand() being called with `cmd' that is not on the node->commands
list
- Make ellipsis ("..." command) handling consistent: check for "..." command
in job make after variables expansion to match compat make behavior
- Fix empty command handling (after variables expansion and @@+- modifiers
are processed): now empty commands are ignored in compat make and are not
printed in job make case
- Bump MAKE_VERSION to 5-2011-11-30-0
@
text
@d10 2
@


1.68
log
@SVN rev 201386 on 2010-01-02 10:27:05Z by ed

Build usr.bin/ with WARNS=6 by default.

Also add some missing $FreeBSD$ to keep svn happy.
@
text
@d13 3
a15 1
CFLAGS+=-DMAKE_VERSION=\"5200408120\"
@


1.68.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.68.2.2
log
@SVN rev 235398 on 2012-05-13 13:57:53Z by kib

MFC r234782:
Add src.conf option WITH_SHARED_TOOLCHAIN to enable building the
toolchain binaries as dynamically linked.  Option is disabled by
default.

MFC r235152 (by imp):
Make is part of the bootstrap path, so we need to guard against this
not being defined.  Otherwise we don't make a new make when the old
make is incompatible.
@
text
@a4 2
.include <bsd.own.mk>

a10 1
.if !defined(MK_SHARED_TOOLCHAIN) || ${MK_SHARED_TOOLCHAIN} == "no"
a11 1
.endif
@


1.68.2.3
log
@SVN rev 237100 on 2012-06-14 20:44:56Z by obrien

MFC: r236338, r236339, r236346, r236347, r236365, & r236977
  * Deprecate the FreeBSD make's ":U" (to-upper case) and ":L" (to-lower case)
    modifiers for ":tu" and ":tl".
  * make it easier to test newly-built make.
  * Add "-V '${VAR}'" variable expansion from Portable Berkeley Make.
  * regression test for '-V' command line option and the :t[lu] modifiers.
@
text
@d17 1
a17 3
# Version has the RYYYYMMDDX format, where R is from RELENG_<R>
CFLAGS+=-DMAKE_VERSION=\"9201120530\"

@


1.68.2.4
log
@SVN rev 241364 on 2012-10-09 02:52:56Z by obrien

Update MAKE_VERSION for r237100.
@
text
@d18 1
a18 1
CFLAGS+=-DMAKE_VERSION=\"9201206140\"
@


1.68.2.5
log
@SVN rev 241928 on 2012-10-23 12:37:02Z by jhb

MFC 228157:
- Fix segmentation fault when running "+command" when run with -jX -n due
  to Compat_RunCommand() being called with `cmd' that is not on the
  node->commands list
- Make ellipsis ("..." command) handling consistent: check for "..." command
  in job make after variables expansion to match compat make behavior
- Fix empty command handling (after variables expansion and @@+- modifiers
  are processed): now empty commands are ignored in compat make and are not
  printed in job make case
@
text
@d18 1
a18 1
CFLAGS+=-DMAKE_VERSION=\"9201210220\"
@


1.68.2.6
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
@d3 1
a3 1
# $FreeBSD: stable/9/usr.bin/make/Makefile 241928 2012-10-23 12:37:02Z jhb $
@


1.68.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.68.2.3.2.2
log
@Switch importer
@
text
@d3 1
a3 1
# $FreeBSD: releng/9.1/usr.bin/make/Makefile 237100 2012-06-14 20:44:56Z obrien $
@


1.68.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.68.2.1.2.2
log
@Switch importer
@
text
@d3 1
a3 1
# $FreeBSD: releng/9.0/usr.bin/make/Makefile 201386 2010-01-02 10:27:05Z ed $
@


1.67
log
@SVN rev 187475 on 2009-01-20 17:15:12Z by rdivacky

Remove inlining of functions that are used mostly in different object files.
This gets rid of gnu89 style inlining. Also silence gcc by assigning two
variables NULL. This lets use to remove NO_WERROR.

Approved by:	kib (mentor)
Approved by:	harti
@
text
@a10 1
WARNS?=	6
@


1.67.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.67.2.2
log
@SVN rev 241368 on 2012-10-09 05:06:30Z by obrien

MF9: r237100: MFC r236338, r236339, r236346, r236347, r236365, & r236977
  * Deprecate the FreeBSD 10's make's ":U" (to-upper case) and ":L"
    (to-lower case) modifiers for ":tu" and ":tl".
  * make it easier to test newly-built make.
  * Add "-V '${VAR}'" variable expansion from Portable Berkeley Make.
  * regression test for '-V' command line option and the :t[lu] modifiers.

MF9: r241364: Update MAKE_VERSION for r237100.

MFC: r201225: add missing `void' keyword.
@
text
@d14 1
a14 3
# Version has the RYYYYMMDDX format, where R is from RELENG_<R>
CFLAGS+=-DMAKE_VERSION=\"8201210080\"

@


1.67.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
@d3 1
a3 1
# $FreeBSD: stable/8/usr.bin/make/Makefile 241368 2012-10-09 05:06:30Z obrien $
@


1.67.2.1.8.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.67.2.1.8.2
log
@Switch importer
@
text
@d3 1
a3 1
# $FreeBSD: releng/8.3/usr.bin/make/Makefile 187475 2009-01-20 17:15:12Z rdivacky $
@


1.67.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.67.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.67.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.66
log
@No need to tell make to DTRT with "make love", just do it.
Also remove the 2002/08/31 bootstrapping aid for upgrades from
year old (mid-2001) systems.
@
text
@a10 1
NO_WERROR=
@


1.65
log
@So, what's it supposed to say when you type "make love"?
@
text
@a14 1
CFLAGS+=-DOLD_JOKE=1
a15 4
.if defined(_UPGRADING)
CFLAGS+=-D__FBSDID=__RCSID
.endif

@


1.65.2.1
log
@MFC: "make love" and GC bootstrapping aid for old (mid-2001) systems.
@
text
@d15 1
d17 4
@


1.65.2.2
log
@SVN rev 190345 on 2009-03-24 00:07:17Z by obrien

MFC:
r187475: Remove inlining of functions that are used mostly in different
	 object files.  This lets use to remove NO_WERROR.
r186558: Consistently use Var_SetGlobal().
r186713: Add the -Q be-quiet flag for parallel jobs.
r186279: Exit with error code 2 when run with -k (continue if errors)
	 and build failed.
r186559: Add the ability to tweak the token output before targets in job mode.
r181021: Add POSIX -p flag to make(1).
r186502: Clarify the behaviour of conditionals when dealing with comparisons.
@
text
@d11 1
d55 1
a55 1
	  sed -nEe '/\$$FreeBSD$/\1/p'		\
@


1.65.2.3
log
@SVN rev 241372 on 2012-10-09 13:21:08Z by obrien

MF8: r241368:
  MF9: r237100: MFC r236338, r236339, r236346, r236347, r236365, & r236977
    * Deprecate the FreeBSD 10's make's ":U" (to-upper case) and ":L"
      (to-lower case) modifiers for ":tu" and ":tl".
    * make it easier to test newly-built make.
    * Add "-V '${VAR}'" variable expansion from Portable Berkeley Make.
    * regression test for '-V' command line option and the :t[lu] modifiers.
  MF9: r241364: Update MAKE_VERSION for r237100.
  MFC: r201225: add missing `void' keyword.
@
text
@d14 1
a14 3
# Version has the RYYYYMMDDX format, where R is from RELENG_<R>
CFLAGS+=-DMAKE_VERSION=\"7201210080\"

@


1.65.2.4
log
@Switch importer
@
text
@d3 1
a3 1
# $FreeBSD: stable/7/usr.bin/make/Makefile 241372 2012-10-09 13:21:08Z obrien $
d56 1
a56 1
	  sed -nEe '/\$$FreeBSD: stable/7/usr.bin/make/Makefile 241372 2012-10-09 13:21:08Z obrien $/\1/p'		\
@


1.65.2.2.6.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.65.2.2.6.2
log
@Switch importer
@
text
@d3 1
a3 1
# $FreeBSD: releng/7.4/usr.bin/make/Makefile 190345 2009-03-24 00:07:17Z obrien $
d54 1
a54 1
	  sed -nEe '/\$$FreeBSD: releng/7.4/usr.bin/make/Makefile 190345 2009-03-24 00:07:17Z obrien $/\1/p'		\
@


1.65.2.2.4.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.65.2.2.2.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.65.2.1.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.64
log
@Please ship the pointy hat to its home position.
@
text
@d15 1
@


1.63
log
@Update coordinates for "mph" hash generator now that it lives in ports.
@
text
@a19 2
.sinclude <foobarbarf>

@


1.62
log
@Add a .sinclude directive which does the exact same as .include, except
whine when the file cannot be found and opened.
@
text
@d34 1
a34 1
# generated with mph which can be found on the usual GNU mirrors.
@


1.61
log
@Document why there is a dependency of certain object files from the
Makefile.

Requested by:	ru
@
text
@d20 2
@


1.61.2.1
log
@Switch importer
@
text
@d3 1
a3 1
# $FreeBSD: stable/6/usr.bin/make/Makefile 146608 2005-05-25 08:46:31Z harti $
@


1.61.12.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.60
log
@Make shell.o dependend on the Makefile just in case someone changes
the default shell in the Makefile.
@
text
@d23 6
@


1.59
log
@Bump the warning level to 6.
@
text
@d23 1
a23 1
main.o: ${MAKEFILE}
@


1.58
log
@Factor out ProcExec() into its own file and rename it to Proc_Exec() for
consistency with the rest of make.

Obtained from:	DragonFlyBSD (except for the rename)
@
text
@d12 1
a12 1
WARNS?=	3
@


1.57
log
@Factor out all the .SHELL parsing related stuff into its own file and
rename the function to be consistent with the naming scheme in the rest
of make. No functional changes.

Obtained from:	DragonFlyBSD (idea and most of shell.h)
@
text
@d8 2
a9 2
	lst.c main.c make.c parse.c shell.c str.c suff.c targ.c util.c	\
	var.c
@


1.56
log
@Use the name of the default shell instead of a numeric index to select
the default shell.

Idea from:	DragonFlyBSD
@
text
@d8 2
a9 1
	lst.c main.c make.c parse.c str.c suff.c targ.c util.c var.c
@


1.55
log
@Still too early to bump WARNS - there are still warnings on 64bit
architectures.
@
text
@d101 2
a102 6
.if ${MAKE_SHELL} == "csh"
CFLAGS+=	-DDEFSHELL=0
.elif ${MAKE_SHELL} == "sh"
CFLAGS+=	-DDEFSHELL=1
.elif ${MAKE_SHELL} == "ksh"
CFLAGS+=	-DDEFSHELL=2
@


1.54
log
@Use a variable initialized to a string instead of the string directly
to get rid of a const warning.

Submitted by:	Max Okumoto <okumoto@@ucsd.edu> (7.244)
@
text
@d11 1
a11 1
WARNS?=	4
@


1.53
log
@Revert the previous accidential commit.
@
text
@d11 1
a11 1
WARNS?=	3
@


1.52
log
@Cleanup SuffFindArchDeps() to get rid of two const-warnings.

Submitted by:	Max Okumoto <okumoto@@ucsd.edu> (7.240)
@
text
@d11 1
a11 1
WARNS?=	4
@


1.51
log
@Merge compat.c into job.c. There is a lot in common between these
files and we are going to factor this out.

Patch:		7.199 (slightly changed)
Submitted by:	Max Okumoto <okumoto@@ucsd.edu>
@
text
@d11 1
a11 1
WARNS?=	3
@


1.50
log
@Merge var_modify.c into var.c and move types and function declarations
that are now used only in var.c from var.h to var.c

Patches:	7.193,7.194
Submitted by:	Max Okumoto <okumoto@@ucsd.edu>
@
text
@d7 2
a8 2
SRCS=	arch.c buf.c compat.c cond.c dir.c for.c hash.c hash_tables.c	\
	job.c lst.c main.c make.c parse.c str.c suff.c targ.c util.c var.c
@


1.49
log
@Rename the directive_hash.[ch] files to hash_tables.[ch] now
that there are more than one hash table in them. There is no
history to preserve here, so go without a repo-copy.

Asked for by:	Max Okumoto <okumoto@@ucsd.edu>
@
text
@d8 1
a8 2
	job.c lst.c main.c make.c parse.c str.c suff.c targ.c util.c	\
	var.c var_modify.c
@


1.48
log
@Use a minimal perfect hash for the special sources/targets too. Add
the corresponding magic to create the hash function to the Makefile.
@
text
@d7 3
a9 3
SRCS=	arch.c buf.c compat.c cond.c dir.c directive_hash.c for.c	\
	hash.c job.c lst.c main.c make.c parse.c str.c suff.c targ.c	\
	util.c var.c var_modify.c
d59 1
a59 1
	  echo '#include "directive_hash.h"' ;				\
d94 1
a94 1
	) > ${.CURDIR}/directive_hash.c
@


1.47
log
@Fix the $$FreeBSD$$ that should be written verbatim to directive_hash.c
so that it doesn't get replaced with the Makefile's revision.
@
text
@d25 1
a25 1
# Directive table. We use a hash table. This hash table has been
d27 2
a28 2
# If you change the directives (adding, deleting, reordering) you
# need to create a new table and hash function (directive_hash).
d32 2
a33 1
#	o prefix the names of the g, T0 and T1 arrays with 'directive_'.
d39 2
a40 1
#	  not the trailing '\0', via the -l flag in emitc and some editing.
d47 1
d77 17
a93 1
	    -e 's/g\[f/directive_g[f/g'					\
@


1.46
log
@Move the hash function for directives into its own file and add
a Makefile target to re-created this file. Note, that there is no
explicite dependency to automatically re-create the file, because this
is needed only when the directive table changes and it requires the
(yet to come) devel/mph port.

Submitted by:	Max Okumoto <okumoto@@ucsd.edu> (first version)
@
text
@d48 1
a48 1
	  echo ' * $$FreeBSD$$' ;					\
@


1.45
log
@Ups. Revert the last commits. These have been committed by accident.
@
text
@d7 3
a9 2
SRCS=	arch.c buf.c compat.c cond.c dir.c for.c hash.c job.c lst.c main.c \
	make.c parse.c str.c suff.c targ.c util.c var.c var_modify.c
d25 52
@


1.44
log
@modifier_M: instead of going through the string twice to compute the
size of the buffer we need, just allocate the possible maximum.

Patch:		7.117

Submitted by:	Max Okumoto <okumoto@@ucsd.edu>
@
text
@d6 1
a6 1
CFLAGS+=-I${.CURDIR} -std=c99
@


1.43
log
@While working on constification temporarily disable -Werror. Things are too
twisted.
@
text
@d6 1
a6 1
CFLAGS+=-I${.CURDIR}
@


1.42
log
@Move all the remaining list functions into one C-file and remove
double documentation comments. Remove the 3rd clause (from 4) of the
BSD license because these files have only the UCB copyright.

Submitted by:	Max Okumoto <okumoto@@ucsd.edu>
@
text
@d10 1
@


1.41
log
@NOSHARED -> NO_SHARED
@
text
@d3 1
a3 1
# $FreeBSD: src/usr.bin/make/Makefile,v 1.40 2004/12/16 16:14:15 harti Exp $
d7 1
a7 1
SRCS=	arch.c buf.c compat.c cond.c dir.c for.c hash.c job.c main.c \
a8 4
SRCS+=	lstAppend.c lstConcat.c lstDeQueue.c lstDestroy.c \
	lstDupl.c lstFindFrom.c lstForEachFrom.c lstInsert.c \
	lstMember.c lstRemove.c
.PATH:	${.CURDIR}/lst.lib
@


1.40
log
@Instead of dynamically allocating list heads allocated them statically
now that their size is only two pointers. This eliminates a lot of calls
to Lst_Init and from there to malloc together with many calls to
Lst_Destroy (in places where the list is obviously empty). This also
reduces the chance to leave a list uninitilized so we can remove more
NULL pointer checks and probably eliminates a couple of memory leaks.
@
text
@d3 1
a3 1
# $FreeBSD$
d15 1
a15 1
NOSHARED?=	YES
@


1.39
log
@Get rid of the sequential access feature of the lists. This was used
only in a couple of places and all of them except for one were easily
converted to use Lst_First/Lst_Succ. The one place is compatibility
mode in job.c where the it was used to advance to the next command on
each invocation of JobStart. For this case add a pointer to the node to
hold the currently executed command.
@
text
@d10 1
a10 1
	lstDupl.c lstFindFrom.c lstForEachFrom.c lstInit.c lstInsert.c \
@


1.38
log
@Change a couple of the primitve list functions to be macros. This changes
the semantic of Lst_Datum which formerly returned NULL when the argument
node was NULL. There was only one place in the source that relied on this
so change that place.
@
text
@d9 1
a9 1
SRCS+=	lstAppend.c lstClose.c lstConcat.c lstDeQueue.c lstDestroy.c \
d11 1
a11 1
	lstIsAtEnd.c lstMember.c lstNext.c lstOpen.c lstRemove.c
@


1.37
log
@Merge the contents of lstInt.h into the public lst.h. This let's us get
rid of a lot of uneccesary casts and temporary variables that have just
obfuscated the code. This also let's us implement a couple of the one-
liner list functions as macros (the first one is Lst_IsEmpty) and
simplify life once we start to throw consts on the code.
@
text
@d9 3
a11 5
SRCS+=	lstAppend.c lstAtEnd.c lstAtFront.c lstClose.c lstConcat.c \
	lstDatum.c lstDeQueue.c lstDestroy.c lstDupl.c lstEnQueue.c \
	lstFind.c lstFindFrom.c lstFirst.c lstForEach.c lstForEachFrom.c \
	lstInit.c lstInsert.c lstIsAtEnd.c lstLast.c \
	lstMember.c lstNext.c lstOpen.c lstRemove.c lstReplace.c lstSucc.c
@


1.36
log
@Forced commit to note that the previous raised WARNS to 3. This has been
tested on i386, alpha, sparc64 and amd64.
@
text
@d12 1
a12 1
	lstInit.c lstInsert.c lstIsAtEnd.c lstIsEmpty.c lstLast.c \
@


1.35
log
@Include sys/sysctl.h on all architectures not only i386.
@
text
@@


1.34
log
@remove XXX comment now that the kernel is fixed, there isn't any obvious
reason to enable this as performance didn't significantly change...

MFC after:	3 days
@
text
@d16 1
@


1.33
log
@Put variable assignments on .MAKEFLAGS and .MFLAGS targets into
the .MAKEFLAGS variable so that these are also passed to sub-makes.
This makes the handling of variables in the command environment more
consistent.

PR:		bin/68853
Submitted by:	Martin Kamerhofer <data@@sbox.tugraz.at>
@
text
@d23 1
a23 1
# XXX: kernel currently broken
@


1.33.2.1
log
@MFC: v1.34
>   remove XXX comment now that the kernel is fixed, there isn't any obvious
>   reason to enable this as performance didn't significantly change...

Approved by:	re (kensmith)
@
text
@d23 1
a23 1
# There is no obvious performance improvement currently.
@


1.32
log
@Put variable assignments from the command line into the MAKEFLAGS
variable as required by POSIX. This causes such variables to be
pushed into all sub-makes called by the make (except when the MAKEFLAGS
variable is explicitely changed in the sub-make's environment).
This makes them also mostly un-overrideable in sub-makes except on the
sub-make's command line. Therefor specifying 'make CC=icc' will cause
icc to be used as C compiler in all sub-makes no matter what the Makefiles
itself try to do to the CC variable.

This patch also corrects the handling of the MFLAGS variable. MFLAGS
contains all the command line flags but not the command line variable
assignments. The evaluation of the .MFLAGS or .MAKEFLAGS target now
changes both MFLAGS and MAKEFLAGS (they used to change MAKEFLAGS only).
Makefiles can use MFLAGS for their own purposes given that they do not
except MFLAGS to be undefined at the beginning and that they don't evaluate
.MFLAGS or .MAKEFLAGS. MFLAGS should be removed for POSIX compliance,
but it is unfortunately heavily used by the X makefiles.

This has been extensively tested by port builds (thanks to portmgr), new
worlds and kernels.

PR:		standards/57295 (1st part above)
Submitted by:	James E. Flemer <jflemer@@alum.rpi.edu>
Approved by:	portmgr
Obtained from:	NetBSD (1st part above)
MFC after:	4 weeks
@
text
@d18 1
a18 1
CFLAGS+=-DMAKE_VERSION=\"5200408030\"
@


1.31
log
@Implement POSIX's '+' flag for command lines. This flag causes a line
to be executed even when -n is given on the command line to make. This is
very handy for calls to submakes.

This is slightly changed from the original patch as obtained from NetBSD.
The NetBSD variant prints lines which have both '+' and '@@' when -n
is specified. The commited version always obeys '@@'.

Bump MAKE_VERSION so Makefiles can use this conditionally.

PR:		standards/66357 (partly)
Submitted by:	Mark Baushke <mdb@@juniper.net>
Obtained from:	NetBSD
@
text
@d18 1
a18 1
CFLAGS+=-DMAKE_VERSION=\"5200407290\"
@


1.30
log
@Split var.c into var.c and var_modify.c and move all the modification funcs
to var_modify.c, for readability.  constify some low hanging fruit (string
manipulation functions) and the upper layers appropriately.  No longer use
the private strstr(3) implementation, while changing string code.

Tested by:      lots of successful make buildworld.
@
text
@d18 1
a18 1
CFLAGS+=-DMAKE_VERSION=\"5200209170\"
@


1.29
log
@Move utilitarian routines to util.c, which isn't the same as the old
compatability-geared util.c.  These are things like message printers
and the PrintAddr function for traversing lists.  Other general-purpose
utilities inside make(1) can go here, in time.
@
text
@d8 1
a8 1
	make.c parse.c str.c suff.c targ.c util.c var.c
@


1.28
log
@Give make(1) the ability to use KQUEUE to wait for worker processes
instead of polling for them.

Unfortunately we cannot enable it yet because it panics the kernel
somewhere in kqueue.

Submitted by:	Stefan Farfeleder <e0026813@@stud3.tuwien.ac.at>
@
text
@d8 1
a8 1
	make.c parse.c str.c suff.c targ.c var.c
@


1.27
log
@Move common use of if (DEBUG(FOO)) printf... to DEBUGF(FOO, ...), using
variable length arguments to a macro.  Bump version as this makes DEBUG
statements *always* go to stderr rather than sometimes stdout.  There are
a few stragglers, which I will take care of as soon as I can.  Mostly these
relate to the need-for-death-of some of the remote job code.

Nearby stylistic nits and XXX added/fixed where appropriate.
@
text
@d23 3
@


1.26
log
@Deal with bootstrapping from an old -current (almost exactly a year old)
which fails the make tests (doesn't understand ${notdef:U}) and therefore
fails on __FBSDID in usr.bin/make/*.  -DBOOTSTRAPPING is no help here since
this is before we are using the new share/mk/* files, and it would conflict
with the builtin -DBOOTSTRAPPING support later.. so use a different flag.
@
text
@d18 1
a18 1
CFLAGS+=-DMAKE_VERSION=\"5200208240\"
@


1.25
log
@Add a -C ala GNU make(1) for Makefiles which are too lazy to use $(MAKE) and
this particular GNU flag.  It changes into the given directory for the
operation in question.  This just goes into said directory at the time of
parsing the argument for getopt(3).

Submitted by:	Rachel Hestilow <rachel@@jerkcity.com>
@
text
@d19 3
@


1.24
log
@Back out the ``run shell from $PATH'' change; this was an overkill
and is insecure.

Requested by:	bde
@
text
@d18 1
a18 1
CFLAGS+=-DMAKE_VERSION=\"5200205240\"
@


1.23
log
@Do not run shell from /bin, run it from $PATH.
Bump MAKE_VERSION to 5200205221.
@
text
@d18 1
a18 1
CFLAGS+=-DMAKE_VERSION=\"5200205221\"
@


1.22
log
@Added the MAKE_VERSION global that could be useful in determining
if a given make(1) is feature-compatible with a set of makefiles.

When merged, this will be used to replace the ugly upgrade_checks
hacks in src/Makefile.

Version has the RYYYYMMDDX format, where R is from RELENG_<R> and
X allows for 10 distinguishable changes per day.

Discussed with:	bde
@
text
@d18 1
a18 1
CFLAGS+=-DMAKE_VERSION=\"5200205220\"
@


1.21
log
@Fix copyrights, and undo SCS ID damage.
@
text
@d18 4
@


1.20
log
@o unifdef -D__STDC__
o remove badly bit-rotted compat file that likely won't work on the systems
  it purports to support.
@
text
@d2 1
@


1.19
log
@By default build make(1) as a static binary. It costs only 100k of additional
disk space, buf provides measureable speed increase for make-intensive
operations, such as pkg_version(1), `make world' and so on.

MFC after:	1 week
@
text
@d2 1
a2 1
# $FreeBSD: src/usr.bin/make/Makefile,v 1.18 2001/04/26 04:40:57 will Exp $
d7 1
a7 1
	make.c parse.c str.c suff.c targ.c var.c util.c
@


1.18
log
@Remove GCC-ism (-Wall).

Submitted by:	bde
@
text
@d2 1
a2 1
# $FreeBSD$
d14 2
@


1.17
log
@Add -Wall.
@
text
@d2 1
a2 1
# $FreeBSD: src/usr.bin/make/Makefile,v 1.16 2001/03/15 10:33:00 billf Exp $
d5 1
a5 1
CFLAGS+=-Wall -I${.CURDIR}
@


1.16
log
@with my mentor hat on...

remove the concept of a 'maintainer' of our make. there really isn't a
need for any one committer to hold an exclusive lock or serve as a filter
for this code.
@
text
@d2 1
a2 1
# $FreeBSD: src/usr.bin/make/Makefile,v 1.15 2000/09/29 19:51:48 will Exp $
d5 1
a5 1
CFLAGS+= -I${.CURDIR}
@


1.15
log
@Assume MAINTAINER.  I will be taking the job of merging NetBSD/OpenBSD
improvements (including :C & :L, among others).  After that, I'll be coming
up with other ways to improve make(1).

Discussed in spirit with:	peter
@
text
@d2 1
a2 3
# $FreeBSD: src/usr.bin/make/Makefile,v 1.14 2000/08/16 23:31:43 green Exp $
#
# MAINTAINER = Will Andrews <will@@FreeBSD.org>
@


1.14
log
@Allow use of the ${MAKE_SHELL} variable to specify alternate shells for
make(1) to use.  Setting it to "sh" and "ksh" are the only values which
work right ATM; I wouldn't expect "csh" to get you far ;)
@
text
@d2 3
a4 1
# $FreeBSD: src/usr.bin/make/Makefile,v 1.13 1999/11/15 17:07:45 marcel Exp $
@


1.13
log
@Remove CROSS_MAKE_FLAGS.
@
text
@d2 1
a2 1
# $FreeBSD: src/usr.bin/make/Makefile,v 1.12 1999/08/28 01:03:25 peter Exp $
d14 16
@


1.13.2.1
log
@MFC: by default link make(1) statically.
@
text
@d2 1
a2 1
# $FreeBSD$
a13 2

NOSHARED?=	YES
@


1.13.2.2
log
@Switch importer
@
text
@d2 1
a2 1
# $FreeBSD: stable/4/usr.bin/make/Makefile 77163 2001-05-25 08:33:40Z sobomax $
@


1.12
log
@$Id$ -> $FreeBSD$
@
text
@d2 1
a2 1
# $FreeBSD$
d5 1
a5 1
CFLAGS+= -I${.CURDIR} ${CROSS_MAKE_FLAGS}
@


1.11
log
@Per requests from the community, commit rudimentary cross compilation
support.  I've been building world with these changes for months w/o
ill effect.  I've also managed to build the cross tool chain for MIPS
with these patches.

Please note that the extent to which these patches work is largely
dictated by how well our tool chains support the cross compilation.
Building alpha binaries on i386 doesn't work.  Supposedly building
i386 binaries on alpha does work, but I've not verified it with these
patches, however.
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.10 1997/02/22 19:27:05 peter Exp $
@


1.10
log
@Revert $FreeBSD$ to $Id$
@
text
@d2 1
a2 1
#	$Id$
d5 1
a5 1
CFLAGS+= -I${.CURDIR}
@


1.10.2.1
log
@$Id$ -> $FreeBSD$
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.9
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
@d2 1
a2 1
#	$FreeBSD$
@


1.8
log
@Correct problem with traversing into PSD.doc directory,
these files are actually installed/built as part of
src/share/doc/psd/12.make.  Oops. :)

Pointed out by:	Peter Wemm and Bruce Evans
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.7 1996/10/06 12:43:14 jkh Exp $
@


1.8.2.1
log
@$Id$ -> $FreeBSD$
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.7
log
@Correct merge bogon:  You want to descend into PSD.doc for both `all' and
`install' cases or there's never anything made to install, and you blow
up in the install. :-)
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.6 1996/10/06 02:33:53 steve Exp $
a13 4

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


1.6
log
@Merge in NetBSD's changes to make(1).  Changes include:

	- Add the .PHONY, .PARALLEL, and .WAIT directives
	- Added the -B and -m commandline flags
	- misc. man page cleanups
	- numerous job-related enhancements
	- removed unused header file (bit.h)
	- add util.c for functions not found in other envs.
	- and a few coordinated whitespace changes

Special thanks to Christos Zoulas <christos@@netbsd.org>
for help in the merge.  A 'diff -ur' between Net and
FreeBSD now only contains sccsid-related diffs. :)

Obtained from: NetBSD, christos@@netbsd.org, and me
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.5 1995/09/22 14:14:28 phk Exp $
d15 1
a15 1
.if make(install)
@


1.5
log
@Stop using gnumalloc.
@
text
@d1 2
a2 2
#	from: @@(#)Makefile	5.2 (Berkeley) 12/28/90
#	$Id: Makefile,v 1.4 1995/06/16 22:46:38 ache Exp $
d5 1
a5 1
CFLAGS+= -I${.CURDIR} -DPOSIX -DSYSVINCLUDE
d7 1
a7 1
	make.c parse.c str.c suff.c targ.c var.c
d14 4
@


1.4
log
@Allow additional parsing of SYSV/GNU make "include" directive, it covers
90% of problems in ports Makefiles
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.3 1995/01/23 21:00:09 jkh Exp $
a13 3

LDADD+=	-lgnumalloc
DPADD+=	/usr/lib/libgnumalloc.a
@


1.3
log
@Bring in a number of changes from NetBSD's make, fixing quite a few
problems in the process:

1. Quoting should work properly now.  In particular, Chet's reported bash
   make problem has gone away.
2. A lot of memory that just wasn't being free'd after use is now freed.
   This should cause make to take up a LOT less memory when dealing with
   archive targets.
3. Give proper credit to Adam de Boor in a number of files.
Obtained from: NetBSD (and Adam de Boor)
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.6 1994/06/30 05:33:39 cgd Exp $
d5 1
a5 1
CFLAGS+= -I${.CURDIR} -DPOSIX
@


1.3.4.1
log
@Copy 2.2 changes to 2.1 branch, including ^\t\n fixes and SYSV include
processing
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.4 1995/06/16 22:46:38 ache Exp $
d5 1
a5 1
CFLAGS+= -I${.CURDIR} -DPOSIX -DSYSVINCLUDE
@


1.3.4.2
log
@$Id$ -> $FreeBSD$
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.2
log
@Use gnumalloc.
@
text
@d1 2
a2 1
#	@@(#)Makefile	8.1 (Berkeley) 6/6/93
d5 1
a5 1
CFLAGS+=-I${.CURDIR}
@


1.1
log
@Initial revision
@
text
@d14 3
@


1.1.1.1
log
@BSD 4.4 Lite Usr.bin Sources
@
text
@@


1.1.1.2
log
@Import the 4.4BSD-Lite2 version of make onto the vendor branch
"for reference".  This doesn't change anything since all files
have been touched.
@
text
@d1 1
a1 2
#	from: @@(#)Makefile	5.2 (Berkeley) 12/28/90
#	$Id: Makefile,v 1.6 1994/06/30 05:33:39 cgd Exp $
d4 1
a4 1
CFLAGS+= -I${.CURDIR} -DPOSIX
a12 4

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


1.1.1.3
log
@Import Christos Zoulas' version of NetBSD's make onto the
vendor branch for reference.

Obtained from: Christos Zoulas <christos@@netbsd.org>
@
text
@d1 2
a2 2
#	$NetBSD: Makefile,v 1.11 1996/05/28 23:34:35 christos Exp $
#	@@(#)Makefile	5.2 (Berkeley) 12/28/90
d5 1
a5 1
CFLAGS+= -I${.CURDIR} -Wall -Wno-unused #-Wmissing-prototypes -Wstrict-prototypes
d7 1
a7 1
	make.c parse.c str.c suff.c targ.c var.c util.c
@


1.1.1.4
log
@Finish importing Lite2's src/usr.bin, except for ex, diff, grep, mail,
pascal and vmstat.sparc.  All changed files on the vendor branch should
already have been imported.
@
text
@d1 2
a2 2
#	from: @@(#)Makefile	5.2 (Berkeley) 12/28/90
#	$Id: Makefile,v 1.6 1994/06/30 05:33:39 cgd Exp $
d5 1
a5 1
CFLAGS+= -I${.CURDIR} -DPOSIX
d7 1
a7 1
	make.c parse.c str.c suff.c targ.c var.c
@
