unified build scheme: add a "unified" template for VMS descrip.mms
[openssl.git] / crypto / build.info
index 5259432..b3591a0 100644 (file)
@@ -1,3 +1,4 @@
+{- use File::Spec::Functions qw/catdir catfile/; -}
 LIBS=../libcrypto
 SOURCE[../libcrypto]=\
         cryptlib.c mem.c mem_dbg.c cversion.c ex_data.c cpt_err.c \
@@ -9,6 +10,11 @@ EXTRA=  ../ms/uplink-x86.pl ../ms/uplink.c ../ms/applink.c \
 
 DEPEND[cversion.o]=buildinf.h
 
+BEGINRAW[descrip.mms]
+[.crypto]buildinf.h : descrip.mms
+       $(PERL) {- catfile(catdir($sourcedir, "[-]"), "util", "mkbuildinf.pl") -} "$(CC) $(CFLAGS)" "$(PLATFORM)" > [.crypto]buildinf.h
+ENDRAW[descrip.mms]
+
 BEGINRAW[Makefile]
 crypto/buildinf.h : Makefile
        $(PERL) $(SRCDIR)/util/mkbuildinf.pl "$(CC) $(CFLAGS)" "$(PLATFORM)" > crypto/buildinf.h