1 --- libpng-1.2.2/scripts/makefile.gcmmx.wiget Mon Apr 15 16:25:45 2002
2 +++ libpng-1.2.2/scripts/makefile.gcmmx Tue Apr 16 15:54:12 2002
4 # Where the zlib library and include files are located
5 #ZLIBLIB=/usr/local/lib
6 #ZLIBINC=/usr/local/include
16 # Remove -DPNG_THREAD_UNSAFE_OK if you need thread safety
18 -CFLAGS=-DPNG_THREAD_UNSAFE_OK -DPNG_USE_PNGGCCRD -I$(ZLIBINC) -Wall \
19 - -O3 $(ALIGN) -funroll-loops \
20 +CFLAGS=-DPNG_USE_PNGGCCRD -I$(ZLIBINC) -Wall \
21 + $(OPT_FLAGS) $(ALIGN) \
22 -fomit-frame-pointer # $(WARNMORE) -g -DPNG_DEBUG=5
23 ### for gcc 2.95.2 on 686:
24 #CFLAGS=-DPNG_THREAD_UNSAFE_OK -DPNG_USE_PNGGCCRD -I$(ZLIBINC) -Wall -O3 \
25 --- libpng-1.2.2/scripts/makefile.linux.wiget Mon Apr 15 16:25:46 2002
26 +++ libpng-1.2.2/scripts/makefile.linux Tue Apr 16 15:48:37 2002
28 # Where the zlib library and include files are located
29 #ZLIBLIB=/usr/local/lib
30 #ZLIBINC=/usr/local/include
40 # for pgcc version 2.95.1, -O3 is buggy; don't use it.
42 -CFLAGS=-I$(ZLIBINC) -Wall -O3 -funroll-loops \
43 +CFLAGS=-I$(ZLIBINC) -Wall $(OPT_FLAGS) -funroll-loops \
44 $(ALIGN) # $(WARNMORE) -g -DPNG_DEBUG=5
46 LDFLAGS=-L. -Wl,-rpath,. -L$(ZLIBLIB) -Wl,-rpath,$(ZLIBLIB) -lpng12 -lz -lm