minix/servers/Makefile
Ben Gras 75d3db4911 new ipc server that implements shared memory and semaphores.
this server, tests, vm support, library stubs and other contributions
are the work of Guanqun Lu, a 2009 GSOC student.
2009-09-21 14:53:13 +00:00

37 lines
1.1 KiB
Makefile

# Makefile for all system servers.
#
MAKE = exec make -$(MAKEFLAGS)
usage:
@echo "" >&2
@echo "Makefile for all system servers." >&2
@echo "Usage:" >&2
@echo " make build # Compile all system servers locally" >&2
@echo " make image # Compile servers in boot image" >&2
@echo " make clean # Remove local compiler results" >&2
@echo " make install # Install servers to /etc/servers/" >&2
@echo " (requires root privileges)" >&2
@echo "" >&2
build: all
all install depend clean:
cd ./pm && $(MAKE) $@
cd ./vfs && $(MAKE) $@
cd ./mfs && $(MAKE) $@
cd ./rs && $(MAKE) $@
cd ./ds && $(MAKE) $@
cd ./is && $(MAKE) $@
cd ./vm && $(MAKE) $@
cd ./init && $(MAKE) $@
cd ./inet && $(MAKE) $@
cd ./ipc && $(MAKE) $@
image:
cd ./pm && $(MAKE) EXTRA_OPTS=$(EXTRA_OPTS) build
cd ./vfs && $(MAKE) EXTRA_OPTS=$(EXTRA_OPTS) build
cd ./mfs && $(MAKE) EXTRA_OPTS=$(EXTRA_OPTS) build
cd ./rs && $(MAKE) EXTRA_OPTS=$(EXTRA_OPTS) build
cd ./ds && $(MAKE) EXTRA_OPTS=$(EXTRA_OPTS) build
cd ./vm && $(MAKE) EXTRA_OPTS=$(EXTRA_OPTS) build
cd ./init && $(MAKE) EXTRA_OPTS=$(EXTRA_OPTS) build