aboutsummaryrefslogtreecommitdiff
path: root/unix/mkfile.mk
blob: 09d064d7aaa7d75a7e513a0a5f76edcaf91c28e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
MAKEALL=`{cd ../make; ls Make.*}
TARG=\
	$MAKEALL\
	NOTICE\
	README\
	Makefile\
	mk.1\
	mk.h\
	sys.h\
	fns.h\
	`{ls -p $PLAN9/src/cmd/mk/*.c}\

all:V: $TARG

%: $PLAN9/include/%
	cp $prereq $target

%: $PLAN9/src/cmd/mk/%
	cp $prereq $target

%: $PLAN9/man/man1/%
	cp $prereq $target

%: $PLAN9/man/man3/%
	cp $prereq $target

%: $PLAN9/man/man7/%
	cp $prereq $target

%: ../make/%
	cp $prereq $target

Makefile:D: ../make/Makefile.TOP ../make/Makefile.mk ../make/Makefile.CMD ../make/Makefile.BOT
	cat $prereq >$target

README: ../README
	cp $prereq $target

NOTICE: ../NOTICE.mk
	cp $prereq $target

sys.h: $PLAN9/src/cmd/mk/sys.h.std
	cp $prereq $target