Make.proto
author Patrik Svestka <patrik.svestka@gmail.com>
Wed, 14 Nov 2018 12:07:51 +0100
branchjv
changeset 3630 5e718e0a754e
parent 3266 6f54f2fb2047
child 3604 d7aad2de8dd5
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@36
     1
# $Header$
cg@2061
     2
#
cg@2601
     3
# DO NOT EDIT
cg@2061
     4
# automagically generated from the projectDefinition: stx_libtool2.
cg@2061
     5
#
cg@2061
     6
# Warning: once you modify this file, do not rerun
cg@2061
     7
# stmkmp or projectDefinition-build again - otherwise, your changes are lost.
cg@2061
     8
#
cg@2061
     9
# The Makefile as generated by this Make.proto supports the following targets:
cg@2061
    10
#    make         - compile all st-files to a classLib
cg@2061
    11
#    make clean   - clean all temp files
cg@2061
    12
#    make clobber - clean all
cg@2061
    13
#
cg@2061
    14
# This file contains definitions for Unix based platforms.
cg@2083
    15
# It shares common definitions with the win32-make in Make.spec.
cg@36
    16
cg@36
    17
#
cg@2061
    18
# position (of this package) in directory hierarchy:
cg@2061
    19
# (must point to ST/X top directory, for tools and includes)
cg@2083
    20
TOP=..
cg@2083
    21
INCLUDE_TOP=$(TOP)/..
cg@2061
    22
cg@2061
    23
# subdirectories where targets are to be made:
cg@36
    24
SUBDIRS=
cg@36
    25
cg@36
    26
cg@2061
    27
# subdirectories where Makefiles are to be made:
cg@2061
    28
# (only define if different from SUBDIRS)
cg@2061
    29
# ALLSUBDIRS=
cg@36
    30
cg@2460
    31
REQUIRED_SUPPORT_DIRS=
cg@2061
    32
cg@2601
    33
# if your embedded C code requires any system includes,
cg@2601
    34
# add the path(es) here:,
cg@2061
    35
# ********** OPTIONAL: MODIFY the next lines ***
cg@2061
    36
# LOCALINCLUDES=-Ifoo -Ibar
sv@3145
    37
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@2061
    38
cg@2061
    39
cg@2601
    40
# if you need any additional defines for embedded C code,
cg@2601
    41
# add them here:,
cg@2061
    42
# ********** OPTIONAL: MODIFY the next lines ***
cg@2061
    43
# LOCALDEFINES=-Dfoo -Dbar -DDEBUG
cg@2061
    44
LOCALDEFINES=
cg@2061
    45
cg@2083
    46
LIBNAME=libstx_libtool2
sv@3145
    47
STCLOCALOPT='-package=$(PACKAGE)' -I. $(LOCALINCLUDES) $(STCLOCALOPTIMIZATIONS) $(STCWARNINGS) $(LOCALDEFINES) -headerDir=. $(COMMONSYMBOLS) -varPrefix=$(LIBNAME)
cg@2061
    48
cg@2061
    49
cg@2061
    50
# ********** OPTIONAL: MODIFY the next line ***
cg@2061
    51
# additional C-libraries that should be pre-linked with the class-objects
cg@2061
    52
LD_OBJ_LIBS=
boris@2139
    53
LOCAL_SHARED_LIBS=
cg@2061
    54
cg@2061
    55
cg@2061
    56
# ********** OPTIONAL: MODIFY the next line ***
cg@2061
    57
# additional C targets or libraries should be added below
cg@2061
    58
LOCAL_EXTRA_TARGETS=
cg@2061
    59
cg@2061
    60
OBJS= $(COMMON_OBJS) $(UNIX_OBJS)
cg@2061
    61
cg@2061
    62
cg@2061
    63
cg@2061
    64
all:: preMake classLibRule postMake
cg@2061
    65
cg@2601
    66
pre_objs::  
cg@2601
    67
cg@2601
    68
cg@2061
    69
cg@2061
    70
cg@2061
    71
sv@3145
    72
sv@3145
    73
sv@3145
    74
sv@3145
    75
sv@3145
    76
# run default testsuite for this package
sv@3145
    77
test: $(TOP)/goodies/builder/reports
sv@3145
    78
	$(MAKE) -C $(TOP)/goodies/builder/reports -f Makefile.init
sv@3145
    79
	$(TOP)/goodies/builder/reports/report-runner.sh -D . -r Builder::TestReport -p $(PACKAGE)
sv@3145
    80
sv@3145
    81
sv@3145
    82
cg@2061
    83
# add more install actions here
cg@2061
    84
install::
cg@2061
    85
cg@2061
    86
# add more install actions for aux-files (resources) here
cg@2061
    87
installAux::
cg@2061
    88
cg@2061
    89
# add more preMake actions here
cg@2061
    90
preMake::
cg@2061
    91
cg@2061
    92
# add more postMake actions here
cg@2061
    93
postMake:: cleanjunk
cg@36
    94
sv@3145
    95
# build all mandatory prerequisite packages (containing superclasses) for this package
sv@3145
    96
prereq:
cg@3266
    97
	cd ../libbasic && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
cg@3266
    98
	cd ../libbasic2 && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
cg@3266
    99
	cd ../libview && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
cg@3266
   100
	cd ../libview2 && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
cg@3266
   101
	cd ../libwidg && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
cg@3266
   102
	cd ../libwidg2 && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
cg@2460
   103
cg@2460
   104
cg@2460
   105
sv@3145
   106
# build all packages containing referenced classes for this package
cg@3204
   107
# they are not needed to compile the package (but later, to load it)
sv@3145
   108
references:
sv@3145
   109
sv@3145
   110
cg@36
   111
cleanjunk::
sv@3145
   112
	-rm -f *.s *.s2
cg@36
   113
cg@36
   114
clean::
cg@2061
   115
	-rm -f *.o *.H
cg@36
   116
sv@2285
   117
clobber:: clean
cg@2061
   118
	-rm -f *.so *.dll
cg@36
   119
cg@2061
   120
cg@36
   121
# BEGINMAKEDEPEND --- do not remove this line; make depend needs it
cg@3266
   122
$(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@3266
   123
$(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@3266
   124
$(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@3266
   125
$(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@3266
   126
$(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@3266
   127
$(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@3266
   128
$(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@3266
   129
$(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@3266
   130
$(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@3266
   131
$(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@3266
   132
$(OUTDIR)ProjectBuilder.$(O) ProjectBuilder.$(C) ProjectBuilder.$(H): ProjectBuilder.st $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR)
cg@3266
   133
$(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@3266
   134
$(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@3266
   135
$(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@3266
   136
$(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@3266
   137
$(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@3266
   138
$(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@3266
   139
$(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@3266
   140
$(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@3266
   141
$(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@3266
   142
$(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@3266
   143
$(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@3266
   144
$(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@3266
   145
$(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@3204
   146
$(OUTDIR)extensions.$(O): extensions.st $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(INCLUDE_TOP)/stx/libview/Image.$(H) $(STCHDR)
cg@2083
   147
cg@2061
   148
# ENDMAKEDEPEND --- do not remove this line
cg@2061
   149