1 # Master Makefile to compile everything in /usr/src except the system.
9 @echo
"Master Makefile for MINIX commands and utilities."
10 @echo
"Root privileges are required for some actions."
13 @echo
" make world # Compile everything (libraries & commands)"
14 @echo
" make includes # Install include files from src/"
15 @echo
" make libraries # Compile and install libraries"
16 @echo
" make commands # Compile all, commands, but don't install"
17 @echo
" make install # Compile and install commands"
18 @echo
" make gnu-includes # Install include files for GCC"
19 @echo
" make clean # Remove all compiler results"
21 @echo
"Run 'make' in tools/ to create a new MINIX configuration."
24 # world has to be able to make a new system, even if there
25 # is no complete old system. it has to install commands, for which
26 # it has to install libraries, for which it has to install includes,
27 # for which it has to install /etc (for users and ownerships).
28 # etcfiles also creates a directory hierarchy in its
29 # 'make install' target.
31 # etcfiles has to be done first.
32 world
: mkfiles etcfiles includes libraries dep-all
install etcforce
35 make
-C share
/mk
install
38 $(MAKE
) -C
include includes
39 $(MAKE
) -C lib includes NBSD_LIBC
=yes
41 MKHEADERSS
=/usr
/pkg
/gcc
*/libexec
/gcc
/*/*/install-tools
/mkheaders
42 gnu-includes
: includes
43 SHELL
=/bin
/sh
; for d in
$(MKHEADERSS
); do if
[ -f
$$d ] ; then sh
-e
$$d ; fi
; done
46 $(MAKE
) -C lib dependall
install
48 commands
: includes libraries
49 $(MAKE
) -C commands
all
52 $(MAKE
) -C usr.bin
all
53 $(MAKE
) -C libexec
all
54 $(MAKE
) -C usr.sbin
all
57 $(MAKE
) -C sys dependall
58 $(MAKE
) -C commands dependall
59 $(MAKE
) -C bin dependall
60 $(MAKE
) -C sbin dependall
61 $(MAKE
) -C usr.bin dependall
62 $(MAKE
) -C libexec dependall
63 $(MAKE
) -C usr.sbin dependall
64 $(MAKE
) -C kernel dependall
65 $(MAKE
) -C servers dependall
66 $(MAKE
) -C drivers dependall
69 $(MAKE
) -C etc
install
72 $(MAKE
) -C etc installforce
76 $(MAKE
) -C commands
all
79 $(MAKE
) -C usr.bin
all
80 $(MAKE
) -C libexec
all
81 $(MAKE
) -C usr.sbin
all
85 $(MAKE
) -C sys
install
86 $(MAKE
) -C libexec
install
87 $(MAKE
) -C man
install makedb
88 $(MAKE
) -C commands
install
89 $(MAKE
) -C bin
install
90 $(MAKE
) -C sbin
install
91 $(MAKE
) -C usr.bin
install
92 $(MAKE
) -C usr.sbin
install
93 $(MAKE
) -C servers
install
94 $(MAKE
) -C share
install
95 $(MAKE
) -C tools
install
99 $(MAKE
) -C commands
clean
101 $(MAKE
) -C sbin
clean
102 $(MAKE
) -C usr.bin
clean
103 $(MAKE
) -C libexec
clean
104 $(MAKE
) -C usr.sbin
clean
105 $(MAKE
) -C share
clean
106 $(MAKE
) -C tools
clean
108 $(MAKE
) -C
test clean
111 $(MAKE
) -C lib cleandepend
112 $(MAKE
) -C sys cleandepend
113 $(MAKE
) -C commands cleandepend
114 $(MAKE
) -C bin cleandepend
115 $(MAKE
) -C sbin cleandepend
116 $(MAKE
) -C usr.bin cleandepend
117 $(MAKE
) -C libexec cleandepend
118 $(MAKE
) -C usr.sbin cleandepend
119 $(MAKE
) -C tools cleandepend
123 echo
"That target is just libraries now."