|
|
1.1 root 1: ! DESCRIP.MMS - MMS file for PGP/VMS
2: ! (c) Copyright 1991-92 by Hugh Kennedy. All rights reserved.
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: !
14: ! PGP_DEBUG - Define if you want the debug version
15: ! PGP_GCC - Define to use GNU C instead of VAX C
16: !
17: ! Modified: 03 Date: 21-Nov-1991 Author: Hugh A.J. Kennedy.
18: !
19: ! Adapted to use new modules from release 1.3
20: !
21: ! Modified: 04 Date: 11-Mar-1991 Author: Hugh A.J. Kennedy
22: !
23: ! Add test harness program, RSATST as a target.
24: !
25: ! Modified: 07 Date: 8-Apr-1992 Author: Hugh A.J. Kennedy
26: !
27: ! Adapted for new modules from release 1.7.
28: ! Change method of support for GCC (use one options file)
29: !
30: ! Modified: 08 Date: 25-Jun-1992 Author: Hugh A.J. Kennedy.
31: !
32: ! All change (again) for 1.8. Alphabetise module list for ease of comparison.
33: !
34: #CODE = pem # PEM or UU
35:
36: .ifdef PGP_COMPAT
37:
38: VFLAGS = ,COMPATIBLE
39: MD = MD4
40:
41: .else
42:
43: MD = MD5
44:
45: .endif
46:
47: WFLAGS = "strlen=mystrlen","strcpy=mystrcpy","strncpy=mystrncpy"
48: XFLAGS = /define=($(WFLAGS))
49: ZFLAGS = /define=($(WFLAGS),EXPORT,NO_ASM,NOSTORE)
50:
51: .ifdef PGP_GCC ! Use GNU CC Compiler
52:
53: CC = GCC
54: CCLIB = GNU_CC:[000000]GCCLIB/lib,
55:
56: .endif
57: !
58: ! Debugging Support
59: !
60: .ifdef PGP_DEBUG
61:
62: MFLAGS = $(MFLAGS) /debug
63: LINKFLAGS = $(LINKFLAGS) /debug
64:
65: .ifdef PGP_GCC ! Are we debugging AND using GCC?
66:
67: DFLAGS = /DEBUG
68:
69: .else ! No, Debugging with VAX C
70:
71: DFLAGS = /debug/noopt
72:
73: .endif
74:
75: YFLAGS = $(XFLAGS)
76:
77: .else ! Not debugging
78:
79: .ifdef PGP_GCC ! Use GCC w/o debug
80:
81: YFLAGS = $(XFLAGS)
82:
83: .else ! Use VAX C w/o debug
84:
85: DFLAGS = /debug/opt=noinline
86: YFLAGS = $(XFLAGS)
87: LINKFLAGS = /debug
88:
89: .endif
90: .endif
91:
92: CFLAGS = $(DFLAGS)$(YFLAGS)
93: !
94: ! ZIP Stuff
95: !
96: ZIPOBJS = zbits.obj zdeflate.obj zglobals.obj zinflate.obj zip.obj -
97: zipup.obj zfile_io.obj ztrees.obj zunzip.obj
98: ZIPH= zrevisio.h ztailor.h zunzip.h zip.h ziperr.h
99: zbits.obj : zbits.c $(ZIPH)
100: $(CC) $(DFLAGS) $(ZFLAGS) $(mms$source)
101: zdeflate.obj : zdeflate.c $(ZIPH)
102: $(CC) $(DFLAGS) $(ZFLAGS) $(mms$source)
103: zfile_io.obj : zfile_io.c $(ZIPH)
104: $(CC) $(DFLAGS) $(ZFLAGS) $(mms$source)
105: zglobals.obj : zglobals.c $(ZIPH)
106: $(CC) $(DFLAGS) $(ZFLAGS) $(mms$source)
107: zinflate.obj : zinflate.c $(ZIPH)
108: $(CC) $(DFLAGS) $(ZFLAGS) $(mms$source)
109: zip.obj : zip.c $(ZIPH)
110: $(CC) $(DFLAGS) $(ZFLAGS) $(mms$source)
111: zipup.obj : zipup.c $(ZIPH)
112: $(CC) $(DFLAGS) $(ZFLAGS) $(mms$source)
113: ztrees.obj : ztrees.c $(ZIPH)
114: $(CC) $(DFLAGS) $(ZFLAGS) $(mms$source)
115: zunzip.obj : zunzip.c $(ZIPH)
116: $(CC) $(DFLAGS) $(ZFLAGS) $(mms$source)
117: !
118: ! PGP Stuff
119: !
120: armor.obj : armor.c
121: config.obj : config.c usuals.h pgp.h
122: CRYPTO.obj : mpilib.h mpiio.h random.h crypto.h -
123: keymgmt.h mdfile.h $(MD).h fileio.h pgp.h CRYPTO.C
124: idea.obj : idea.h pgp.h idea.c
125: FILEIO.obj : FILEIO.C random.h mpilib.h mpiio.h fileio.h pgp.h
126: getopt.obj : getopt.c
127: genprime.obj : genprime.c genprime.h mpilib.h random.h
128: keyadd.obj : mpilib.h random.h crypto.h fileio.h -
129: keymgmt.h genprime.h rsagen.h mpiio.h pgp.h language.h keyadd.c
130: keymaint.obj : mpilib.h random.h crypto.h fileio.h -
131: keymgmt.h genprime.h mpiio.h pgp.h language.h keymaint.c
132: KEYMGMT.obj : mpilib.h usuals.h random.h crypto.h -
133: fileio.h mpiio.h pgp.h KEYMGMT.C
134: $(MD).obj : $(MD).h $(MD).C
135: MDFILE.obj : mpilib.h mdfile.h $(MD).h pgp.h MDFILE.C
136: MORE.obj : MORE.C mpilib.h pgp.h
137: MPILIB.obj : MPILIB.C mpilib.h
138: passwd.obj : passwd.c random.h $(MD).h pgp.h
139: PGP.obj : mpilib.h random.h crypto.h fileio.h keymgmt.h pgp.h PGP.C
140: RANDOM.obj : random.h pgp.h RANDOM.C
141: rsagen.obj : rsagen.c mpilib.h genprime.h rsagen.h random.h
142: rsatst.obj : rsatst.c mpilib.h mpiio.h genprime.h rsagen.h random.h
143: SYSTEM.obj : SYSTEM.C
144: vax.obj : vax.mar
145: ! $(CC) $(DFLAGS) /define=("index=strchr",VMS)/opt=noinline system
146: ! LZH.obj : mpilib.h mpiio.h LZH.C
147: rsatst.exe : rsatst.opt rsatst.obj mpilib.obj genprime.obj rsagen.obj -
148: mpiio.obj random.obj vax.obj system.obj language.obj fileio.obj
149: $(LINK) $(LINKFLAGS) rsatst/opt
150: OBJ1 = pgp.obj config.obj crypto.obj keymgmt.obj keyadd.obj, keymaint.obj, fileio.obj -
151: mdfile.obj more.obj armor.obj mpilib.obj mpiio.obj -
152: getopt.obj genprime.obj rsagen.obj random.obj idea.obj passwd.obj -
153: $(MD).obj system.obj language.obj vax.obj charset.obj
154:
155: pgp.exe : pgp.opt $(OBJ1) $(ZIPOBJS)
156: assign/user $(MD).obj MD
157: $(LINK) $(LINKFLAGS) pgp/opt, $(CCLIB) VAXCRTL/opt
158:
159: # assign/user $(CODE)code.obj CODE
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.