XEmacs 21.2.24 "Hecate".
[chise/xemacs-chise.git.1] / nt / xemacs.mak
index 8a8254b..9090b73 100644 (file)
@@ -1229,7 +1229,9 @@ distclean:
        $(DEL) *.info*
 
 depend:
        $(DEL) *.info*
 
 depend:
-       mkdepend -f xemacs.mak -p$(OUTDIR)\ -o.obj -w9999 -- $(TEMACS_CPP_FLAGS) --  $(DOC_SRC1) $(DOC_SRC2) $(DOC_SRC3) $(DOC_SRC4) $(DOC_SRC5) $(DOC_SRC6) $(DOC_SRC7) $(DOC_SRC8) $(DOC_SRC9) $(LASTFILE_SRC)\lastfile.c $(LIB_SRC)\make-docfile.c $(LIB_SRC)\run.c
+       cd $(SRCDIR)
+       perl ./make-src-depend > depend.tmp
+       perl -MFile::Compare -e "compare('depend.tmp', 'depend') && rename('depend.tmp', 'depend') or unlink('depend.tmp')"
 
 $(XEMACS)\Installation:
        @type > $(XEMACS)\Installation <<
 
 $(XEMACS)\Installation:
        @type > $(XEMACS)\Installation <<