diff -r d174e789c7e8 -r 5bfc40558728 bc.mak --- a/bc.mak Thu Feb 12 18:45:23 2009 +0100 +++ b/bc.mak Thu Feb 12 18:45:25 2009 +0100 @@ -31,6 +31,7 @@ LOCALINCLUDES= -I$(INCLUDE_TOP)\stx\libview -I$(INCLUDE_TOP)\stx\libwidg -I$(INCLUDE_TOP)\stx\libview2 -I$(INCLUDE_TOP)\stx\libwidg2 -I$(INCLUDE_TOP)\stx\libbasic +LOCALDEFINES= STCLOCALOPT=-package=$(PACKAGE) -I. $(LOCALINCLUDES) -H. $(STCLOCALOPTIMIZATIONS) $(STCWARNINGS) $(LOCALDEFINES) $(COMMONSYMBOLS) -varPrefix=$(LIBNAME) LOCALLIBS= @@ -41,6 +42,23 @@ !INCLUDE $(TOP)\rules\stdRules_bc +# build all prerequisite packages for this package +prereq: + pushd ..\libbasic & bmake "CFLAGS_LOCAL=$(GLOBALDEFINES) " + pushd ..\goodies\refactoryBrowser\parser & bmake "CFLAGS_LOCAL=$(GLOBALDEFINES) " + pushd ..\libbasic2 & bmake "CFLAGS_LOCAL=$(GLOBALDEFINES) " + pushd ..\libcomp & bmake "CFLAGS_LOCAL=$(GLOBALDEFINES) " + pushd ..\libview & bmake "CFLAGS_LOCAL=$(GLOBALDEFINES) " + pushd ..\libbasic3 & bmake "CFLAGS_LOCAL=$(GLOBALDEFINES) " + pushd ..\libview2 & bmake "CFLAGS_LOCAL=$(GLOBALDEFINES) " + pushd ..\libui & bmake "CFLAGS_LOCAL=$(GLOBALDEFINES) " + pushd ..\libwidg & bmake "CFLAGS_LOCAL=$(GLOBALDEFINES) " + pushd ..\libwidg2 & bmake "CFLAGS_LOCAL=$(GLOBALDEFINES) " + pushd ..\libwidg3 & bmake "CFLAGS_LOCAL=$(GLOBALDEFINES) " + pushd ..\libtool & bmake "CFLAGS_LOCAL=$(GLOBALDEFINES) " + pushd ..\librun & bmake "CFLAGS_LOCAL=$(GLOBALDEFINES) " + + # BEGINMAKEDEPEND --- do not remove this line; make depend needs it @@ -50,7 +68,8 @@ $(OUTDIR)ImageEditor.$(O) ImageEditor.$(H): ImageEditor.st $(INCLUDE_TOP)\stx\libview2\ResourceSpecEditor.$(H) $(INCLUDE_TOP)\stx\libview2\ToolApplicationModel.$(H) $(INCLUDE_TOP)\stx\libview2\ApplicationModel.$(H) $(INCLUDE_TOP)\stx\libview2\Model.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) $(OUTDIR)MenuEditor.$(O) MenuEditor.$(H): MenuEditor.st $(INCLUDE_TOP)\stx\libview2\ResourceSpecEditor.$(H) $(INCLUDE_TOP)\stx\libview2\ToolApplicationModel.$(H) $(INCLUDE_TOP)\stx\libview2\ApplicationModel.$(H) $(INCLUDE_TOP)\stx\libview2\Model.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(INCLUDE_TOP)\stx\libwidg2\HierarchicalItem.$(H) $(STCHDR) $(OUTDIR)SelectionBrowser.$(O) SelectionBrowser.$(H): SelectionBrowser.st $(INCLUDE_TOP)\stx\libview2\SimpleDialog.$(H) $(INCLUDE_TOP)\stx\libview2\ApplicationModel.$(H) $(INCLUDE_TOP)\stx\libview2\Model.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) -$(OUTDIR)UIGalleryView.$(O) UIGalleryView.$(H): UIGalleryView.st $(INCLUDE_TOP)\stx\libwidg2\NoteBookView.$(H) $(INCLUDE_TOP)\stx\libview\View.$(H) $(INCLUDE_TOP)\stx\libview\SimpleView.$(H) $(INCLUDE_TOP)\stx\libview\DisplaySurface.$(H) $(INCLUDE_TOP)\stx\libview\GraphicsMedium.$(H) $(INCLUDE_TOP)\stx\libview\DeviceGraphicsContext.$(H) $(INCLUDE_TOP)\stx\libview\GraphicsContext.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) +$(OUTDIR)TabListEditor.$(O) TabListEditor.$(H): TabListEditor.st $(INCLUDE_TOP)\stx\libview2\ResourceSpecEditor.$(H) $(INCLUDE_TOP)\stx\libview2\ToolApplicationModel.$(H) $(INCLUDE_TOP)\stx\libview2\ApplicationModel.$(H) $(INCLUDE_TOP)\stx\libview2\Model.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) +$(OUTDIR)UIGalleryView.$(O) UIGalleryView.$(H): UIGalleryView.st $(INCLUDE_TOP)\stx\libwidg2\NoteBookView.$(H) $(INCLUDE_TOP)\stx\libview\View.$(H) $(INCLUDE_TOP)\stx\libview\SimpleView.$(H) $(INCLUDE_TOP)\stx\libview\DisplaySurface.$(H) $(INCLUDE_TOP)\stx\libview\GraphicsMedium.$(H) $(INCLUDE_TOP)\stx\libview\DeviceGraphicsContext.$(H) $(INCLUDE_TOP)\stx\libview\GraphicsContext.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(INCLUDE_TOP)\stx\libview2\DropObject.$(H) $(STCHDR) $(OUTDIR)UIHelpTool.$(O) UIHelpTool.$(H): UIHelpTool.st $(INCLUDE_TOP)\stx\libview2\ResourceSpecEditor.$(H) $(INCLUDE_TOP)\stx\libview2\ToolApplicationModel.$(H) $(INCLUDE_TOP)\stx\libview2\ApplicationModel.$(H) $(INCLUDE_TOP)\stx\libview2\Model.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(INCLUDE_TOP)\stx\libwidg2\HierarchicalItem.$(H) $(STCHDR) $(OUTDIR)UILayoutTool.$(O) UILayoutTool.$(H): UILayoutTool.st $(INCLUDE_TOP)\stx\libview2\ApplicationModel.$(H) $(INCLUDE_TOP)\stx\libview2\Model.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) $(OUTDIR)UIObjectView.$(O) UIObjectView.$(H): UIObjectView.st $(INCLUDE_TOP)\stx\libwidg\ObjectView.$(H) $(INCLUDE_TOP)\stx\libview\View.$(H) $(INCLUDE_TOP)\stx\libview\SimpleView.$(H) $(INCLUDE_TOP)\stx\libview\DisplaySurface.$(H) $(INCLUDE_TOP)\stx\libview\GraphicsMedium.$(H) $(INCLUDE_TOP)\stx\libview\DeviceGraphicsContext.$(H) $(INCLUDE_TOP)\stx\libview\GraphicsContext.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) @@ -61,5 +80,6 @@ $(OUTDIR)FileSelectionBrowser.$(O) FileSelectionBrowser.$(H): FileSelectionBrowser.st $(INCLUDE_TOP)\stx\libtool2\SelectionBrowser.$(H) $(INCLUDE_TOP)\stx\libview2\SimpleDialog.$(H) $(INCLUDE_TOP)\stx\libview2\ApplicationModel.$(H) $(INCLUDE_TOP)\stx\libview2\Model.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) $(OUTDIR)ResourceSelectionBrowser.$(O) ResourceSelectionBrowser.$(H): ResourceSelectionBrowser.st $(INCLUDE_TOP)\stx\libtool2\SelectionBrowser.$(H) $(INCLUDE_TOP)\stx\libview2\SimpleDialog.$(H) $(INCLUDE_TOP)\stx\libview2\ApplicationModel.$(H) $(INCLUDE_TOP)\stx\libview2\Model.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) $(OUTDIR)UIPainterView.$(O) UIPainterView.$(H): UIPainterView.st $(INCLUDE_TOP)\stx\libtool2\UIObjectView.$(H) $(INCLUDE_TOP)\stx\libwidg\ObjectView.$(H) $(INCLUDE_TOP)\stx\libview\View.$(H) $(INCLUDE_TOP)\stx\libview\SimpleView.$(H) $(INCLUDE_TOP)\stx\libview\DisplaySurface.$(H) $(INCLUDE_TOP)\stx\libview\GraphicsMedium.$(H) $(INCLUDE_TOP)\stx\libview\DeviceGraphicsContext.$(H) $(INCLUDE_TOP)\stx\libview\GraphicsContext.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) +$(OUTDIR)UIListEditor.$(O) UIListEditor.$(H): UIListEditor.st $(STCHDR) # ENDMAKEDEPEND --- do not remove this line