1 diff -ruN libpng-1.2.12/scripts/makefile.darwin libpng/scripts/makefile.darwin
2 --- libpng-1.2.12/scripts/makefile.darwin 2006-06-27 22:22:40.000000000 +0200
3 +++ libpng/scripts/makefile.darwin 2006-07-27 12:07:18.000000000 +0200
5 # For conditions of distribution and use, see copyright notice in png.h
7 # where "make install" puts libpng.a, libpng12.dylib, png.h and pngconf.h
12 # Where the zlib library and include files are located
13 -#ZLIBLIB=/usr/local/lib
14 -#ZLIBINC=/usr/local/include
28 -CFLAGS=-I$(ZLIBINC) -Wall -O3 -funroll-loops
29 -LDFLAGS=-L. -L$(ZLIBLIB) -lpng12 -lz
30 +CFLAGS=??EXTRA_CFLAGS?? -I$(ZLIBINC) -Wall -O3 -funroll-loops
31 +LDFLAGS=??EXTRA_LDFLAGS?? -L. -L$(ZLIBLIB) -lpng12 -lz
33 INCPATH=$(prefix)/include
34 LIBPATH=$(exec_prefix)/lib
36 chmod 755 $(DB)/$(LIBNAME)-config
37 (cd $(DB); $(LN_SF) $(LIBNAME)-config libpng-config)
39 -install: install-static install-shared install-man install-config
40 +install: install-static install-man install-config
42 # If you installed in $(DESTDIR), test-installed won't work until you
43 # move the library to its final location. Use test-dd to test it