811bdb55f5
GIF images to PNG ones using netpbm at installation time. Update the HTML documentation to use the generated PNG graphics. Update to version 1.6.5 of fly whilst we're here. Version: 1.6.5 15th January 1999 Minor bug fix. Seg fault on garbage input file or empty input file. Thanks to Anatoly A. Orehovsky <tolik@mpeks.tomsk.su> for the report and code fix. Version: 1.6.4 24th November 1998 Minor bug fixes. Removing warnings and fixing minor errors in some print statements. Thanks to Bernie Kirby <bernie@iii.rmit.edu.au> for reporting the warnings. Version: 1.6.3 22nd October 1998 Minor additional feature: any pair of diametrically opposite vertices in any order will now be accepted for rect and frect. Version: 1.6.2 25th September 1998 Minor bug fix - some return codes in case of fatal errors were 0 when they should have been 1. Addition of code for win32 binmode problem. (thanks to Shoji Mori <mori@moriken.com>)
33 lines
822 B
Text
33 lines
822 B
Text
$NetBSD: patch-aa,v 1.5 1999/08/27 10:11:02 agc Exp $
|
|
|
|
Makefile changes for gd 1.6.3 (PNG support)
|
|
|
|
--- Makefile.orig Thu Jan 14 22:42:34 1999
|
|
+++ Makefile Fri Aug 27 10:15:35 1999
|
|
@@ -4,13 +4,15 @@
|
|
# If you already have gd installed, use the line below and comment out the
|
|
# following line
|
|
# GD = /path/to/gd/directory
|
|
- GD = gd1.3
|
|
- CC = gcc
|
|
- CFLAGS = -O -I$(GD)
|
|
- #CFLAGS = -O -pedantic -Wall -I$(GD)
|
|
- LIBS = -L$(GD) -lgd -lm
|
|
+# GD = gd1.3
|
|
+# CC = gcc
|
|
+# CFLAGS = -O -I$(GD)
|
|
+# #CFLAGS = -O -pedantic -Wall -I$(GD)
|
|
+# LIBS = -L$(GD) -lgd -lm
|
|
+CFLAGS= -O -I${PREFIX}/include
|
|
+LIBS= ${LDFLAGS} -lgd -lpng -lz -lm
|
|
|
|
-all: gd fly
|
|
+all: fly
|
|
|
|
gd: $(GD)
|
|
cd $(GD); make CC=$(CC)
|
|
@@ -27,4 +29,3 @@
|
|
|
|
clean:
|
|
rm -f fly.o fly temp.gif core; cd $(GD); make clean;
|
|
-
|