diff options
author | Tom Tromey <tromey@gcc.gnu.org> | 2004-10-11 18:45:43 +0000 |
---|---|---|
committer | Tom Tromey <tromey@gcc.gnu.org> | 2004-10-11 18:45:43 +0000 |
commit | 17210dff5d26c1e820e0cd678a46cf2795c41e4c (patch) | |
tree | 01e6e6bb5683a568f3e4d7be40728b9b503640c4 /zlib/amiga | |
parent | 1325e2b519f4a1b3d9fbd92ece22bdf3e4df0b06 (diff) | |
download | gcc-17210dff5d26c1e820e0cd678a46cf2795c41e4c.zip gcc-17210dff5d26c1e820e0cd678a46cf2795c41e4c.tar.gz gcc-17210dff5d26c1e820e0cd678a46cf2795c41e4c.tar.bz2 |
re PR libgcj/14856 (Update bundled zlib)
PR libgcj/14856:
* Imported zlib 1.2.1; merged local changes.
From-SVN: r88898
Diffstat (limited to 'zlib/amiga')
-rw-r--r-- | zlib/amiga/Makefile.pup | 62 | ||||
-rw-r--r-- | zlib/amiga/Makefile.sas | 33 |
2 files changed, 48 insertions, 47 deletions
diff --git a/zlib/amiga/Makefile.pup b/zlib/amiga/Makefile.pup index 6cfad1d..3f7e155 100644 --- a/zlib/amiga/Makefile.pup +++ b/zlib/amiga/Makefile.pup @@ -2,65 +2,65 @@ # makefile for libpng and SAS C V6.58/7.00 PPC compiler # Copyright (C) 1998 by Andreas R. Kleinert -CC = scppc -CFLAGS = NOSTKCHK NOSINT OPTIMIZE OPTGO OPTPEEP OPTINLOCAL OPTINL \ - OPTLOOP OPTRDEP=8 OPTDEP=8 OPTCOMP=8 -LIBNAME = libzip.a -AR = ppc-amigaos-ar -AR_FLAGS = cr -RANLIB = ppc-amigaos-ranlib -LDFLAGS = -r -o -LDLIBS = LIB:scppc.a -LN = ppc-amigaos-ld -RM = delete quiet +LIBNAME = libzip.a + +CC = scppc +CFLAGS = NOSTKCHK NOSINT OPTIMIZE OPTGO OPTPEEP OPTINLOCAL OPTINL \ + OPTLOOP OPTRDEP=8 OPTDEP=8 OPTCOMP=8 NOVER +AR = ppc-amigaos-ar cr +RANLIB = ppc-amigaos-ranlib +LD = ppc-amigaos-ld -r +LDFLAGS = -o +LDLIBS = LIB:scppc.a LIB:end.o +RM = delete quiet OBJS = adler32.o compress.o crc32.o gzio.o uncompr.o deflate.o trees.o \ - zutil.o inflate.o infblock.o inftrees.o infcodes.o infutil.o inffast.o + zutil.o inflate.o infback.o inftrees.o inffast.o TEST_OBJS = example.o minigzip.o all: example minigzip +check: test test: all - example - echo hello world | minigzip | minigzip -d + example + echo hello world | minigzip | minigzip -d $(LIBNAME): $(OBJS) - $(AR) $(AR_FLAGS) $@ $(OBJS) - $(RANLIB) $@ + $(AR) $@ $(OBJS) + -$(RANLIB) $@ example: example.o $(LIBNAME) - $(LN) $(LDFLAGS) example LIB:c_ppc.o example.o $(LIBNAME) $(LDLIBS) LIB:end.o + $(LD) $(LDFLAGS) $@ LIB:c_ppc.o $@.o $(LIBNAME) $(LDLIBS) minigzip: minigzip.o $(LIBNAME) - $(LN) $(LDFLAGS) minigzip LIB:c_ppc.o minigzip.o $(LIBNAME) $(LDLIBS) LIB:end.o + $(LD) $(LDFLAGS) $@ LIB:c_ppc.o $@.o $(LIBNAME) $(LDLIBS) +mostlyclean: clean clean: - $(RM) *.o example minigzip $(LIBNAME) foo.gz + $(RM) *.o example minigzip $(LIBNAME) foo.gz zip: - zip -ul9 zlib README ChangeLog Makefile Make????.??? Makefile.?? \ - descrip.mms *.[ch] + zip -ul9 zlib README ChangeLog Makefile Make????.??? Makefile.?? \ + descrip.mms *.[ch] tgz: - cd ..; tar cfz zlib/zlib.tgz zlib/README zlib/ChangeLog zlib/Makefile \ - zlib/Make????.??? zlib/Makefile.?? zlib/descrip.mms zlib/*.[ch] + cd ..; tar cfz zlib/zlib.tgz zlib/README zlib/ChangeLog zlib/Makefile \ + zlib/Make????.??? zlib/Makefile.?? zlib/descrip.mms zlib/*.[ch] # DO NOT DELETE THIS LINE -- make depend depends on it. -adler32.o: zutil.h zlib.h zconf.h +adler32.o: zlib.h zconf.h compress.o: zlib.h zconf.h -crc32.o: zutil.h zlib.h zconf.h +crc32.o: crc32.h zlib.h zconf.h deflate.o: deflate.h zutil.h zlib.h zconf.h example.o: zlib.h zconf.h gzio.o: zutil.h zlib.h zconf.h -infblock.o: zutil.h zlib.h zconf.h infblock.h inftrees.h infcodes.h infutil.h -infcodes.o: zutil.h zlib.h zconf.h inftrees.h infutil.h infcodes.h inffast.h -inffast.o: zutil.h zlib.h zconf.h inftrees.h infutil.h inffast.h -inflate.o: zutil.h zlib.h zconf.h infblock.h +inffast.o: zutil.h zlib.h zconf.h inftrees.h inflate.h inffast.h +inflate.o: zutil.h zlib.h zconf.h inftrees.h inflate.h inffast.h +infback.o: zutil.h zlib.h zconf.h inftrees.h inflate.h inffast.h inftrees.o: zutil.h zlib.h zconf.h inftrees.h -infutil.o: zutil.h zlib.h zconf.h inftrees.h infutil.h minigzip.o: zlib.h zconf.h -trees.o: deflate.h zutil.h zlib.h zconf.h +trees.o: deflate.h zutil.h zlib.h zconf.h trees.h uncompr.o: zlib.h zconf.h zutil.o: zutil.h zlib.h zconf.h diff --git a/zlib/amiga/Makefile.sas b/zlib/amiga/Makefile.sas index 5323e82..d6842b8 100644 --- a/zlib/amiga/Makefile.sas +++ b/zlib/amiga/Makefile.sas @@ -10,22 +10,24 @@ CFLAGS=OPT LDFLAGS=LIB z.lib SCOPTIONS=OPTSCHED OPTINLINE OPTALIAS OPTTIME OPTINLOCAL STRMERGE \ - NOICONS PARMS=BOTH NOSTACKCHECK UTILLIB NOVERSION ERRORREXX + NOICONS PARMS=BOTH NOSTACKCHECK UTILLIB NOVERSION ERRORREXX \ + DEF=POSTINC OBJS = adler32.o compress.o crc32.o gzio.o uncompr.o deflate.o trees.o \ - zutil.o inflate.o infblock.o inftrees.o infcodes.o infutil.o inffast.o + zutil.o inflate.o infback.o inftrees.o inffast.o TEST_OBJS = example.o minigzip.o all: SCOPTIONS example minigzip +check: test test: all - `cd`/example + example echo hello world | minigzip | minigzip -d install: z.lib - copy zlib.h zconf.h INCLUDE: clone - copy z.lib LIB: clone + copy clone zlib.h zconf.h INCLUDE: + copy clone z.lib LIB: z.lib: $(OBJS) oml z.lib r $(OBJS) @@ -36,29 +38,28 @@ example: example.o z.lib minigzip: minigzip.o z.lib $(CC) $(CFLAGS) LINK TO $@ minigzip.o $(LDFLAGS) +mostlyclean: clean clean: - -delete force quiet *.o example minigzip z.lib foo.gz *.lnk SCOPTIONS + -delete force quiet example minigzip *.o z.lib foo.gz *.lnk SCOPTIONS -SCOPTIONS: Smakefile - copy to $@ <from < +SCOPTIONS: Makefile.sas + copy to $@ <from < $(SCOPTIONS) < # DO NOT DELETE THIS LINE -- make depend depends on it. -adler32.o: zutil.h zlib.h zconf.h +adler32.o: zlib.h zconf.h compress.o: zlib.h zconf.h -crc32.o: zutil.h zlib.h zconf.h +crc32.o: crc32.h zlib.h zconf.h deflate.o: deflate.h zutil.h zlib.h zconf.h example.o: zlib.h zconf.h gzio.o: zutil.h zlib.h zconf.h -infblock.o: zutil.h zlib.h zconf.h infblock.h inftrees.h infcodes.h infutil.h -infcodes.o: zutil.h zlib.h zconf.h inftrees.h infutil.h infcodes.h inffast.h -inffast.o: zutil.h zlib.h zconf.h inftrees.h infutil.h inffast.h -inflate.o: zutil.h zlib.h zconf.h infblock.h +inffast.o: zutil.h zlib.h zconf.h inftrees.h inflate.h inffast.h +inflate.o: zutil.h zlib.h zconf.h inftrees.h inflate.h inffast.h +infback.o: zutil.h zlib.h zconf.h inftrees.h inflate.h inffast.h inftrees.o: zutil.h zlib.h zconf.h inftrees.h -infutil.o: zutil.h zlib.h zconf.h inftrees.h infutil.h minigzip.o: zlib.h zconf.h -trees.o: deflate.h zutil.h zlib.h zconf.h +trees.o: deflate.h zutil.h zlib.h zconf.h trees.h uncompr.o: zlib.h zconf.h zutil.o: zutil.h zlib.h zconf.h |