minix/commands/ibm/Makefile

171 lines
2.7 KiB
Makefile
Raw Normal View History

2005-04-21 16:53:53 +02:00
# Makefile for commands/ibm.
# See commands/simple/Makefile for a description.
CFLAGS = -D_MINIX -D_POSIX_SOURCE
CCLD = $(CC) -i $(CFLAGS)
MAKE = exec make -$(MAKEFLAGS)
2005-09-07 10:43:25 +02:00
CC = exec cc
2005-04-21 16:53:53 +02:00
ALL = \
atnormalize \
2005-04-21 16:53:53 +02:00
dosread \
fdisk \
format \
loadfont \
loadkeys \
mixer \
2005-07-22 20:30:40 +02:00
autopart \
2005-04-21 16:53:53 +02:00
part \
partition \
playwave \
postmort \
recwave \
repartition \
screendump \
sdump \
all: $(ALL)
dosread: dosread.c
$(CCLD) -o $@ $?
install -S 16kw $@
atnormalize: atnormalize.c
$(CCLD) -o $@ $?
install -S 16kw $@
2005-04-21 16:53:53 +02:00
fdisk: fdisk.c
$(CCLD) -o $@ $?
install -S 4kw $@
format: format.c
$(CCLD) -o $@ $?
install -S 4kw $@
loadfont: loadfont.c
$(CCLD) -o $@ $?
install -S 4kw $@
loadkeys: loadkeys.c
$(CCLD) -o $@ $?
install -S 4kw $@
mixer: mixer.c
$(CCLD) -o $@ $? -lcurses
install -S 16kw $@
autopart: autopart.c
$(CCLD) -o $@ $?
install -S 11kw $@
2005-04-21 16:53:53 +02:00
part: part.c
$(CCLD) -o $@ $?
install -S 11kw $@
partition: partition.c
$(CCLD) -o $@ $?
install -S 4kw $@
playwave: playwave.c
$(CCLD) -o $@ $?
install -S 16kw $@
postmort: postmort.c
$(CCLD) -o $@ $?
install -S 4kw $@
recwave: recwave.c
$(CCLD) -o $@ $?
install -S 16kw $@
repartition: repartition.c
$(CCLD) -o $@ $?
install -S 4kw $@
screendump: screendump.c
$(CCLD) -o $@ $?
install -S 4kw $@
sdump: sdump.c
$(CCLD) -o $@ $?
install -S 4kw $@
install: \
/usr/bin/atnormalize \
2005-04-21 16:53:53 +02:00
/usr/bin/dosread \
/usr/bin/dosdir \
/usr/bin/doswrite \
/usr/bin/fdisk \
/usr/bin/format \
/usr/bin/loadfont \
/usr/bin/loadkeys \
/usr/bin/mixer \
/usr/bin/autopart \
2005-04-21 16:53:53 +02:00
/usr/bin/part \
/usr/bin/partition \
/usr/bin/playwave \
/usr/bin/postmort \
/usr/bin/recwave \
/usr/bin/repartition \
/usr/bin/screendump \
/usr/bin/sdump \
/bin/loadkeys \
/usr/bin/atnormalize: atnormalize
install -cs -o bin $? $@
2005-04-21 16:53:53 +02:00
/usr/bin/dosread: dosread
install -cs -o bin $? $@
/usr/bin/dosdir /usr/bin/doswrite: /usr/bin/dosread
install -l $? $@
/usr/bin/fdisk: fdisk
install -cs -o bin $? $@
/usr/bin/format: format
install -cs -o root -m 4755 $? $@
/usr/bin/loadfont: loadfont
install -cs -o bin $? $@
/usr/bin/loadkeys: loadkeys
install -cs -o bin $? $@
/usr/bin/mixer: mixer
install -cs -o bin $? $@
/usr/bin/autopart: autopart
install -lcs $? $@
2005-04-21 16:53:53 +02:00
/usr/bin/part: part
install -cs -o bin $? $@
/usr/bin/partition: partition
install -cs -o bin $? $@
/usr/bin/playwave: playwave
install -cs -o bin $? $@
/usr/bin/postmort: postmort
install -cs -o bin $? $@
/usr/bin/recwave: recwave
install -cs -o bin $? $@
/usr/bin/repartition: repartition
install -cs -o bin $? $@
/usr/bin/screendump: screendump
install -cs -o bin $? $@
/usr/bin/sdump: sdump
install -cs -o bin $? $@
/bin/loadkeys: /usr/bin/loadkeys
install -lcs $? $@
clean:
rm -rf $(ALL) a.out core