author | Jan Vrany <jan.vrany@fit.cvut.cz> |
Thu, 04 Oct 2018 10:51:17 +0100 | |
changeset 116 | d0d6da74ead3 |
parent 111 | a70313e80780 |
child 132 | a1dededebc0b |
permissions | -rw-r--r-- |
72
4e8268dabaf7
UI: "disable" frames in frame list while inferior is running
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
71
diff
changeset
|
1 |
# $Header$ |
4e8268dabaf7
UI: "disable" frames in frame list while inferior is running
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
71
diff
changeset
|
2 |
# |
4e8268dabaf7
UI: "disable" frames in frame list while inferior is running
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
71
diff
changeset
|
3 |
# DO NOT EDIT |
4e8268dabaf7
UI: "disable" frames in frame list while inferior is running
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
71
diff
changeset
|
4 |
# automagically generated from the projectDefinition: jv_vdb_tests. |
4e8268dabaf7
UI: "disable" frames in frame list while inferior is running
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
71
diff
changeset
|
5 |
# |
4e8268dabaf7
UI: "disable" frames in frame list while inferior is running
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
71
diff
changeset
|
6 |
# Warning: once you modify this file, do not rerun |
4e8268dabaf7
UI: "disable" frames in frame list while inferior is running
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
71
diff
changeset
|
7 |
# stmkmp or projectDefinition-build again - otherwise, your changes are lost. |
4e8268dabaf7
UI: "disable" frames in frame list while inferior is running
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
71
diff
changeset
|
8 |
# |
4e8268dabaf7
UI: "disable" frames in frame list while inferior is running
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
71
diff
changeset
|
9 |
# Notice, that the name bc.mak is historical (from times, when only borland c was supported). |
4e8268dabaf7
UI: "disable" frames in frame list while inferior is running
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
71
diff
changeset
|
10 |
# This file contains make rules for the win32 platform using either borland-bcc or visual-c. |
4e8268dabaf7
UI: "disable" frames in frame list while inferior is running
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
71
diff
changeset
|
11 |
# It shares common definitions with the unix-make in Make.spec. |
4e8268dabaf7
UI: "disable" frames in frame list while inferior is running
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
71
diff
changeset
|
12 |
# The bc.mak supports the following targets: |
4e8268dabaf7
UI: "disable" frames in frame list while inferior is running
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
71
diff
changeset
|
13 |
# bmake - compile all st-files to a classLib (dll) |
4e8268dabaf7
UI: "disable" frames in frame list while inferior is running
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
71
diff
changeset
|
14 |
# bmake clean - clean all temp files |
4e8268dabaf7
UI: "disable" frames in frame list while inferior is running
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
71
diff
changeset
|
15 |
# bmake clobber - clean all |
4e8268dabaf7
UI: "disable" frames in frame list while inferior is running
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
71
diff
changeset
|
16 |
# |
4e8268dabaf7
UI: "disable" frames in frame list while inferior is running
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
71
diff
changeset
|
17 |
# Historic Note: |
4e8268dabaf7
UI: "disable" frames in frame list while inferior is running
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
71
diff
changeset
|
18 |
# this used to contain only rules to make with borland |
4e8268dabaf7
UI: "disable" frames in frame list while inferior is running
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
71
diff
changeset
|
19 |
# (called via bmake, by "make.exe -f bc.mak") |
4e8268dabaf7
UI: "disable" frames in frame list while inferior is running
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
71
diff
changeset
|
20 |
# this has changed; it is now also possible to build using microsoft visual c |
4e8268dabaf7
UI: "disable" frames in frame list while inferior is running
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
71
diff
changeset
|
21 |
# (called via vcmake, by "make.exe -f bc.mak -DUSEVC") |
4e8268dabaf7
UI: "disable" frames in frame list while inferior is running
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
71
diff
changeset
|
22 |
# |
4e8268dabaf7
UI: "disable" frames in frame list while inferior is running
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
71
diff
changeset
|
23 |
TOP=..\..\..\stx |
4e8268dabaf7
UI: "disable" frames in frame list while inferior is running
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
71
diff
changeset
|
24 |
INCLUDE_TOP=$(TOP)\.. |
4e8268dabaf7
UI: "disable" frames in frame list while inferior is running
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
71
diff
changeset
|
25 |
|
4e8268dabaf7
UI: "disable" frames in frame list while inferior is running
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
71
diff
changeset
|
26 |
|
4e8268dabaf7
UI: "disable" frames in frame list while inferior is running
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
71
diff
changeset
|
27 |
|
4e8268dabaf7
UI: "disable" frames in frame list while inferior is running
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
71
diff
changeset
|
28 |
!INCLUDE $(TOP)\rules\stdHeader_bc |
4e8268dabaf7
UI: "disable" frames in frame list while inferior is running
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
71
diff
changeset
|
29 |
|
4e8268dabaf7
UI: "disable" frames in frame list while inferior is running
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
71
diff
changeset
|
30 |
!INCLUDE Make.spec |
4e8268dabaf7
UI: "disable" frames in frame list while inferior is running
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
71
diff
changeset
|
31 |
|
4e8268dabaf7
UI: "disable" frames in frame list while inferior is running
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
71
diff
changeset
|
32 |
LIBNAME=libjv_vdb_tests |
4e8268dabaf7
UI: "disable" frames in frame list while inferior is running
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
71
diff
changeset
|
33 |
MODULE_PATH=vdb\tests |
4e8268dabaf7
UI: "disable" frames in frame list while inferior is running
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
71
diff
changeset
|
34 |
RESFILES=jv_vdb_testsWINrc.$(RES) |
4e8268dabaf7
UI: "disable" frames in frame list while inferior is running
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
71
diff
changeset
|
35 |
|
4e8268dabaf7
UI: "disable" frames in frame list while inferior is running
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
71
diff
changeset
|
36 |
|
4e8268dabaf7
UI: "disable" frames in frame list while inferior is running
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
71
diff
changeset
|
37 |
|
116
d0d6da74ead3
UI: add GDB executable configuration to settings dialog
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
111
diff
changeset
|
38 |
LOCALINCLUDES= -I$(INCLUDE_TOP)\jv\libgdbs -I$(INCLUDE_TOP)\jv\libgdbs\tests -I$(INCLUDE_TOP)\jv\vdb -I$(INCLUDE_TOP)\stx\goodies\sunit -I$(INCLUDE_TOP)\stx\libbasic -I$(INCLUDE_TOP)\stx\libbasic3 -I$(INCLUDE_TOP)\stx\libview2 |
72
4e8268dabaf7
UI: "disable" frames in frame list while inferior is running
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
71
diff
changeset
|
39 |
LOCALDEFINES= |
4e8268dabaf7
UI: "disable" frames in frame list while inferior is running
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
71
diff
changeset
|
40 |
|
4e8268dabaf7
UI: "disable" frames in frame list while inferior is running
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
71
diff
changeset
|
41 |
STCLOCALOPT=-package=$(PACKAGE) -I. $(LOCALINCLUDES) -headerDir=. $(STCLOCALOPTIMIZATIONS) $(STCWARNINGS) $(LOCALDEFINES) -varPrefix=$(LIBNAME) |
4e8268dabaf7
UI: "disable" frames in frame list while inferior is running
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
71
diff
changeset
|
42 |
LOCALLIBS= |
4e8268dabaf7
UI: "disable" frames in frame list while inferior is running
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
71
diff
changeset
|
43 |
|
4e8268dabaf7
UI: "disable" frames in frame list while inferior is running
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
71
diff
changeset
|
44 |
OBJS= $(COMMON_OBJS) $(WIN32_OBJS) |
4e8268dabaf7
UI: "disable" frames in frame list while inferior is running
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
71
diff
changeset
|
45 |
|
4e8268dabaf7
UI: "disable" frames in frame list while inferior is running
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
71
diff
changeset
|
46 |
ALL:: classLibRule |
4e8268dabaf7
UI: "disable" frames in frame list while inferior is running
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
71
diff
changeset
|
47 |
|
4e8268dabaf7
UI: "disable" frames in frame list while inferior is running
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
71
diff
changeset
|
48 |
classLibRule: $(OUTDIR) $(OUTDIR)$(LIBNAME).dll |
4e8268dabaf7
UI: "disable" frames in frame list while inferior is running
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
71
diff
changeset
|
49 |
|
4e8268dabaf7
UI: "disable" frames in frame list while inferior is running
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
71
diff
changeset
|
50 |
!INCLUDE $(TOP)\rules\stdRules_bc |
4e8268dabaf7
UI: "disable" frames in frame list while inferior is running
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
71
diff
changeset
|
51 |
|
4e8268dabaf7
UI: "disable" frames in frame list while inferior is running
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
71
diff
changeset
|
52 |
# build all mandatory prerequisite packages (containing superclasses) for this package |
4e8268dabaf7
UI: "disable" frames in frame list while inferior is running
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
71
diff
changeset
|
53 |
prereq: |
4e8268dabaf7
UI: "disable" frames in frame list while inferior is running
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
71
diff
changeset
|
54 |
pushd ..\..\..\stx\libbasic & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " |
111
a70313e80780
UI: add *View* -> *Disassembly* menu item to debugger menu
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
110
diff
changeset
|
55 |
pushd ..\..\..\stx\libbasic2 & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " |
a70313e80780
UI: add *View* -> *Disassembly* menu item to debugger menu
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
110
diff
changeset
|
56 |
pushd ..\..\..\stx\libview & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " |
a70313e80780
UI: add *View* -> *Disassembly* menu item to debugger menu
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
110
diff
changeset
|
57 |
pushd ..\..\..\stx\libview2 & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " |
a70313e80780
UI: add *View* -> *Disassembly* menu item to debugger menu
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
110
diff
changeset
|
58 |
pushd ..\..\..\stx\goodies\sunit & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " |
72
4e8268dabaf7
UI: "disable" frames in frame list while inferior is running
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
71
diff
changeset
|
59 |
|
4e8268dabaf7
UI: "disable" frames in frame list while inferior is running
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
71
diff
changeset
|
60 |
|
4e8268dabaf7
UI: "disable" frames in frame list while inferior is running
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
71
diff
changeset
|
61 |
|
4e8268dabaf7
UI: "disable" frames in frame list while inferior is running
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
71
diff
changeset
|
62 |
|
4e8268dabaf7
UI: "disable" frames in frame list while inferior is running
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
71
diff
changeset
|
63 |
|
4e8268dabaf7
UI: "disable" frames in frame list while inferior is running
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
71
diff
changeset
|
64 |
|
4e8268dabaf7
UI: "disable" frames in frame list while inferior is running
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
71
diff
changeset
|
65 |
|
110 | 66 |
test: $(TOP)\goodies\builder\reports |
72
4e8268dabaf7
UI: "disable" frames in frame list while inferior is running
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
71
diff
changeset
|
67 |
pushd $(TOP)\goodies\builder\reports & $(MAKE_BAT) |
4e8268dabaf7
UI: "disable" frames in frame list while inferior is running
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
71
diff
changeset
|
68 |
$(TOP)\goodies\builder\reports\report-runner.bat -D . -r Builder::TestReport -p $(PACKAGE) |
4e8268dabaf7
UI: "disable" frames in frame list while inferior is running
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
71
diff
changeset
|
69 |
|
4e8268dabaf7
UI: "disable" frames in frame list while inferior is running
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
71
diff
changeset
|
70 |
clean:: |
4e8268dabaf7
UI: "disable" frames in frame list while inferior is running
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
71
diff
changeset
|
71 |
-del *.$(CSUFFIX) |
4e8268dabaf7
UI: "disable" frames in frame list while inferior is running
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
71
diff
changeset
|
72 |
|
4e8268dabaf7
UI: "disable" frames in frame list while inferior is running
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
71
diff
changeset
|
73 |
|
4e8268dabaf7
UI: "disable" frames in frame list while inferior is running
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
71
diff
changeset
|
74 |
# BEGINMAKEDEPEND --- do not remove this line; make depend needs it |
111
a70313e80780
UI: add *View* -> *Disassembly* menu item to debugger menu
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
110
diff
changeset
|
75 |
$(OUTDIR)VDBAbstractApplicationTests.$(O) VDBAbstractApplicationTests.$(C) VDBAbstractApplicationTests.$(H): VDBAbstractApplicationTests.st $(INCLUDE_TOP)\stx\goodies\sunit\TestAsserter.$(H) $(INCLUDE_TOP)\stx\goodies\sunit\TestCase.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) |
72
4e8268dabaf7
UI: "disable" frames in frame list while inferior is running
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
71
diff
changeset
|
76 |
$(OUTDIR)jv_vdb_tests.$(O) jv_vdb_tests.$(C) jv_vdb_tests.$(H): jv_vdb_tests.st $(INCLUDE_TOP)\stx\libbasic\LibraryDefinition.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(INCLUDE_TOP)\stx\libbasic\ProjectDefinition.$(H) $(STCHDR) |
111
a70313e80780
UI: add *View* -> *Disassembly* menu item to debugger menu
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
110
diff
changeset
|
77 |
$(OUTDIR)VDBInstructionListApplicationTests.$(O) VDBInstructionListApplicationTests.$(C) VDBInstructionListApplicationTests.$(H): VDBInstructionListApplicationTests.st $(INCLUDE_TOP)\jv\vdb\tests\VDBAbstractApplicationTests.$(H) $(INCLUDE_TOP)\stx\goodies\sunit\TestAsserter.$(H) $(INCLUDE_TOP)\stx\goodies\sunit\TestCase.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) |
72
4e8268dabaf7
UI: "disable" frames in frame list while inferior is running
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
71
diff
changeset
|
78 |
|
4e8268dabaf7
UI: "disable" frames in frame list while inferior is running
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
71
diff
changeset
|
79 |
# ENDMAKEDEPEND --- do not remove this line |
4e8268dabaf7
UI: "disable" frames in frame list while inferior is running
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
71
diff
changeset
|
80 |
|
4e8268dabaf7
UI: "disable" frames in frame list while inferior is running
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
71
diff
changeset
|
81 |
# **Must be at end** |
4e8268dabaf7
UI: "disable" frames in frame list while inferior is running
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
71
diff
changeset
|
82 |
|
4e8268dabaf7
UI: "disable" frames in frame list while inferior is running
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
71
diff
changeset
|
83 |
# Enforce recompilation of package definition class if Mercurial working |
4e8268dabaf7
UI: "disable" frames in frame list while inferior is running
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
71
diff
changeset
|
84 |
# copy state changes. Together with --guessVersion it ensures that package |
4e8268dabaf7
UI: "disable" frames in frame list while inferior is running
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
71
diff
changeset
|
85 |
# definition class always contains correct binary revision string. |
4e8268dabaf7
UI: "disable" frames in frame list while inferior is running
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
71
diff
changeset
|
86 |
!IFDEF HGROOT |
4e8268dabaf7
UI: "disable" frames in frame list while inferior is running
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
71
diff
changeset
|
87 |
$(OUTDIR)jv_vdb_tests.$(O): $(HGROOT)\.hg\dirstate |
4e8268dabaf7
UI: "disable" frames in frame list while inferior is running
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
71
diff
changeset
|
88 |
!ENDIF |