Red Hat Bugzilla – Bug 19818
makedepend command line parsing broken
Last modified: 2005-10-31 17:00:50 EST
The following (from one of our Makefiles) no longer works:
makedepend -fMakefile.deps -- $(CFLAGS) -- \
Instead I get:
(keller) 1032$ make depend
Makefile:76: Makefile.deps: No such file or directory
/bin/rm -f Makefile.deps
makedepend -fMakefile.deps -- -D__KERNEL__ -DMODULE -O -Wall
-I../someplace -- \
Unknown option '-Wall' ignored
rm: unrecognized option `--.bak'
Try `rm --help' for more information.
cp: missing destination file
Try `cp --help' for more information.
Appending dependencies to --
/bin/rm -f Makefile.deps.bak
make: Nothing to be done for `depend'.
I find that makedepend is now a script... Hmm educated whim, if I add a
the -f and the Makefile.dep things work.
I ran into this too. Adding a space makes things work, but doesn't match the
man page. The extra space works in the XFree86-3.3/RH6.2 version, too.
The -p option does not seem to be supported anymore. This breaks my
multi-architecture build system (maybe I should switch to autoconf :). This
worked in XFree86-3.3/RH6.2.
Fixed in 4.0.3 in rawhide (actually it was fixed just after 4.0.2b was
tagged on March 13th).
I dunno about the -p one. File a new bug report if it isn't fixed in
4.0.3 in rawhide.