author | Jan Vrany <jan.vrany@fit.cvut.cz> |
Fri, 27 Feb 2015 16:50:43 +0100 | |
changeset 37 | f417fe8685c5 |
parent 30 | 1851cfc16f27 |
child 40 | d766d4c854a2 |
permissions | -rw-r--r-- |
0 | 1 |
# $Header$ |
2 |
# |
|
3 |
# DO NOT EDIT |
|
4 |
# automagically generated from the projectDefinition: jv_vdb. |
|
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=../../stx |
|
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 |
|
22
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
21
diff
changeset
|
37 |
LOCALINCLUDES= -I$(INCLUDE_TOP)/jv/libgdbs -I$(INCLUDE_TOP)/stx/libbasic -I$(INCLUDE_TOP)/stx/libbasic2 -I$(INCLUDE_TOP)/stx/libtool -I$(INCLUDE_TOP)/stx/libtool2 -I$(INCLUDE_TOP)/stx/libview -I$(INCLUDE_TOP)/stx/libview2 -I$(INCLUDE_TOP)/stx/libwidg -I$(INCLUDE_TOP)/stx/libwidg2 |
0 | 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=libjv_vdb |
|
47 |
STCLOCALOPT='-package=$(PACKAGE)' -I. $(LOCALINCLUDES) $(STCLOCALOPTIMIZATIONS) $(STCWARNINGS) $(LOCALDEFINES) -headerDir=. -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 |
# Enforce recompilation of package definition class if Mercurial working |
|
74 |
# copy state changes. Together with --guessVersion it ensures that package |
|
75 |
# definition class always contains correct binary revision string. |
|
76 |
ifneq (**NOHG**, $(shell hg root 2> /dev/null || echo -n '**NOHG**')) |
|
77 |
jv_vdb.$(O): $(shell hg root)/.hg/dirstate |
|
78 |
endif |
|
79 |
||
80 |
||
81 |
||
82 |
||
83 |
# run default testsuite for this package |
|
84 |
test: $(TOP)/goodies/builder/reports |
|
85 |
$(MAKE) -C $(TOP)/goodies/builder/reports -f Makefile.init |
|
86 |
$(TOP)/goodies/builder/reports/report-runner.sh -D . -r Builder::TestReport -p $(PACKAGE) |
|
87 |
||
88 |
||
89 |
||
90 |
# add more install actions here |
|
91 |
install:: |
|
92 |
||
93 |
# add more install actions for aux-files (resources) here |
|
94 |
installAux:: |
|
95 |
||
96 |
# add more preMake actions here |
|
97 |
preMake:: |
|
98 |
||
99 |
# add more postMake actions here |
|
100 |
postMake:: cleanjunk |
|
101 |
||
102 |
# build all mandatory prerequisite packages (containing superclasses) for this package |
|
103 |
prereq: |
|
104 |
cd $(TOP)/libbasic && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" |
|
37
f417fe8685c5
Initial support for variables
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
30
diff
changeset
|
105 |
cd $(TOP)/goodies/announcements && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" |
0 | 106 |
cd $(TOP)/libbasic2 && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" |
37
f417fe8685c5
Initial support for variables
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
30
diff
changeset
|
107 |
cd $(TOP)/libbasic3 && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" |
0 | 108 |
cd $(TOP)/libview && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" |
109 |
cd $(TOP)/libview2 && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" |
|
37
f417fe8685c5
Initial support for variables
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
30
diff
changeset
|
110 |
cd $(TOP)/goodies/sunit && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" |
0 | 111 |
cd $(TOP)/libwidg && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" |
37
f417fe8685c5
Initial support for variables
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
30
diff
changeset
|
112 |
cd $(TOP)/goodies/magritte && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" |
11
43439b9e9096
Moved VDBInternalPipeStream from jv:vdb and jv:libgdbs and renamed to GDBInternalPipeStream
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
5
diff
changeset
|
113 |
cd $(TOP)/libwidg2 && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" |
37
f417fe8685c5
Initial support for variables
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
30
diff
changeset
|
114 |
cd ../libgdbs && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" |
0 | 115 |
|
116 |
||
117 |
||
118 |
# build all packages containing referenced classes for this package |
|
37
f417fe8685c5
Initial support for variables
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
30
diff
changeset
|
119 |
# they are not needed to compile the package (but later, to load it) |
0 | 120 |
references: |
121 |
||
122 |
||
123 |
cleanjunk:: |
|
124 |
-rm -f *.s *.s2 |
|
125 |
||
126 |
clean:: |
|
127 |
-rm -f *.o *.H |
|
128 |
||
129 |
clobber:: clean |
|
130 |
-rm -f *.so *.dll |
|
131 |
||
132 |
||
133 |
# BEGINMAKEDEPEND --- do not remove this line; make depend needs it |
|
134 |
$(OUTDIR)VDBAbstractApplication.$(O) VDBAbstractApplication.$(H): VDBAbstractApplication.st $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(INCLUDE_TOP)/stx/libview2/ApplicationModel.$(H) $(INCLUDE_TOP)/stx/libview2/Model.$(H) $(STCHDR) |
|
4
a7732b0afed6
VDBDebuggerConsoleApplication refactored to use custom TerminalView.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2
diff
changeset
|
135 |
$(OUTDIR)VDBDebuggerConsoleView.$(O) VDBDebuggerConsoleView.$(H): VDBDebuggerConsoleView.st $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(INCLUDE_TOP)/stx/libview/DisplaySurface.$(H) $(INCLUDE_TOP)/stx/libview/GraphicsMedium.$(H) $(INCLUDE_TOP)/stx/libview/SimpleView.$(H) $(INCLUDE_TOP)/stx/libview/View.$(H) $(INCLUDE_TOP)/stx/libwidg/EditTextView.$(H) $(INCLUDE_TOP)/stx/libwidg/ListView.$(H) $(INCLUDE_TOP)/stx/libwidg/TextCollector.$(H) $(INCLUDE_TOP)/stx/libwidg/TextView.$(H) $(INCLUDE_TOP)/stx/libwidg2/TerminalView.$(H) $(STCHDR) |
22
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
21
diff
changeset
|
136 |
$(OUTDIR)VDBIconLibrary.$(O) VDBIconLibrary.$(H): VDBIconLibrary.st $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
21
diff
changeset
|
137 |
$(OUTDIR)VDBModelPresenter.$(O) VDBModelPresenter.$(H): VDBModelPresenter.st $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(INCLUDE_TOP)/stx/libwidg2/HierarchicalItem.$(H) $(STCHDR) |
0 | 138 |
$(OUTDIR)jv_vdb.$(O) jv_vdb.$(H): jv_vdb.st $(INCLUDE_TOP)/stx/libbasic/LibraryDefinition.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(INCLUDE_TOP)/stx/libbasic/ProjectDefinition.$(H) $(STCHDR) |
1
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
0
diff
changeset
|
139 |
$(OUTDIR)VDBAbstractContainer.$(O) VDBAbstractContainer.$(H): VDBAbstractContainer.st $(INCLUDE_TOP)/jv/vdb/VDBAbstractApplication.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(INCLUDE_TOP)/stx/libview2/ApplicationModel.$(H) $(INCLUDE_TOP)/stx/libview2/Model.$(H) $(STCHDR) |
37
f417fe8685c5
Initial support for variables
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
30
diff
changeset
|
140 |
$(OUTDIR)VDBAbstractListApplication.$(O) VDBAbstractListApplication.$(H): VDBAbstractListApplication.st $(INCLUDE_TOP)/jv/vdb/VDBAbstractApplication.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(INCLUDE_TOP)/stx/libview2/ApplicationModel.$(H) $(INCLUDE_TOP)/stx/libview2/Model.$(H) $(STCHDR) |
0 | 141 |
$(OUTDIR)VDBDebuggerApplication.$(O) VDBDebuggerApplication.$(H): VDBDebuggerApplication.st $(INCLUDE_TOP)/jv/vdb/VDBAbstractApplication.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(INCLUDE_TOP)/stx/libview2/ApplicationModel.$(H) $(INCLUDE_TOP)/stx/libview2/Model.$(H) $(STCHDR) |
30
1851cfc16f27
When issuing CLI commands, make sure they're run in background mode.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
22
diff
changeset
|
142 |
$(OUTDIR)VDBDebuggerConsoleApplication.$(O) VDBDebuggerConsoleApplication.$(H): VDBDebuggerConsoleApplication.st $(INCLUDE_TOP)/jv/libgdbs/GDBCommandStatus.$(H) $(INCLUDE_TOP)/jv/vdb/VDBAbstractApplication.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(INCLUDE_TOP)/stx/libview2/ApplicationModel.$(H) $(INCLUDE_TOP)/stx/libview2/Model.$(H) $(STCHDR) |
1
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
0
diff
changeset
|
143 |
$(OUTDIR)VDBEventLogApplication.$(O) VDBEventLogApplication.$(H): VDBEventLogApplication.st $(INCLUDE_TOP)/jv/vdb/VDBAbstractApplication.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(INCLUDE_TOP)/stx/libview2/ApplicationModel.$(H) $(INCLUDE_TOP)/stx/libview2/Model.$(H) $(STCHDR) |
22
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
21
diff
changeset
|
144 |
$(OUTDIR)VDBFramePresenter.$(O) VDBFramePresenter.$(H): VDBFramePresenter.st $(INCLUDE_TOP)/jv/vdb/VDBModelPresenter.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(INCLUDE_TOP)/stx/libwidg2/HierarchicalItem.$(H) $(STCHDR) |
2
9741a7683808
Added VDBInferiorConsoleApplication to display debugee's input/output.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
1
diff
changeset
|
145 |
$(OUTDIR)VDBInferiorConsoleApplication.$(O) VDBInferiorConsoleApplication.$(H): VDBInferiorConsoleApplication.st $(INCLUDE_TOP)/jv/vdb/VDBAbstractApplication.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(INCLUDE_TOP)/stx/libview2/ApplicationModel.$(H) $(INCLUDE_TOP)/stx/libview2/Model.$(H) $(STCHDR) |
16
fc1898815ab6
Temporary commit: some more work on displaying source code.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
13
diff
changeset
|
146 |
$(OUTDIR)VDBSourceApplication.$(O) VDBSourceApplication.$(H): VDBSourceApplication.st $(INCLUDE_TOP)/jv/vdb/VDBAbstractApplication.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(INCLUDE_TOP)/stx/libview2/ApplicationModel.$(H) $(INCLUDE_TOP)/stx/libview2/Model.$(H) $(STCHDR) |
22
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
21
diff
changeset
|
147 |
$(OUTDIR)VDBThreadGroupPresenter.$(O) VDBThreadGroupPresenter.$(H): VDBThreadGroupPresenter.st $(INCLUDE_TOP)/jv/vdb/VDBModelPresenter.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(INCLUDE_TOP)/stx/libwidg2/HierarchicalItem.$(H) $(STCHDR) |
6684f4d82301
Temporary commit: reworking VDBStackApplication to support multiple threads and inferiors
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
21
diff
changeset
|
148 |
$(OUTDIR)VDBThreadPresenter.$(O) VDBThreadPresenter.$(H): VDBThreadPresenter.st $(INCLUDE_TOP)/jv/vdb/VDBModelPresenter.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(INCLUDE_TOP)/stx/libwidg2/HierarchicalItem.$(H) $(STCHDR) |
37
f417fe8685c5
Initial support for variables
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
30
diff
changeset
|
149 |
$(OUTDIR)VDBVariablePresenter.$(O) VDBVariablePresenter.$(H): VDBVariablePresenter.st $(INCLUDE_TOP)/jv/vdb/VDBModelPresenter.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(INCLUDE_TOP)/stx/libwidg2/HierarchicalItem.$(H) $(STCHDR) |
f417fe8685c5
Initial support for variables
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
30
diff
changeset
|
150 |
$(OUTDIR)VDBAbstractTreeApplication.$(O) VDBAbstractTreeApplication.$(H): VDBAbstractTreeApplication.st $(INCLUDE_TOP)/jv/vdb/VDBAbstractApplication.$(H) $(INCLUDE_TOP)/jv/vdb/VDBAbstractListApplication.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(INCLUDE_TOP)/stx/libview2/ApplicationModel.$(H) $(INCLUDE_TOP)/stx/libview2/Model.$(H) $(STCHDR) |
1
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
0
diff
changeset
|
151 |
$(OUTDIR)VDBTabbingContainer.$(O) VDBTabbingContainer.$(H): VDBTabbingContainer.st $(INCLUDE_TOP)/jv/vdb/VDBAbstractApplication.$(H) $(INCLUDE_TOP)/jv/vdb/VDBAbstractContainer.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(INCLUDE_TOP)/stx/libview2/ApplicationModel.$(H) $(INCLUDE_TOP)/stx/libview2/Model.$(H) $(STCHDR) |
37
f417fe8685c5
Initial support for variables
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
30
diff
changeset
|
152 |
$(OUTDIR)VDBFrameApplication.$(O) VDBFrameApplication.$(H): VDBFrameApplication.st $(INCLUDE_TOP)/jv/vdb/VDBAbstractApplication.$(H) $(INCLUDE_TOP)/jv/vdb/VDBAbstractListApplication.$(H) $(INCLUDE_TOP)/jv/vdb/VDBAbstractTreeApplication.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(INCLUDE_TOP)/stx/libview2/ApplicationModel.$(H) $(INCLUDE_TOP)/stx/libview2/Model.$(H) $(STCHDR) |
f417fe8685c5
Initial support for variables
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
30
diff
changeset
|
153 |
$(OUTDIR)VDBStackApplication.$(O) VDBStackApplication.$(H): VDBStackApplication.st $(INCLUDE_TOP)/jv/vdb/VDBAbstractApplication.$(H) $(INCLUDE_TOP)/jv/vdb/VDBAbstractListApplication.$(H) $(INCLUDE_TOP)/jv/vdb/VDBAbstractTreeApplication.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(INCLUDE_TOP)/stx/libview2/ApplicationModel.$(H) $(INCLUDE_TOP)/stx/libview2/Model.$(H) $(STCHDR) |
0 | 154 |
|
155 |
# ENDMAKEDEPEND --- do not remove this line |
|
156 |