Why doesn't automake have dependency tracking for preprocessed Fortran?

Wouldn't the following work?  Note that there is a space before include so that 
automake doesn't process it, but rather it appears verbatim in the generated 
Makefile.in.

F77DEPMODE = makedepend
.F.o:
        $(AM_V_PPF77) \
        source='$<' object='$@' libtool=no \
        DEPDIR=$(DEPDIR) $(F77DEPMODE) $(depcomp) \
        $(PPF77COMPILE) -c $<

 include ./$(DEPDIR)/mysource.Po

_________________________________________________
Jeff Daily
Scientist
Pacific Northwest National Laboratory




Reply via email to