File:  [Power 6/32 Unix Tahoe 4.2BSD] / cci / usr / src / usr.bin / spell / Makefile
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Sun Jul 28 12:24:19 2019 UTC (6 years, 11 months ago) by root
Branches: bsd, MAIN
CVS tags: v12b, v121, HEAD
Power 6/32 Unix version 1.2b

#	@(#)Makefile	4.3	5/25/83

DESTDIR=
AS=/bin/as
CC=/bin/cc
LCC=/bin/cc
LD=/bin/ld
INCLDIR=${DESTDIR}/usr/include
LIBDIR=${DESTDIR}/lib
ULIBDIR=${DESTDIR}/usr/lib

CFLAGS= -O -I${INCLDIR}

all:	spell hlist hlista hlistb hstop lspellin spellin spellout

install:	all
	install -s spell $(DESTDIR)/usr/lib
	install -s spellin ${DESTDIR}/usr/bin
	install -s spellout ${DESTDIR}/usr/bin
	install -c hlista $(DESTDIR)/usr/dict
	install -c hlistb $(DESTDIR)/usr/dict
	install -c hstop $(DESTDIR)/usr/dict
	install -c spell.sh $(DESTDIR)/usr/bin/spell

clean:	
	rm -f *.o spell lspellin spellin hlista hlistb hlist hstop spellout
	
cleansrc:
	rm -f *.[ch] *.sh stop local american british Makefile

spell: spell.o
	${CC} spell.o -o spell
lspellin: spellin.o
	${LCC} spellin.o -o lspellin
spellin: spellin.o
	${CC} spellin.o -o spellin
spellout: spellout.o
	${CC} spellout.o -o spellout

hlist: /usr/dict/words lspellin
	./lspellin </usr/dict/words >hlist
hlista: american local hlist lspellin
	(cat american local)|./lspellin hlist >hlista
hlistb: british local hlist lspellin
	(cat british local)|./lspellin hlist >hlistb
hstop: stop lspellin
	./lspellin <stop >hstop

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.