[llvm-commits] CVS: llvm-test/Runtime/zlib/amiga/Makefile.pup Makefile.sas

John Criswell criswell at cs.uiuc.edu
Mon Dec 6 13:19:55 PST 2004



Changes in directory llvm-test/Runtime/zlib/amiga:

Makefile.pup added (r1.1)
Makefile.sas added (r1.1)
---
Log message:

Addition of runtime libraries needed for testing.
Namely, libpng and zlib return to the testsuite for Povray.



---
Diffs of the changes:  (+131 -0)

Index: llvm-test/Runtime/zlib/amiga/Makefile.pup
diff -c /dev/null llvm-test/Runtime/zlib/amiga/Makefile.pup:1.1
*** /dev/null	Mon Dec  6 15:19:50 2004
--- llvm-test/Runtime/zlib/amiga/Makefile.pup	Mon Dec  6 15:19:40 2004
***************
*** 0 ****
--- 1,66 ----
+ # Amiga powerUP (TM) Makefile
+ # makefile for libpng and SAS C V6.58/7.00 PPC compiler
+ # Copyright (C) 1998 by Andreas R. Kleinert
+ 
+ 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 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
+ 
+ $(LIBNAME): $(OBJS)
+ 	$(AR) $@ $(OBJS)
+ 	-$(RANLIB) $@
+ 
+ example: example.o $(LIBNAME)
+ 	$(LD) $(LDFLAGS) $@ LIB:c_ppc.o $@.o $(LIBNAME) $(LDLIBS)
+ 
+ minigzip: minigzip.o $(LIBNAME)
+ 	$(LD) $(LDFLAGS) $@ LIB:c_ppc.o $@.o $(LIBNAME) $(LDLIBS)
+ 
+ mostlyclean: clean
+ clean:
+ 	$(RM) *.o example minigzip $(LIBNAME) foo.gz
+ 
+ zip:
+ 	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]
+ 
+ # DO NOT DELETE THIS LINE -- make depend depends on it.
+ 
+ adler32.o: zlib.h zconf.h
+ compress.o: 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
+ 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
+ minigzip.o: 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


Index: llvm-test/Runtime/zlib/amiga/Makefile.sas
diff -c /dev/null llvm-test/Runtime/zlib/amiga/Makefile.sas:1.1
*** /dev/null	Mon Dec  6 15:19:55 2004
--- llvm-test/Runtime/zlib/amiga/Makefile.sas	Mon Dec  6 15:19:40 2004
***************
*** 0 ****
--- 1,65 ----
+ # SMakefile for zlib
+ # Modified from the standard UNIX Makefile Copyright Jean-loup Gailly
+ # Osma Ahvenlampi <Osma.Ahvenlampi at hut.fi>
+ # Amiga, SAS/C 6.56 & Smake
+ 
+ CC=sc
+ CFLAGS=OPT
+ #CFLAGS=OPT CPU=68030
+ #CFLAGS=DEBUG=LINE
+ LDFLAGS=LIB z.lib
+ 
+ SCOPTIONS=OPTSCHED OPTINLINE OPTALIAS OPTTIME OPTINLOCAL STRMERGE \
+        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 infback.o inftrees.o inffast.o
+ 
+ TEST_OBJS = example.o minigzip.o
+ 
+ all: SCOPTIONS example minigzip
+ 
+ check: test
+ test: all
+ 	example
+ 	echo hello world | minigzip | minigzip -d 
+ 
+ install: z.lib
+ 	copy clone zlib.h zconf.h INCLUDE:
+ 	copy clone z.lib LIB:
+ 
+ z.lib: $(OBJS)
+ 	oml z.lib r $(OBJS)
+ 
+ example: example.o z.lib
+ 	$(CC) $(CFLAGS) LINK TO $@ example.o $(LDFLAGS)
+ 
+ minigzip: minigzip.o z.lib
+ 	$(CC) $(CFLAGS) LINK TO $@ minigzip.o $(LDFLAGS)
+ 
+ mostlyclean: clean
+ clean:
+ 	-delete force quiet example minigzip *.o z.lib foo.gz *.lnk SCOPTIONS
+ 
+ SCOPTIONS: Makefile.sas
+ 	copy to $@ <from <
+ $(SCOPTIONS)
+ <
+ 
+ # DO NOT DELETE THIS LINE -- make depend depends on it.
+ 
+ adler32.o: zlib.h zconf.h
+ compress.o: 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
+ 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
+ minigzip.o: 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






More information about the llvm-commits mailing list