File:  [Research Unix] / researchv10no / cmd / mk / export / mkfile
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:21:34 2018 UTC (8 years, 1 month ago) by root
Branches: belllabs, MAIN
CVS tags: researchv10, HEAD
researchv10 Norman

NAMES=alloc arc bquote builtins dir expand gen glob graph job\
	lex main makefile match mk parse quote\
	recipe regexp rule run shprint sig symtab t_ar t_driver t_file var word
OBJ=${NAMES:%=%.o}
NPROC=2
BUILTINS=
# for profiling, use -p -DPROF
CFLAGS=-I.. -DSYSV

nmk:	$OBJ
	$CC $CFLAGS -o nmk $OBJ fio/fio.a libc/libc.a math/math.a

goo:V:	nmk
	nmk

clean:V:
	rm -f cyntax nmk *.o O/*

install:V:	nmk
	cp nmk /usr/bin/mk
	strip /usr/bin/mk

pp:V:
	pr *.h *.c | lp -dpsu -n2

%.o:	mk.h

%.o:	%.c
	$CC $CFLAGS -c $stem.c

tut.out:	tut.ms
	pic tut.ms | tbl | troff -Tpost -ms > tut.out

sane:V:	nmk
	cp nmk goo
	rm arc.o; goo -e
	goo -e -wjob.o

poot:V:	nmk
	echo 'pooter Any Dk,g nj/fart/whistle.uucp' >> /n/research/usr/lib/uucp/Systems.dk
	./nmk -k -i -f /usr/lib/upas/mkfile NPROC=1 systems

unix.superglobalmegacorp.com

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