|
|
1.1 ! root 1: # ! 2: # Copyright (c) 1987 Regents of the University of California. ! 3: # All rights reserved. The Berkeley software License Agreement ! 4: # specifies the terms and conditions for redistribution. ! 5: # ! 6: # @(#)Makefile 4.9 (Berkeley) 10/7/87 ! 7: # ! 8: # The word lists may be extended by adding special words. ! 9: # The set of files containing words to be added are defined ! 10: # by SPECIAL below. By default we add commands and library ! 11: # function names defined in /usr/man/man[1238n]. The word ! 12: # lists also may be extended by adding local words. The set ! 13: # of files containing words to be added are defined by LOCAL ! 14: # below. Typically these lists reside in /usr/local/dict. ! 15: ! 16: SPECIAL= special.4bsd ! 17: ! 18: CFLAGS= -O ! 19: LIBC= /lib/libc.a ! 20: SRCS= spell.c spellin.c spellout.c ! 21: OBJS= spell.o spellin.o spellout.o ! 22: ! 23: all: spell hlist hlista hlistb hstop spellin spellout ! 24: ! 25: spell: spell.c ! 26: ${CC} ${CFLAGS} spell.c -o $@ ! 27: ! 28: spellin: spellin.c ! 29: ${CC} ${CFLAGS} spellin.c -o $@ ! 30: ! 31: spellout: spellout.c ! 32: ${CC} ${CFLAGS} spellout.c -o $@ ! 33: ! 34: hlist: /usr/dict/words spellin ! 35: spellin < words >hlist ! 36: ! 37: hlista: american ${SPECIAL} ${LOCAL} hlist spellin ! 38: (cat american ${SPECIAL} ${LOCAL}) | spellin hlist > hlista ! 39: ! 40: hlistb: british ${SPECIAL} ${LOCAL} hlist spellin ! 41: (cat british ${SPECIAL} ${LOCAL}) | spellin hlist > hlistb ! 42: ! 43: hstop: stop spellin ! 44: spellin < stop >hstop ! 45: ! 46: clean: FRC ! 47: rm -f ${OBJS} core spell spellin hlista hlistb hlist hstop spellout ! 48: ! 49: depend: FRC ! 50: mkdep -p ${CFLAGS} ${SRCS} ! 51: ! 52: install: FRC ! 53: -[ -d ${DESTDIR}/usr/dict/special ] || mkdir ${DESTDIR}/usr/dict/special ! 54: install -s -o bin -g bin -m 755 spell ${DESTDIR}/usr/lib/spell ! 55: install -s -o bin -g bin -m 755 spellin ${DESTDIR}/usr/bin/spellin ! 56: install -s -o bin -g bin -m 755 spellout ${DESTDIR}/usr/bin/spellout ! 57: install -c -o bin -g bin -m 755 spell.sh ${DESTDIR}/usr/bin/spell ! 58: install -o bin -g bin -m 444 hlista ${DESTDIR}/usr/dict/hlista ! 59: install -o bin -g bin -m 444 hlistb ${DESTDIR}/usr/dict/hlistb ! 60: install -o bin -g bin -m 444 hstop ${DESTDIR}/usr/dict/hstop ! 61: install -o bin -g bin -m 444 hlist ${DESTDIR}/usr/dict/hlist ! 62: install -c -o bin -g bin -m 444 words ${DESTDIR}/usr/dict/words ! 63: install -c -o bin -g bin -m 444 american ${DESTDIR}/usr/dict/american ! 64: install -c -o bin -g bin -m 444 british ${DESTDIR}/usr/dict/british ! 65: install -c -o bin -g bin -m 444 stop ${DESTDIR}/usr/dict/stop ! 66: install -c -o bin -g bin -m 444 README ${DESTDIR}/usr/dict/README ! 67: install -c -o bin -g bin -m 444 special.4bsd ${DESTDIR}/usr/dict/special/4bsd ! 68: install -c -o bin -g bin -m 444 special.math ${DESTDIR}/usr/dict/special/math ! 69: ! 70: lint: FRC ! 71: lint ${CFLAGS} spell.c ! 72: lint ${CFLAGS} spellin.c ! 73: lint ${CFLAGS} spellout.c ! 74: ! 75: tags: FRC ! 76: ctags spell.c ! 77: ctags -a spellin.c ! 78: ctags -a spellout.c ! 79: sort -o tags tags ! 80: ! 81: FRC: ! 82: ! 83: # DO NOT DELETE THIS LINE -- mkdep uses it. ! 84: # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. ! 85: ! 86: spell: spell.c spell.h /usr/include/stdio.h /usr/include/ctype.h ! 87: spellin: spellin.c spell.h /usr/include/stdio.h /usr/include/ctype.h ! 88: spellout: spellout.c spell.h /usr/include/stdio.h /usr/include/ctype.h ! 89: ! 90: # IF YOU PUT ANYTHING HERE IT WILL GO AWAY
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.