linux depend: stop using makedepend, use gcc instead

gcc can generate dependencies, so use that instead of building and
depending on the rather delicate and archaic 'makedepend'.

This fix removes makedepend from being built or used on linux, and
instead uses gcc to generate dependency data in .depend files.

I think pretty much every platform that uses gcc should do this.  I am
not sure if other compilers (intel, clang) can do this though.
This commit is contained in:
Jon Trulson
2014-03-08 23:43:17 -07:00
parent ded1213316
commit 4d48253234
2 changed files with 49 additions and 11 deletions

View File

@@ -5,7 +5,12 @@ XCOMM $XConsortium: Imakefile /main/6 1996/09/28 16:04:42 rws $
#undef BootstrapCleanSubdirs
#define BootstrapCleanSubdirs BOOTSTRAPSUBDIRS="$(BOOTSTRAPSUBDIRS)"
#if defined(LinuxArchitecture)
BOOTSTRAPSUBDIRS = imake
#else
BOOTSTRAPSUBDIRS = imake makedepend
#endif
SUBDIRS = cf $(BOOTSTRAPSUBDIRS) util
MakeSubdirs($(SUBDIRS))