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