Annotation of pgp/src/descrip.mms, revision 1.1.1.4

1.1.1.2   root        1: ! DESCRIP.MMS - MMS file for PGP/VMS
1.1.1.3   root        2: ! (c) Copyright 1991-93 by Hugh Kennedy. All rights reserved.
1.1.1.2   root        3: !
                      4: ! The author assumes no liability for damages resulting from the use
                      5: ! of this software, even if the damage results from defects in this
                      6: ! software.  No warranty is expressed or implied.
                      7: !
                      8: ! The above notwithstanding, a license to use this software is granted
                      9: ! to anyone either in the original form or modified on condition that 
                     10: ! this notice is not removed.
                     11: !
                     12: ! Options Flags:
                     13: !
1.1.1.4 ! root       14: ! PGP_DEBUG -  Define if you want the debug version
        !            15: ! PGP_GCC -    Define to use GNU C instead of VAX C
        !            16: ! PGP_RSADIR - Use RSAREF Routines from specified directory.
1.1.1.2   root       17: !
                     18: ! Modified:    03      Date:   21-Nov-1991     Author: Hugh A.J. Kennedy.
                     19: !
                     20: ! Adapted to use new modules from release 1.3
                     21: !
                     22: ! Modified:    04      Date:   11-Mar-1991     Author: Hugh A.J. Kennedy
                     23: !
                     24: ! Add test harness program, RSATST as a target.
                     25: !
                     26: ! Modified:    07      Date:   8-Apr-1992      Author: Hugh A.J. Kennedy
                     27: !
                     28: ! Adapted for new modules from release 1.7.
                     29: ! Change method of support for GCC (use one options file)
                     30: !
                     31: ! Modified:    08      Date:   25-Jun-1992     Author: Hugh A.J. Kennedy.
                     32: !
                     33: ! All change (again) for 1.8. Alphabetise module list for ease of comparison.
                     34: !
                     35: ! Modified:    09      Date:   18-Sep-1992     Author: Hugh A.J. Kennedy
                     36: !
                     37: ! Remove references to private string routine versions - no longer reqd.
                     38: !
                     39: ! Modified:    10      Date:   7-Nov-1992      Author: Hugh A.J. Kennedy
                     40: !
                     41: ! Misc fixes for V2.01
                     42: !
1.1.1.3   root       43: ! Modified:    11      Date:   28-Jan-1993     Author: Hugh A.J. Kennedy
                     44: !
                     45: ! Allow use of logicals for source and object directories (keeps things
                     46: ! cleaner).
                     47: !
                     48: ! Modified:    12      Date:   24-Feb-1993     Author: Hugh A.J. Kennedy
                     49: !
                     50: ! Ammend dependencies to include new header files.
1.1.1.4 ! root       51: !
        !            52: ! Modified:    13      Date:   10-May-1993     Author: Hugh A.J. Kennedy
        !            53: !
        !            54: ! Update support for GNU C. Fix dependencies.
        !            55: ! Add support for RSAREF (untested, as I live outside the US).
        !            56: !
1.1.1.2   root       57: .ifdef PGP_COMPAT
                     58: 
                     59: VFLAGS = ,COMPATIBLE
                     60: MD = MD4
                     61: 
                     62: .else
                     63: 
                     64: MD = MD5
                     65: 
                     66: .endif
                     67: 
                     68: .ifdef WFLAGS
                     69: XFLAGS = /define=($(WFLAGS))
                     70: ZFLAGS = /define=($(WFLAGS),EXPORT,NO_ASM,NOSTORE)
                     71: .else
1.1.1.3   root       72: ZFLAGS = $(CFLAGS) /define=(EXPORT,NO_ASM,NOSTORE)
1.1.1.2   root       73: .endif
                     74: 
                     75: .ifdef PGP_GCC         ! Use GNU CC Compiler
                     76: 
                     77: CC = GCC
1.1.1.4 ! root       78: C_PATH_NAME = C_INCLUDE_PATH
        !            79: 
        !            80: .ifdef PGP_RSADIR
        !            81: 
        !            82: CCLIB = ,GNU_CC:[000000]GCCLIB/lib,
        !            83: 
        !            84: .else
        !            85: 
1.1.1.2   root       86: CCLIB = GNU_CC:[000000]GCCLIB/lib,
                     87: 
                     88: .endif
1.1.1.4 ! root       89: 
        !            90: .else
        !            91: 
        !            92: C_PATH_NAME = C$INCLUDE
        !            93: 
        !            94: .endif
1.1.1.2   root       95: !
                     96: ! Debugging Support
                     97: !
                     98: .ifdef PGP_DEBUG
                     99: 
                    100: MFLAGS = $(MFLAGS) /debug
1.1.1.3   root      101: LINKFLAGS = $(LINKFLAGS) /debug/exe=$(mms$target)
1.1.1.2   root      102: 
                    103: .ifdef PGP_GCC         ! Are we debugging AND using GCC?
                    104: 
                    105: DFLAGS = /DEBUG
                    106: 
                    107: .else                  ! No, Debugging with VAX C
                    108:                       
                    109: DFLAGS = /debug/noopt
                    110:      
                    111: .endif
                    112: 
                    113: YFLAGS = $(XFLAGS)
                    114: 
                    115: .else                  ! Not debugging
                    116: 
                    117: .ifdef PGP_GCC         ! Use GCC w/o debug
                    118: 
                    119: YFLAGS = $(XFLAGS)
                    120: 
                    121: .else                  ! Use VAX C w/o debug
                    122: 
                    123: DFLAGS = /opt=noinline
                    124: YFLAGS = $(XFLAGS)
                    125: 
                    126: .endif
1.1.1.3   root      127: 
                    128: LINKFLAGS = /exe=$(mms$target)
1.1.1.2   root      129: .endif
                    130: 
1.1.1.3   root      131: CFLAGS = $(CFLAGS)$(DFLAGS)$(YFLAGS)
1.1.1.2   root      132: 
1.1.1.3   root      133: default : obj:pgp.exe
1.1.1.2   root      134:        @       ! do nothing...
1.1.1.3   root      135: .first :
                    136:        if f$trnlnm("src") .eqs. "" then define src 'f$environment("default")'
                    137:        if f$trnlnm("obj") .eqs. "" then define obj 'f$environment("default")'
1.1.1.4 ! root      138:        if f$trnlnm("$(C_PATH_NAME)") .eqs. "" then define $(C_PATH_NAME) SRC
1.1.1.3   root      139: .last :
1.1.1.4 ! root      140:        deassign $(C_PATH_NAME)
        !           141: !
        !           142: ! RSAREF Stuff
        !           143: !
        !           144: .ifdef PGP_RSADIR
        !           145:                                      
        !           146: RSAOBJS = obj:rsa.obj obj:nn.obj obj:r_random.obj obj:r_stdlib.obj
        !           147: obj:rsa.obj    : $(PGP_RSADIR)rsa.c src:global.h $(PGP_RSADIR)rsaref.h -
        !           148:                $(PGP_RSADIR)r_random.h $(PGP_RSADIR)md5.h
        !           149:        $(CC) $(CFLAGS) /INCLUDE=(src,$(PGP_RSADIR))/define=("static=") $(MMS$SOURCE)
        !           150: obj:nn.obj     : $(PGP_RSADIR)nn.c src:global.h $(PGP_RSADIR)rsaref.h -
        !           151:                $(PGP_RSADIR)digit.h
        !           152:        $(CC) $(CFLAGS) /INCLUDE=(src,$(PGP_RSADIR)) $(MMS$SOURCE)
        !           153: obj:digit.obj  : $(PGP_RSADIR)digit.c src:global.h $(PGP_RSADIR)rsaref.h -
        !           154:                $(PGP_RSADIR)nn.h $(PGP_RSADIR)digit.h
        !           155:        $(CC) $(CFLAGS) /INCLUDE=(src,$(PGP_RSADIR)) $(MMS$SOURCE)
        !           156: obj:r_random.obj : $(PGP_RSADIR)r_random.c src:global.h -
        !           157:                $(PGP_RSADIR)rsaref.h $(PGP_RSADIR)r_random.h $(PGP_RSADIR)md5.h
        !           158:        $(CC) $(CFLAGS) /INCLUDE=(src,$(PGP_RSADIR))/define=("static=") $(MMS$SOURCE)
        !           159: obj:r_stdlib.obj : $(PGP_RSADIR)r_stdlib.c src:global.h -
        !           160:                $(PGP_RSADIR)rsaref.h 
        !           161:        $(CC) $(CFLAGS) /INCLUDE=(src,$(PGP_RSADIR))/define=("static=") $(MMS$SOURCE)
        !           162: 
        !           163: .endif
        !           164: 
1.1.1.2   root      165: !
                    166: ! ZIP Stuff
                    167: !
1.1.1.3   root      168: ZIPOBJS = obj:zbits.obj obj:zdeflate.obj obj:zglobals.obj obj:zinflate.obj -
                    169:        obj:zip.obj obj:zipup.obj obj:zfile_io.obj obj:ztrees.obj obj:zunzip.obj
                    170: ZIPH=  src:zrevisio.h src:ztailor.h src:zunzip.h src:zip.h src:ziperr.h      
                    171: obj:zbits.obj : src:zbits.c $(ZIPH)
                    172:        $(CC) $(DFLAGS) $(ZFLAGS) $(mms$source)
                    173: obj:zdeflate.obj : src:zdeflate.c $(ZIPH)
                    174:        $(CC)  $(DFLAGS) $(ZFLAGS) $(mms$source)
                    175: obj:zfile_io.obj : src:zfile_io.c $(ZIPH)
                    176:        $(CC)  $(DFLAGS) $(ZFLAGS) $(mms$source)
                    177: obj:zglobals.obj : src:zglobals.c $(ZIPH)
                    178:        $(CC)  $(DFLAGS) $(ZFLAGS) $(mms$source)
                    179: obj:zinflate.obj : src:zinflate.c $(ZIPH)
                    180:        $(CC)  $(DFLAGS) $(ZFLAGS) $(mms$source)
                    181: obj:zip.obj : src:zip.c $(ZIPH)
                    182:        $(CC)  $(DFLAGS) $(ZFLAGS) $(mms$source)
                    183: obj:zipup.obj : src:zipup.c $(ZIPH)
                    184:        $(CC)  $(DFLAGS) $(ZFLAGS) $(mms$source)
                    185: obj:ztrees.obj : src:ztrees.c $(ZIPH)
                    186:        $(CC)  $(DFLAGS) $(ZFLAGS) $(mms$source)
                    187: obj:zunzip.obj : src:zunzip.c $(ZIPH)
                    188:        $(CC)  $(DFLAGS) $(ZFLAGS) $(mms$source)
1.1.1.2   root      189: !
                    190: ! PGP Stuff
                    191: !
1.1.1.3   root      192: obj:armor.obj : src:armor.c src:armor.h
                    193: obj:charset.obj : src:charset.c src:usuals.h src:language.h src:charset.h -
                    194:        src:system.h
                    195: obj:config.obj : src:config.c src:usuals.h src:pgp.h
                    196: obj:CRYPTO.obj : src:mpilib.h src:mpiio.h src:random.h src:crypto.h -
                    197:        src:keymgmt.h src:mdfile.h src:md5.h src:fileio.h src:pgp.h -
1.1.1.4 ! root      198:        src:rsaglue.h src:platform.h src:usuals.h -
1.1.1.3   root      199:        src:CRYPTO.C
                    200: obj:idea.obj : src:idea.h src:pgp.h src:idea.c
                    201: obj:FILEIO.obj : src:FILEIO.C src:random.h src:mpilib.h src:mpiio.h -
1.1.1.4 ! root      202:        src:platform.h src:usuals.h -
        !           203:        src:fileio.h src:pgp.h 
1.1.1.3   root      204: obj:getopt.obj : src:getopt.c
1.1.1.4 ! root      205: obj:genprime.obj : src:genprime.c src:genprime.h src:mpilib.h src:random.h -
        !           206:        src:platform.h src:usuals.h
1.1.1.3   root      207: obj:keyadd.obj : src:mpilib.h src:random.h src:crypto.h src:fileio.h -
                    208:        src:keymgmt.h src:keyadd.h src:genprime.h src:rsagen.h src:mpiio.h -
1.1.1.4 ! root      209:        src:platform.h src:usuals.h -
1.1.1.3   root      210:        src:pgp.h src:language.h src:charset.h src:keyadd.c
                    211: obj:keymaint.obj : src:mpilib.h src:random.h src:crypto.h src:fileio.h -
                    212:        src:keymgmt.h src:keyadd.h src:genprime.h src:mpiio.h src:pgp.h -
1.1.1.4 ! root      213:        src:platform.h src:usuals.h -
1.1.1.3   root      214:        src:language.h -
                    215:        src:charset.h src:keymaint.c
                    216: obj:KEYMGMT.obj : src:mpilib.h src:usuals.h src:random.h src:crypto.h -
1.1.1.4 ! root      217:        src:fileio.h src:mpiio.h src:pgp.h src:charset.h -
        !           218:        src:platform.h src:usuals.h -
        !           219:        src:KEYMGMT.C
1.1.1.3   root      220: obj:MD5.obj : src:md5.h src:md5.C                          
1.1.1.4 ! root      221: obj:MDFILE.obj : src:mpilib.h src:mdfile.h src:md5.h src:pgp.h -
        !           222:        src:platform.h src:usuals.h -
        !           223:        src:MDFILE.C
1.1.1.3   root      224: obj:MORE.obj : src:MORE.C src:mpilib.h src:pgp.h 
1.1.1.4 ! root      225: obj:MPIIO.obj : src:MPIIO.C src:mpiio.h src:mpilib.h -
        !           226:        src:platform.h src:usuals.h
        !           227: obj:MPILIB.obj : src:MPILIB.C src:mpilib.h src:platform.h src:usuals.h
1.1.1.3   root      228: obj:passwd.obj : src:passwd.c src:random.h src:md5.h src:pgp.h 
                    229: obj:PGP.obj : src:mpilib.h src:random.h src:crypto.h src:fileio.h -
1.1.1.4 ! root      230:        src:keymgmt.h src:keymaint.h src:charset.h src:pgp.h src:config.h -
        !           231:        src:platform.h src:usuals.h -
        !           232:        src:PGP.C
1.1.1.3   root      233: obj:RANDOM.obj : src:random.h src:pgp.h src:RANDOM.C
                    234: obj:rsagen.obj : src:rsagen.c src:mpilib.h src:genprime.h src:rsagen.h -
1.1.1.4 ! root      235:        src:platform.h src:usuals.h -
        !           236:        src:random.h src:rsaglue.h
        !           237: obj:rsaglue.obj : src:rsaglue.c src:mpilib.h src:mpiio.h src:pgp.h src:rsaglue.h
1.1.1.3   root      238: obj:rsatst.obj : src:rsatst.c src:mpilib.h src:mpiio.h src:genprime.h -
1.1.1.4 ! root      239:        src:platform.h src:usuals.h -
1.1.1.3   root      240:        src:rsagen.h src:random.h
                    241: obj:language.obj : src:language.c src:charset.h src:usuals.h src:fileio.h -
                    242:        src:pgp.h
                    243: obj:SYSTEM.obj : src:exitpgp.h src:system.h src:pgp.h src:mpilib.h -
1.1.1.4 ! root      244:        src:mpiio.h src:fileio.h src:charset.h -
        !           245:        src:platform.h src:usuals.h -
        !           246:        src:SYSTEM.C
1.1.1.3   root      247: obj:vax.obj : src:vax.mar
                    248: !
                    249: ! RSATST Is the RSA/Multiple Precision Library Test Harness
                    250: !
                    251: obj:rsatst.exe : src:rsatst.opt obj:rsatst.obj obj:mpilib.obj -
                    252:        obj:genprime.obj obj:rsagen.obj obj:mpiio.obj obj:random.obj -
                    253:        obj:vax.obj obj:system.obj obj:language.obj obj:fileio.obj
1.1.1.2   root      254:        $(LINK) $(LINKFLAGS) rsatst/opt
1.1.1.3   root      255: !
                    256: ! Link PGP
                    257: !
                    258: OBJ1 = obj:pgp.obj obj:config.obj obj:crypto.obj obj:keymgmt.obj -
                    259:        obj:keyadd.obj obj:keymaint.obj obj:fileio.obj obj:mdfile.obj -
                    260:        obj:more.obj obj:armor.obj obj:mpilib.obj obj:mpiio.obj -
                    261:        obj:getopt.obj obj:genprime.obj obj:rsagen.obj obj:random.obj -
                    262:        obj:idea.obj obj:passwd.obj obj:md5.obj obj:system.obj -
1.1.1.4 ! root      263:        obj:language.obj obj:vax.obj obj:charset.obj obj:rsaglue.obj
1.1.1.3   root      264: 
1.1.1.4 ! root      265: obj:pgp.exe : src:pgp.opt $(RSAOBJS) $(OBJ1) $(ZIPOBJS)
        !           266:        $(LINK) $(LINKFLAGS) src:pgp/opt, $(RSAOBJS) $(CCLIB) src:VAXCRTL/opt

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.