2005-04-21 16:53:53 +02:00
|
|
|
# Makefile for all device drivers.
|
|
|
|
#
|
|
|
|
MAKE = exec make -$(MAKEFLAGS)
|
|
|
|
|
|
|
|
usage:
|
|
|
|
@echo "" >&2
|
|
|
|
@echo "Makefile for all device drivers." >&2
|
|
|
|
@echo "Usage:" >&2
|
|
|
|
@echo " make build # Compile all device drivers locally" >&2
|
2005-08-23 14:53:35 +02:00
|
|
|
@echo " make image # Compile drivers in boot image" >&2
|
2005-04-21 16:53:53 +02:00
|
|
|
@echo " make clean # Remove local compiler results" >&2
|
|
|
|
@echo " make install # Install drivers to /etc/drivers/" >&2
|
|
|
|
@echo " (requires root privileges)" >&2
|
|
|
|
@echo "" >&2
|
|
|
|
|
|
|
|
build: all
|
2005-06-24 18:21:54 +02:00
|
|
|
all install depend clean:
|
2005-05-11 11:02:00 +02:00
|
|
|
cd ./libdriver && $(MAKE) $@
|
|
|
|
cd ./libpci && $(MAKE) $@
|
2005-04-21 16:53:53 +02:00
|
|
|
cd ./tty && $(MAKE) $@
|
|
|
|
cd ./memory && $(MAKE) $@
|
|
|
|
cd ./at_wini && $(MAKE) $@
|
|
|
|
cd ./floppy && $(MAKE) $@
|
|
|
|
cd ./printer && $(MAKE) $@
|
2005-05-11 11:02:00 +02:00
|
|
|
cd ./rtl8139 && $(MAKE) $@
|
2005-05-19 15:27:05 +02:00
|
|
|
cd ./fxp && $(MAKE) $@
|
2005-06-29 12:16:46 +02:00
|
|
|
cd ./dpeth && $(MAKE) $@
|
2005-07-08 19:23:44 +02:00
|
|
|
cd ./log && $(MAKE) $@
|
2005-07-29 12:21:04 +02:00
|
|
|
cd ./bios_wini && $(MAKE) $@
|
2005-08-04 21:23:03 +02:00
|
|
|
cd ./cmos && $(MAKE) $@
|
2005-08-03 17:22:41 +02:00
|
|
|
cd ./random && $(MAKE) $@
|
2005-08-05 11:53:08 +02:00
|
|
|
cd ./dp8390 && $(MAKE) $@
|
2005-08-22 13:46:06 +02:00
|
|
|
cd ./sb16 && $(MAKE) $@
|
2005-08-23 14:53:35 +02:00
|
|
|
|
|
|
|
image:
|
|
|
|
cd ./libdriver && $(MAKE) build
|
|
|
|
cd ./memory && $(MAKE) build
|
|
|
|
cd ./at_wini && $(MAKE) build
|
|
|
|
cd ./floppy && $(MAKE) build
|
|
|
|
cd ./bios_wini && $(MAKE) build
|
|
|
|
cd ./log && $(MAKE) build
|
|
|
|
cd ./tty && $(MAKE) build
|