e9aabcf2f8
library to the memory driver. Always put output from within TTY directly on the console. Removed second include of driver.h from tty.c. Made tty_inrepcode bigger. First step to move PM and FS calls that are not regular (API) system calls out of callnr.h (renumbered them, and removed them from the table.c files). Imported the Minix-vmd uname implementation. This provides a more stable ABI than the current implementation. Added a bit of security checking. Unfortunately not nearly enough to get a secure system. Fixed a bug related to the sizes of the programs in the image (in PM patch_mem_chunks).
45 lines
1.3 KiB
Makefile
45 lines
1.3 KiB
Makefile
# 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
|
|
@echo " make image # Compile drivers in boot image" >&2
|
|
@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
|
|
all install depend clean:
|
|
cd ./libdriver && $(MAKE) $@
|
|
cd ./tty && $(MAKE) $@
|
|
cd ./at_wini && $(MAKE) $@
|
|
cd ./floppy && $(MAKE) $@
|
|
cd ./printer && $(MAKE) $@
|
|
cd ./rtl8139 && $(MAKE) $@
|
|
cd ./fxp && $(MAKE) $@
|
|
cd ./dpeth && $(MAKE) $@
|
|
cd ./log && $(MAKE) $@
|
|
cd ./bios_wini && $(MAKE) $@
|
|
cd ./cmos && $(MAKE) $@
|
|
cd ./random && $(MAKE) $@
|
|
cd ./dp8390 && $(MAKE) $@
|
|
cd ./sb16 && $(MAKE) $@
|
|
cd ./lance && $(MAKE) $@
|
|
cd ./pci && $(MAKE) $@
|
|
cd ./ti1225 && $(MAKE) $@
|
|
cd ./memory && $(MAKE) $@ # Must be last for ramdisk image
|
|
|
|
image:
|
|
cd ./libdriver && $(MAKE) build
|
|
cd ./tty && $(MAKE) build
|
|
cd ./at_wini && $(MAKE) build
|
|
cd ./floppy && $(MAKE) build
|
|
cd ./bios_wini && $(MAKE) build
|
|
cd ./log && $(MAKE) build
|
|
cd ./pci && $(MAKE) build
|
|
cd ./memory && $(MAKE) build # Must be last for ramdisk image
|