]> Zhao Yanbai Git Server - minix.git/commitdiff
ramdisk: build pwd_mkdb
authorArun Thomas <arun@minix3.org>
Tue, 22 Nov 2011 15:20:05 +0000 (16:20 +0100)
committerArun Thomas <arun@minix3.org>
Tue, 22 Nov 2011 15:45:17 +0000 (16:45 +0100)
drivers/ramdisk/Makefile

index f96f35cd34912dad0f4be8c07eec6cfa8e73dd11..efb24c34ca37ccdc9a3fbd783aa30025641e5bf5 100644 (file)
@@ -149,12 +149,15 @@ ext2: ../../servers/ext2/ext2
 system.conf: ../../etc/system.conf
        install ${STRIPFLAG} ../../etc/$@ $@
 
-passwd: ../../etc/master.passwd
+passwd: ../../etc/master.passwd ../../usr.sbin/pwd_mkdb/pwd_mkdb
        rm -f ../../etc/master.passwd.orig ../../etc/passwd.orig
        rm -f ../../etc/pwd.db.tmp ../../etc/spwd.db.tmp
        ../../usr.sbin/pwd_mkdb/pwd_mkdb -V 0 -p -d ../../ ../../etc/master.passwd
        install ${STRIPFLAG} ../../etc/$@ $@
 
+../../usr.sbin/pwd_mkdb/pwd_mkdb:
+       $(MAKE) -C ../../usr.sbin/pwd_mkdb
+
 master.passwd: ../../etc/master.passwd
        install ${STRIPFLAG} ../../etc/$@ $@