Annotation of 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: ASM = masm
                     10: 
                     11: # name of temporary library script
                     12: TEMPFILE = $(TEMP)\temp.mak
                     13: 
                     14: # standard include directory
                     15: STDINCDIR = i:\msc6\include
                     16: 
                     17: # The places to look for include files (in order).
                     18: INCL =  -I. -I$(SRCDIR) -I$(STDINCDIR)
                     19: 
                     20: # Normal C flags.
                     21: CFLAGS = -W3 -AL -Zp $(INCL) -c -DPROTOTYPES=1 -DUSEMPILIB
                     22: LFLAGS = /stack:26000
                     23: 
                     24: # Debugging C flags.
                     25: #CFLAGS =  -W3 -AL -Zpi -Od $(INCL) -c -DPROTOTYPES=1
                     26: #LFLAGS = /codeview /map /stack:26000
                     27:  
                     28: # The location of the common source directory.
                     29: SRCDIR = ..\source\#
                     30: SRCLIB = rsaref.lib
                     31: 
                     32: # The location of the demo source directory.
                     33: RDEMODIR = ..\rdemo\#
                     34: 
                     35: all : $(SRCLIB)
                     36: 
                     37: rdemo.exe : rdemo.$(O) $(SRCLIB)
                     38:        link @<<temp.lnk
                     39: $(LFLAGS) rdemo.$(O)
                     40: $@,,
                     41: $(SRCLIB);
                     42: <<NOKEEP
                     43: 
                     44: $(SRCLIB) : desc.$(O) digit.$(O) md2c.$(O) nn.$(O) prime.$(O)\
                     45:   rsa.$(O) r_encode.$(O) r_enhanc.$(O) r_keygen.$(O) r_random.$(O)\
                     46:   r_stdlib.$(O)
                     47:   @if NOT EXIST $@ $(LIB) $@;
                     48:   @echo $@ > $(TEMPFILE)
                     49:   @!echo -+$? & >> $(TEMPFILE)
                     50:   @echo ;' >> $(TEMPFILE)
                     51:   @$(LIB) @$(TEMPFILE)
                     52: 
                     53: rdemo.$(O) : $(RDEMODIR)rdemo.c global.h $(SRCDIR)rsaref.h
                     54:        $(CC) $(CFLAGS) $(RDEMODIR)rdemo.c
                     55: 
                     56: !INCLUDE $(SRCDIR)targets.mak

unix.superglobalmegacorp.com

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