32 |
32 |
33 # if your embedded C code requires any system includes, |
33 # if your embedded C code requires any system includes, |
34 # add the path(es) here:, |
34 # add the path(es) here:, |
35 # ********** OPTIONAL: MODIFY the next lines *** |
35 # ********** OPTIONAL: MODIFY the next lines *** |
36 # LOCALINCLUDES=-Ifoo -Ibar |
36 # LOCALINCLUDES=-Ifoo -Ibar |
37 LOCALINCLUDES= -I$(INCLUDE_TOP)/stx/libview -I$(INCLUDE_TOP)/stx/libui -I$(INCLUDE_TOP)/stx/libview2 -I$(INCLUDE_TOP)/stx/libwidg -I$(INCLUDE_TOP)/stx/libbasic2 -I$(INCLUDE_TOP)/stx/libbasic |
37 LOCALINCLUDES= -I$(INCLUDE_TOP)/stx/libbasic2 -I$(INCLUDE_TOP)/stx/libview -I$(INCLUDE_TOP)/stx/libview2 -I$(INCLUDE_TOP)/stx/libbasic -I$(INCLUDE_TOP)/stx/libwidg |
38 |
38 |
39 |
39 |
40 # if you need any additional defines for embedded C code, |
40 # if you need any additional defines for embedded C code, |
41 # add them here:, |
41 # add them here:, |
42 # ********** OPTIONAL: MODIFY the next lines *** |
42 # ********** OPTIONAL: MODIFY the next lines *** |
43 # LOCALDEFINES=-Dfoo -Dbar -DDEBUG |
43 # LOCALDEFINES=-Dfoo -Dbar -DDEBUG |
44 LOCALDEFINES= |
44 LOCALDEFINES= |
45 |
45 |
46 LIBNAME=libstx_libwidg2 |
46 LIBNAME=libstx_libwidg2 |
47 STCLOCALOPT='-package=$(PACKAGE)' -I. $(LOCALINCLUDES) $(STCLOCALOPTIMIZATIONS) $(STCWARNINGS) $(LOCALDEFINES) -H. $(COMMONSYMBOLS) -varPrefix=$(LIBNAME) |
47 STCLOCALOPT='-package=$(PACKAGE)' -I. $(LOCALINCLUDES) $(STCLOCALOPTIMIZATIONS) $(STCWARNINGS) $(LOCALDEFINES) -headerDir=. $(COMMONSYMBOLS) -varPrefix=$(LIBNAME) |
48 |
48 |
49 |
49 |
50 # ********** OPTIONAL: MODIFY the next line *** |
50 # ********** OPTIONAL: MODIFY the next line *** |
51 # additional C-libraries that should be pre-linked with the class-objects |
51 # additional C-libraries that should be pre-linked with the class-objects |
52 LD_OBJ_LIBS= |
52 LD_OBJ_LIBS= |
79 preMake:: |
81 preMake:: |
80 |
82 |
81 # add more postMake actions here |
83 # add more postMake actions here |
82 postMake:: cleanjunk |
84 postMake:: cleanjunk |
83 |
85 |
84 prereq: $(REQUIRED_SUPPORT_DIRS) |
86 # build all mandatory prerequisite packages (containing superclasses) for this package |
|
87 prereq: |
85 cd ../libbasic && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" |
88 cd ../libbasic && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" |
86 cd ../libbasic2 && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" |
89 cd ../libbasic2 && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" |
87 cd ../libview && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" |
90 cd ../libview && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" |
88 cd ../libview2 && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" |
91 cd ../libview2 && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" |
89 cd ../libui && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" |
|
90 cd ../libwidg && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" |
92 cd ../libwidg && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" |
91 cd ../librun && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" |
|
92 |
93 |
93 |
94 |
94 |
95 |
|
96 # build all packages containing referenced classes for this package |
|
97 # they are nor needed to compile the package |
|
98 references: |
|
99 |
|
100 |
95 cleanjunk:: |
101 cleanjunk:: |
|
102 -rm -f *.s *.s2 |
96 |
103 |
97 clean:: |
104 clean:: |
98 -rm -f *.o *.H |
105 -rm -f *.o *.H |
99 |
106 |
100 clobber:: clean |
107 clobber:: clean |
172 $(OUTDIR)MultiColListEntry.$(O) MultiColListEntry.$(H): MultiColListEntry.st $(INCLUDE_TOP)/stx/libwidg2/ListEntry.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) |
179 $(OUTDIR)MultiColListEntry.$(O) MultiColListEntry.$(H): MultiColListEntry.st $(INCLUDE_TOP)/stx/libwidg2/ListEntry.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) |
173 $(OUTDIR)SelectionInListModelView.$(O) SelectionInListModelView.$(H): SelectionInListModelView.st $(INCLUDE_TOP)/stx/libwidg2/ListModelView.$(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) |
180 $(OUTDIR)SelectionInListModelView.$(O) SelectionInListModelView.$(H): SelectionInListModelView.st $(INCLUDE_TOP)/stx/libwidg2/ListModelView.$(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) |
174 $(OUTDIR)TabView.$(O) TabView.$(H): TabView.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) |
181 $(OUTDIR)TabView.$(O) TabView.$(H): TabView.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) |
175 $(OUTDIR)ThreeColumnTextView.$(O) ThreeColumnTextView.$(H): ThreeColumnTextView.st $(INCLUDE_TOP)/stx/libwidg2/SyncedMultiColumnTextView.$(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) |
182 $(OUTDIR)ThreeColumnTextView.$(O) ThreeColumnTextView.$(H): ThreeColumnTextView.st $(INCLUDE_TOP)/stx/libwidg2/SyncedMultiColumnTextView.$(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) |
176 $(OUTDIR)TreeItemWithImage.$(O) TreeItemWithImage.$(H): TreeItemWithImage.st $(INCLUDE_TOP)/stx/libwidg2/TreeItem.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) |
183 $(OUTDIR)TreeItemWithImage.$(O) TreeItemWithImage.$(H): TreeItemWithImage.st $(INCLUDE_TOP)/stx/libwidg2/TreeItem.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) |
|
184 $(OUTDIR)TriggerBox.$(O) TriggerBox.$(H): TriggerBox.st $(INCLUDE_TOP)/stx/libwidg2/CheckBox.$(H) $(INCLUDE_TOP)/stx/libwidg/HorizontalPanelView.$(H) $(INCLUDE_TOP)/stx/libwidg/PanelView.$(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) |
177 $(OUTDIR)TwoColumnTextView.$(O) TwoColumnTextView.$(H): TwoColumnTextView.st $(INCLUDE_TOP)/stx/libwidg2/SyncedMultiColumnTextView.$(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) |
185 $(OUTDIR)TwoColumnTextView.$(O) TwoColumnTextView.$(H): TwoColumnTextView.st $(INCLUDE_TOP)/stx/libwidg2/SyncedMultiColumnTextView.$(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) |
178 $(OUTDIR)FilenameComboBoxView.$(O) FilenameComboBoxView.$(H): FilenameComboBoxView.st $(INCLUDE_TOP)/stx/libwidg2/ComboBoxView.$(H) $(INCLUDE_TOP)/stx/libwidg2/ComboView.$(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) |
186 $(OUTDIR)FilenameComboBoxView.$(O) FilenameComboBoxView.$(H): FilenameComboBoxView.st $(INCLUDE_TOP)/stx/libwidg2/ComboBoxView.$(H) $(INCLUDE_TOP)/stx/libwidg2/ComboView.$(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) |
179 $(OUTDIR)HierarchicalItemWithLabelAndIcon.$(O) HierarchicalItemWithLabelAndIcon.$(H): HierarchicalItemWithLabelAndIcon.st $(INCLUDE_TOP)/stx/libwidg2/HierarchicalItemWithLabel.$(H) $(INCLUDE_TOP)/stx/libwidg2/HierarchicalItem.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) |
187 $(OUTDIR)HierarchicalItemWithLabelAndIcon.$(O) HierarchicalItemWithLabelAndIcon.$(H): HierarchicalItemWithLabelAndIcon.st $(INCLUDE_TOP)/stx/libwidg2/HierarchicalItemWithLabel.$(H) $(INCLUDE_TOP)/stx/libwidg2/HierarchicalItem.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) |
180 $(OUTDIR)HierarchicalListView.$(O) HierarchicalListView.$(H): HierarchicalListView.st $(INCLUDE_TOP)/stx/libwidg2/SelectionInListModelView.$(H) $(INCLUDE_TOP)/stx/libwidg2/ListModelView.$(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) |
188 $(OUTDIR)HierarchicalListView.$(O) HierarchicalListView.$(H): HierarchicalListView.st $(INCLUDE_TOP)/stx/libwidg2/SelectionInListModelView.$(H) $(INCLUDE_TOP)/stx/libwidg2/ListModelView.$(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) |
181 $(OUTDIR)LabelAndIcon.$(O) LabelAndIcon.$(H): LabelAndIcon.st $(INCLUDE_TOP)/stx/libwidg2/ModelListEntry.$(H) $(INCLUDE_TOP)/stx/libwidg2/ListEntry.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) |
189 $(OUTDIR)LabelAndIcon.$(O) LabelAndIcon.$(H): LabelAndIcon.st $(INCLUDE_TOP)/stx/libwidg2/ModelListEntry.$(H) $(INCLUDE_TOP)/stx/libwidg2/ListEntry.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) |