diff options
Diffstat (limited to 'usr/src/boot/Makefile')
-rw-r--r-- | usr/src/boot/Makefile | 21 |
1 files changed, 17 insertions, 4 deletions
diff --git a/usr/src/boot/Makefile b/usr/src/boot/Makefile index 11d0eea7c2..2152c3a524 100644 --- a/usr/src/boot/Makefile +++ b/usr/src/boot/Makefile @@ -15,16 +15,29 @@ .KEEP_STATE: -include ../Makefile.master +include $(SRC)/Makefile.master -SUBDIRS = sys/boot +INSTDIRS = i386 efi forth +SUBDIRS = libsa libficl $(INSTDIRS) all := TARGET = all -install := TARGET = install clean := TARGET = clean clobber := TARGET = clobber +install := TARGET = install + +all clean clobber: $(SUBDIRS) + +# +# The directories in INSTDIRS depend implicitly on SUBDIRS being built already. +# We use .WAIT instead of explicit dependencies because we only want to make +# the "install" target in INSTDIRS, not in SUBDIRS. +# +# If adding SUBDIRS which are not dependencies of INSTDIRS, "install: all" +# rules should be added to the Makefiles in those directories. +# +install: all .WAIT $(INSTDIRS) -all install clean clobber: $(SUBDIRS) +.PARALLEL: libsa libficl $(SUBDIRS): FRC @cd $@; pwd; $(MAKE) $(TARGET) |