Hi!
While porting various packages (including Kaffe) using our cross-compiler
tool-chain I discover the "depcomp" automake utility; our compiler being
able to generate dependencies I would like to submit the following patch to
depcomp to add a new "sxc" method (sxc is the name of our C/C++ compiler).
This patch is quite simple as the preprocessor is able to generate directly
the correct dependency file with dummy dependencies for all included files
to avoid the "deleted header file" syndrom.
The Changelog:
2000-09-05 Bernard Dautrevaux <[EMAIL PROTECTED]>
* depcomp: Add an "sxc" method for dependencies generation
The path:
*** depcomp.old 2000/09/04 17:48:20
--- depcomp 2000/09/06 15:20:57
***************
*** 65,68 ****
--- 65,72 ----
;;
+ sxc)
+ exec "$@" -:pied="$depfile"
+ ;;
+
sgi)
if "$@" -MDupdate "$tmpdepfile"; then :
--------------------------------------------
Bernard Dautrevaux
Microprocess Ingenierie
97 bis, rue de Colombes
92400 COURBEVOIE
FRANCE
Tel: +33 (0) 1 47 68 80 80
Fax: +33 (0) 1 47 88 97 85
e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED]
--------------------------------------------