|
|
1.1 root 1: ! This is a MAKEFILE for VAX MMS utility
2:
3: ! extension for object files
4: O = obj
5:
6: ! commands
7: CC = cc
8: LIB = lib
9: LINK = link
10:
11: ! The name for the demo exectuble.
12: PROG = rdemo
13:
14: ! The location of the source code for the demo.
15: RDEMODIR = DISK$USERS:[RSAREF.RDEMO]
16:
17: ! The location of the common source directory.
18: SRCDIR = DISK$USERS:[RSAREF.SOURCE]
19: SRCLIB = rsaref.olb
20:
21: ! The places to look for include files (in order).
22: INCL = /INCLUDE_DIRECTORY=([],$(SRCDIR))
23:
24: ! Normal C flags.
25: CFLAGS = $(INCL)/NoDebug/Optimize/Obj=$(MMS$TARGET)
26: LFLAGS = /Exec=$(MMS$TARGET)/NoTraceback/NoDebug
27:
28: ! Debugging C flags.
29: ! CFLAGS = $(INCL)/Debug/NoOptimize/Obj=$(MMS$TARGET)
30: ! LFLAGS = /Exec=$(MMS$TARGET)/Traceback/Debug/Map/Full/Cross
31:
32: $(PROG) : rdemo.$(O) $(SRCLIB)
33: $(LINK) $(LFLAGS) rdemo.$(O),-
34: $(SRCLIB)/Library
35:
36: all : $(SRCLIB)
37:
38: $(SRCLIB) : desc.$(O) digit.$(O) md2c.$(O) md5c.$(O) nn.$(O)\
39: prime.$(O) rsa.$(O) r_encode.$(O) r_enhanc.$(O) r_keygen.$(O)\
40: r_random.$(O) r_stdlib.$(O)
41: $(LIB) /create $@
42: $(LIB) /replace $@ $?
43:
44: .INCLUDE $(SRCDIR)targets.mak
45:
46: rdemo.$(O) : $(RDEMODIR)rdemo.c global.h $(SRCDIR)rsaref.h
47: $(CC) $(CFLAGS) $(RDEMODIR)rdemo.c
48:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.