Annotation of pgp/rsaref/install/dos/makefile, revision 1.1.1.1

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).
                     14: INCL =  -I. -I$(RSAREFDIR)
                     15: 
                     16: # Normal C flags.
                     17: CFLAGS = -Ox -W3 -AL $(INCL) -nologo -c
                     18: LFLAGS = /stack:26000
                     19: 
                     20: # Debugging C flags.
                     21: # CFLAGS =  -W3 -AL -Zi -Od $(INCL) -nologo -c
                     22: # LFLAGS = /codeview /map /stack:26000
                     23:  
                     24: # The location of the common source directory.
                     25: RSAREFDIR = ..\source\#
                     26: RSAREFLIB = rsaref.lib
                     27: 
                     28: # The location of the demo source directory.
                     29: RDEMODIR = ..\rdemo\#
                     30: 
                     31: all : rdemo.exe dhdemo.exe
                     32: 
                     33: rdemo.exe : rdemo.$(O) $(RSAREFLIB)
                     34:        link @<<rdemo.lnk
                     35: $(LFLAGS) rdemo.$(O)
                     36: $@,NUL,
                     37: $(RSAREFLIB);
                     38: <<NOKEEP
                     39: 
                     40: dhdemo.exe : dhdemo.$(O) $(RSAREFLIB)
                     41:        link @<<dhdemo.lnk
                     42: $(LFLAGS) dhdemo.$(O)
                     43: $@,,
                     44: $(RSAREFLIB);
                     45: <<NOKEEP
                     46: 
                     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)\
                     49:   r_stdlib.$(O)
                     50:   @if NOT EXIST $@ $(LIB) $@;
                     51:   @echo $@ > $(TEMPFILE)
                     52:   @!echo -+$? & >> $(TEMPFILE)
                     53:   @echo ;' >> $(TEMPFILE)
                     54:   @$(LIB) @$(TEMPFILE)
                     55: 
                     56: rdemo.$(O) : $(RDEMODIR)rdemo.c $(RSAREFDIR)global.h $(RSAREFDIR)rsaref.h
                     57:        $(CC) $(CFLAGS) $(RDEMODIR)rdemo.c
                     58: 
                     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.