Allow to define primary make target (needed, if sub.makes have to be performed -
see libdb/odbc/Make.proto)
--- a/LibraryDefinition.st Tue Feb 17 10:43:58 2009 +0100
+++ b/LibraryDefinition.st Tue Feb 17 10:44:10 2009 +0100
@@ -43,6 +43,14 @@
"Modified: / 18-08-2006 / 16:22:49 / cg"
! !
+!LibraryDefinition class methodsFor:'description - compilation'!
+
+primaryTarget
+ "the primary make target in Make.proto/bc.mak"
+
+ ^ 'classLibRule'
+! !
+
!LibraryDefinition class methodsFor:'description - project information'!
description
@@ -171,7 +179,9 @@
OBJS= $(COMMON_OBJS) $(WIN32_OBJS)
-ALL:: %(ADDITIONAL_TARGETS) $(BINDIR)\$(LIBNAME).dll
+ALL:: %(ADDITIONAL_TARGETS) %(PRIMARY_TARGET)
+
+classLibRule: $(BINDIR)\$(LIBNAME).dll
!!INCLUDE $(TOP)\rules\stdRules_bc
@@ -300,7 +310,7 @@
%(ADDITIONAL_DEFINITIONS)
-all:: preMake classLibRule postMake
+all:: preMake %(PRIMARY_TARGET) postMake
pre_objs:: %(ADDITIONAL_TARGETS)
@@ -610,5 +620,5 @@
!LibraryDefinition class methodsFor:'documentation'!
version
- ^ '$Header: /cvs/stx/stx/libbasic/LibraryDefinition.st,v 1.85 2009-02-16 09:46:56 cg Exp $'
+ ^ '$Header: /cvs/stx/stx/libbasic/LibraryDefinition.st,v 1.86 2009-02-17 09:44:10 stefan Exp $'
! !