|
|
1.1 root 1: # @(#)Makefile 4.14 (Berkeley) 6/24/90
2:
3: LIBC= /usr/lib/libc.a
4: SRCS= spell.c spellin.c spellout.c
5: MAN1= spell.0
6: MLINKS= spell.1 spellin.1 spell.1 spellout.1
7: SPECIAL=${.CURDIR}/special.4bsd
8:
9: all: spell hlist hlista hlistb hstop spellin spellout ${MAN1}
10:
11: spell spellin spellout: ${LIBC}
12: ${CC} ${CFLAGS} ${.CURDIR}/${.PREFIX}.c -o ${.TARGET}
13:
14: hlist: spellin
15: spellin < /usr/share/dict/words > hlist
16:
17: hlista: american ${SPECIAL} hlist spellin
18: (cat ${.CURDIR}/american ${SPECIAL}) | spellin hlist > hlista
19:
20: hlistb: british ${SPECIAL} hlist spellin
21: (cat ${.CURDIR}/british ${SPECIAL}) | spellin hlist > hlistb
22:
23: hstop: stop spellin
24: spellin < ${.CURDIR}/stop > hstop
25:
26: clean:
27: rm -f a.out Errs errs mklog core spell spellin hlista \
28: hlistb hlist hstop spellout
29:
30: cleandir: clean
31: rm -f ${MAN1} ${.CURDIR}/tags .depend
32:
33: depend: ${SRCS}
34: mkdep -p ${CFLAGS:M-[ID]*} ${.ALLSRC}
35:
36: DIR= ${DESTDIR}/usr/share/dict
37: FILES= hlist hlista hlistb hstop
38:
39: install: maninstall
40: install ${STRIP} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
41: spellin spellout ${DESTDIR}/usr/bin
42: install ${STRIP} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
43: spell ${DESTDIR}/usr/libexec
44: install -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
45: ${.CURDIR}/spell.sh ${DESTDIR}/usr/bin/spell
46: install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${FILES} ${DIR}
47: install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/special.4bsd \
48: ${DIR}/special/4bsd
49: install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/special.math \
50: ${DIR}/special/math
51:
52: lint: ${SRCS}
53: cd ${.CURDIR}; ${LINT} ${LINTFLAGS} ${CFLAGS} spell.c
54: cd ${.CURDIR}; ${LINT} ${LINTFLAGS} ${CFLAGS} spellin.c
55: cd ${.CURDIR}; ${LINT} ${LINTFLAGS} ${CFLAGS} spellout.c
56:
57: tags: ${SRCS}
58: cd ${.CURDIR}; ctags ${SRCS}
59:
60: .include <bsd.prog.mk>
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.