$NetBSD: patch-aa,v 1.2 1999/09/28 13:15:03 simonb Exp $ --- makefile.orig Fri Feb 5 10:13:30 1999 +++ makefile Tue Sep 28 17:36:53 1999 @@ -248,14 +248,14 @@ DBFIX = 0 USESTAT = 1 -SAFEDFT = 0 +SAFEDFT = 1 COLLATE = 1 -BINDIR = /usr/staff/jeff/bin -LIBDIR = /usr/staff/jeff/lout.lib -DOCDIR = /usr/staff/jeff/lout.doc -MANDIR = /usr/staff/jeff/lout.man +BINDIR = @PREFIX@/bin +LIBDIR = @PREFIX@/share/lout +DOCDIR = @PREFIX@/share/doc/lout +MANDIR = @PREFIX@/man/man1 LIBFONT = font LIBMAPS = maps @@ -271,8 +271,8 @@ LOC_FR = fr LOC_DE = de -PDF_COMPRESSION = 0 -ZLIB = +PDF_COMPRESSION = 1 +ZLIB = -lz ZLIBPATH = CC = gcc @@ -299,7 +299,7 @@ -DCHAR_OUT=$(CHAROUT) \ -DLOCALE_ON=$(USELOC) \ -DASSERT_ON=1 $(COPTS) \ - -DDEBUG_ON=1 -g \ + -DDEBUG_ON=1 -g -O2 \ -DPDF_COMPRESSION=$(PDF_COMPRESSION) \ $(ZLIBPATH) @@ -309,6 +309,9 @@ z25.o z26.o z27.o z28.o z29.o z30.o z31.o z32.o \ z33.o z34.o z35.o z36.o z37.o z38.o z39.o z40.o \ z41.o z42.o z43.o z44.o z45.o z46.o z47.o z48.o + +all: lout c2lout +allinstall: install installman installdoc lout: $(OBJS) $(CC) -o lout $(OBJS) $(ZLIB) -lm