source: trunk/minix/commands/scripts/Makefile@ 21

Last change on this file since 21 was 9, checked in by Mattia Monga, 13 years ago

Minix 3.1.2a

File size: 3.5 KB
Line 
1# Makefile for cmd/scripts.
2
3CFLAGS = -D_MINIX -D_POSIX_SOURCE
4CCLD = $(CC) -i $(CFLAGS)
5MAKE = exec make -$(MAKEFLAGS) install
6
7all: # Does nothing
8
9install: usr root
10
11# Commands on the /usr partition.
12usr: \
13 /usr/bin/DESCRIBE \
14 /usr/bin/M \
15 /usr/bin/U \
16 /usr/bin/MAKEDEV \
17 /usr/bin/bigmake \
18 /usr/bin/adduser \
19 /usr/bin/binpackage \
20 /usr/bin/binpackages \
21 /usr/bin/cd \
22 /usr/bin/[ \
23 /usr/bin/command \
24 /usr/bin/easypack \
25 /usr/bin/echo \
26 /usr/bin/expr \
27 /usr/bin/false \
28 /usr/bin/getopts \
29 /usr/bin/getpack \
30 /usr/bin/read \
31 /usr/bin/test \
32 /usr/bin/true \
33 /usr/bin/umask \
34 /usr/bin/wait \
35 /usr/bin/checkhier \
36 /usr/bin/clear \
37 /usr/bin/clr \
38 /usr/bin/makewhatis \
39 /usr/bin/mkdep \
40 /usr/bin/mkdist \
41 /bin/setup \
42 /usr/bin/binsizes \
43 /usr/bin/rotate \
44 /usr/bin/floppysetup \
45 /usr/bin/packit \
46 /usr/bin/packman \
47 /usr/bin/spell \
48 /usr/bin/srccrc \
49 /usr/bin/svclog \
50 /usr/bin/version \
51 /usr/bin/whatis \
52 /usr/bin/apropos \
53 /usr/bin/whereis \
54
55# Commands on the root partition.
56root: \
57 /bin/M \
58 /bin/U \
59 /bin/cd \
60 /bin/[ \
61 /bin/command \
62 /bin/echo \
63 /bin/expr \
64 /bin/false \
65 /bin/getopts \
66 /bin/read \
67 /bin/test \
68 /bin/true \
69 /bin/umask \
70 /bin/wait \
71
72clean:
73
74/usr/bin/DESCRIBE: DESCRIBE.sh
75 install -m 755 -c -o bin $? $@
76
77/usr/bin/M: M.sh
78 install -m 755 -c -o bin $? $@
79
80/usr/bin/U: /usr/bin/M
81 install -m 755 -l $? $@
82
83/usr/bin/MAKEDEV: MAKEDEV.sh
84 install -m 755 -c -o bin $? $@
85
86/usr/bin/bigmake: bigmake.sh
87 install -m 755 -c -o bin $? $@
88
89/usr/bin/binpackage: binpackage.sh
90 install -m 755 -c -o bin $? $@
91
92/usr/bin/binpackages: binpackages.sh
93 install -m 755 -c -o bin $? $@
94
95/usr/bin/adduser: adduser.sh
96 install -m 755 -c -o bin $? $@
97
98/usr/bin/cd: cd.sh
99 install -m 755 -c -o bin $? $@
100
101/usr/bin/[ /usr/bin/command /usr/bin/echo /usr/bin/expr /usr/bin/false \
102/usr/bin/getopts /usr/bin/read /usr/bin/test /usr/bin/true /usr/bin/umask \
103/usr/bin/wait: /usr/bin/cd
104 install -m 755 -l $? $@
105
106/usr/bin/easypack: easypack.sh
107 install -m 755 -c -o bin $? $@
108
109/usr/bin/getpack: getpack.sh
110 install -m 755 -c -o bin $? $@
111
112/usr/bin/checkhier: checkhier.sh
113 install -m 755 -c -o bin $? $@
114
115/usr/bin/clear: clear.sh
116 install -m 755 -c -o bin $? $@
117
118/usr/bin/clr: /usr/bin/clear
119 install -m 755 -l $? $@
120
121/usr/bin/makewhatis: makewhatis.sh
122 install -m 755 -c -o bin $? $@
123
124/usr/bin/mkdep: mkdep.sh
125 install -m 755 -c -o bin $? $@
126
127/usr/bin/mkdist: mkdist.sh
128 install -m 755 -c -o bin $? $@
129
130/usr/bin/floppysetup: floppysetup.sh
131 install -m 755 -c -o bin $? $@
132
133/usr/bin/rotate: rotate.sh
134 install -m 755 -c -o bin $? $@
135
136/bin/setup: setup.sh
137 install -m 755 -c -o bin $? $@
138
139/usr/bin/binsizes: binsizes.sh
140 install -m 755 -c -o bin $? $@
141
142/usr/bin/packit: packit.sh
143 install -m 755 -c -o bin $? $@
144
145/usr/bin/packman: packman.sh
146 install -m 755 -c -o bin $? $@
147
148/usr/bin/spell: spell.sh
149 install -m 755 -c -o bin $? $@
150
151/usr/bin/srccrc: srccrc.sh
152 install -m 755 -c -o bin $? $@
153
154/usr/bin/svclog: svclog.sh
155 install -m 755 -c -o bin $? $@
156
157/usr/bin/version: version.sh
158 install -m 755 -c -o bin $? $@
159
160/usr/bin/whatis: whatis.sh
161 install -m 755 -c -o bin $? $@
162
163/usr/bin/apropos: /usr/bin/whatis
164 install -m 755 -l $? $@
165
166/usr/bin/whereis: whereis.sh
167 install -m 755 -c -o bin $? $@
168
169/bin/M: /usr/bin/M
170 install -m 755 -c -o bin $? $@
171
172/bin/U: /bin/M
173 install -m 755 -l $? $@
174
175/bin/cd: /usr/bin/cd
176 install -m 755 -lc $? $@
177
178/bin/[ /bin/command /bin/echo /bin/expr /bin/false /bin/getopts \
179/bin/read /bin/test /bin/true /bin/umask /bin/wait: /bin/cd
180 install -m 755 -l $? $@
Note: See TracBrowser for help on using the repository browser.