bc.mak
author Patrik Svestka <patrik.svestka@gmail.com>
Wed, 14 Nov 2018 12:07:51 +0100
branchjv
changeset 3630 5e718e0a754e
parent 3311 079f10e677f7
child 3605 3f99b3a7b007
permissions -rw-r--r--
Issue #239: Fix all Smalltak/X source files to be in unicode (UTF8 without BOM) and prefixed by "{ Encoding: utf8 }" when any unicode character is present

- All source *.st files are now Unicode UTF8 without BOM
Files are in two groups (fileOut works this way in Smalltalk/X):
- containing a unicode character have "{ Encoding: utf8 }" at the header
- ASCII only are without the header
cg@1615
     1
# $Header$
cg@1615
     2
#
cg@2586
     3
# DO NOT EDIT
cg@2065
     4
# automagically generated from the projectDefinition: stx_libtool2.
cg@2065
     5
#
cg@2065
     6
# Warning: once you modify this file, do not rerun
cg@2065
     7
# stmkmp or projectDefinition-build again - otherwise, your changes are lost.
cg@2065
     8
#
sv@3147
     9
# Notice, that the name bc.mak is historical (from times, when only borland c was supported).
sv@3147
    10
# This file contains make rules for the win32 platform using either borland-bcc or visual-c.
cg@2086
    11
# It shares common definitions with the unix-make in Make.spec.
sv@3147
    12
# The bc.mak supports the following targets:
cg@2086
    13
#    bmake         - compile all st-files to a classLib (dll)
cg@2086
    14
#    bmake clean   - clean all temp files
cg@2086
    15
#    bmake clobber - clean all
cg@2065
    16
#
sv@3147
    17
# Historic Note:
sv@3147
    18
#  this used to contain only rules to make with borland
sv@3147
    19
#    (called via bmake, by "make.exe -f bc.mak")
sv@3147
    20
#  this has changed; it is now also possible to build using microsoft visual c
sv@3147
    21
#    (called via vcmake, by "make.exe -f bc.mak -DUSEVC")
cg@2086
    22
#
cg@2086
    23
TOP=..
cg@2086
    24
INCLUDE_TOP=$(TOP)\..
cg@2065
    25
cg@2604
    26
cg@2586
    27
# see stdHeader_bc for LIBTOOL2_BASE
cg@2586
    28
LIB_BASE=$(LIBTOOL2_BASE)
cg@2586
    29
cg@2586
    30
sv@2148
    31
!INCLUDE $(TOP)\rules\stdHeader_bc
cg@2065
    32
cg@2065
    33
!INCLUDE Make.spec
cg@2065
    34
cg@2086
    35
LIBNAME=libstx_libtool2
cg@3160
    36
MODULE_PATH=libtool2
cg@3009
    37
RESFILES=libtool2.$(RES)
cg@1946
    38
cg@1767
    39
cg@2604
    40
sv@3147
    41
LOCALINCLUDES= -I$(INCLUDE_TOP)\stx\libbasic -I$(INCLUDE_TOP)\stx\libbasic2 -I$(INCLUDE_TOP)\stx\libbasic3 -I$(INCLUDE_TOP)\stx\libcomp -I$(INCLUDE_TOP)\stx\libhtml -I$(INCLUDE_TOP)\stx\libtool -I$(INCLUDE_TOP)\stx\libui -I$(INCLUDE_TOP)\stx\libview -I$(INCLUDE_TOP)\stx\libview2 -I$(INCLUDE_TOP)\stx\libwidg -I$(INCLUDE_TOP)\stx\libwidg2
cg@2462
    42
LOCALDEFINES=
sv@2287
    43
sv@3147
    44
STCLOCALOPT=-package=$(PACKAGE) -I. $(LOCALINCLUDES) -headerDir=. $(STCLOCALOPTIMIZATIONS) $(STCWARNINGS) $(LOCALDEFINES) $(COMMONSYMBOLS) -varPrefix=$(LIBNAME)
sv@2287
    45
LOCALLIBS=
sv@2287
    46
cg@2065
    47
OBJS= $(COMMON_OBJS) $(WIN32_OBJS)
cg@2065
    48
sv@2490
    49
ALL::  classLibRule
sv@2490
    50
cg@2591
    51
classLibRule: $(OUTDIR) $(OUTDIR)$(LIBNAME).dll
cg@1615
    52
sv@2148
    53
!INCLUDE $(TOP)\rules\stdRules_bc
cg@1615
    54
sv@3147
    55
# build all mandatory prerequisite packages (containing superclasses) for this package
cg@2462
    56
prereq:
cg@2604
    57
	pushd ..\libbasic & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
cg@2604
    58
	pushd ..\libbasic2 & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
cg@2604
    59
	pushd ..\libview & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
cg@2604
    60
	pushd ..\libview2 & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
cg@2604
    61
	pushd ..\libwidg & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
cg@2604
    62
	pushd ..\libwidg2 & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
cg@2462
    63
cg@2462
    64
cg@2065
    65
cg@2065
    66
sv@3147
    67
sv@3147
    68
sv@3147
    69
sv@3147
    70
test: $(TOP)\goodies\builder\reports\NUL
sv@3147
    71
	pushd $(TOP)\goodies\builder\reports & $(MAKE_BAT)
sv@3147
    72
	$(TOP)\goodies\builder\reports\report-runner.bat -D . -r Builder::TestReport -p $(PACKAGE)
cg@3311
    73
sv@3147
    74
clean::
cg@3311
    75
	-del *.$(CSUFFIX)
sv@3147
    76
sv@3147
    77
cg@1615
    78
# BEGINMAKEDEPEND --- do not remove this line; make depend needs it
cg@3267
    79
$(OUTDIR)ColorEditDialog.$(O) ColorEditDialog.$(C) ColorEditDialog.$(H): ColorEditDialog.st $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(INCLUDE_TOP)\stx\libview2\ApplicationModel.$(H) $(INCLUDE_TOP)\stx\libview2\Model.$(H) $(INCLUDE_TOP)\stx\libview2\SimpleDialog.$(H) $(STCHDR)
cg@3267
    80
$(OUTDIR)DataSetBuilder.$(O) DataSetBuilder.$(C) DataSetBuilder.$(H): DataSetBuilder.st $(INCLUDE_TOP)\stx\libbasic\Array.$(H) $(INCLUDE_TOP)\stx\libbasic\ArrayedCollection.$(H) $(INCLUDE_TOP)\stx\libbasic\Collection.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(INCLUDE_TOP)\stx\libbasic\SequenceableCollection.$(H) $(INCLUDE_TOP)\stx\libview2\ApplicationModel.$(H) $(INCLUDE_TOP)\stx\libview2\Model.$(H) $(INCLUDE_TOP)\stx\libview2\ResourceSpecEditor.$(H) $(INCLUDE_TOP)\stx\libview2\ToolApplicationModel.$(H) $(STCHDR)
cg@3267
    81
$(OUTDIR)DirectoryView.$(O) DirectoryView.$(C) DirectoryView.$(H): DirectoryView.st $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(INCLUDE_TOP)\stx\libview2\ApplicationModel.$(H) $(INCLUDE_TOP)\stx\libview2\Model.$(H) $(STCHDR)
cg@3267
    82
$(OUTDIR)FlyByWindowInformation.$(O) FlyByWindowInformation.$(C) FlyByWindowInformation.$(H): FlyByWindowInformation.st $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(INCLUDE_TOP)\stx\libview2\ActiveHelp.$(H) $(INCLUDE_TOP)\stx\libview2\EventListener.$(H) $(INCLUDE_TOP)\stx\libview2\FlyByHelp.$(H) $(STCHDR)
cg@3267
    83
$(OUTDIR)ImageEditor.$(O) ImageEditor.$(C) ImageEditor.$(H): ImageEditor.st $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(INCLUDE_TOP)\stx\libview2\ApplicationModel.$(H) $(INCLUDE_TOP)\stx\libview2\Model.$(H) $(INCLUDE_TOP)\stx\libview2\ResourceSpecEditor.$(H) $(INCLUDE_TOP)\stx\libview2\ToolApplicationModel.$(H) $(STCHDR)
cg@3267
    84
$(OUTDIR)MenuEditor.$(O) MenuEditor.$(C) MenuEditor.$(H): MenuEditor.st $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(INCLUDE_TOP)\stx\libview2\ApplicationModel.$(H) $(INCLUDE_TOP)\stx\libview2\Model.$(H) $(INCLUDE_TOP)\stx\libview2\ResourceSpecEditor.$(H) $(INCLUDE_TOP)\stx\libview2\ToolApplicationModel.$(H) $(INCLUDE_TOP)\stx\libwidg2\AbstractHierarchicalItem.$(H) $(INCLUDE_TOP)\stx\libwidg2\HierarchicalItem.$(H) $(STCHDR)
cg@3267
    85
$(OUTDIR)MethodFinderWindow.$(O) MethodFinderWindow.$(C) MethodFinderWindow.$(H): MethodFinderWindow.st $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(INCLUDE_TOP)\stx\libview2\ApplicationModel.$(H) $(INCLUDE_TOP)\stx\libview2\Model.$(H) $(STCHDR)
cg@3267
    86
$(OUTDIR)SelectionBrowser.$(O) SelectionBrowser.$(C) SelectionBrowser.$(H): SelectionBrowser.st $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(INCLUDE_TOP)\stx\libview2\ApplicationModel.$(H) $(INCLUDE_TOP)\stx\libview2\Model.$(H) $(INCLUDE_TOP)\stx\libview2\SimpleDialog.$(H) $(STCHDR)
cg@3267
    87
$(OUTDIR)TabListEditor.$(O) TabListEditor.$(C) TabListEditor.$(H): TabListEditor.st $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(INCLUDE_TOP)\stx\libview2\ApplicationModel.$(H) $(INCLUDE_TOP)\stx\libview2\Model.$(H) $(INCLUDE_TOP)\stx\libview2\ResourceSpecEditor.$(H) $(INCLUDE_TOP)\stx\libview2\ToolApplicationModel.$(H) $(STCHDR)
cg@3267
    88
$(OUTDIR)Tools__ObjectModuleInformation.$(O) Tools__ObjectModuleInformation.$(C) Tools__ObjectModuleInformation.$(H): Tools__ObjectModuleInformation.st $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(INCLUDE_TOP)\stx\libview2\ApplicationModel.$(H) $(INCLUDE_TOP)\stx\libview2\Model.$(H) $(INCLUDE_TOP)\stx\libview2\ToolApplicationModel.$(H) $(STCHDR)
cg@3267
    89
$(OUTDIR)ProjectBuilder.$(O) ProjectBuilder.$(C) ProjectBuilder.$(H): ProjectBuilder.st $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR)
cg@3267
    90
$(OUTDIR)Tools__ProjectBuilderAssistantApplication.$(O) Tools__ProjectBuilderAssistantApplication.$(C) Tools__ProjectBuilderAssistantApplication.$(H): Tools__ProjectBuilderAssistantApplication.st $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(INCLUDE_TOP)\stx\libview2\ApplicationModel.$(H) $(INCLUDE_TOP)\stx\libview2\Model.$(H) $(INCLUDE_TOP)\stx\libview2\ToolApplicationModel.$(H) $(INCLUDE_TOP)\stx\libwidg2\AssistantApplication.$(H) $(STCHDR)
cg@3267
    91
$(OUTDIR)UIGalleryView.$(O) UIGalleryView.$(C) UIGalleryView.$(H): UIGalleryView.st $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(INCLUDE_TOP)\stx\libview\DeviceGraphicsContext.$(H) $(INCLUDE_TOP)\stx\libview\DisplaySurface.$(H) $(INCLUDE_TOP)\stx\libview\GraphicsContext.$(H) $(INCLUDE_TOP)\stx\libview\GraphicsMedium.$(H) $(INCLUDE_TOP)\stx\libview\SimpleView.$(H) $(INCLUDE_TOP)\stx\libview\View.$(H) $(INCLUDE_TOP)\stx\libview2\DropObject.$(H) $(INCLUDE_TOP)\stx\libwidg2\NoteBookView.$(H) $(STCHDR)
cg@3267
    92
$(OUTDIR)UIHelpTool.$(O) UIHelpTool.$(C) UIHelpTool.$(H): UIHelpTool.st $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(INCLUDE_TOP)\stx\libview2\ApplicationModel.$(H) $(INCLUDE_TOP)\stx\libview2\Model.$(H) $(INCLUDE_TOP)\stx\libview2\ResourceSpecEditor.$(H) $(INCLUDE_TOP)\stx\libview2\ToolApplicationModel.$(H) $(INCLUDE_TOP)\stx\libwidg2\AbstractHierarchicalItem.$(H) $(INCLUDE_TOP)\stx\libwidg2\HierarchicalItem.$(H) $(STCHDR)
cg@3267
    93
$(OUTDIR)UILayoutTool.$(O) UILayoutTool.$(C) UILayoutTool.$(H): UILayoutTool.st $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(INCLUDE_TOP)\stx\libview2\ApplicationModel.$(H) $(INCLUDE_TOP)\stx\libview2\Model.$(H) $(STCHDR)
cg@3267
    94
$(OUTDIR)UIListEditor.$(O) UIListEditor.$(C) UIListEditor.$(H): UIListEditor.st $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(INCLUDE_TOP)\stx\libview2\ApplicationModel.$(H) $(INCLUDE_TOP)\stx\libview2\Model.$(H) $(INCLUDE_TOP)\stx\libview2\SimpleDialog.$(H) $(STCHDR)
cg@3267
    95
$(OUTDIR)UIObjectView.$(O) UIObjectView.$(C) UIObjectView.$(H): UIObjectView.st $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(INCLUDE_TOP)\stx\libview\DeviceGraphicsContext.$(H) $(INCLUDE_TOP)\stx\libview\DisplaySurface.$(H) $(INCLUDE_TOP)\stx\libview\GraphicsContext.$(H) $(INCLUDE_TOP)\stx\libview\GraphicsMedium.$(H) $(INCLUDE_TOP)\stx\libview\SimpleView.$(H) $(INCLUDE_TOP)\stx\libview\View.$(H) $(INCLUDE_TOP)\stx\libwidg\ObjectView.$(H) $(STCHDR)
cg@3267
    96
$(OUTDIR)UIPainter.$(O) UIPainter.$(C) UIPainter.$(H): UIPainter.st $(INCLUDE_TOP)\stx\libbasic\GenericException.$(H) $(INCLUDE_TOP)\stx\libbasic\Notification.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(INCLUDE_TOP)\stx\libbasic\Query.$(H) $(INCLUDE_TOP)\stx\libview\DeviceGraphicsContext.$(H) $(INCLUDE_TOP)\stx\libview\DisplaySurface.$(H) $(INCLUDE_TOP)\stx\libview\GraphicsContext.$(H) $(INCLUDE_TOP)\stx\libview\GraphicsMedium.$(H) $(INCLUDE_TOP)\stx\libview\SimpleView.$(H) $(INCLUDE_TOP)\stx\libview\View.$(H) $(INCLUDE_TOP)\stx\libview2\ApplicationModel.$(H) $(INCLUDE_TOP)\stx\libview2\Model.$(H) $(INCLUDE_TOP)\stx\libview2\ResourceSpecEditor.$(H) $(INCLUDE_TOP)\stx\libview2\ToolApplicationModel.$(H) $(INCLUDE_TOP)\stx\libwidg\ListView.$(H) $(INCLUDE_TOP)\stx\libwidg\SelectionInListView.$(H) $(INCLUDE_TOP)\stx\libwidg2\SelectionInTreeView.$(H) $(STCHDR)
cg@3267
    97
$(OUTDIR)UISelectionPanel.$(O) UISelectionPanel.$(C) UISelectionPanel.$(H): UISelectionPanel.st $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(INCLUDE_TOP)\stx\libview2\ApplicationModel.$(H) $(INCLUDE_TOP)\stx\libview2\Model.$(H) $(STCHDR)
cg@3267
    98
$(OUTDIR)UISpecificationTool.$(O) UISpecificationTool.$(C) UISpecificationTool.$(H): UISpecificationTool.st $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(INCLUDE_TOP)\stx\libview\DeviceGraphicsContext.$(H) $(INCLUDE_TOP)\stx\libview\DisplaySurface.$(H) $(INCLUDE_TOP)\stx\libview\GraphicsContext.$(H) $(INCLUDE_TOP)\stx\libview\GraphicsMedium.$(H) $(INCLUDE_TOP)\stx\libview\SimpleView.$(H) $(INCLUDE_TOP)\stx\libview2\ApplicationModel.$(H) $(INCLUDE_TOP)\stx\libview2\Model.$(H) $(INCLUDE_TOP)\stx\libwidg2\ViewScroller.$(H) $(STCHDR)
cg@3267
    99
$(OUTDIR)stx_libtool2.$(O) stx_libtool2.$(C) stx_libtool2.$(H): stx_libtool2.st $(INCLUDE_TOP)\stx\libbasic\LibraryDefinition.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(INCLUDE_TOP)\stx\libbasic\ProjectDefinition.$(H) $(STCHDR)
cg@3267
   100
$(OUTDIR)FileSelectionBrowser.$(O) FileSelectionBrowser.$(C) FileSelectionBrowser.$(H): FileSelectionBrowser.st $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(INCLUDE_TOP)\stx\libtool2\SelectionBrowser.$(H) $(INCLUDE_TOP)\stx\libview2\ApplicationModel.$(H) $(INCLUDE_TOP)\stx\libview2\Model.$(H) $(INCLUDE_TOP)\stx\libview2\SimpleDialog.$(H) $(STCHDR)
cg@3267
   101
$(OUTDIR)ResourceSelectionBrowser.$(O) ResourceSelectionBrowser.$(C) ResourceSelectionBrowser.$(H): ResourceSelectionBrowser.st $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(INCLUDE_TOP)\stx\libtool2\SelectionBrowser.$(H) $(INCLUDE_TOP)\stx\libview2\ApplicationModel.$(H) $(INCLUDE_TOP)\stx\libview2\Model.$(H) $(INCLUDE_TOP)\stx\libview2\SimpleDialog.$(H) $(STCHDR)
cg@3267
   102
$(OUTDIR)UIPainterView.$(O) UIPainterView.$(C) UIPainterView.$(H): UIPainterView.st $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(INCLUDE_TOP)\stx\libtool2\UIObjectView.$(H) $(INCLUDE_TOP)\stx\libview\DeviceGraphicsContext.$(H) $(INCLUDE_TOP)\stx\libview\DisplaySurface.$(H) $(INCLUDE_TOP)\stx\libview\GraphicsContext.$(H) $(INCLUDE_TOP)\stx\libview\GraphicsMedium.$(H) $(INCLUDE_TOP)\stx\libview\SimpleView.$(H) $(INCLUDE_TOP)\stx\libview\View.$(H) $(INCLUDE_TOP)\stx\libwidg\ObjectView.$(H) $(STCHDR)
cg@3205
   103
$(OUTDIR)extensions.$(O): extensions.st $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(INCLUDE_TOP)\stx\libview\Image.$(H) $(STCHDR)
cg@2086
   104
cg@1615
   105
# ENDMAKEDEPEND --- do not remove this line