1 diff -ruN libpng.orig/scripts/makefile.macosx libpng/scripts/makefile.macosx
2 --- libpng.orig/scripts/makefile.macosx Thu Oct 3 13:32:34 2002
3 +++ libpng/scripts/makefile.macosx Thu Apr 7 01:00:51 2005
5 # For conditions of distribution and use, see copyright notice in png.h
7 # where make install puts libpng.a and png.h
11 # Where the zlib library and include files are located
12 #ZLIBLIB=/usr/local/lib
14 PNGVER = $(PNGMAJ).$(PNGMIN)
16 CFLAGS=-fno-common -I$(ZLIBINC) -O # -g -DPNG_DEBUG=5
17 -LDFLAGS=-L. -L$(ZLIBLIB) -lpng -lz -current_version $(PNGVER)
18 +LDFLAGS=-L. -L$(ZLIBLIB) -lpng -lz
21 SHAREDLIB_POSTFIX=dylib
23 pngread.o pngrio.o pngwio.o pngwrite.o pngrtran.o \
24 pngwtran.o pngmem.o pngerror.o pngpread.o
26 -all: libpng.a pngtest shared libpng.pc libpng-config
27 +all: libpng.a pngtest libpng.pc libpng-config
29 shared: $(LIBNAME).$(PNGVER).$(SHAREDLIB_POSTFIX)
32 chmod 755 $(DB)/$(LIBNAME)-config
33 (cd $(DB); ln -sf $(LIBNAME)-config libpng-config)
35 -install: install-static install-shared install-man install-config
36 +install: install-static install-man install-config
38 # If you installed in $(DESTDIR), test-installed won't work until you
39 # move the library to its final location.