summaryrefslogtreecommitdiffstats
path: root/bin/chflags/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* WARNS?=6 is already in bin/Makefile.inc, so remove this one.delphij2005-01-271-1/+0
|
* chflags compiles with WARNS?=6.stefanf2004-10-031-0/+1
|
* We can simplify this Makefile down to a single line now.obrien2003-02-191-4/+0
|
* Reorder for style.markm2002-04-281-3/+3
|
* Remove leaf node WARNS?=2 (that mainly I added). This shouldmarkm2002-02-081-1/+0
| | | | help the GCC3 transition and CURRENT in general.
* Slight makefile style.markm2001-12-021-1/+1
| | | | Use __FBSDID().
* WARNS= -> WARNS?=dd2001-06-221-1/+1
| | | | Submitted by: Mike Barcroft <mike@q9media.com>
* Silence WARNS=2 and BDECFLAGS on alpha and i386kris2001-05-201-1/+1
| | | | MFC after: 1 week
* Install `chflags' in the root partition, NOT /usr where it is not availableobrien2000-11-101-0/+1
| | | | in single user mode.
* Switch over to using the new fflagstostr and strtofflags library calls.joe2000-06-171-2/+1
|
* Revert part of the last commit, remove {g|s}etflags from the libcjoe2000-02-051-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | 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
* Historically file flags (schg, uschg, etc) have been converted fromjoe2000-01-271-2/+0
| | | | | | | | | | | | | | | | | 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 ;)
* Added missing DPADD's. Removed unrequired SRCS's.joe2000-01-011-1/+1
| | | | Obtained from: bde
* Moved flags_to_string and string_to_flags into libutil. It's used injoe1999-12-301-2/+3
| | | | many places nowadays.
* Tweaks to allow compiling -Wall (mostly adding "const" to char rcsid[]).archie1998-12-061-0/+1
|
* NOSHARED takes a yes/YES no/NO value, not "true, false, hey mon!".pst1997-06-291-1/+1
| | | | | | NOPIC is used to not generate a shared library, not NOSHARED. Make NOSHARED advisory where appropriate. Remove bogus NOSHARED (kbdio).
* Set NOSHARED=true, having this binary static makes it much easier torgrimes1995-07-241-0/+2
| | | | | | fix /usr/lib/*.so problems. Submitted by: davidg
* BSD 4.4 Lite Usr.bin Sourcesrgrimes1994-05-271-0/+7
OpenPOWER on IntegriCloud