14a1e9c544
Cawf is a C version of awf, Henry Spencer's Amazingly Workable (text) Formatter. (Awf is written in awk and appears in comp.sources.unix, Volume 23, Issue 27.) Cawf and awf provide a usable subset of raw nroff capabilities and the styles of the man(7), me(7) (only cawf supports me(7)), and ms(7) macro sets. Like awf, cawf is completely independent of any licensed Unix source code. In comparison to awf, cawf supports more nroff functions and one more macro set, me(7).
28 lines
687 B
Text
28 lines
687 B
Text
$NetBSD: patch-aa,v 1.1.1.1 2005/01/20 17:59:13 tv Exp $
|
|
|
|
--- Makefile.orig 2005-01-20 12:32:21.000000000 -0500
|
|
+++ Makefile
|
|
@@ -34,10 +34,6 @@
|
|
#
|
|
#DEFS = -DUNIX -DMALLOCH
|
|
|
|
-DEFS = -DUNIX -DSTDLIB -D_NEXT_SOURCE -ansi -pedantic
|
|
-
|
|
-CFLAGS = -O ${DEFS}
|
|
-
|
|
HDR = ansi.h cawf.h cawflib.h proto.h regexp.h regmagic.h
|
|
|
|
SRC = cawf.c device.c error.c expand.c expr.c getopt.c macsup.c nreq.c \
|
|
@@ -49,10 +45,10 @@ OBJ = cawf.o device.o error.o expand.o e
|
|
all: bsfilt cawf
|
|
|
|
bsfilt: bsfilt.c
|
|
- ${CC} ${CFLAGS} bsfilt.c -o bsfilt
|
|
+ ${COMPILE.c} -o bsfilt bsfilt.c
|
|
|
|
cawf: ${OBJ}
|
|
- ${CC} ${CFLAGS} ${OBJ} -o cawf
|
|
+ ${LINK.c} -o cawf ${OBJ}
|
|
|
|
clean:
|
|
rm -f *.o a.out core *errs bsfilt cawf
|