--- pgp/src/descrip.mms 2018/04/24 16:39:18 1.1.1.3 +++ pgp/src/descrip.mms 2018/04/24 16:40:07 1.1.1.4 @@ -11,8 +11,9 @@ ! ! Options Flags: ! -! PGP_DEBUG - Define if you want the debug version -! PGP_GCC - Define to use GNU C instead of VAX C +! PGP_DEBUG - Define if you want the debug version +! PGP_GCC - Define to use GNU C instead of VAX C +! PGP_RSADIR - Use RSAREF Routines from specified directory. ! ! Modified: 03 Date: 21-Nov-1991 Author: Hugh A.J. Kennedy. ! @@ -47,7 +48,12 @@ ! Modified: 12 Date: 24-Feb-1993 Author: Hugh A.J. Kennedy ! ! Ammend dependencies to include new header files. - +! +! Modified: 13 Date: 10-May-1993 Author: Hugh A.J. Kennedy +! +! Update support for GNU C. Fix dependencies. +! Add support for RSAREF (untested, as I live outside the US). +! .ifdef PGP_COMPAT VFLAGS = ,COMPATIBLE @@ -69,9 +75,23 @@ ZFLAGS = $(CFLAGS) /define=(EXPORT,NO_AS .ifdef PGP_GCC ! Use GNU CC Compiler CC = GCC +C_PATH_NAME = C_INCLUDE_PATH + +.ifdef PGP_RSADIR + +CCLIB = ,GNU_CC:[000000]GCCLIB/lib, + +.else + CCLIB = GNU_CC:[000000]GCCLIB/lib, .endif + +.else + +C_PATH_NAME = C$INCLUDE + +.endif ! ! Debugging Support ! @@ -115,9 +135,33 @@ default : obj:pgp.exe .first : if f$trnlnm("src") .eqs. "" then define src 'f$environment("default")' if f$trnlnm("obj") .eqs. "" then define obj 'f$environment("default")' - if f$trnlnm("C$INCLUDE") .eqs. "" then define C$INCLUDE SRC + if f$trnlnm("$(C_PATH_NAME)") .eqs. "" then define $(C_PATH_NAME) SRC .last : - deassign c$include + deassign $(C_PATH_NAME) +! +! RSAREF Stuff +! +.ifdef PGP_RSADIR + +RSAOBJS = obj:rsa.obj obj:nn.obj obj:r_random.obj obj:r_stdlib.obj +obj:rsa.obj : $(PGP_RSADIR)rsa.c src:global.h $(PGP_RSADIR)rsaref.h - + $(PGP_RSADIR)r_random.h $(PGP_RSADIR)md5.h + $(CC) $(CFLAGS) /INCLUDE=(src,$(PGP_RSADIR))/define=("static=") $(MMS$SOURCE) +obj:nn.obj : $(PGP_RSADIR)nn.c src:global.h $(PGP_RSADIR)rsaref.h - + $(PGP_RSADIR)digit.h + $(CC) $(CFLAGS) /INCLUDE=(src,$(PGP_RSADIR)) $(MMS$SOURCE) +obj:digit.obj : $(PGP_RSADIR)digit.c src:global.h $(PGP_RSADIR)rsaref.h - + $(PGP_RSADIR)nn.h $(PGP_RSADIR)digit.h + $(CC) $(CFLAGS) /INCLUDE=(src,$(PGP_RSADIR)) $(MMS$SOURCE) +obj:r_random.obj : $(PGP_RSADIR)r_random.c src:global.h - + $(PGP_RSADIR)rsaref.h $(PGP_RSADIR)r_random.h $(PGP_RSADIR)md5.h + $(CC) $(CFLAGS) /INCLUDE=(src,$(PGP_RSADIR))/define=("static=") $(MMS$SOURCE) +obj:r_stdlib.obj : $(PGP_RSADIR)r_stdlib.c src:global.h - + $(PGP_RSADIR)rsaref.h + $(CC) $(CFLAGS) /INCLUDE=(src,$(PGP_RSADIR))/define=("static=") $(MMS$SOURCE) + +.endif + ! ! ZIP Stuff ! @@ -151,38 +195,55 @@ obj:charset.obj : src:charset.c src:usua obj:config.obj : src:config.c src:usuals.h src:pgp.h obj:CRYPTO.obj : src:mpilib.h src:mpiio.h src:random.h src:crypto.h - src:keymgmt.h src:mdfile.h src:md5.h src:fileio.h src:pgp.h - + src:rsaglue.h src:platform.h src:usuals.h - src:CRYPTO.C obj:idea.obj : src:idea.h src:pgp.h src:idea.c obj:FILEIO.obj : src:FILEIO.C src:random.h src:mpilib.h src:mpiio.h - -src:fileio.h src:pgp.h + src:platform.h src:usuals.h - + src:fileio.h src:pgp.h obj:getopt.obj : src:getopt.c -obj:genprime.obj : src:genprime.c src:genprime.h src:mpilib.h src:random.h +obj:genprime.obj : src:genprime.c src:genprime.h src:mpilib.h src:random.h - + src:platform.h src:usuals.h obj:keyadd.obj : src:mpilib.h src:random.h src:crypto.h src:fileio.h - src:keymgmt.h src:keyadd.h src:genprime.h src:rsagen.h src:mpiio.h - + src:platform.h src:usuals.h - src:pgp.h src:language.h src:charset.h src:keyadd.c obj:keymaint.obj : src:mpilib.h src:random.h src:crypto.h src:fileio.h - src:keymgmt.h src:keyadd.h src:genprime.h src:mpiio.h src:pgp.h - + src:platform.h src:usuals.h - src:language.h - src:charset.h src:keymaint.c obj:KEYMGMT.obj : src:mpilib.h src:usuals.h src:random.h src:crypto.h - - src:fileio.h src:mpiio.h src:pgp.h src:charset.h src:KEYMGMT.C + src:fileio.h src:mpiio.h src:pgp.h src:charset.h - + src:platform.h src:usuals.h - + src:KEYMGMT.C obj:MD5.obj : src:md5.h src:md5.C -obj:MDFILE.obj : src:mpilib.h src:mdfile.h src:md5.h src:pgp.h src:MDFILE.C +obj:MDFILE.obj : src:mpilib.h src:mdfile.h src:md5.h src:pgp.h - + src:platform.h src:usuals.h - + src:MDFILE.C obj:MORE.obj : src:MORE.C src:mpilib.h src:pgp.h -obj:MPIIO.obj : src:MPIIO.C src:mpiio.h src:mpilib.h -obj:MPILIB.obj : src:MPILIB.C src:mpilib.h +obj:MPIIO.obj : src:MPIIO.C src:mpiio.h src:mpilib.h - + src:platform.h src:usuals.h +obj:MPILIB.obj : src:MPILIB.C src:mpilib.h src:platform.h src:usuals.h obj:passwd.obj : src:passwd.c src:random.h src:md5.h src:pgp.h obj:PGP.obj : src:mpilib.h src:random.h src:crypto.h src:fileio.h - - src:keymgmt.h src:keymaint.h src:charset.h src:pgp.h src:config.h src:PGP.C + src:keymgmt.h src:keymaint.h src:charset.h src:pgp.h src:config.h - + src:platform.h src:usuals.h - + src:PGP.C obj:RANDOM.obj : src:random.h src:pgp.h src:RANDOM.C obj:rsagen.obj : src:rsagen.c src:mpilib.h src:genprime.h src:rsagen.h - - src:random.h + src:platform.h src:usuals.h - + src:random.h src:rsaglue.h +obj:rsaglue.obj : src:rsaglue.c src:mpilib.h src:mpiio.h src:pgp.h src:rsaglue.h obj:rsatst.obj : src:rsatst.c src:mpilib.h src:mpiio.h src:genprime.h - + src:platform.h src:usuals.h - src:rsagen.h src:random.h obj:language.obj : src:language.c src:charset.h src:usuals.h src:fileio.h - src:pgp.h obj:SYSTEM.obj : src:exitpgp.h src:system.h src:pgp.h src:mpilib.h - - src:mpiio.h src:fileio.h src:charset.h src:SYSTEM.C + src:mpiio.h src:fileio.h src:charset.h - + src:platform.h src:usuals.h - + src:SYSTEM.C obj:vax.obj : src:vax.mar ! ! RSATST Is the RSA/Multiple Precision Library Test Harness @@ -199,7 +260,7 @@ OBJ1 = obj:pgp.obj obj:config.obj obj:cr obj:more.obj obj:armor.obj obj:mpilib.obj obj:mpiio.obj - obj:getopt.obj obj:genprime.obj obj:rsagen.obj obj:random.obj - obj:idea.obj obj:passwd.obj obj:md5.obj obj:system.obj - - obj:language.obj obj:vax.obj obj:charset.obj + obj:language.obj obj:vax.obj obj:charset.obj obj:rsaglue.obj -obj:pgp.exe : src:pgp.opt $(OBJ1) $(ZIPOBJS) - $(LINK) $(LINKFLAGS) src:pgp/opt, $(CCLIB) src:VAXCRTL/opt +obj:pgp.exe : src:pgp.opt $(RSAOBJS) $(OBJ1) $(ZIPOBJS) + $(LINK) $(LINKFLAGS) src:pgp/opt, $(RSAOBJS) $(CCLIB) src:VAXCRTL/opt