forked from calmsacibis995/reno-src
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
47 lines (36 loc) · 1.22 KB
/
Makefile
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
44
45
46
47
# @(#)Makefile 4.22 (Berkeley) 6/30/90
SUBDIR= bin contrib games include kerberosIV lib libexec old pgrm sbin \
share usr.bin usr.sbin
build:
${MAKE} cleandir
@echo "+++ includes"
cd include; ${MAKE} depend all install clean
.if ${MACHINE} == "vax" || ${MACHINE} == "tahoe"
@echo "+++ C preprocessor, compiler, loader"
cd pgrm/cpp; ${MAKE} depend all install clean
cd libexec/pcc; ${MAKE} depend all install clean
cd pgrm/ld; ${MAKE} depend all install clean
@echo "+++ C library"
cd lib/libc; ${MAKE} depend all install clean
@echo "+++ C preprocessor, compiler, loader (second time)"
cd pgrm/cpp; ${MAKE} all install
cd libexec/pcc; ${MAKE} all install
cd pgrm/ld; ${MAKE} all install
.endif
@echo "+++ libraries"
cd lib; ${MAKE} depend all install all
cd kerberosIV; ${MAKE} depend all install all
@echo "+++ C library tags"
cd lib/libc; rm -f tags; ${MAKE} tags; \
install -c -o ${BINOWN} -g ${BINGRP} -m 444 tags /usr/libdata/tags
${MAKE} depend all
OBJ= /usr/obj
shadow:
@-for file in \
`find ${SUBDIR:S/^/-f /g} name SCCS prune or name obj print`; do \
d=`dirname $$file`; \
echo ${OBJ}/$$d; \
mkdir -p ${OBJ}/$$d > /dev/null 2>&1 ; \
chown bin.bin ${OBJ}/$$d; \
done
.include <bsd.subdir.mk>