aboutsummaryrefslogtreecommitdiffstats
path: root/devel/makedepend/pkg-descr
blob: 09295054d53ba49ea27b758de4006620351258f9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Makedepend is a makefile dependency generator from The XFree86 Project, Inc. 
If you have X installed, you already have makedepend and do not need this port!

Makedepend reads each sourcefile in sequence and parses it like a 
C-preprocessor, processing all #include, #define, #undef, #ifdef, #ifndef, 
#endif, #if and #else directives so that it can correctly tell which #include, 
directives would be used in a compilation. Any #include, directives can 
reference files having other #include directives, and parsing will occur in 
these files as well.

Every file that a sourcefile includes, directly or indirectly, is what 
makedepend calls a "dependency". These dependencies are then written to a 
makefile in such a way that make will know which object files must be 
recompiled when a dependency has changed.