head	1.28;
access;
symbols
	RELENG_8_4:1.28.0.2
	RELENG_9_1_0_RELEASE:1.26.36.1.4.2
	RELENG_9_1:1.26.36.1.0.4
	RELENG_9_1_BP:1.26.36.1
	RELENG_8_3_0_RELEASE:1.26.30.1.8.1
	RELENG_8_3:1.26.30.1.0.8
	RELENG_8_3_BP:1.26.30.1
	RELENG_9_0_0_RELEASE:1.26.36.1.2.1
	RELENG_9_0:1.26.36.1.0.2
	RELENG_9_0_BP:1.26.36.1
	RELENG_9:1.26.0.36
	RELENG_9_BP:1.26
	RELENG_7_4_0_RELEASE:1.26.34.1
	RELENG_8_2_0_RELEASE:1.26.30.1.6.1
	RELENG_7_4:1.26.0.34
	RELENG_7_4_BP:1.26
	RELENG_8_2:1.26.30.1.0.6
	RELENG_8_2_BP:1.26.30.1
	RELENG_8_1_0_RELEASE:1.26.30.1.4.1
	RELENG_8_1:1.26.30.1.0.4
	RELENG_8_1_BP:1.26.30.1
	RELENG_7_3_0_RELEASE:1.26.32.1
	RELENG_7_3:1.26.0.32
	RELENG_7_3_BP:1.26
	RELENG_8_0_0_RELEASE:1.26.30.1.2.1
	RELENG_8_0:1.26.30.1.0.2
	RELENG_8_0_BP:1.26.30.1
	RELENG_8:1.26.0.30
	RELENG_8_BP:1.26
	RELENG_7_2_0_RELEASE:1.26.28.1
	RELENG_7_2:1.26.0.28
	RELENG_7_2_BP:1.26
	RELENG_7_1_0_RELEASE:1.26.26.1
	RELENG_6_4_0_RELEASE:1.26.24.1
	RELENG_7_1:1.26.0.26
	RELENG_7_1_BP:1.26
	RELENG_6_4:1.26.0.24
	RELENG_6_4_BP:1.26
	RELENG_7_0_0_RELEASE:1.26
	RELENG_6_3_0_RELEASE:1.26
	RELENG_7_0:1.26.0.22
	RELENG_7_0_BP:1.26
	RELENG_6_3:1.26.0.20
	RELENG_6_3_BP:1.26
	RELENG_7:1.26.0.18
	RELENG_7_BP:1.26
	RELENG_6_2_0_RELEASE:1.26
	RELENG_6_2:1.26.0.16
	RELENG_6_2_BP:1.26
	RELENG_5_5_0_RELEASE:1.26
	RELENG_5_5:1.26.0.14
	RELENG_5_5_BP:1.26
	RELENG_6_1_0_RELEASE:1.26
	RELENG_6_1:1.26.0.12
	RELENG_6_1_BP:1.26
	RELENG_6_0_0_RELEASE:1.26
	RELENG_6_0:1.26.0.10
	RELENG_6_0_BP:1.26
	RELENG_6:1.26.0.8
	RELENG_6_BP:1.26
	RELENG_5_4_0_RELEASE:1.26
	RELENG_5_4:1.26.0.6
	RELENG_5_4_BP:1.26
	RELENG_4_11_0_RELEASE:1.9.2.4
	RELENG_4_11:1.9.2.4.0.12
	RELENG_4_11_BP:1.9.2.4
	RELENG_5_3_0_RELEASE:1.26
	RELENG_5_3:1.26.0.4
	RELENG_5_3_BP:1.26
	RELENG_5:1.26.0.2
	RELENG_5_BP:1.26
	RELENG_4_10_0_RELEASE:1.9.2.4
	RELENG_4_10:1.9.2.4.0.10
	RELENG_4_10_BP:1.9.2.4
	RELENG_5_2_1_RELEASE:1.25
	RELENG_5_2_0_RELEASE:1.25
	RELENG_5_2:1.25.0.2
	RELENG_5_2_BP:1.25
	RELENG_4_9_0_RELEASE:1.9.2.4
	RELENG_4_9:1.9.2.4.0.8
	RELENG_4_9_BP:1.9.2.4
	RELENG_5_1_0_RELEASE:1.24
	RELENG_5_1:1.24.0.4
	RELENG_5_1_BP:1.24
	RELENG_4_8_0_RELEASE:1.9.2.4
	RELENG_4_8:1.9.2.4.0.6
	RELENG_4_8_BP:1.9.2.4
	RELENG_5_0_0_RELEASE:1.24
	RELENG_5_0:1.24.0.2
	RELENG_5_0_BP:1.24
	RELENG_4_7_0_RELEASE:1.9.2.4
	RELENG_4_7:1.9.2.4.0.4
	RELENG_4_7_BP:1.9.2.4
	RELENG_4_6_2_RELEASE:1.9.2.4
	RELENG_4_6_1_RELEASE:1.9.2.4
	RELENG_4_6_0_RELEASE:1.9.2.4
	RELENG_4_6:1.9.2.4.0.2
	RELENG_4_6_BP:1.9.2.4
	RELENG_4_5_0_RELEASE:1.9.2.2
	RELENG_4_5:1.9.2.2.0.6
	RELENG_4_5_BP:1.9.2.2
	RELENG_4_4_0_RELEASE:1.9.2.2
	RELENG_4_4:1.9.2.2.0.4
	RELENG_4_4_BP:1.9.2.2
	RELENG_4_3_0_RELEASE:1.9.2.2
	RELENG_4_3:1.9.2.2.0.2
	RELENG_4_3_BP:1.9.2.2
	RELENG_4_2_0_RELEASE:1.9.2.2
	RELENG_4_1_1_RELEASE:1.9.2.2
	PRE_SMPNG:1.13
	RELENG_4_1_0_RELEASE:1.9.2.2
	RELENG_3_5_0_RELEASE:1.4.2.1
	RELENG_4_0_0_RELEASE:1.9
	RELENG_4:1.9.0.2
	RELENG_4_BP:1.9
	RELENG_3_4_0_RELEASE:1.4.2.1
	RELENG_3_3_0_RELEASE:1.4.2.1
	RELENG_3_2_PAO:1.4.0.4
	RELENG_3_2_PAO_BP:1.4
	RELENG_3_2_0_RELEASE:1.4
	RELENG_3_1_0_RELEASE:1.4
	RELENG_3:1.4.0.2
	RELENG_3_BP:1.4
	RELENG_2_2_8_RELEASE:1.2
	RELENG_3_0_0_RELEASE:1.4
	RELENG_2_2_7_RELEASE:1.2
	RELENG_2_2_6_RELEASE:1.2
	RELENG_2_2_5_RELEASE:1.2
	bsd_44_lite_2:1.1.1.1
	RELENG_2_2_2_RELEASE:1.2
	RELENG_2_2_1_RELEASE:1.2
	RELENG_2_2_0_RELEASE:1.2
	RELENG_2_1_7_RELEASE:1.2
	RELENG_2_1_6_1_RELEASE:1.2
	RELENG_2_1_6_RELEASE:1.2
	RELENG_2_2:1.2.0.8
	RELENG_2_2_BP:1.2
	RELENG_2_1_5_RELEASE:1.2
	RELENG_2_1_0_RELEASE:1.2
	RELENG_2_1_0:1.2.0.6
	RELENG_2_1_0_BP:1.2
	RELENG_2_0_5_RELEASE:1.2
	RELENG_2_0_5:1.2.0.4
	RELENG_2_0_5_BP:1.2
	RELENG_2_0_5_ALPHA:1.2
	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.28
date	2012.11.17.01.48.30;	author svnexp;	state Exp;
branches
	1.28.2.1;
next	1.27;

1.27
date	2012.05.19.18.05.00;	author marcel;	state Exp;
branches;
next	1.26;

1.26
date	2004.05.25.14.53.47;	author pjd;	state Exp;
branches
	1.26.8.1
	1.26.18.1
	1.26.24.1
	1.26.26.1
	1.26.28.1
	1.26.30.1
	1.26.32.1
	1.26.34.1
	1.26.36.1;
next	1.25;

1.25
date	2003.06.13.07.04.02;	author markm;	state Exp;
branches;
next	1.24;

1.24
date	2002.10.24.00.07.30;	author rwatson;	state Exp;
branches;
next	1.23;

1.23
date	2002.02.04.03.06.50;	author kris;	state Exp;
branches;
next	1.22;

1.22
date	2002.02.04.02.49.18;	author kris;	state Exp;
branches;
next	1.21;

1.21
date	2002.02.03.19.11.32;	author markm;	state Exp;
branches;
next	1.20;

1.20
date	2001.12.29.12.05.30;	author bde;	state Exp;
branches;
next	1.19;

1.19
date	2001.12.29.11.59.26;	author bde;	state Exp;
branches;
next	1.18;

1.18
date	2001.12.29.11.51.27;	author bde;	state Exp;
branches;
next	1.17;

1.17
date	2001.12.28.20.50.12;	author joe;	state Exp;
branches;
next	1.16;

1.16
date	2001.12.04.01.57.44;	author obrien;	state Exp;
branches;
next	1.15;

1.15
date	2001.11.26.22.21.10;	author green;	state Exp;
branches;
next	1.14;

1.14
date	2001.04.03.13.34.31;	author ru;	state Exp;
branches;
next	1.13;

1.13
date	2000.06.17.14.19.31;	author joe;	state Exp;
branches;
next	1.12;

1.12
date	2000.06.05.19.34.31;	author ache;	state Exp;
branches;
next	1.11;

1.11
date	2000.06.05.02.25.55;	author joe;	state Exp;
branches;
next	1.10;

1.10
date	2000.06.05.02.14.01;	author joe;	state Exp;
branches;
next	1.9;

1.9
date	2000.02.05.18.42.27;	author joe;	state Exp;
branches
	1.9.2.1;
next	1.8;

1.8
date	2000.01.27.21.16.49;	author joe;	state Exp;
branches;
next	1.7;

1.7
date	2000.01.01.15.44.03;	author joe;	state Exp;
branches;
next	1.6;

1.6
date	99.12.30.13.15.01;	author joe;	state Exp;
branches;
next	1.5;

1.5
date	99.08.27.23.14.30;	author peter;	state Exp;
branches;
next	1.4;

1.4
date	97.02.22.14.03.52;	author peter;	state Exp;
branches
	1.4.2.1;
next	1.3;

1.3
date	97.01.14.05.31.11;	author jkh;	state Exp;
branches;
next	1.2;

1.2
date	94.09.24.02.55.51;	author davidg;	state Exp;
branches
	1.2.6.1
	1.2.8.1;
next	1.1;

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

1.28.2.1
date	2012.11.17.01.48.30;	author svnexp;	state dead;
branches;
next	1.28.2.2;

1.28.2.2
date	2013.03.28.13.00.05;	author svnexp;	state Exp;
branches;
next	;

1.26.8.1
date	2012.11.17.07.38.35;	author svnexp;	state Exp;
branches;
next	;

1.26.18.1
date	2012.11.17.08.00.46;	author svnexp;	state Exp;
branches;
next	;

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

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

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

1.26.30.1
date	2009.08.03.08.13.06;	author kensmith;	state Exp;
branches
	1.26.30.1.2.1
	1.26.30.1.4.1
	1.26.30.1.6.1
	1.26.30.1.8.1;
next	1.26.30.2;

1.26.30.2
date	2012.11.17.10.35.49;	author svnexp;	state Exp;
branches;
next	;

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

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

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

1.26.30.1.8.1
date	2012.03.03.06.15.13;	author kensmith;	state Exp;
branches;
next	1.26.30.1.8.2;

1.26.30.1.8.2
date	2012.11.17.08.24.31;	author svnexp;	state Exp;
branches;
next	;

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

1.26.34.1
date	2010.12.21.17.10.29;	author kensmith;	state Exp;
branches;
next	1.26.34.2;

1.26.34.2
date	2012.11.17.08.16.31;	author svnexp;	state Exp;
branches;
next	;

1.26.36.1
date	2011.09.23.00.51.37;	author kensmith;	state Exp;
branches
	1.26.36.1.2.1
	1.26.36.1.4.1;
next	1.26.36.2;

1.26.36.2
date	2012.11.17.11.36.03;	author svnexp;	state Exp;
branches;
next	1.26.36.3;

1.26.36.3
date	2012.12.10.03.30.06;	author svnexp;	state Exp;
branches;
next	;

1.26.36.1.2.1
date	2011.11.11.04.20.22;	author kensmith;	state Exp;
branches;
next	1.26.36.1.2.2;

1.26.36.1.2.2
date	2012.11.17.08.36.05;	author svnexp;	state Exp;
branches;
next	;

1.26.36.1.4.1
date	2012.08.05.23.54.33;	author kensmith;	state Exp;
branches;
next	1.26.36.1.4.2;

1.26.36.1.4.2
date	2012.11.17.08.46.53;	author svnexp;	state Exp;
branches;
next	;

1.9.2.1
date	2000.06.28.02.33.14;	author joe;	state Exp;
branches;
next	1.9.2.2;

1.9.2.2
date	2000.07.04.18.45.27;	author ache;	state Exp;
branches;
next	1.9.2.3;

1.9.2.3
date	2002.03.28.01.28.14;	author joe;	state Exp;
branches;
next	1.9.2.4;

1.9.2.4
date	2002.04.19.13.22.45;	author ru;	state Exp;
branches;
next	1.9.2.5;

1.9.2.5
date	2012.11.17.07.22.02;	author svnexp;	state Exp;
branches;
next	;

1.4.2.1
date	99.08.29.14.12.45;	author peter;	state Exp;
branches;
next	;

1.2.6.1
date	99.09.05.11.01.29;	author peter;	state Exp;
branches;
next	;

1.2.8.1
date	99.09.05.10.59.44;	author peter;	state Exp;
branches;
next	;

1.1.1.1
date	94.05.26.06.18.30;	author rgrimes;	state Exp;
branches;
next	;


desc
@@


1.28
log
@Switching exporter and resync
@
text
@#	@@(#)Makefile	8.1 (Berkeley) 6/2/93
# $FreeBSD: head/bin/ls/Makefile 235655 2012-05-19 18:05:00Z marcel $

.include <bsd.own.mk>

PROG=	ls
SRCS=	cmp.c ls.c print.c util.c
DPADD=	${LIBUTIL}
LDADD=	-lutil

.if !defined(RELEASE_CRUNCH) && \
	${MK_LS_COLORS} != no
CFLAGS+= -DCOLORLS
DPADD+=	${LIBTERMCAP}
LDADD+=	-ltermcap
.endif

.include <bsd.prog.mk>
@


1.28.2.1
log
@file Makefile was added on branch RELENG_8_4 on 2013-03-28 13:00:05 +0000
@
text
@d1 18
@


1.28.2.2
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/248810
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@a0 15
#	@@(#)Makefile	8.1 (Berkeley) 6/2/93
# $FreeBSD: releng/8.4/bin/ls/Makefile 129719 2004-05-25 14:53:47Z pjd $

PROG=	ls
SRCS=	cmp.c ls.c print.c util.c
DPADD=	${LIBUTIL}
LDADD=	-lutil

.if !defined(RELEASE_CRUNCH)
CFLAGS+= -DCOLORLS
DPADD+=	${LIBTERMCAP}
LDADD+=	-ltermcap
.endif

.include <bsd.prog.mk>
@


1.27
log
@SVN rev 235655 on 2012-05-19 18:05:00Z by marcel

Add build opton MK_LS_COLORS to control whether ls(1) supports colors
(and thus needs to depend on libtermcap). Embedded systems may not
want or need colors.

Obtained from:	Juniper Networks, Inc.
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.26
log
@Use humanize_number(3).

Reminded by:	jhb
@
text
@d4 2
d11 2
a12 1
.if !defined(RELEASE_CRUNCH)
@


1.26.18.1
log
@Switch importer
@
text
@d2 1
a2 1
# $FreeBSD: stable/7/bin/ls/Makefile 129719 2004-05-25 14:53:47Z pjd $
@


1.26.8.1
log
@Switch importer
@
text
@d2 1
a2 1
# $FreeBSD: stable/6/bin/ls/Makefile 129719 2004-05-25 14:53:47Z pjd $
@


1.26.36.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.26.36.2
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
@d2 1
a2 1
# $FreeBSD: stable/9/bin/ls/Makefile 129719 2004-05-25 14:53:47Z pjd $
@


1.26.36.3
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/244075
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r244075 | grog | 2012-12-10 03:11:19 +0000 (Mon, 10 Dec 2012) | 16 lines
## SVN ##
## SVN ## MFC to r242840:
## SVN ##
## SVN ##   Add y flag and environment variable LS_SAMESORT to specify the same
## SVN ##   sorting order for time and name with the -t option.  IEEE Std 1003.2
## SVN ##   (POSIX.2) mandates that the -t option sort in descending order, and
## SVN ##   that if two files have the same timestamp, they should be sorted in
## SVN ##   ascending order of their names.  The -r flag reverses both of these
## SVN ##   sort orders, so they're never the same.  This creates significant
## SVN ##   problems for sequentially named files stored on FAT file systems,
## SVN ##   where it can be impossible to list them in the order in which they
## SVN ##   were created.
## SVN ##
## SVN ##   Add , (comma) option to print file sizes grouped and separated by
## SVN ##   thousands using the non-monetary separator returned by localeconv(3),
## SVN ##   typically a comma or period.
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d2 1
a2 3
# $FreeBSD: stable/9/bin/ls/Makefile 244075 2012-12-10 03:11:19Z grog $

.include <bsd.own.mk>
@


1.26.36.1.4.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.26.36.1.4.2
log
@Switch importer
@
text
@d2 1
a2 1
# $FreeBSD: releng/9.1/bin/ls/Makefile 129719 2004-05-25 14:53:47Z pjd $
@


1.26.36.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.26.36.1.2.2
log
@Switch importer
@
text
@d2 1
a2 1
# $FreeBSD: releng/9.0/bin/ls/Makefile 129719 2004-05-25 14:53:47Z pjd $
@


1.26.34.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.26.34.2
log
@Switch importer
@
text
@d2 1
a2 1
# $FreeBSD: releng/7.4/bin/ls/Makefile 129719 2004-05-25 14:53:47Z pjd $
@


1.26.32.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.26.30.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.26.30.2
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
@d2 1
a2 1
# $FreeBSD: stable/8/bin/ls/Makefile 129719 2004-05-25 14:53:47Z pjd $
@


1.26.30.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.26.30.1.8.2
log
@Switch importer
@
text
@d2 1
a2 1
# $FreeBSD: releng/8.3/bin/ls/Makefile 129719 2004-05-25 14:53:47Z pjd $
@


1.26.30.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.26.30.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.26.30.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.26.28.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.26.26.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.26.24.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.25
log
@Get this area compiling with the highest WARNS= that it works with.
Obsolete WFORMAT= junk also removed where possible.

OK'ed by:	obrien
Tested on:	sparc64, alpha, i386
@
text
@d6 2
a7 2
DPADD=	${LIBM}
LDADD=	-lm
@


1.24
log
@Teach "ls -Z" to use the policy-agnostic MAC label interfaces rather
than the LOMAC-specific interfaces for listing MAC labels.  This permits
ls to view MAC labels in a manner similar to getfmac, when ls is used
with the -l argument.  Next generation LOMAC will use the MAC Framework
so should "just" work with this and other policies.  Not the prettiest
code in the world, but then, neither is ls(1).

Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, Network Associates Laboratories
@
text
@a5 2
NO_WERROR=1
WFORMAT=0
@


1.23
log
@Correct inadvertent style botches in previous commit.
@
text
@d5 1
a5 1
SRCS=	cmp.c lomac.c ls.c print.c util.c
@


1.22
log
@Lock down with WFORMAT=1 except those directories with unfixed warnings.
Tested on i386 and alpha.
@
text
@d6 2
a15 2
WFORMAT=0
NO_WERROR=1
@


1.21
log
@WARNS=4 fixes, plus a healthy dose of fixes inspired by lint.
@
text
@d14 2
@


1.20
log
@Fixed style bug (unsorting of SRCS) in rev.1.15.
@
text
@a5 1
WARNS?=	0
@


1.19
log
@Fixed style bugs in revs. 1.6, 1.10 and 1.12.
@
text
@d5 1
a5 1
SRCS=	cmp.c ls.c print.c util.c lomac.c
@


1.18
log
@Fixed missing DPADD and disordered LDADD in rev.1.17

Fixed setting of WARNS in rev.1.16.  Options should normally be set using
using "?=", not using "=", so that the setting is easy to override on the
command line, and setting WARNS to 0 should not be an exception.
@
text
@a3 1

d12 2
a13 2
LDADD+= -ltermcap
DPADD+= ${LIBTERMCAP}
@


1.17
log
@Add a new flag, -h which when combined with the -l option causes
file sizes to be displayed with unit suffixes; Byte, Kilobyte,
Megabyte, Gigabyte, Terabyte and Petabyte in order to reduce the
number of digits to three or less.

Submitted by:	nik
@
text
@d7 2
a9 1
WARNS=	0
@


1.16
log
@Default to WARNS=2.  Binary builds that cannot handle this must explicitly
set WARNS=0.

Reviewed by:	mike
@
text
@d7 1
@


1.15
log
@Add LOMAC options (the "Z" flag in both cases) to display extra information
in ls(1) and ps(1).

Sponsored by:	DARPA, NAI Labs
@
text
@d7 1
@


1.14
log
@Drop support for -DRELEASE_BUILD_FIXIT and -DCRUNCHED_BINARY in
${CFLAGS}.  The only supported method thus is -DRELEASE_CRUNCH.
@
text
@d2 1
a2 1
# $FreeBSD: src/bin/ls/Makefile,v 1.13 2000/06/17 14:19:31 joe Exp $
d6 1
a6 1
SRCS=	cmp.c ls.c print.c util.c
@


1.13
log
@Switch over to using the new fflagstostr and strtofflags library calls.
@
text
@d2 1
a2 1
# $FreeBSD: src/bin/ls/Makefile,v 1.12 2000/06/05 19:34:31 ache Exp $
d8 1
a8 1
.if !defined(RELEASE_BUILD_FIXIT)
@


1.12
log
@Don't use ncurses, use termcap
Add DPADD
@
text
@d2 1
a2 1
# $FreeBSD: src/bin/ls/Makefile,v 1.11 2000/06/05 02:25:55 joe Exp $
d6 1
a6 2
SRCS=	cmp.c setflags.c ls.c print.c util.c
.PATH:	${.CURDIR}/../../lib/libc/gen
@


1.11
log
@Disable colour support in ls when building the fixit floppy, and make
a note of it in the release Makefile.
@
text
@d2 1
a2 1
# $FreeBSD: src/bin/ls/Makefile,v 1.10 2000/06/05 02:14:01 joe Exp $
d11 2
a12 1
LDADD=  -lncurses
@


1.10
log
@* Re-implement colour support using termcap's AF and AB capabilities
  to manage the ANSI colour sequences.  Colour support is disabled
  unless the TERM environment variable references a valid termcap.

* Allow optional compilation of the colour support in the Makefile,
  defaulting to yes.  This allows us to switch it off for fixit
  floppies and other mediums where space is an issue and the extra
  bloat of statically linking with ncurses isn't acceptable.

* Display a warning if colour is requested with '-G' but support
  for it isn't compiled in.
@
text
@d2 1
a2 1
# $FreeBSD: src/bin/ls/Makefile,v 1.9 2000/02/05 18:42:27 joe Exp $
d9 1
d12 1
@


1.9
log
@Revert part of the last commit, remove {g|s}etflags from the libc
interface, and statically link them to the programs using them.
These functions, upon reflection and discussion, are too generically
named for a library interface with such specific functionality.
Also the api that they use, whilst ok for private use, isn't good
enough for a libc function.

Additionally there were complications with the build/install-world
process.  It depends heavily upon xinstall, which got broken by
the change in api, and caused bootstrap problems and general mayhem.

There is work in progress to address future problems that may be
caused by changes in install-chain tools, and better names for
{g|s}etflags can be derived when some future program requires them.
For now the code has been left in src/lib/libc/gen (it started off
in src/bin/ls).

It's important to provide library functions for manipulating file
flag strings if we ever want this interface to be adopted outside
of the source tree, but now isn't necessarily the right moment
with 4.0-release just around the corner.

Approved:	jkh
@
text
@d2 1
a2 1
# $FreeBSD: src/bin/ls/Makefile,v 1.8 2000/01/27 21:16:49 joe Exp $
d8 3
@


1.9.2.1
log
@MFC: Use the new fflagstostr and strtofflags functions in libc.
@
text
@d2 1
a2 1
# $FreeBSD: src/bin/ls/Makefile,v 1.9 2000/02/05 18:42:27 joe Exp $
d6 2
a7 1
SRCS=	cmp.c ls.c print.c util.c
@


1.9.2.2
log
@MFC: colorls
@
text
@d2 1
a2 1
# $FreeBSD: src/bin/ls/Makefile,v 1.13 2000/06/17 14:19:31 joe Exp $
a6 6

.if !defined(RELEASE_BUILD_FIXIT)
CFLAGS+= -DCOLORLS
LDADD+= -ltermcap
DPADD+= ${LIBTERMCAP}
.endif
@


1.9.2.3
log
@MFC: Sync with -current, bringing all the differences into line, apart from
     those that are -current specific.

In particular:

  Revamp the colour support to allow for bold characters.  Colours
  are now defined using the characters a-h and A-H for the bold
  variants.  The old way using 0-7 for the colours still works, but
  prints a message asking the user to switch.

  Add a new flag, -h which when combined with the -l option causes
  file sizes to be displayed with unit suffixes; Byte, Kilobyte,
  Megabyte, Gigabyte, Terabyte and Petabyte in order to reduce the
  number of digits to three or less.

  K&R->C89 source code changes.
@
text
@d2 1
a2 1
# $FreeBSD$
a6 2
DPADD=	${LIBM}
LDADD=	-lm
d10 2
a11 2
DPADD+=	${LIBTERMCAP}
LDADD+=	-ltermcap
@


1.9.2.4
log
@MFC: Drop support for -DRELEASE_BUILD_FIXIT and -DCRUNCHED_BINARY
in ${CFLAGS}.  The only supported method thus is -DRELEASE_CRUNCH.

Sponsored by:	FreeBSD 4.4 CD set from FreeBSD Mall, Inc.
@
text
@d4 1
d10 1
a10 1
.if !defined(RELEASE_CRUNCH)
@


1.9.2.5
log
@Switch importer
@
text
@d2 1
a2 1
# $FreeBSD: stable/4/bin/ls/Makefile 95049 2002-04-19 13:22:46Z ru $
@


1.8
log
@Historically file flags (schg, uschg, etc) have been converted from
string to u_long and back using two functions, flags_to_string and
string_to_flags, which co-existed with 'ls'.  As time has progressed
more and more other tools have used these private functions to
manipulate the file flags.

Recently I moved these functions from /usr/src/bin/ls to libutil,
but after some discussion with bde it's been decided that they
really ought to go in libc.

There are two already existing libc functions for manipulating file
modes:  setmode and getmode.  In keeping with these flags_to_string
has been renamed getflags and string_to_flags to setflags.

The manual page could probably be improved upon ;)
@
text
@d2 1
a2 1
# $FreeBSD: src/bin/ls/Makefile,v 1.7 2000/01/01 15:44:03 joe Exp $
d6 2
a7 1
SRCS=	cmp.c ls.c print.c util.c
@


1.7
log
@Added missing DPADD's.  Removed unrequired SRCS's.

Obtained from:	bde
@
text
@d2 1
a2 1
# $FreeBSD: src/bin/ls/Makefile,v 1.6 1999/12/30 13:15:01 joe Exp $
a6 2
DPADD=	${LIBUTIL}
LDADD=	-lutil
@


1.6
log
@Moved flags_to_string and string_to_flags into libutil.  It's used in
many places nowadays.
@
text
@d2 1
a2 1
# $FreeBSD: src/bin/ls/Makefile,v 1.5 1999/08/27 23:14:30 peter Exp $
d7 1
@


1.5
log
@$Id$ -> $FreeBSD$
@
text
@d2 2
a3 1
# $FreeBSD$
d6 2
a7 1
SRCS=	cmp.c stat_flags.c ls.c print.c util.c
@


1.4
log
@Revert $FreeBSD$ to $Id$
@
text
@d2 1
a2 1
#	$Id$
@


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


1.3
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.2
log
@Added $Id$
@
text
@d2 1
a2 1
#	$Id$
@


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


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


1.1
log
@Initial revision
@
text
@d2 1
@


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