Annotation of rsaref/install/dos/makefile, revision 1.1.1.2

1.1       root        1: # This is a MAKEFILE for Microsoft's NMAKE
                      2: 
                      3: # extension for object files
                      4: O = obj
                      5: 
                      6: # commands
                      7: CC = cl
                      8: LIB = lib
                      9: 
                     10: # name of temporary library script
                     11: TEMPFILE = $(TEMP)\temp.mak
                     12: 
                     13: # The places to look for include files (in order).
1.1.1.2 ! root       14: INCL =  -I. -I$(RSAREFDIR)
1.1       root       15: 
                     16: # Normal C flags.
1.1.1.2 ! root       17: CFLAGS = -Ox -W3 -AL $(INCL) -nologo -c
1.1       root       18: LFLAGS = /stack:26000
                     19: 
                     20: # Debugging C flags.
1.1.1.2 ! root       21: # CFLAGS =  -W3 -AL -Zi -Od $(INCL) -nologo -c
        !            22: # LFLAGS = /codeview /map /stack:26000
1.1       root       23:  
                     24: # The location of the common source directory.
1.1.1.2 ! root       25: RSAREFDIR = ..\source\#
        !            26: RSAREFLIB = rsaref.lib
1.1       root       27: 
                     28: # The location of the demo source directory.
                     29: RDEMODIR = ..\rdemo\#
                     30: 
1.1.1.2 ! root       31: all : rdemo.exe dhdemo.exe
1.1       root       32: 
1.1.1.2 ! root       33: rdemo.exe : rdemo.$(O) $(RSAREFLIB)
        !            34:        link @<<rdemo.lnk
1.1       root       35: $(LFLAGS) rdemo.$(O)
1.1.1.2 ! root       36: $@,NUL,
        !            37: $(RSAREFLIB);
        !            38: <<NOKEEP
        !            39: 
        !            40: dhdemo.exe : dhdemo.$(O) $(RSAREFLIB)
        !            41:        link @<<dhdemo.lnk
        !            42: $(LFLAGS) dhdemo.$(O)
1.1       root       43: $@,,
1.1.1.2 ! root       44: $(RSAREFLIB);
1.1       root       45: <<NOKEEP
                     46: 
1.1.1.2 ! root       47: $(RSAREFLIB) : desc.$(O) digit.$(O) md2c.$(O) md5c.$(O) nn.$(O) prime.$(O)\
        !            48:   rsa.$(O) r_encode.$(O) r_dh.$(O) r_enhanc.$(O) r_keygen.$(O) r_random.$(O)\
1.1       root       49:   r_stdlib.$(O)
                     50:   @if NOT EXIST $@ $(LIB) $@;
                     51:   @echo $@ > $(TEMPFILE)
                     52:   @!echo -+$? & >> $(TEMPFILE)
                     53:   @echo ;' >> $(TEMPFILE)
                     54:   @$(LIB) @$(TEMPFILE)
                     55: 
1.1.1.2 ! root       56: rdemo.$(O) : $(RDEMODIR)rdemo.c $(RSAREFDIR)global.h $(RSAREFDIR)rsaref.h
1.1       root       57:        $(CC) $(CFLAGS) $(RDEMODIR)rdemo.c
                     58: 
1.1.1.2 ! root       59: dhdemo.$(O) : $(RDEMODIR)dhdemo.c $(RSAREFDIR)global.h $(RSAREFDIR)rsaref.h
        !            60:        $(CC) $(CFLAGS) $(RDEMODIR)dhdemo.c
        !            61: 
        !            62: !INCLUDE $(RSAREFDIR)targets.mak

unix.superglobalmegacorp.com

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