xref: /freebsd/contrib/unifdef/README (revision fb3ef04d2028110f06d68b09009f1f2ca0f4128e)
1*fb3ef04dSDag-Erling Smørgravunifdef - selectively remove C preprocessor conditionals
2*fb3ef04dSDag-Erling Smørgrav
3*fb3ef04dSDag-Erling SmørgravWritten by Tony Finch <dot@dotat.at> - http://dotat.at/prog/unifdef/
4*fb3ef04dSDag-Erling Smørgrav
5*fb3ef04dSDag-Erling SmørgravThe unifdef utility selectively processes conditional C preprocessor
6*fb3ef04dSDag-Erling Smørgrav#if and #ifdef directives. It removes from a file both the directives
7*fb3ef04dSDag-Erling Smørgravand the additional text that they delimit, while otherwise leaving the
8*fb3ef04dSDag-Erling Smørgravfile alone.
9*fb3ef04dSDag-Erling Smørgrav
10*fb3ef04dSDag-Erling SmørgravPlease see the INSTALL file for installation instructions.
11*fb3ef04dSDag-Erling Smørgrav
12*fb3ef04dSDag-Erling SmørgravPre-formatted documentation can be found in unifdef.txt
13*fb3ef04dSDag-Erling Smørgrav
14*fb3ef04dSDag-Erling SmørgravYou can download the latest release tar and zip files from:
15*fb3ef04dSDag-Erling Smørgrav	http://dotat.at/prog/unifdef
16*fb3ef04dSDag-Erling Smørgrav
17*fb3ef04dSDag-Erling SmørgravYou can clone the development repository using:
18*fb3ef04dSDag-Erling Smørgrav	git clone http://dotat.at/git/unifdef.git
19*fb3ef04dSDag-Erling Smørgrav
20*fb3ef04dSDag-Erling SmørgravI also maintain a copy at http://github.com/fanf2/unifdef
21*fb3ef04dSDag-Erling Smørgrav(Warning: GitHub's zip download is incomplete and unusable.)
22*fb3ef04dSDag-Erling Smørgrav
23*fb3ef04dSDag-Erling SmørgravPlease send bug reports and patches to me via email to the
24*fb3ef04dSDag-Erling Smørgravaddress above. Unless you state otherwise, I will assume that
25*fb3ef04dSDag-Erling Smørgravany contributions are under the two-clause BSD licence. See
26*fb3ef04dSDag-Erling Smørgravthe COPYING file for details.
27*fb3ef04dSDag-Erling Smørgrav
28*fb3ef04dSDag-Erling SmørgravThanks to the following people for their contributions:
29*fb3ef04dSDag-Erling Smørgrav
30*fb3ef04dSDag-Erling SmørgravBob Proulx <bob@proulx.com>
31*fb3ef04dSDag-Erling Smørgrav - test suite
32*fb3ef04dSDag-Erling Smørgrav
33*fb3ef04dSDag-Erling SmørgravJonathan Nieder <jrnieder@gmail.com>
34*fb3ef04dSDag-Erling Smørgrav - bug fixes, improved unifdefall
35*fb3ef04dSDag-Erling Smørgrav
36*fb3ef04dSDag-Erling SmørgravAnders H Kaseorg <andersk@mit.edu>
37*fb3ef04dSDag-Erling Smørgrav - bug fixes and other improvements
38*fb3ef04dSDag-Erling Smørgrav
39*fb3ef04dSDag-Erling SmørgravRuediger Meier <ruediger.meier@ga-group.nl>
40*fb3ef04dSDag-Erling Smørgrav - build and portability cleanups
41*fb3ef04dSDag-Erling Smørgrav
42*fb3ef04dSDag-Erling SmørgravBen Hutchings at Solarflare Communications
43*fb3ef04dSDag-Erling Smørgrav - lenient evaluation of && and ||
44*fb3ef04dSDag-Erling Smørgrav
45*fb3ef04dSDag-Erling SmørgravSteve Underwood <steveu@coppice.org>
46*fb3ef04dSDag-Erling Smørgrav - read #define and #undef directives from a file
47*fb3ef04dSDag-Erling Smørgrav
48*fb3ef04dSDag-Erling SmørgravBrian Ginsbach <ginsbach@netbsd.org>
49*fb3ef04dSDag-Erling Smørgrav - improved expression evaluator
50*fb3ef04dSDag-Erling Smørgrav
51*fb3ef04dSDag-Erling SmørgravOther contributions are listed in the Changelog.
52*fb3ef04dSDag-Erling Smørgrav
53*fb3ef04dSDag-Erling Smørgrav- end -
54