Fix dependency problems in the build

This commit is contained in:
Arun Thomas 2010-08-26 19:54:49 +00:00
parent c81f201c8c
commit a78608ec86
2 changed files with 9 additions and 4 deletions

View file

@ -15,4 +15,6 @@ INSTALLFLAGS+= -S 8k
CPPFLAGS.memory.c+= -I${MINIXSRCDIR}
CPPFLAGS.imgrd.c+= -I${.CURDIR}/../ramdisk -T /usr/tmp
imgrd.o: ${.CURDIR}/../ramdisk/image.c
.include <bsd.prog.mk>

View file

@ -49,9 +49,6 @@ image_mb: includes
installboot -image $@ $(PROGRAMS)
image: includes services
cd ../kernel && $(MAKE)
cd ../servers && $(MAKE) all
cd ../drivers && $(MAKE) all
padtext ../kernel/kernel kernel
installboot -image $@ $(PROGRAMS)
@ -62,9 +59,15 @@ includes:
depend: includes
$(MAKE) -C ../ depend
services: includes
services: includes kernel servers .WAIT drivers
kernel: includes
$(MAKE) -C ../kernel
servers: includes
$(MAKE) -C ../servers all install
drivers: includes servers
$(MAKE) -C ../drivers all install
libraries: includes