Got sick and tired of duplicating... Too error-prone (i.e. I forget
authorRichard Levitte <levitte@openssl.org>
Fri, 14 Apr 2006 19:56:28 +0000 (19:56 +0000)
committerRichard Levitte <levitte@openssl.org>
Fri, 14 Apr 2006 19:56:28 +0000 (19:56 +0000)
to update both...)!

apps/makeapps.com

index 56343c1d2758d4c4b4621556a5f6c2347877b093..1871fde579facc25eb9d7ff9b75a508095fa3632 100644 (file)
@@ -140,14 +140,16 @@ $ LIB_FILES = "VERIFY;ASN1PARS;REQ;DGST;DH;DHPARAM;ENC;PASSWD;GENDH;ERRSTR;"+-
              "S_TIME;APPS;S_CB;S_SOCKET;APP_RAND;VERSION;SESS_ID;"+-
              "CIPHERS;NSEQ;PKCS12;PKCS8;PKEY;PKEYPARAM;PKEYUTL;"+ -
              "SPKAC;SMIME;RAND;ENGINE;OCSP;PRIME;TS"
-$ APP_FILES := OPENSSL,-
-              'OBJ_DIR'VERIFY.OBJ,ASN1PARS.OBJ,REQ.OBJ,DGST.OBJ,DH.OBJ,DHPARAM.OBJ,ENC.OBJ,PASSWD.OBJ,GENDH.OBJ,ERRSTR.OBJ,-
-              CA.OBJ,PKCS7.OBJ,CRL2P7.OBJ,CRL.OBJ,-
-              RSA.OBJ,RSAUTL.OBJ,DSA.OBJ,DSAPARAM.OBJ,EC.OBJ,ECPARAM.OBJ,-
-              X509.OBJ,GENRSA.OBJ,GENDSA.OBJ,S_SERVER.OBJ,S_CLIENT.OBJ,SPEED.OBJ,-
-              S_TIME.OBJ,APPS.OBJ,S_CB.OBJ,S_SOCKET.OBJ,APP_RAND.OBJ,VERSION.OBJ,SESS_ID.OBJ,-
-              CIPHERS.OBJ,NSEQ.OBJ,PKCS12.OBJ,PKCS8.OBJ,PKEY.OBJ,PKEYPARAM.OBJ,PKEYUTL.OBJ,-
-              SPKAC.OBJ,SMIME.OBJ,RAND.OBJ,ENGINE.OBJ,OCSP.OBJ,PRIME.OBJ,TS.OBJ
+$ APP_FILES = ""
+$ LIB_FILES_I = 0
+$LOOP_APP_FILES:
+$   E = F$ELEMENT(LIB_FILES_I,";",LIB_FILES)
+$   IF E .NES. ";"
+$   THEN
+$     APP_FILES = APP_FILES + "," + E + ".OBJ"
+$     GOTO LOOP_APP_FILES
+$   ENDIF
+$ APP_FILES = "OPENSSL,"+OBJ_DIR+(APP_FILES-",")
 $ TCPIP_PROGRAMS = ",,"
 $ IF COMPILER .EQS. "VAXC" THEN -
      TCPIP_PROGRAMS = ",OPENSSL,"