source: trunk/minix/commands/ibm/Makefile@ 9

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

Minix 3.1.2a

File size: 2.9 KB
RevLine 
[9]1# Makefile for commands/ibm.
2
3# See commands/simple/Makefile for a description.
4
5CFLAGS = -D_MINIX -D_POSIX_SOURCE
6CCLD = $(CC) -i $(CFLAGS)
7MAKE = exec make -$(MAKEFLAGS)
8CC = exec cc
9
10ALL = \
11 atnormalize \
12 dosread \
13 fdisk \
14 format \
15 loadfont \
16 loadkeys \
17 mixer \
18 autopart \
19 part \
20 partition \
21 playwave \
22 postmort \
23 readclock \
24 recwave \
25 repartition \
26 screendump \
27 sdump \
28
29all: $(ALL)
30
31dosread: dosread.c
32 $(CCLD) -o $@ $?
33 install -S 16kw $@
34
35atnormalize: atnormalize.c
36 $(CCLD) -o $@ $?
37 install -S 16kw $@
38
39fdisk: fdisk.c
40 $(CCLD) -o $@ $?
41 install -S 4kw $@
42
43format: format.c
44 $(CCLD) -o $@ $?
45 install -S 4kw $@
46
47loadfont: loadfont.c
48 $(CCLD) -o $@ $?
49 install -S 4kw $@
50
51loadkeys: loadkeys.c
52 $(CCLD) -o $@ $?
53 install -S 4kw $@
54
55mixer: mixer.c
56 $(CCLD) -o $@ $? -lcurses
57 install -S 16kw $@
58
59autopart: autopart.c
60 $(CCLD) -o $@ $?
61 install -S 11kw $@
62
63part: part.c
64 $(CCLD) -o $@ $?
65 install -S 11kw $@
66
67partition: partition.c
68 $(CCLD) -o $@ $?
69 install -S 4kw $@
70
71playwave: playwave.c
72 $(CCLD) -o $@ $?
73 install -S 16kw $@
74
75postmort: postmort.c
76 $(CCLD) -o $@ $?
77 install -S 4kw $@
78
79readclock: readclock.c
80 $(CCLD) -o $@ $?
81 install -S 4kw $@
82
83recwave: recwave.c
84 $(CCLD) -o $@ $?
85 install -S 16kw $@
86
87repartition: repartition.c
88 $(CCLD) -o $@ $?
89 install -S 4kw $@
90
91screendump: screendump.c
92 $(CCLD) -o $@ $?
93 install -S 4kw $@
94
95sdump: sdump.c
96 $(CCLD) -o $@ $?
97 install -S 4kw $@
98
99install: \
100 /usr/bin/atnormalize \
101 /usr/bin/dosread \
102 /usr/bin/dosdir \
103 /usr/bin/doswrite \
104 /usr/bin/fdisk \
105 /usr/bin/format \
106 /usr/bin/loadfont \
107 /usr/bin/loadkeys \
108 /usr/bin/mixer \
109 /usr/bin/autopart \
110 /usr/bin/part \
111 /usr/bin/partition \
112 /usr/bin/playwave \
113 /usr/bin/postmort \
114 /usr/bin/readclock \
115 /usr/bin/recwave \
116 /usr/bin/repartition \
117 /usr/bin/screendump \
118 /usr/bin/sdump \
119 /bin/loadkeys \
120 /bin/readclock \
121
122/usr/bin/atnormalize: atnormalize
123 install -cs -o bin $? $@
124
125/usr/bin/dosread: dosread
126 install -cs -o bin $? $@
127
128/usr/bin/dosdir /usr/bin/doswrite: /usr/bin/dosread
129 install -l $? $@
130
131/usr/bin/fdisk: fdisk
132 install -cs -o bin $? $@
133
134/usr/bin/format: format
135 install -cs -o root -m 4755 $? $@
136
137/usr/bin/loadfont: loadfont
138 install -cs -o bin $? $@
139
140/usr/bin/loadkeys: loadkeys
141 install -cs -o bin $? $@
142
143/usr/bin/mixer: mixer
144 install -cs -o bin $? $@
145
146/usr/bin/autopart: autopart
147 install -lcs $? $@
148
149/usr/bin/part: part
150 install -cs -o bin $? $@
151
152/usr/bin/partition: partition
153 install -cs -o bin $? $@
154
155/usr/bin/playwave: playwave
156 install -cs -o bin $? $@
157
158/usr/bin/postmort: postmort
159 install -cs -o bin $? $@
160
161/usr/bin/readclock: readclock
162 install -cs -o bin $? $@
163
164/usr/bin/recwave: recwave
165 install -cs -o bin $? $@
166
167/usr/bin/repartition: repartition
168 install -cs -o bin $? $@
169
170/usr/bin/screendump: screendump
171 install -cs -o bin $? $@
172
173/usr/bin/sdump: sdump
174 install -cs -o bin $? $@
175
176/bin/loadkeys: /usr/bin/loadkeys
177 install -lcs $? $@
178
179/bin/readclock: /usr/bin/readclock
180 install -lcs $? $@
181
182clean:
183 rm -rf $(ALL) a.out core
Note: See TracBrowser for help on using the repository browser.