prereq rule also for libraries
authorClaus Gittinger <cg@exept.de>
Sat, 06 Sep 2008 16:47:32 +0200
changeset 11155 c816b5f0f90b
parent 11154 4b73cb2c86fa
child 11156 26121f8ce8c8
prereq rule also for libraries
LibraryDefinition.st
--- a/LibraryDefinition.st	Sat Sep 06 15:15:35 2008 +0200
+++ b/LibraryDefinition.st	Sat Sep 06 16:47:32 2008 +0200
@@ -175,6 +175,10 @@
 
 !!INCLUDE $(TOP)\rules\stdRules_bc
 
+# build all prerequisite packages for this package
+prereq:
+%(MAKE_PREREQUISITES)
+
 %(ADDITIONAL_RULES)
 
 # BEGINMAKEDEPEND --- do not remove this line; make depend needs it
@@ -313,6 +317,7 @@
 # (only define if different from SUBDIRS)
 # ALLSUBDIRS=
 
+REQUIRED_SUPPORT_DIRS=%(REQUIRED_SUPPORT_DIRS)
 
 # if your embedded C code requires any system includes, 
 # add the path(es) here:, 
@@ -363,6 +368,9 @@
 # add more postMake actions here
 postMake:: cleanjunk
 
+prereq: $(REQUIRED_SUPPORT_DIRS)
+%(MAKE_PREREQUISITES)
+
 cleanjunk::
 
 clean::
@@ -599,5 +607,5 @@
 !LibraryDefinition class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic/LibraryDefinition.st,v 1.83 2008-04-25 13:39:43 stefan Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/LibraryDefinition.st,v 1.84 2008-09-06 14:47:32 cg Exp $'
 ! !