This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: RFC: Automatic dependency generation for libcpp
- From: DJ Delorie <dj at redhat dot com>
- To: zack at codesourcery dot com
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 8 Jun 2005 13:34:53 -0400
- Subject: Re: RFC: Automatic dependency generation for libcpp
- References: <87slzu56rm.fsf@codesourcery.com>
> Report bugs to <bug-automake@gnu.org>.
> EOF
> - exit 0
> + exit $?
> ;;
> -v | --v*)
> echo "depcomp $scriptversion"
> - exit 0
> + exit $?
Won't these return the exit code of cat and echo, respectively?
> +-include $(patsubst %.o, $(DEPDIR)/%.Po, $(libcpp_a_OBJS) $(makedepend_OBJS))
We're back to the usual questions:
* What happens if the .Po files don't exist?
* What happens when dependencies change and headers get removed?
IIRC the last time we asked these questions, we didn't require GNU
make, but can we double check that GNU make does the right thing?