diff options
| author | John Criswell <criswell@uiuc.edu> | 2004-02-06 16:37:53 +0000 |
|---|---|---|
| committer | John Criswell <criswell@uiuc.edu> | 2004-02-06 16:37:53 +0000 |
| commit | 977412ca351630fb78020b927f94f24835807113 (patch) | |
| tree | 558581a9c23f49933c26a5905628eb319e9e15bc /llvm/runtime/libpng/scripts/makefile.dj2 | |
| parent | 07720fe4fe4f3399246e15f0ad38a22869bd1e98 (diff) | |
| download | bcm5719-llvm-977412ca351630fb78020b927f94f24835807113.tar.gz bcm5719-llvm-977412ca351630fb78020b927f94f24835807113.zip | |
Initial checking of the libpng library.
llvm-svn: 11149
Diffstat (limited to 'llvm/runtime/libpng/scripts/makefile.dj2')
| -rw-r--r-- | llvm/runtime/libpng/scripts/makefile.dj2 | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/llvm/runtime/libpng/scripts/makefile.dj2 b/llvm/runtime/libpng/scripts/makefile.dj2 new file mode 100644 index 00000000000..09045c27557 --- /dev/null +++ b/llvm/runtime/libpng/scripts/makefile.dj2 @@ -0,0 +1,55 @@ +# DJGPP (DOS gcc) makefile for libpng +# Copyright (C) 2002 Glenn Randers-Pehrson +# Copyright (C) 1995 Guy Eric Schalnat, Group 42, Inc. +# For conditions of distribution and use, see copyright notice in png.h + +# where make install will put libpng.a and png.h +#prefix=/usr/local +prefix=. +INCPATH=$(prefix)/include +LIBPATH=$(prefix)/lib + +CC=gcc +CFLAGS=-I../zlib -O +LDFLAGS=-L. -L../zlib/ -lpng -lz -lm + +RANLIB=ranlib + +OBJS = png.o pngset.o pngget.o pngrutil.o pngtrans.o pngwutil.o \ + pngread.o pngrio.o pngwio.o pngwrite.o pngrtran.o pngwtran.o \ + pngmem.o pngerror.o pngpread.o + +all: libpng.a pngtest + +libpng.a: $(OBJS) + ar rc $@ $(OBJS) + $(RANLIB) $@ + +pngtest: pngtest.o libpng.a + $(CC) -o pngtest $(CFLAGS) pngtest.o $(LDFLAGS) + coff2exe pngtest + +test: pngtest + ./pngtest +clean: + rm -f *.o libpng.a pngtest pngout.png + +# DO NOT DELETE THIS LINE -- make depend depends on it. + +png.o: png.h pngconf.h +pngerror.o: png.h pngconf.h +pngrio.o: png.h pngconf.h +pngwio.o: png.h pngconf.h +pngmem.o: png.h pngconf.h +pngset.o: png.h pngconf.h +pngget.o: png.h pngconf.h +pngread.o: png.h pngconf.h +pngpread.o: png.h pngconf.h +pngrtran.o: png.h pngconf.h +pngrutil.o: png.h pngconf.h +pngtest.o: png.h pngconf.h +pngtrans.o: png.h pngconf.h +pngwrite.o: png.h pngconf.h +pngwtran.o: png.h pngconf.h +pngwutil.o: png.h pngconf.h + |

