re-enable munmap().
[minix.git] / commands / ibm / Makefile
blob26f9b10a98f66ff56f30c48ff5935c5700de2d21
1 # Makefile for commands/ibm.
3 # See commands/simple/Makefile for a description.
5 CFLAGS = -D_MINIX -D_POSIX_SOURCE
6 CCLD = $(CC) -i $(CFLAGS)
7 MAKE = exec make -$(MAKEFLAGS)
8 CC = exec cc
10 ALL = \
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 recwave \
24 repartition \
25 screendump
27 all: $(ALL)
29 dosread: dosread.c
30 $(CCLD) -o $@ $?
31 install -S 16kw $@
33 atnormalize: atnormalize.c
34 $(CCLD) -o $@ $?
35 install -S 16kw $@
37 fdisk: fdisk.c
38 $(CCLD) -o $@ $?
39 install -S 4kw $@
41 format: format.c
42 $(CCLD) -o $@ $?
43 install -S 4kw $@
45 loadfont: loadfont.c
46 $(CCLD) -o $@ $?
47 install -S 4kw $@
49 loadkeys: loadkeys.c
50 $(CCLD) -o $@ $?
51 install -S 4kw $@
53 mixer: mixer.c
54 $(CCLD) -o $@ $? -lcurses
55 install -S 16kw $@
57 autopart: autopart.c
58 $(CCLD) -o $@ $?
59 install -S 11kw $@
61 part: part.c
62 $(CCLD) -o $@ $?
63 install -S 11kw $@
65 partition: partition.c
66 $(CCLD) -o $@ $?
67 install -S 4kw $@
69 playwave: playwave.c
70 $(CCLD) -o $@ $?
71 install -S 16kw $@
73 postmort: postmort.c
74 $(CCLD) -o $@ $?
75 install -S 4kw $@
77 recwave: recwave.c
78 $(CCLD) -o $@ $?
79 install -S 16kw $@
81 repartition: repartition.c
82 $(CCLD) -o $@ $?
83 install -S 4kw $@
85 screendump: screendump.c
86 $(CCLD) -o $@ $?
87 install -S 4kw $@
89 sdump: sdump.c
90 $(CCLD) -o $@ $?
91 install -S 4kw $@
93 install: \
94 /usr/bin/atnormalize \
95 /usr/bin/dosread \
96 /usr/bin/dosdir \
97 /usr/bin/doswrite \
98 /usr/bin/fdisk \
99 /usr/bin/format \
100 /usr/bin/loadfont \
101 /usr/bin/loadkeys \
102 /usr/bin/mixer \
103 /usr/bin/autopart \
104 /usr/bin/part \
105 /usr/bin/partition \
106 /usr/bin/playwave \
107 /usr/bin/postmort \
108 /usr/bin/recwave \
109 /usr/bin/repartition \
110 /usr/bin/screendump \
111 /bin/loadkeys \
113 /usr/bin/atnormalize: atnormalize
114 install -cs -o bin $? $@
116 /usr/bin/dosread: dosread
117 install -cs -o bin $? $@
119 /usr/bin/dosdir /usr/bin/doswrite: /usr/bin/dosread
120 install -l $? $@
122 /usr/bin/fdisk: fdisk
123 install -cs -o bin $? $@
125 /usr/bin/format: format
126 install -cs -o root -m 4755 $? $@
128 /usr/bin/loadfont: loadfont
129 install -cs -o bin $? $@
131 /usr/bin/loadkeys: loadkeys
132 install -cs -o bin $? $@
134 /usr/bin/mixer: mixer
135 install -cs -o bin $? $@
137 /usr/bin/autopart: autopart
138 install -lcs $? $@
140 /usr/bin/part: part
141 install -cs -o bin $? $@
143 /usr/bin/partition: partition
144 install -cs -o bin $? $@
146 /usr/bin/playwave: playwave
147 install -cs -o bin $? $@
149 /usr/bin/postmort: postmort
150 install -cs -o bin $? $@
152 /usr/bin/recwave: recwave
153 install -cs -o bin $? $@
155 /usr/bin/repartition: repartition
156 install -cs -o bin $? $@
158 /usr/bin/screendump: screendump
159 install -cs -o bin $? $@
161 /usr/bin/sdump: sdump
162 install -cs -o bin $? $@
164 /bin/loadkeys: /usr/bin/loadkeys
165 install -lcs $? $@
167 clean:
168 rm -rf $(ALL) a.out core