BSD 4_3_Net_1 release
[unix-history] / doc / 08.ipc / Makefile
CommitLineData
6d89475b 1#
064e06d8
MK
2# Copyright (c) 1986 Regents of the University of California.
3# All rights reserved. The Berkeley software License Agreement
4# specifies the terms and conditions for redistribution.
5#
95f51977 6# @(#)Makefile 1.2 (Berkeley) 5/2/86
064e06d8 7#
6d89475b
MK
8SRCS= 0.t 1.t 2.t 3.t 4.t 5.t
9MACROS= -ms
10PRINTER=-Pdp
11EQN= deqn ${PRINTER}
12TBL= dtbl ${PRINTER}
13TROFF= ditroff ${PRINTER}
064e06d8 14
6d89475b
MK
15ipc: ipc.${PRINTER}
16 lpr ${PRINTER} -n ipc.${PRINTER}
064e06d8 17
6d89475b
MK
18ipc.${PRINTER}: ${SRCS}
19 ${TBL} ${SRCS} | ${TROFF} ${MACROS} -t > ipc.${PRINTER}
064e06d8
MK
20
21clean:
6d89475b 22 rm -f ipc.-* *.spell errs Errs make.out
064e06d8 23
6d89475b
MK
24spell: ${SRCS}
25 @for i in ${SRCS}; do \
26 echo $$i; spell $$i | sort | comm -23 - spell.ok > $$i.spell; \
27 done