head	1.16;
access;
symbols
	RELENG_4_11_0_RELEASE:1.8.2.2
	RELENG_4_11:1.8.2.2.0.16
	RELENG_4_11_BP:1.8.2.2
	RELENG_4_10_0_RELEASE:1.8.2.2
	RELENG_4_10:1.8.2.2.0.14
	RELENG_4_10_BP:1.8.2.2
	RELENG_4_9_0_RELEASE:1.8.2.2
	RELENG_4_9:1.8.2.2.0.12
	RELENG_4_9_BP:1.8.2.2
	RELENG_4_8_0_RELEASE:1.8.2.2
	RELENG_4_8:1.8.2.2.0.10
	RELENG_4_8_BP:1.8.2.2
	RELENG_5_0_0_RELEASE:1.15
	RELENG_5_0:1.15.0.2
	RELENG_5_0_BP:1.15
	RELENG_4_7_0_RELEASE:1.8.2.2
	RELENG_4_7:1.8.2.2.0.8
	RELENG_4_7_BP:1.8.2.2
	RELENG_4_6_2_RELEASE:1.8.2.2
	RELENG_4_6_1_RELEASE:1.8.2.2
	RELENG_4_6_0_RELEASE:1.8.2.2
	RELENG_4_6:1.8.2.2.0.6
	RELENG_4_6_BP:1.8.2.2
	RELENG_4_5_0_RELEASE:1.8.2.2
	RELENG_4_5:1.8.2.2.0.4
	RELENG_4_5_BP:1.8.2.2
	RELENG_4_4_0_RELEASE:1.8.2.2
	RELENG_4_4:1.8.2.2.0.2
	RELENG_4_4_BP:1.8.2.2
	RELENG_4_3_0_RELEASE:1.8.2.1
	RELENG_4_3:1.8.2.1.0.2
	RELENG_4_3_BP:1.8.2.1
	RELENG_4_2_0_RELEASE:1.8.2.1
	RELENG_4_1_1_RELEASE:1.8.2.1
	PRE_SMPNG:1.9
	RELENG_4_1_0_RELEASE:1.8.2.1
	RELENG_3_5_0_RELEASE:1.4
	RELENG_4_0_0_RELEASE:1.8
	RELENG_4:1.8.0.2
	RELENG_4_BP:1.8
	RELENG_3_4_0_RELEASE:1.4
	RELENG_3_3_0_RELEASE:1.4
	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.2.1
	RELENG_3_0_0_RELEASE:1.3
	RELENG_2_2_7_RELEASE:1.2.2.1
	RELENG_2_2_6_RELEASE:1.2.2.1
	RELENG_2_2_5_RELEASE:1.2.2.1
	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.1.1.1.6.1
	RELENG_2_1_6_1_RELEASE:1.1.1.1.6.1
	RELENG_2_1_6_RELEASE:1.1.1.1.6.1
	RELENG_2_2:1.2.0.2
	RELENG_2_2_BP:1.2
	RELENG_2_1_5_RELEASE:1.1.1.1.6.1
	RELENG_2_1_0_RELEASE:1.1.1.1.6.1
	RELENG_2_1_0:1.1.1.1.0.6
	RELENG_2_1_0_BP:1.1.1.1
	RELENG_2_0_5_RELEASE:1.1.1.1
	RELENG_2_0_5:1.1.1.1.0.4
	RELENG_2_0_5_BP:1.1.1.1
	RELENG_2_0_5_ALPHA:1.1.1.1
	RELEASE_2_0:1.1.1.1
	BETA_2_0:1.1.1.1
	ALPHA_2_0:1.1.1.1.0.2
	bsd_44_lite:1.1.1.1
	CSRG:1.1.1;
locks; strict;
comment	@# @;


1.16
date	2003.02.18.19.51.59;	author obrien;	state dead;
branches;
next	1.15;

1.15
date	2002.04.28.13.54.45;	author markm;	state Exp;
branches;
next	1.14;

1.14
date	2002.02.08.22.31.36;	author markm;	state Exp;
branches;
next	1.13;

1.13
date	2001.12.02.23.04.14;	author markm;	state Exp;
branches;
next	1.12;

1.12
date	2001.06.22.21.38.29;	author dd;	state Exp;
branches;
next	1.11;

1.11
date	2001.05.20.06.21.12;	author kris;	state Exp;
branches;
next	1.10;

1.10
date	2000.11.10.05.31.52;	author obrien;	state Exp;
branches;
next	1.9;

1.9
date	2000.06.17.14.19.32;	author joe;	state Exp;
branches;
next	1.8;

1.8
date	2000.02.05.18.42.33;	author joe;	state Exp;
branches
	1.8.2.1;
next	1.7;

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

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

1.5
date	99.12.30.13.15.13;	author joe;	state Exp;
branches;
next	1.4;

1.4
date	98.12.06.22.58.14;	author archie;	state Exp;
branches;
next	1.3;

1.3
date	97.06.29.06.03.32;	author pst;	state Exp;
branches;
next	1.2;

1.2
date	95.07.24.01.44.17;	author rgrimes;	state Exp;
branches
	1.2.2.1;
next	1.1;

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

1.8.2.1
date	2000.06.28.02.33.15;	author joe;	state Exp;
branches;
next	1.8.2.2;

1.8.2.2
date	2001.08.01.23.09.18;	author obrien;	state Exp;
branches;
next	1.8.2.3;

1.8.2.3
date	2012.11.17.07.27.22;	author svnexp;	state Exp;
branches;
next	;

1.2.2.1
date	97.06.29.06.05.16;	author pst;	state Exp;
branches;
next	;

1.1.1.1
date	94.05.27.12.30.54;	author rgrimes;	state Exp;
branches
	1.1.1.1.6.1;
next	;

1.1.1.1.6.1
date	95.07.25.02.38.54;	author jkh;	state Exp;
branches;
next	;


desc
@@


1.16
log
@chflags(1) repo copied, usr.bin->bin.
We've been installing chflags(1) into /bin since 2000-11-10, so this
shouldn't cause any problems.
@
text
@#	@@(#)Makefile	8.1 (Berkeley) 6/6/93
# $FreeBSD: src/usr.bin/chflags/Makefile,v 1.15 2002/04/28 13:54:45 markm Exp $

PROG=	chflags
SRCS=	chflags.c

BINDIR=	/bin
NOSHARED?=yes

.include <bsd.prog.mk>
@


1.15
log
@Reorder for style.
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.14
log
@Remove leaf node WARNS?=2 (that mainly I added). This should
help the GCC3 transition and CURRENT in general.
@
text
@d4 3
a8 3

PROG=	chflags
SRCS=	chflags.c
@


1.13
log
@Slight makefile style.

Use __FBSDID().
@
text
@a8 1
WARNS?=	2
@


1.12
log
@WARNS= -> WARNS?=

Submitted by:	Mike Barcroft <mike@@q9media.com>
@
text
@d2 1
a2 1
# $FreeBSD: src/usr.bin/chflags/Makefile,v 1.11 2001/05/20 06:21:12 kris Exp $
d9 1
a10 1
WARNS?=	2
@


1.11
log
@Silence WARNS=2 and BDECFLAGS on alpha and i386

MFC after:      1 week
@
text
@d2 1
a2 1
# $FreeBSD: src/usr.bin/chflags/Makefile,v 1.10 2000/11/10 05:31:52 obrien Exp $
d10 1
a10 1
WARNS=	2
@


1.10
log
@Install `chflags' in the root partition, NOT /usr where it is not available
in single user mode.
@
text
@d2 1
a2 1
# $FreeBSD: src/usr.bin/chflags/Makefile,v 1.9 2000/06/17 14:19:32 joe Exp $
a7 1
CFLAGS+=-Wall
d10 1
@


1.9
log
@Switch over to using the new fflagstostr and strtofflags library calls.
@
text
@d2 1
a2 1
# $FreeBSD: src/usr.bin/chflags/Makefile,v 1.8 2000/02/05 18:42:33 joe Exp $
d4 1
@


1.8
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/usr.bin/chflags/Makefile,v 1.7 2000/01/27 21:16:55 joe Exp $
d8 1
a8 2
.PATH:	${.CURDIR}/../../lib/libc/gen
SRCS=	chflags.c setflags.c
@


1.8.2.1
log
@MFC: Use the new fflagstostr and strtofflags functions in libc.
@
text
@d2 1
a2 1
# $FreeBSD: src/usr.bin/chflags/Makefile,v 1.8 2000/02/05 18:42:33 joe Exp $
d8 2
a9 1
SRCS=	chflags.c
@


1.8.2.2
log
@MFC: WARNS=2
@
text
@d2 1
a2 1
# $FreeBSD: src/usr.bin/chflags/Makefile,v 1.8.2.1 2000/06/28 02:33:15 joe Exp $
d7 1
a9 1
WARNS?=	2
@


1.8.2.3
log
@Switch importer
@
text
@d2 1
a2 1
# $FreeBSD: stable/4/usr.bin/chflags/Makefile 80987 2001-08-01 23:09:18Z obrien $
@


1.7
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/usr.bin/chflags/Makefile,v 1.6 2000/01/01 15:44:09 joe Exp $
d8 2
@


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

Obtained from:	bde
@
text
@d2 1
a2 1
# $FreeBSD: src/usr.bin/chflags/Makefile,v 1.5 1999/12/30 13:15:13 joe Exp $
a7 2
DPADD=	${LIBUTIL}
LDADD=	-lutil
@


1.5
log
@Moved flags_to_string and string_to_flags into libutil.  It's used in
many places nowadays.
@
text
@d2 1
a2 1
# $FreeBSD$
d8 1
a8 1
SRCS=	chflags.c
@


1.4
log
@Tweaks to allow compiling -Wall (mostly adding "const" to char rcsid[]).
@
text
@d2 1
d8 2
a9 2
SRCS=	chflags.c stat_flags.c
.PATH:	${.CURDIR}/../../bin/ls
@


1.3
log
@NOSHARED takes a yes/YES no/NO value, not "true, false, hey mon!".
NOPIC is used to not generate a shared library, not NOSHARED.
Make NOSHARED advisory where appropriate.
Remove bogus NOSHARED (kbdio).
@
text
@d6 1
@


1.2
log
@Set NOSHARED=true, having this binary static makes it much easier to
fix /usr/lib/*.so problems.

Submitted by:	davidg
@
text
@d3 1
a3 1
NOSHARED=	true
@


1.2.2.1
log
@YAMFC -- noshared fixes.
@
text
@d3 1
a3 1
NOSHARED?=yes
@


1.1
log
@Initial revision
@
text
@d3 2
@


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


1.1.1.1.6.1
log
@Bring in changes for -static compilation from the HEAD
Branch: RELENG_2_1_0
Submitted by:	bde
@
text
@a2 2
NOSHARED=	true

@
