19edff3483
Add Caldera license. Approved by: David Taylor <davidt@caldera.com> Make buildable under FreeBSD. This was relatively complicated: the original text used the msU macros, which are available in a number of different kinds. This version uses a number of mm-like macros, including AL and BL, which just aren't available in ms, and the msU macros I've found (even the ones in 4.4BSD) don't have them either. I replaced them with ms constructs, which makes it format better than the O'Reilly document, but I wasn't able to get the table of contents (ms doesn't have that facility). Add a prominent comment that this is not a reference for any modern version of C.
27 lines
469 B
Makefile
27 lines
469 B
Makefile
# @(#)Makefile 8.1 (Berkeley) 6/8/93
|
|
# $FreeBSD$
|
|
|
|
DIR= psd/06.Clang
|
|
SRCS= Clang.ms
|
|
MACROS= -ms
|
|
GROFF= groff
|
|
|
|
all: paper.ps paper.ascii
|
|
|
|
paper.ps: ${SRCS}
|
|
${TBL} ${SRCS} | ${GROFF} ${MACROS} - > ${.TARGET}
|
|
|
|
paper.ascii: ${SRCS}
|
|
${TBL} ${SRCS} | ${ROFF} ${MACROS} - > ${.TARGET}
|
|
|
|
paper.ascii.gz: paper.ascii
|
|
paper.ps.gz: paper.ps
|
|
|
|
paper.ascii.gz paper.ps.gz:
|
|
gzip -f ${.TARGET:.gz=}
|
|
|
|
clean:
|
|
rm -f paper.* *.spell errs Errs make.out Make.log *~
|
|
|
|
.include <bsd.doc.mk>
|