aboutsummaryrefslogtreecommitdiff
path: root/old
diff options
context:
space:
mode:
authorMark Adler <madler@alumni.caltech.edu>2011-09-09 23:23:01 -0700
committerMark Adler <madler@alumni.caltech.edu>2011-09-09 23:23:01 -0700
commitb97ec631c6f7dd9cff2e3caf3b38e70b006e1b2d (patch)
tree2a9609068ca980db627bceb3f5a48638eaad1c13 /old
parentf81ba93d4a7e43fccf4730e5e7404ee765a76e3e (diff)
downloadzlib-b97ec631c6f7dd9cff2e3caf3b38e70b006e1b2d.tar.gz
zlib-b97ec631c6f7dd9cff2e3caf3b38e70b006e1b2d.tar.bz2
zlib-b97ec631c6f7dd9cff2e3caf3b38e70b006e1b2d.zip
zlib 1.2.0.7v1.2.0.7
Diffstat (limited to 'old')
-rw-r--r--old/README2
-rw-r--r--old/amiga/Makefile.pup66
-rw-r--r--old/amiga/Makefile.sas64
-rw-r--r--old/msdos/Makefile.b32104
-rw-r--r--old/msdos/Makefile.wat103
5 files changed, 1 insertions, 338 deletions
diff --git a/old/README b/old/README
index ea9cd22..e2700df 100644
--- a/old/README
+++ b/old/README
@@ -1,3 +1,3 @@
1This directory contains files that have not been updated for zlib 1.2.0. 1This directory contains files that have not been updated for zlib 1.2.
2 2
3(Volunteers are encouraged to help clean this up. Thanks.) 3(Volunteers are encouraged to help clean this up. Thanks.)
diff --git a/old/amiga/Makefile.pup b/old/amiga/Makefile.pup
deleted file mode 100644
index 6cfad1d..0000000
--- a/old/amiga/Makefile.pup
+++ /dev/null
@@ -1,66 +0,0 @@
1# Amiga powerUP (TM) Makefile
2# makefile for libpng and SAS C V6.58/7.00 PPC compiler
3# Copyright (C) 1998 by Andreas R. Kleinert
4
5CC = scppc
6CFLAGS = NOSTKCHK NOSINT OPTIMIZE OPTGO OPTPEEP OPTINLOCAL OPTINL \
7 OPTLOOP OPTRDEP=8 OPTDEP=8 OPTCOMP=8
8LIBNAME = libzip.a
9AR = ppc-amigaos-ar
10AR_FLAGS = cr
11RANLIB = ppc-amigaos-ranlib
12LDFLAGS = -r -o
13LDLIBS = LIB:scppc.a
14LN = ppc-amigaos-ld
15RM = delete quiet
16
17OBJS = adler32.o compress.o crc32.o gzio.o uncompr.o deflate.o trees.o \
18 zutil.o inflate.o infblock.o inftrees.o infcodes.o infutil.o inffast.o
19
20TEST_OBJS = example.o minigzip.o
21
22all: example minigzip
23
24test: all
25 example
26 echo hello world | minigzip | minigzip -d
27
28$(LIBNAME): $(OBJS)
29 $(AR) $(AR_FLAGS) $@ $(OBJS)
30 $(RANLIB) $@
31
32example: example.o $(LIBNAME)
33 $(LN) $(LDFLAGS) example LIB:c_ppc.o example.o $(LIBNAME) $(LDLIBS) LIB:end.o
34
35minigzip: minigzip.o $(LIBNAME)
36 $(LN) $(LDFLAGS) minigzip LIB:c_ppc.o minigzip.o $(LIBNAME) $(LDLIBS) LIB:end.o
37
38clean:
39 $(RM) *.o example minigzip $(LIBNAME) foo.gz
40
41zip:
42 zip -ul9 zlib README ChangeLog Makefile Make????.??? Makefile.?? \
43 descrip.mms *.[ch]
44
45tgz:
46 cd ..; tar cfz zlib/zlib.tgz zlib/README zlib/ChangeLog zlib/Makefile \
47 zlib/Make????.??? zlib/Makefile.?? zlib/descrip.mms zlib/*.[ch]
48
49# DO NOT DELETE THIS LINE -- make depend depends on it.
50
51adler32.o: zutil.h zlib.h zconf.h
52compress.o: zlib.h zconf.h
53crc32.o: zutil.h zlib.h zconf.h
54deflate.o: deflate.h zutil.h zlib.h zconf.h
55example.o: zlib.h zconf.h
56gzio.o: zutil.h zlib.h zconf.h
57infblock.o: zutil.h zlib.h zconf.h infblock.h inftrees.h infcodes.h infutil.h
58infcodes.o: zutil.h zlib.h zconf.h inftrees.h infutil.h infcodes.h inffast.h
59inffast.o: zutil.h zlib.h zconf.h inftrees.h infutil.h inffast.h
60inflate.o: zutil.h zlib.h zconf.h infblock.h
61inftrees.o: zutil.h zlib.h zconf.h inftrees.h
62infutil.o: zutil.h zlib.h zconf.h inftrees.h infutil.h
63minigzip.o: zlib.h zconf.h
64trees.o: deflate.h zutil.h zlib.h zconf.h
65uncompr.o: zlib.h zconf.h
66zutil.o: zutil.h zlib.h zconf.h
diff --git a/old/amiga/Makefile.sas b/old/amiga/Makefile.sas
deleted file mode 100644
index 5323e82..0000000
--- a/old/amiga/Makefile.sas
+++ /dev/null
@@ -1,64 +0,0 @@
1# SMakefile for zlib
2# Modified from the standard UNIX Makefile Copyright Jean-loup Gailly
3# Osma Ahvenlampi <Osma.Ahvenlampi@hut.fi>
4# Amiga, SAS/C 6.56 & Smake
5
6CC=sc
7CFLAGS=OPT
8#CFLAGS=OPT CPU=68030
9#CFLAGS=DEBUG=LINE
10LDFLAGS=LIB z.lib
11
12SCOPTIONS=OPTSCHED OPTINLINE OPTALIAS OPTTIME OPTINLOCAL STRMERGE \
13 NOICONS PARMS=BOTH NOSTACKCHECK UTILLIB NOVERSION ERRORREXX
14
15OBJS = adler32.o compress.o crc32.o gzio.o uncompr.o deflate.o trees.o \
16 zutil.o inflate.o infblock.o inftrees.o infcodes.o infutil.o inffast.o
17
18TEST_OBJS = example.o minigzip.o
19
20all: SCOPTIONS example minigzip
21
22test: all
23 `cd`/example
24 echo hello world | minigzip | minigzip -d
25
26install: z.lib
27 copy zlib.h zconf.h INCLUDE: clone
28 copy z.lib LIB: clone
29
30z.lib: $(OBJS)
31 oml z.lib r $(OBJS)
32
33example: example.o z.lib
34 $(CC) $(CFLAGS) LINK TO $@ example.o $(LDFLAGS)
35
36minigzip: minigzip.o z.lib
37 $(CC) $(CFLAGS) LINK TO $@ minigzip.o $(LDFLAGS)
38
39clean:
40 -delete force quiet *.o example minigzip z.lib foo.gz *.lnk SCOPTIONS
41
42SCOPTIONS: Smakefile
43 copy to $@ <from <
44$(SCOPTIONS)
45<
46
47# DO NOT DELETE THIS LINE -- make depend depends on it.
48
49adler32.o: zutil.h zlib.h zconf.h
50compress.o: zlib.h zconf.h
51crc32.o: zutil.h zlib.h zconf.h
52deflate.o: deflate.h zutil.h zlib.h zconf.h
53example.o: zlib.h zconf.h
54gzio.o: zutil.h zlib.h zconf.h
55infblock.o: zutil.h zlib.h zconf.h infblock.h inftrees.h infcodes.h infutil.h
56infcodes.o: zutil.h zlib.h zconf.h inftrees.h infutil.h infcodes.h inffast.h
57inffast.o: zutil.h zlib.h zconf.h inftrees.h infutil.h inffast.h
58inflate.o: zutil.h zlib.h zconf.h infblock.h
59inftrees.o: zutil.h zlib.h zconf.h inftrees.h
60infutil.o: zutil.h zlib.h zconf.h inftrees.h infutil.h
61minigzip.o: zlib.h zconf.h
62trees.o: deflate.h zutil.h zlib.h zconf.h
63uncompr.o: zlib.h zconf.h
64zutil.o: zutil.h zlib.h zconf.h
diff --git a/old/msdos/Makefile.b32 b/old/msdos/Makefile.b32
deleted file mode 100644
index 3802ea4..0000000
--- a/old/msdos/Makefile.b32
+++ /dev/null
@@ -1,104 +0,0 @@
1# Makefile for zlib
2# Borland C++
3
4# This version of the zlib makefile was adapted by Chris Young for use
5# with Borland C 4.5x with the Dos Power Pack for a 32-bit protected mode
6# flat memory model. It was created for use with POV-Ray ray tracer and
7# you may choose to edit the CFLAGS to suit your needs but the
8# switches -WX and -DMSDOS are required.
9# -- Chris Young 76702.1655@compuserve.com
10
11# To use, do "make -fmakefile.b32"
12
13# See zconf.h for details about the memory requirements.
14
15# ------------- Borland C++ -------------
16MODEL=-WX
17CFLAGS= $(MODEL) -P-C -K -N- -k- -d -3 -r- -v- -f -DMSDOS
18CC=bcc32
19LD=bcc32
20LIB=tlib
21LDFLAGS= $(MODEL)
22O=.obj
23
24# variables
25OBJ1 = adler32$(O) compress$(O) crc32$(O) gzio$(O) uncompr$(O) deflate$(O) \
26 trees$(O)
27OBJP1 = adler32$(O)+compress$(O)+crc32$(O)+gzio$(O)+uncompr$(O)+deflate$(O)+\
28 trees$(O)
29OBJ2 = zutil$(O) inflate$(O) infblock$(O) inftrees$(O) infcodes$(O) \
30 infutil$(O) inffast$(O)
31OBJP2 = zutil$(O)+inflate$(O)+infblock$(O)+inftrees$(O)+infcodes$(O)+\
32 infutil$(O)+inffast$(O)
33
34all: test
35
36adler32.obj: adler32.c zlib.h zconf.h
37 $(CC) -c $(CFLAGS) $*.c
38
39compress.obj: compress.c zlib.h zconf.h
40 $(CC) -c $(CFLAGS) $*.c
41
42crc32.obj: crc32.c zlib.h zconf.h
43 $(CC) -c $(CFLAGS) $*.c
44
45deflate.obj: deflate.c deflate.h zutil.h zlib.h zconf.h
46 $(CC) -c $(CFLAGS) $*.c
47
48gzio.obj: gzio.c zutil.h zlib.h zconf.h
49 $(CC) -c $(CFLAGS) $*.c
50
51infblock.obj: infblock.c zutil.h zlib.h zconf.h infblock.h inftrees.h\
52 infcodes.h infutil.h
53 $(CC) -c $(CFLAGS) $*.c
54
55infcodes.obj: infcodes.c zutil.h zlib.h zconf.h inftrees.h infutil.h\
56 infcodes.h inffast.h
57 $(CC) -c $(CFLAGS) $*.c
58
59inflate.obj: inflate.c zutil.h zlib.h zconf.h infblock.h
60 $(CC) -c $(CFLAGS) $*.c
61
62inftrees.obj: inftrees.c zutil.h zlib.h zconf.h inftrees.h
63 $(CC) -c $(CFLAGS) $*.c
64
65infutil.obj: infutil.c zutil.h zlib.h zconf.h inftrees.h infutil.h
66 $(CC) -c $(CFLAGS) $*.c
67
68inffast.obj: inffast.c zutil.h zlib.h zconf.h inftrees.h infutil.h inffast.h
69 $(CC) -c $(CFLAGS) $*.c
70
71trees.obj: trees.c deflate.h zutil.h zlib.h zconf.h
72 $(CC) -c $(CFLAGS) $*.c
73
74uncompr.obj: uncompr.c zlib.h zconf.h
75 $(CC) -c $(CFLAGS) $*.c
76
77zutil.obj: zutil.c zutil.h zlib.h zconf.h
78 $(CC) -c $(CFLAGS) $*.c
79
80example.obj: example.c zlib.h zconf.h
81 $(CC) -c $(CFLAGS) $*.c
82
83minigzip.obj: minigzip.c zlib.h zconf.h
84 $(CC) -c $(CFLAGS) $*.c
85
86# we must cut the command line to fit in the MS/DOS 128 byte limit:
87zlib.lib: $(OBJ1) $(OBJ2)
88 del zlib.lib
89 $(LIB) zlib +$(OBJP1)
90 $(LIB) zlib +$(OBJP2)
91
92example.exe: example.obj zlib.lib
93 $(LD) $(LDFLAGS) example.obj zlib.lib
94
95minigzip.exe: minigzip.obj zlib.lib
96 $(LD) $(LDFLAGS) minigzip.obj zlib.lib
97
98test: example.exe minigzip.exe
99 example
100 echo hello world | minigzip | minigzip -d
101
102#clean:
103# del *.obj
104# del *.exe
diff --git a/old/msdos/Makefile.wat b/old/msdos/Makefile.wat
deleted file mode 100644
index 065fe4c..0000000
--- a/old/msdos/Makefile.wat
+++ /dev/null
@@ -1,103 +0,0 @@
1# Makefile for zlib
2# Watcom 10a
3
4# This version of the zlib makefile was adapted by Chris Young for use
5# with Watcom 10a 32-bit protected mode flat memory model. It was created
6# for use with POV-Ray ray tracer and you may choose to edit the CFLAGS to
7# suit your needs but the -DMSDOS is required.
8# -- Chris Young 76702.1655@compuserve.com
9
10# To use, do "wmake -f makefile.wat"
11
12# See zconf.h for details about the memory requirements.
13
14# ------------- Watcom 10a -------------
15MODEL=-mf
16CFLAGS= $(MODEL) -fpi87 -fp5 -zp4 -5r -w5 -oneatx -DMSDOS
17CC=wcc386
18LD=wcl386
19LIB=wlib -b -c
20LDFLAGS=
21O=.obj
22
23# variables
24OBJ1=adler32$(O) compress$(O) crc32$(O) gzio$(O) uncompr$(O) deflate$(O)
25OBJ2=trees$(O) zutil$(O) inflate$(O) infblock$(O) inftrees$(O) infcodes$(O)
26OBJ3=infutil$(O) inffast$(O)
27OBJP1=adler32$(O)+compress$(O)+crc32$(O)+gzio$(O)+uncompr$(O)+deflate$(O)
28OBJP2=trees$(O)+zutil$(O)+inflate$(O)+infblock$(O)+inftrees$(O)+infcodes$(O)
29OBJP3=infutil$(O)+inffast$(O)
30
31all: test
32
33adler32.obj: adler32.c zlib.h zconf.h
34 $(CC) $(CFLAGS) $*.c
35
36compress.obj: compress.c zlib.h zconf.h
37 $(CC) $(CFLAGS) $*.c
38
39crc32.obj: crc32.c zlib.h zconf.h
40 $(CC) $(CFLAGS) $*.c
41
42deflate.obj: deflate.c deflate.h zutil.h zlib.h zconf.h
43 $(CC) $(CFLAGS) $*.c
44
45gzio.obj: gzio.c zutil.h zlib.h zconf.h
46 $(CC) $(CFLAGS) $*.c
47
48infblock.obj: infblock.c zutil.h zlib.h zconf.h infblock.h inftrees.h &
49 infcodes.h infutil.h
50 $(CC) $(CFLAGS) $*.c
51
52infcodes.obj: infcodes.c zutil.h zlib.h zconf.h inftrees.h infutil.h &
53 infcodes.h inffast.h
54 $(CC) $(CFLAGS) $*.c
55
56inflate.obj: inflate.c zutil.h zlib.h zconf.h infblock.h
57 $(CC) $(CFLAGS) $*.c
58
59inftrees.obj: inftrees.c zutil.h zlib.h zconf.h inftrees.h
60 $(CC) $(CFLAGS) $*.c
61
62infutil.obj: infutil.c zutil.h zlib.h zconf.h inftrees.h infutil.h
63 $(CC) $(CFLAGS) $*.c
64
65inffast.obj: inffast.c zutil.h zlib.h zconf.h inftrees.h infutil.h inffast.h
66 $(CC) $(CFLAGS) $*.c
67
68trees.obj: trees.c deflate.h zutil.h zlib.h zconf.h
69 $(CC) $(CFLAGS) $*.c
70
71uncompr.obj: uncompr.c zlib.h zconf.h
72 $(CC) $(CFLAGS) $*.c
73
74zutil.obj: zutil.c zutil.h zlib.h zconf.h
75 $(CC) $(CFLAGS) $*.c
76
77example.obj: example.c zlib.h zconf.h
78 $(CC) $(CFLAGS) $*.c
79
80minigzip.obj: minigzip.c zlib.h zconf.h
81 $(CC) $(CFLAGS) $*.c
82
83# we must cut the command line to fit in the MS/DOS 128 byte limit:
84zlib.lib: $(OBJ1) $(OBJ2) $(OBJ3)
85 del zlib.lib
86 $(LIB) zlib.lib +$(OBJP1)
87 $(LIB) zlib.lib +$(OBJP2)
88 $(LIB) zlib.lib +$(OBJP3)
89
90example.exe: example.obj zlib.lib
91 $(LD) $(LDFLAGS) example.obj zlib.lib
92
93minigzip.exe: minigzip.obj zlib.lib
94 $(LD) $(LDFLAGS) minigzip.obj zlib.lib
95
96test: minigzip.exe example.exe
97 example
98 echo hello world | minigzip | minigzip -d >test
99 type test
100
101#clean:
102# del *.obj
103# del *.exe