source: trunk/minix/drivers/Makefile@ 10

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

Minix 3.1.2a

File size: 1.3 KB
Line 
1# Makefile for all device drivers.
2#
3MAKE = exec make -$(MAKEFLAGS)
4
5usage:
6 @echo "" >&2
7 @echo "Makefile for all device drivers." >&2
8 @echo "Usage:" >&2
9 @echo " make build # Compile all device drivers locally" >&2
10 @echo " make image # Compile drivers in boot image" >&2
11 @echo " make clean # Remove local compiler results" >&2
12 @echo " make install # Install drivers to /etc/drivers/" >&2
13 @echo " (requires root privileges)" >&2
14 @echo "" >&2
15
16build: all
17all install depend clean:
18 cd ./libdriver && $(MAKE) $@
19 cd ./tty && $(MAKE) $@
20 cd ./at_wini && $(MAKE) $@
21 cd ./floppy && $(MAKE) $@
22 cd ./printer && $(MAKE) $@
23 cd ./rtl8139 && $(MAKE) $@
24 cd ./fxp && $(MAKE) $@
25 cd ./dpeth && $(MAKE) $@
26 cd ./log && $(MAKE) $@
27 cd ./bios_wini && $(MAKE) $@
28 cd ./cmos && $(MAKE) $@
29 cd ./random && $(MAKE) $@
30 cd ./rescue && $(MAKE) $@
31 cd ./dp8390 && $(MAKE) $@
32 cd ./sb16 && $(MAKE) $@
33 cd ./lance && $(MAKE) $@
34 cd ./pci && $(MAKE) $@
35 cd ./ti1225 && $(MAKE) $@
36 cd ./memory && $(MAKE) $@ # Must be last for ramdisk image
37
38image:
39 cd ./libdriver && $(MAKE) build
40 cd ./tty && $(MAKE) build
41 cd ./at_wini && $(MAKE) build
42 cd ./floppy && $(MAKE) build
43 cd ./bios_wini && $(MAKE) build
44 cd ./log && $(MAKE) build
45 cd ./pci && $(MAKE) build
46 cd ./memory && $(MAKE) build # Must be last for ramdisk image
Note: See TracBrowser for help on using the repository browser.