Print this page
re #13553 rb4471 add ipkg brand scripts

@@ -20,25 +20,36 @@
 #
 #
 # Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
+# Copyright 2013 Nexenta Systems, Inc.  All rights reserved.
+#
 
 default: all
 
-# Build everything in parallel; use .WAIT for dependencies
-.PARALLEL:
+include Makefile.ipkg
 
 SUBDIRS =       zone
 
 all :=          TARGET= all
 install :=      TARGET= install
 clean :=        TARGET= clean
 clobber :=      TARGET= clobber
 lint :=         TARGET= lint
+_msg :=         TARGET= _msg
 
-all install clean clobber lint: $(SUBDIRS)
+INSDIRS = $(ETCBRANDDIR) $(ROOTBRANDDIR)
 
+all clean clobber lint _msg: $(SUBDIRS)
+
+install: insdirs .WAIT $(SUBDIRS)
+
+insdirs: $(INSDIRS)
+
+$(ETCBRANDDIR) $(ROOTBRANDDIR) $(ROOTBRANDDIR64):
+        $(INS.dir)
+
 $(SUBDIRS): FRC
         @cd $@; pwd; $(MAKE) $(TARGET)
 
 FRC: