]> Zhao Yanbai Git Server - minix.git/commitdiff
*** empty log message ***
authorJorrit Herder <jnherder@minix3.org>
Fri, 24 Jun 2005 16:25:12 +0000 (16:25 +0000)
committerJorrit Herder <jnherder@minix3.org>
Fri, 24 Jun 2005 16:25:12 +0000 (16:25 +0000)
Makefile
tools/Makefile

index 6e8d118978d04fc7c2a5ed12fe9cc7b0c70516d4..e5883aca79cec7a701e4303c7f2eacb749e4dced 100755 (executable)
--- 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) $@; }
index 096ecd2f629243e37d6e2dd975fbafb2ef420c33..b0f4e837e82bbaff1b932d7136d4d6c0d64c31e3 100755 (executable)
@@ -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