|
|
1.1 root 1: # makefile for PGP
2: # This Makefile is meant for the Amiga, SAS5.10 compiler
3: #
4:
5: # CFLAGS options:
6:
7: # -DHIGHFIRST if building PGP on a big-endian system
8: # -DMPORTABLE if there is no assembly version of the mp_smul function
9: # -DDEBUG to include debugging information
10: # -Dfopen=myfopen
11: # if your fopen() doesn't like 'b' as the mode modifier
12: # -DNOTERMIO if your system has no termios
13: # -DDYN_ALLOC if your compiler does not support large static arrays
14: # -DSMALL_MEM if your machine has a small memory (required for MSDOS)
15: # For portability to small systems, WSIZE must not be set above 8192.
16:
17: # Define one of:
18: # -DUNIT32 to use 32 bit units (use only with asm primitives)
19: # -DPORTABLE to build the portable version of the RSA primitives
20: # (ie if no optimized asm versions are available)
21: # The above two defines are incompatible.
22:
23: # Define one of:
24: # -DMERRITT Merritt's modmult (fast on risc machines)
25: # -DPEASANT Russian peasant modulo multiply algorithm
26: # -DUPTON default: use Upton's modmult algorithm */
27:
28: # Define one of:
29: # -DUSE_SELECT to use select() system call
30: # -DUSE_NBIO to use non-blocking read()
31:
32: # To define the OS we are compiling under, define one of:
33: # -DMSDOS, -DUNIX, -DVMS, -DATARI, -DAMIGA
34:
35:
36: CFLAGS= -O -s -cw -v -b0 -DUNIT32 -DAMIGA -DMPORTABLE \
37: -DASM_IDEA -DHIGHFIRST
38:
39: CC = lc
40: ASM = asm
41:
42:
43: OBJS_EXT= 68000.o idea68k.o # ASM obj. files
44:
45: PROJ = pgp
46:
47: ZIPOBJS= zbits.o zdeflate.o zfile_io.o zglobals.o \
48: zinflate.o zip.o zipup.o ztrees.o zunzip.o
49:
50: OBJ1 = pgp.o crypto.o keymgmt.o fileio.o \
51: mdfile.o more.o armor.o mpilib.o mpiio.o \
52: genprime.o rsagen.o random.o idea.o passwd.o \
53: md5.o system.o language.o getopt.o keyadd.o \
54: config.o keymaint.o charset.o
55:
56: OBJS = $(OBJ1) $(ZIPOBJS) $(OBJS_EXT)
57:
58: .c.o:
59: $(CC) $(CFLAGS) $*.c
60: .s.o:
61: $(ASM) $*.s
62:
63: $(PROJ): $(OBJS)
64: blink FROM LIB:c.o $(OBJS) LIB LIB:lcnb.lib TO $(PROJ)
65:
66: ## Dependencies ##
67:
68: config.o : config.c usuals.h pgp.h
69: crypto.o : crypto.c mpilib.h usuals.h mpiio.h random.h idea.h crypto.h \
70: keymgmt.h mdfile.h md5.h fileio.h language.h pgp.h
71: fileio.o : fileio.c random.h usuals.h mpilib.h mpiio.h fileio.h language.h \
72: pgp.h
73: genprime.o : genprime.c mpilib.h usuals.h genprime.h random.h
74: getopt.o : getopt.c
75: idea.o : idea.c idea.h usuals.h
76: keyadd.o : keyadd.c mpilib.h usuals.h idea.h random.h crypto.h fileio.h \
77: keymgmt.h genprime.h rsagen.h mpiio.h language.h pgp.h
78: keymaint.o : keymaint.c mpilib.h usuals.h random.h crypto.h fileio.h \
79: keymgmt.h mpiio.h language.h pgp.h
80: keymgmt.o : keymgmt.c mpilib.h usuals.h idea.h random.h crypto.h fileio.h \
81: keymgmt.h genprime.h rsagen.h mpiio.h language.h pgp.h
82: language.o : language.c language.h
83: mdfile.o : mdfile.c mpilib.h usuals.h mdfile.h md5.h language.h pgp.h
84: md5.o : md5.c md5.h
85: more.o : more.c mpilib.h usuals.h language.h fileio.h pgp.h
86: mpiio.o : mpiio.c mpilib.h usuals.h mpiio.h pgp.h
87: mpilib.o : mpilib.c mpilib.h usuals.h
88: passwd.o : passwd.c random.h usuals.h md5.h language.h pgp.h
89: armor.o : armor.c mpilib.h usuals.h fileio.h mpiio.h language.h pgp.h
90: pgp.o : pgp.c mpilib.h usuals.h random.h crypto.h fileio.h keymgmt.h \
91: language.h pgp.h
92: random.o : random.c random.h usuals.h language.h
93: rsagen.o : rsagen.c mpilib.h usuals.h genprime.h rsagen.h random.h
94: system.o : system.c
95:
96: ##
97:
98: zbits.o : zbits.c zip.h ztailor.h ziperr.h
99: zdeflate.o : zdeflate.c zip.h ztailor.h ziperr.h
100: zfile_io.o : zfile_io.c zunzip.h
101: zglobals.o : zglobals.c zip.h ztailor.h ziperr.h
102: zinflate.o : zinflate.c zunzip.h
103: zip.o : zip.c usuals.h fileio.h language.h pgp.h
104: zipup.o : zipup.c zip.h ztailor.h ziperr.h zrevisio.h
105: ztrees.o : ztrees.c zip.h ztailor.h ziperr.h
106: zunzip.o : zunzip.c zunzip.h
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.