-#ifdef VMS
- attrsfile = stringappend (name_base, short_base_length, "_stype.h");
- guardfile = stringappend (name_base, short_base_length, "_guard.c");
-#else
-#ifdef MSDOS
- attrsfile = stringappend (name_base, short_base_length, ".sth");
- guardfile = stringappend (name_base, short_base_length, ".guc");
-#else
- attrsfile = stringappend (name_base, short_base_length, ".stype.h");
- guardfile = stringappend (name_base, short_base_length, ".guard.c");
-#endif /* not MSDOS */
-#endif /* not VMS */
+ if (verbose_flag)
+ /* We used to use just .out if spec_name_prefix (-p) was used, but
+ that conflicts with Posix. */
+ foutput = xfopen (stringappend (base_name, EXT_OUTPUT), "w");
+
+ attrsfile = stringappend (short_base_name, EXT_STYPE_H);
+ guardfile = stringappend (short_base_name, EXT_GUARD_C);