call libraries with $(GMAKE)

This commit is contained in:
Ben Gras 2005-10-21 18:31:45 +00:00
parent d0806fd1af
commit 40066b06f5

View file

@ -1,23 +1,28 @@
# Master Makefile to compile everything in /usr/src except the system.
MAKE = exec make -$(MAKEFLAGS)
GMAKE = gmake
usage:
@echo "" >&2
@echo "Master Makefile for MINIX commands and utilities." >&2
@echo "Root privileges are required for some actions." >&2
@echo "" >&2
@echo "Usage:" >&2
@echo " make world # Compile everything (libraries & commands)" >&2
@echo " make includes # Install include files from src/" >&2
@echo " make libraries # Compile and install libraries" >&2
@echo " make cmds # Compile all, commands, but don't install" >&2
@echo " make install # Compile and install commands" >&2
@echo " make depend # Generate required .depend files" >&2
@echo " make clean # Remove all compiler results" >&2
@echo "" >&2
@echo "Run 'make' in tools/ to create a new MINIX configuration." >&2; exit 0
@echo "" >&2
@echo ""
@echo "Master Makefile for MINIX commands and utilities."
@echo "Root privileges are required for some actions."
@echo ""
@echo "Usage:"
@echo " make world # Compile everything (libraries & commands)"
@echo " make includes # Install include files from src/"
@echo " make libraries # Compile and install libraries"
@echo " make cmds # Compile all, commands, but don't install"
@echo " make install # Compile and install commands"
@echo " make depend # Generate required .depend files"
@echo " make clean # Remove all compiler results"
@echo ""
@echo "Run 'make' in tools/ to create a new MINIX configuration."
@echo ""
@echo "Rebuilding the libraries uses gmake and gcc too, which takes"
@echo "a lot of memory currently. See src/lib/ackonly/README for"
@echo "more information."
@echo ""
# world has to be able to make a new system, even if there
# is no complete old system. it has to install commands, for which
@ -30,10 +35,10 @@ usage:
world: includes depend libraries cmds install postinstall
includes:
cd include && $(MAKE) install
cd include && $(MAKE) install gcc
libraries:
cd lib && $(MAKE) install
cd lib && $(GMAKE) install
cmds:
if [ -f commands/Makefile ] ; then cd commands && $(MAKE) all; fi
@ -51,7 +56,7 @@ depend::
clean::
cd lib && $(MAKE) $@
cd lib && $(GMAKE) $@
test ! -f commands/Makefile || { cd commands && $(MAKE) $@; }
etcfiles::