From: Jorrit Herder Date: Fri, 24 Jun 2005 16:25:12 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: v3.1.0~704 X-Git-Url: http://zhaoyanbai.com/repos/named-checkconf.html?a=commitdiff_plain;h=fd3b5bf61837e8a6bff777a0b92bc54598d38d6d;p=minix.git *** empty log message *** --- diff --git a/Makefile b/Makefile index 6e8d11897..e5883aca7 100755 --- a/Makefile +++ b/Makefile @@ -13,6 +13,7 @@ usage: @echo " make libraries # Compile and install libraries" >&2 @echo " make cmds # Compile 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 @@ -38,6 +39,12 @@ cmds: install:: cd commands && $(MAKE) $@ +depend:: + /usr/bin/mkdep /usr/src/kernel + /usr/bin/mkdep /usr/src/servers + /usr/bin/mkdep /usr/src/drivers + + clean:: cd lib && $(MAKE) $@ test ! -f commands/Makefile || { cd commands && $(MAKE) $@; } diff --git a/tools/Makefile b/tools/Makefile index 096ecd2f6..b0f4e837e 100755 --- a/tools/Makefile +++ b/tools/Makefile @@ -10,6 +10,7 @@ MAKE= exec make -$(MAKEFLAGS) PROGRAMS= ../kernel/kernel \ ../servers/pm/pm \ ../servers/fs/fs \ + ../servers/sm/sm \ ../servers/is/is \ ../drivers/tty/tty \ ../drivers/memory/memory \ @@ -56,7 +57,10 @@ image: programs includes: cd ../include && $(MAKE) install -programs: includes +depend: + cd ../ && $(MAKE) depend + +programs: includes depend cd ../kernel && $(MAKE) cd ../servers && $(MAKE) install cd ../drivers && $(MAKE) install