first check-in of feisty meow codebase. many things broken still due to recent
[feisty_meow.git] / core / tools / dependency_tool / readme.txt
1
2 this port of makedepend is now called makedep, since it's a shorter name,
3 and therefore better...?  or at least shorter.
4 the code has been ported to visual c++ 5.x-7.x as well as remaining compatible
5 with unix and linux.  it has been made to comply with c++ prototype rules.
6 also, support for excluding directories from dependency checking has been
7 added (with a -X flag that takes the directory name).
8
9 Chris Koeritz
10 fred@gruntose.com
11 (original 3/4/1999)
12 (updated 9/7/2000)
13 (updated 3/18/2004)
14
15 ============================================================================
16
17 makedepend
18 ----------
19
20 This is a quick and rude port of the X11 R6 makedepend to OS/2 using icc.
21
22 I have taken the code from FreeBSD 2.0.5, which I happened to have handy.
23
24 I have added a feature I wanted: the switch -iENVIRONMENTVARIABLE will add
25 all semicolon delimited directories in ENVIRONMENTVARIABLE to the list of
26 include directories.
27
28 One obvious use is: makedepend -i INCLUDE a.c
29
30 If you do not want the system header files in you dependencies, you might use:
31
32 set MYINCLUDE=\mytree\include;\mytree\subproj\include
33
34 makedepend -i MYINCLUDE a.c
35
36 but
37
38 makedepend -I \mytree\include -I \mytree\subproj\include a.c
39
40 which is the 'normal' way of doing things, is also possible.
41
42 Sources
43 -------
44
45 Todd Brunhoff wrote this program. Thanks.
46
47 To build makedepend, I use icc and GNU make. nmake will barf over the makefile.
48
49 And yes, I use long filenames. If you don't like that, edit the makefile.
50
51 I have compiled these sources under NT with VC++ 4.2 without any hassles (different 
52 makefile, though).
53
54 Lars Immisch
55 lars@ibp.de