VMS: produce dependency files just like you produce object files
[openssl.git] / Configurations / descrip.mms.tmpl
index 44cc7353d1b237e9f960095fa58cb7340bf8a751..cdfeb77ab2d0cde52e04c86b3ea9a1ecc80f2a3d 100644 (file)
@@ -445,7 +445,12 @@ configdata.pm : {- sourcefile("Configurations", "descrip.mms.tmpl") -} $(SRCDIR)
 
       return <<"EOF";
 $obj.MMS : $deps
+        ${before}
+        SET DEFAULT $forward
         \$(CC) \$(CFLAGS)${incs} /MMS=(FILE=${objd}${objn}.MMS,TARGET=$obj.OBJ) /NOOBJECT $srcs
+        SET DEFAULT $backward
+        ${after}
+        - PURGE $obj.MMS
 $obj.OBJ : $obj.MMS
         ${before}
         SET DEFAULT $forward