unified build scheme: add a "unified" template for VMS descrip.mms
[openssl.git] / crypto / build.info
index 5259432bafd0fac445c2d9c598eeff9cd7ae90c8..b3591a0fb8e5c51e11e823c91b6826d984a43d28 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 \
 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
 
 
 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
 BEGINRAW[Makefile]
 crypto/buildinf.h : Makefile
        $(PERL) $(SRCDIR)/util/mkbuildinf.pl "$(CC) $(CFLAGS)" "$(PLATFORM)" > crypto/buildinf.h