Annotation of pgp/src/makefile.msc, revision 1.1.1.7

1.1.1.6   root        1: # makefile for PGP (Microsoft C)
                      2: #
                      3: #
                      4: # PGP 2.6 can be compiled to use either the modular exponentiation
                      5: # routines that come with RSAREF or those that are built into the
                      6: # multiprecision library (mpilib) that comes with PGP.  For UNIX machines
                      7: # (and probably VAX/VMS, too), we recommend using the RSAREF routines.
                      8: # For MSDOS, we recommend using the mpilib routines (there are assembly
                      9: # language routines that mpilib can call under MSDOS making it much faster
                     10: # than the C code in RSAREF).  By default we have configured both RSAREF
                     11: # and PGP 2.6 to use miplib. If you want to use pure RSAREF you should:
                     12: #      (1) make sure you have the version of RSAREF that comes with
                     13: #          the PGP 2.6 distribution,
                     14: #      (2) in this makefile, remove the compiler switch -DUSEMPILIB from
                     15: #          CFLAGS for your system below,
                     16: #      (3) in the RSAREF makefile, remove the compiler switch
                     17: #          -DUSEMPILIB from CFLAGS before building RSAREF.
                     18: # Note: when you build RSAREF with -DUSEMPILIB, rdemo and dhdemo will
                     19: # fail to link, because they will be unable to find the modular
                     20: # exponentiation routines.  This is OK.
                     21: #
1.1.1.7 ! root       22: # Alternatively, to build PGP 2.6.1 with the RSAREF exponentiation routines,
1.1.1.6   root       23: #      (1) you can use any version of the March 16, 1994 distribution
                     24: #          of RSAREF,
                     25: #      (2) you need not modify this makefile,
                     26: #      (3) you need not modify the RSAREF makefile.
                     27: #
                     28: #
                     29: # CFLAGS options:
                     30: #
                     31: # -DDEBUG     to include debugging information
                     32: # -DDYN_ALLOC if your compiler does not support large static arrays
                     33: # -DSMALL_MEM if your machine has a small memory (required for MSDOS)
                     34: #
                     35: # Define one of:
                     36: # -DMERRITT    Merritt's modmult (fast on risc machines)
                     37: # -DPEASANT    Russian peasant modulo multiply algorithm
                     38: # -DUPTON      use Upton's modmult algorithm
                     39: # -DSMITH      use Smith's modmult
                     40: # See also the file platform.h for system defaults
                     41: #
                     42: # If you don't have a working FIONREAD ioctl you must use one of these:
                     43: # -DUSE_SELECT to use select() system call
                     44: # -DUSE_NBIO   to use non-blocking read()
                     45: 
1.1.1.7 ! root       46: DEFINES  = -DMSDOS -DDYN_ALLOC -DSMALL_MEM -DUSEMPILIB -I..\rsaref\source -I..\rsaref\install
1.1.1.6   root       47: ADEFINES = -DDYN_ALLOC -DSS_NEQ_DS
                     48: 
                     49: CC      = cl -nologo -AL
                     50: OPT    = -Oilt
                     51: CFLAGS = -c -Gt $(OPT) $(DEFINES)
                     52: LD      = link         # Link command
                     53: LDFLAGS        = /M /STACK:24576
                     54: 
                     55: ASM    = masm          # Assembler command
                     56: AFLAGS = -ml $(ADEFINES)
                     57: # For MASM 6.0, use the following
                     58: #ASM   = ml -nologo
                     59: #AFLAGS        = -Zm -Cp -c $(ADEFINES)
                     60: 
                     61: OBJS_EXT= 8086.obj zmatch.obj  # ASM obj. files
                     62: LIBS_EXT=                      # Libararies
                     63: 
                     64: PROJ   =pgp
                     65: EXT    =.exe
                     66: 
                     67: .c.obj:
                     68:        $(CC) $(CFLAGS) $(DEBUG) $*.c
                     69: 
                     70: all:   $(PROJ)$(EXT)
                     71: 
                     72: clean:
                     73:        del $(PROJ)$(EXT)
                     74:        del *.obj
                     75: 
                     76: scratch: clean all
                     77: 
                     78: new:     clean all
                     79: 
                     80: # For a non-RSA version, uncomment the following line
                     81: # RSAOBJS = rsaglue1.obj
                     82: 
1.1.1.7 ! root       83: # For an RSAREF version, uncomment the following lines
1.1.1.6   root       84: RSAOBJS = rsaglue2.obj
1.1.1.7 ! root       85: RSALIBS = ..\rsaref\install\rsaref.lib
1.1.1.6   root       86: 
                     87: 
                     88: # Assembly-language subroutine dependencies
                     89: 
                     90: 8086.obj: 8086.asm
                     91:        $(ASM) $(AFLAGS) 8086.asm
                     92: 
                     93: zmatch.obj: zmatch.asm
                     94:        $(ASM) $(AFLAGS) $(ADEFINES) zmatch.asm
                     95: 
                     96: ZIPOBJS= zbits.obj zdeflate.obj zfile_io.obj zglobals.obj \
                     97:        zinflate.obj zip.obj zipup.obj ztrees.obj zunzip.obj 
                     98: 
                     99: OBJ1   = pgp.obj crypto.obj keymgmt.obj fileio.obj mdfile.obj more.obj
                    100: OBJ2   = armor.obj mpilib.obj mpiio.obj genprime.obj rsagen.obj random.obj
                    101: OBJ3   = idea.obj passwd.obj md5.obj system.obj language.obj getopt.obj
                    102: OBJ4   = keyadd.obj config.obj keymaint.obj charset.obj randpool.obj noise.obj
1.1.1.7 ! root      103: OBJ5   = $(OBJS_EXT) $(RSAOBJS) sleep.obj
1.1.1.6   root      104: 
                    105: $(PROJ)$(EXT): $(OBJ1) $(OBJ2) $(OBJ3) $(OBJ4) $(OBJ5) $(ZIPOBJS)
                    106:        echo $(OBJ1)+ >pgp.rsp
                    107:        echo $(OBJ2)+ >>pgp.rsp
                    108:        echo $(OBJ3)+ >>pgp.rsp
                    109:        echo $(OBJ4)+ >>pgp.rsp
                    110:        echo $(OBJ5)+ >>pgp.rsp
                    111:        echo $(ZIPOBJS) >>pgp.rsp
                    112:        echo $(PROJ)$(EXT) >>pgp.rsp
                    113:        echo NUL.MAP >>pgp.rsp
                    114:        echo $(LIBS_EXT) $(RSALIBS); >>pgp.rsp 
                    115:        $(LD) $(LDFLAGS) @pgp.rsp
                    116: 
                    117: ## Dependencies ##
                    118: armor.obj: armor.c mpilib.h usuals.h platform.h fileio.h mpiio.h language.h 
                    119: armor.obj: pgp.h more.h armor.h crypto.h 
                    120: charset.obj: charset.c usuals.h language.h charset.h system.h 
                    121: config.obj: config.c usuals.h fileio.h pgp.h more.h armor.h config.h charset.h 
                    122: crypto.obj: crypto.c mpilib.h usuals.h platform.h mpiio.h random.h idea.h 
                    123: crypto.obj: crypto.h keymgmt.h keymaint.h pgp.h more.h armor.h mdfile.h md5.h 
                    124: crypto.obj: fileio.h charset.h language.h exitpgp.h zipup.h rsaglue.h 
                    125: fileio.obj: fileio.c random.h usuals.h mpilib.h platform.h mpiio.h fileio.h 
                    126: fileio.obj: language.h pgp.h more.h armor.h exitpgp.h charset.h system.h 
                    127: genprime.obj: genprime.c mpilib.h usuals.h platform.h genprime.h random.h 
                    128: getopt.obj: getopt.c getopt.h 
                    129: idea.obj: idea.c idea.h usuals.h randpool.h 
                    130: keyadd.obj: keyadd.c mpilib.h usuals.h platform.h crypto.h fileio.h keymgmt.h 
                    131: keyadd.obj: charset.h language.h pgp.h more.h armor.h exitpgp.h keyadd.h 
                    132: keyadd.obj: keymaint.h keymaint.c mpilib.h usuals.h platform.h random.h 
                    133: keymaint.obj: crypto.h fileio.h keymgmt.h keymaint.h pgp.h more.h armor.h 
                    134: keymaint.obj: mpiio.h charset.h language.h 
                    135: keymgmt.obj: keymgmt.c system.h mpilib.h usuals.h platform.h idea.h random.h 
                    136: keymgmt.obj: crypto.h fileio.h keymgmt.h rsagen.h mpiio.h language.h pgp.h 
                    137: keymgmt.obj: more.h armor.h md5.h charset.h keymaint.h 
                    138: language.obj: language.c usuals.h fileio.h language.h pgp.h more.h armor.h 
                    139: language.obj: charset.h 
                    140: md5.obj: md5.c md5.h 
                    141: mdfile.obj: mdfile.c mpilib.h usuals.h platform.h mdfile.h md5.h fileio.h 
                    142: mdfile.obj: language.h pgp.h more.h armor.h 
                    143: more.obj: more.c mpilib.h usuals.h platform.h language.h fileio.h pgp.h more.h 
                    144: more.obj: armor.h charset.h 
                    145: mpiio.obj: mpiio.c mpilib.h usuals.h platform.h mpiio.h pgp.h more.h armor.h 
                    146: mpilib.obj: mpilib.c mpilib.h usuals.h platform.h 
                    147: noise.obj: noise.c usuals.h randpool.h noise.h 
                    148: passwd.obj: passwd.c random.h usuals.h md5.h language.h pgp.h more.h armor.h 
                    149: pgp.obj: pgp.c system.h mpilib.h usuals.h platform.h random.h crypto.h fileio.h 
                    150: pgp.obj: keymgmt.h language.h pgp.h more.h armor.h exitpgp.h charset.h getopt.h 
                    151: pgp.obj: config.h keymaint.h keyadd.h rsaglue.h 
                    152: r3000.obj: r3000.c mpilib.h usuals.h platform.h lmul.h 
                    153: random.obj: random.c system.h idea.h usuals.h md5.h noise.h language.h random.h 
                    154: random.obj: fileio.h pgp.h more.h armor.h randpool.h 
                    155: randpool.obj: randpool.c randpool.h usuals.h md5.h 
                    156: rsagen.obj: rsagen.c mpilib.h usuals.h platform.h genprime.h rsagen.h random.h 
                    157: rsagen.obj: rsaglue.h 
                    158: rsaglue1.obj: rsaglue1.c mpilib.h usuals.h platform.h mpiio.h pgp.h more.h 
                    159: rsaglue1.obj: armor.h rsaglue.h random.h 
                    160: rsaglue2.obj: rsaglue2.c mpilib.h usuals.h platform.h mpiio.h pgp.h more.h 
1.1.1.7 ! root      161: rsaglue2.obj: armor.h rsaglue.h random.h ../rsaref/install/global.h 
        !           162: rsaglue2.obj: ../rsaref/source/rsaref.h ../rsaref/source/md2.h 
        !           163: rsaglue2.obj: ../rsaref/source/md5.h ../rsaref/source/des.h 
        !           164: rsaglue2.obj: ../rsaref/source/rsa.h 
        !           165: sleep.obj: sleep.c
1.1.1.6   root      166: system.obj: system.c exitpgp.h system.h usuals.h 
                    167: zbits.obj: zbits.c zip.h ztailor.h ziperr.h 
                    168: zdeflate.obj: zdeflate.c zunzip.h usuals.h system.h zip.h ztailor.h ziperr.h 
                    169: zfile_io.obj: zfile_io.c zunzip.h usuals.h system.h 
                    170: zglobals.obj: zglobals.c zip.h ztailor.h ziperr.h 
                    171: zinflate.obj: zinflate.c zunzip.h usuals.h system.h exitpgp.h 
                    172: zip.obj: zip.c usuals.h fileio.h language.h pgp.h more.h armor.h exitpgp.h 
                    173: zip.obj: ziperr.h 
                    174: zipup.obj: zipup.c zip.h ztailor.h ziperr.h zrevisio.h 
                    175: ztrees.obj: ztrees.c zip.h ztailor.h ziperr.h 
                    176: zunzip.obj: zunzip.c zunzip.h usuals.h system.h 

unix.superglobalmegacorp.com

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