author | Patrik Svestka <patrik.svestka@gmail.com> |
Wed, 14 Nov 2018 13:11:58 +0100 | |
branch | jv |
changeset 724 | 4dae63fce9f9 |
parent 664 | e31b2e7b658d |
permissions | -rw-r--r-- |
664
e31b2e7b658d
FIX: Do not treat skipped test as passed!
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
555
diff
changeset
|
1 |
# $Header$ |
145 | 2 |
# |
207 | 3 |
# DO NOT EDIT |
145 | 4 |
# automagically generated from the projectDefinition: stx_goodies_sunit. |
5 |
# |
|
6 |
# Warning: once you modify this file, do not rerun |
|
7 |
# stmkmp or projectDefinition-build again - otherwise, your changes are lost. |
|
8 |
# |
|
468
04f32cce2e7c
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
424
diff
changeset
|
9 |
# Notice, that the name bc.mak is historical (from times, when only borland c was supported). |
04f32cce2e7c
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
424
diff
changeset
|
10 |
# This file contains make rules for the win32 platform using either borland-bcc or visual-c. |
145 | 11 |
# It shares common definitions with the unix-make in Make.spec. |
468
04f32cce2e7c
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
424
diff
changeset
|
12 |
# The bc.mak supports the following targets: |
145 | 13 |
# bmake - compile all st-files to a classLib (dll) |
14 |
# bmake clean - clean all temp files |
|
15 |
# bmake clobber - clean all |
|
16 |
# |
|
468
04f32cce2e7c
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
424
diff
changeset
|
17 |
# Historic Note: |
514
5e191299df7e
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
468
diff
changeset
|
18 |
# this used to contain only rules to make with borland |
468
04f32cce2e7c
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
424
diff
changeset
|
19 |
# (called via bmake, by "make.exe -f bc.mak") |
04f32cce2e7c
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
424
diff
changeset
|
20 |
# this has changed; it is now also possible to build using microsoft visual c |
04f32cce2e7c
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
424
diff
changeset
|
21 |
# (called via vcmake, by "make.exe -f bc.mak -DUSEVC") |
145 | 22 |
# |
23 |
TOP=..\.. |
|
24 |
INCLUDE_TOP=$(TOP)\.. |
|
25 |
||
222 | 26 |
|
27 |
||
160
1a9edd5c456a
Rename stdRules_nt and stdHeader_nt to ..._bc
Stefan Vogel <sv@exept.de>
parents:
153
diff
changeset
|
28 |
!INCLUDE $(TOP)\rules\stdHeader_bc |
145 | 29 |
|
30 |
!INCLUDE Make.spec |
|
31 |
||
32 |
LIBNAME=libstx_goodies_sunit |
|
664
e31b2e7b658d
FIX: Do not treat skipped test as passed!
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
555
diff
changeset
|
33 |
MODULE_PATH=goodies\sunit |
e31b2e7b658d
FIX: Do not treat skipped test as passed!
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
555
diff
changeset
|
34 |
RESFILES=stx_goodies_sunitWINrc.$(RES) |
190
ebff1841958f
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
168
diff
changeset
|
35 |
|
ebff1841958f
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
168
diff
changeset
|
36 |
|
ebff1841958f
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
168
diff
changeset
|
37 |
|
664
e31b2e7b658d
FIX: Do not treat skipped test as passed!
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
555
diff
changeset
|
38 |
LOCALINCLUDES= -I$(INCLUDE_TOP)\stx\libbasic -I$(INCLUDE_TOP)\stx\libbasic2 -I$(INCLUDE_TOP)\stx\libview -I$(INCLUDE_TOP)\stx\libview2 |
190
ebff1841958f
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
168
diff
changeset
|
39 |
LOCALDEFINES= |
145 | 40 |
|
468
04f32cce2e7c
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
424
diff
changeset
|
41 |
STCLOCALOPT=-package=$(PACKAGE) -I. $(LOCALINCLUDES) -headerDir=. $(STCLOCALOPTIMIZATIONS) $(STCWARNINGS) $(LOCALDEFINES) -varPrefix=$(LIBNAME) |
168
dbe2bd149e23
automatically generated by browser
Stefan Vogel <sv@exept.de>
parents:
160
diff
changeset
|
42 |
LOCALLIBS= |
145 | 43 |
|
44 |
OBJS= $(COMMON_OBJS) $(WIN32_OBJS) |
|
45 |
||
222 | 46 |
ALL:: classLibRule |
47 |
||
48 |
classLibRule: $(OUTDIR) $(OUTDIR)$(LIBNAME).dll |
|
145 | 49 |
|
160
1a9edd5c456a
Rename stdRules_nt and stdHeader_nt to ..._bc
Stefan Vogel <sv@exept.de>
parents:
153
diff
changeset
|
50 |
!INCLUDE $(TOP)\rules\stdRules_bc |
145 | 51 |
|
555
7765794a703c
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
539
diff
changeset
|
52 |
# build all mandatory prerequisite packages (containing superclasses) for this package |
190
ebff1841958f
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
168
diff
changeset
|
53 |
prereq: |
222 | 54 |
pushd ..\..\libbasic & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " |
55 |
pushd ..\..\libbasic2 & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " |
|
56 |
pushd ..\..\libview & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " |
|
57 |
pushd ..\..\libview2 & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " |
|
190
ebff1841958f
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
168
diff
changeset
|
58 |
|
ebff1841958f
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
168
diff
changeset
|
59 |
|
145 | 60 |
|
61 |
||
468
04f32cce2e7c
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
424
diff
changeset
|
62 |
|
555
7765794a703c
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
539
diff
changeset
|
63 |
|
664
e31b2e7b658d
FIX: Do not treat skipped test as passed!
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
555
diff
changeset
|
64 |
|
e31b2e7b658d
FIX: Do not treat skipped test as passed!
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
555
diff
changeset
|
65 |
test: $(TOP)\goodies\builder\reports\NUL |
e31b2e7b658d
FIX: Do not treat skipped test as passed!
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
555
diff
changeset
|
66 |
pushd $(TOP)\goodies\builder\reports & $(MAKE_BAT) |
e31b2e7b658d
FIX: Do not treat skipped test as passed!
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
555
diff
changeset
|
67 |
$(TOP)\goodies\builder\reports\report-runner.bat -D . -r Builder::TestReport -p $(PACKAGE) |
e31b2e7b658d
FIX: Do not treat skipped test as passed!
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
555
diff
changeset
|
68 |
|
539
fbd501c079b3
automatically generated by browser
Stefan Vogel <sv@exept.de>
parents:
530
diff
changeset
|
69 |
clean:: |
664
e31b2e7b658d
FIX: Do not treat skipped test as passed!
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
555
diff
changeset
|
70 |
-del *.$(CSUFFIX) |
e31b2e7b658d
FIX: Do not treat skipped test as passed!
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
555
diff
changeset
|
71 |
|
539
fbd501c079b3
automatically generated by browser
Stefan Vogel <sv@exept.de>
parents:
530
diff
changeset
|
72 |
|
145 | 73 |
# BEGINMAKEDEPEND --- do not remove this line; make depend needs it |
664
e31b2e7b658d
FIX: Do not treat skipped test as passed!
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
555
diff
changeset
|
74 |
$(OUTDIR)MetricsReporter.$(O) MetricsReporter.$(C) MetricsReporter.$(H): MetricsReporter.st $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) |
e31b2e7b658d
FIX: Do not treat skipped test as passed!
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
555
diff
changeset
|
75 |
$(OUTDIR)SUnitDelay.$(O) SUnitDelay.$(C) SUnitDelay.$(H): SUnitDelay.st $(INCLUDE_TOP)\stx\libbasic\Delay.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) |
e31b2e7b658d
FIX: Do not treat skipped test as passed!
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
555
diff
changeset
|
76 |
$(OUTDIR)SUnitNameResolver.$(O) SUnitNameResolver.$(C) SUnitNameResolver.$(H): SUnitNameResolver.st $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) |
e31b2e7b658d
FIX: Do not treat skipped test as passed!
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
555
diff
changeset
|
77 |
$(OUTDIR)TestAsserter.$(O) TestAsserter.$(C) TestAsserter.$(H): TestAsserter.st $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) |
e31b2e7b658d
FIX: Do not treat skipped test as passed!
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
555
diff
changeset
|
78 |
$(OUTDIR)TestCaseOutcome.$(O) TestCaseOutcome.$(C) TestCaseOutcome.$(H): TestCaseOutcome.st $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) |
e31b2e7b658d
FIX: Do not treat skipped test as passed!
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
555
diff
changeset
|
79 |
$(OUTDIR)TestCoverageReporter.$(O) TestCoverageReporter.$(C) TestCoverageReporter.$(H): TestCoverageReporter.st $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) |
e31b2e7b658d
FIX: Do not treat skipped test as passed!
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
555
diff
changeset
|
80 |
$(OUTDIR)TestFailure.$(O) TestFailure.$(C) TestFailure.$(H): TestFailure.st $(INCLUDE_TOP)\stx\libbasic\Exception.$(H) $(INCLUDE_TOP)\stx\libbasic\GenericException.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) |
e31b2e7b658d
FIX: Do not treat skipped test as passed!
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
555
diff
changeset
|
81 |
$(OUTDIR)TestResult.$(O) TestResult.$(C) TestResult.$(H): TestResult.st $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) |
e31b2e7b658d
FIX: Do not treat skipped test as passed!
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
555
diff
changeset
|
82 |
$(OUTDIR)TestResultReporter.$(O) TestResultReporter.$(C) TestResultReporter.$(H): TestResultReporter.st $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) |
e31b2e7b658d
FIX: Do not treat skipped test as passed!
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
555
diff
changeset
|
83 |
$(OUTDIR)TestRunner.$(O) TestRunner.$(C) TestRunner.$(H): TestRunner.st $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(INCLUDE_TOP)\stx\libview2\ApplicationModel.$(H) $(INCLUDE_TOP)\stx\libview2\Model.$(H) $(STCHDR) |
e31b2e7b658d
FIX: Do not treat skipped test as passed!
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
555
diff
changeset
|
84 |
$(OUTDIR)TestSuite.$(O) TestSuite.$(C) TestSuite.$(H): TestSuite.st $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) |
e31b2e7b658d
FIX: Do not treat skipped test as passed!
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
555
diff
changeset
|
85 |
$(OUTDIR)TestSuitesScripter.$(O) TestSuitesScripter.$(C) TestSuitesScripter.$(H): TestSuitesScripter.st $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) |
e31b2e7b658d
FIX: Do not treat skipped test as passed!
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
555
diff
changeset
|
86 |
$(OUTDIR)stx_goodies_sunit.$(O) stx_goodies_sunit.$(C) stx_goodies_sunit.$(H): stx_goodies_sunit.st $(INCLUDE_TOP)\stx\libbasic\LibraryDefinition.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(INCLUDE_TOP)\stx\libbasic\ProjectDefinition.$(H) $(STCHDR) |
e31b2e7b658d
FIX: Do not treat skipped test as passed!
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
555
diff
changeset
|
87 |
$(OUTDIR)ResumableTestFailure.$(O) ResumableTestFailure.$(C) ResumableTestFailure.$(H): ResumableTestFailure.st $(INCLUDE_TOP)\stx\goodies\sunit\TestFailure.$(H) $(INCLUDE_TOP)\stx\libbasic\Exception.$(H) $(INCLUDE_TOP)\stx\libbasic\GenericException.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) |
e31b2e7b658d
FIX: Do not treat skipped test as passed!
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
555
diff
changeset
|
88 |
$(OUTDIR)TestCase.$(O) TestCase.$(C) TestCase.$(H): TestCase.st $(INCLUDE_TOP)\stx\goodies\sunit\TestAsserter.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) |
e31b2e7b658d
FIX: Do not treat skipped test as passed!
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
555
diff
changeset
|
89 |
$(OUTDIR)TestResource.$(O) TestResource.$(C) TestResource.$(H): TestResource.st $(INCLUDE_TOP)\stx\goodies\sunit\TestAsserter.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) |
e31b2e7b658d
FIX: Do not treat skipped test as passed!
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
555
diff
changeset
|
90 |
$(OUTDIR)TestResultStX.$(O) TestResultStX.$(C) TestResultStX.$(H): TestResultStX.st $(INCLUDE_TOP)\stx\goodies\sunit\TestResult.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) |
e31b2e7b658d
FIX: Do not treat skipped test as passed!
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
555
diff
changeset
|
91 |
$(OUTDIR)TestSkipped.$(O) TestSkipped.$(C) TestSkipped.$(H): TestSkipped.st $(INCLUDE_TOP)\stx\goodies\sunit\TestFailure.$(H) $(INCLUDE_TOP)\stx\libbasic\Exception.$(H) $(INCLUDE_TOP)\stx\libbasic\GenericException.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) |
e31b2e7b658d
FIX: Do not treat skipped test as passed!
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
555
diff
changeset
|
92 |
$(OUTDIR)TestCaseWithArguments.$(O) TestCaseWithArguments.$(C) TestCaseWithArguments.$(H): TestCaseWithArguments.st $(INCLUDE_TOP)\stx\goodies\sunit\TestAsserter.$(H) $(INCLUDE_TOP)\stx\goodies\sunit\TestCase.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) |
e31b2e7b658d
FIX: Do not treat skipped test as passed!
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
555
diff
changeset
|
93 |
$(OUTDIR)TestResultForRunWithDebug.$(O) TestResultForRunWithDebug.$(C) TestResultForRunWithDebug.$(H): TestResultForRunWithDebug.st $(INCLUDE_TOP)\stx\goodies\sunit\TestResult.$(H) $(INCLUDE_TOP)\stx\goodies\sunit\TestResultStX.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) |
e31b2e7b658d
FIX: Do not treat skipped test as passed!
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
555
diff
changeset
|
94 |
$(OUTDIR)extensions.$(O): extensions.st $(INCLUDE_TOP)\stx\libbasic\ArrayedCollection.$(H) $(INCLUDE_TOP)\stx\libbasic\Behavior.$(H) $(INCLUDE_TOP)\stx\libbasic\Block.$(H) $(INCLUDE_TOP)\stx\libbasic\CharacterArray.$(H) $(INCLUDE_TOP)\stx\libbasic\Class.$(H) $(INCLUDE_TOP)\stx\libbasic\ClassDescription.$(H) $(INCLUDE_TOP)\stx\libbasic\Collection.$(H) $(INCLUDE_TOP)\stx\libbasic\CompiledCode.$(H) $(INCLUDE_TOP)\stx\libbasic\ExecutableFunction.$(H) $(INCLUDE_TOP)\stx\libbasic\GenericException.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(INCLUDE_TOP)\stx\libbasic\SequenceableCollection.$(H) $(INCLUDE_TOP)\stx\libbasic\String.$(H) $(INCLUDE_TOP)\stx\libbasic\Symbol.$(H) $(INCLUDE_TOP)\stx\libbasic\UninterpretedBytes.$(H) $(STCHDR) |
145 | 95 |
|
96 |
# ENDMAKEDEPEND --- do not remove this line |
|
664
e31b2e7b658d
FIX: Do not treat skipped test as passed!
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
555
diff
changeset
|
97 |
|
e31b2e7b658d
FIX: Do not treat skipped test as passed!
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
555
diff
changeset
|
98 |
# **Must be at end** |
e31b2e7b658d
FIX: Do not treat skipped test as passed!
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
555
diff
changeset
|
99 |
|
e31b2e7b658d
FIX: Do not treat skipped test as passed!
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
555
diff
changeset
|
100 |
# Enforce recompilation of package definition class if Mercurial working |
e31b2e7b658d
FIX: Do not treat skipped test as passed!
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
555
diff
changeset
|
101 |
# copy state changes. Together with --guessVersion it ensures that package |
e31b2e7b658d
FIX: Do not treat skipped test as passed!
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
555
diff
changeset
|
102 |
# definition class always contains correct binary revision string. |
e31b2e7b658d
FIX: Do not treat skipped test as passed!
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
555
diff
changeset
|
103 |
!IFDEF HGROOT |
e31b2e7b658d
FIX: Do not treat skipped test as passed!
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
555
diff
changeset
|
104 |
$(OUTDIR)stx_goodies_sunit.$(O): $(HGROOT)\.hg\dirstate |
e31b2e7b658d
FIX: Do not treat skipped test as passed!
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
555
diff
changeset
|
105 |
!ENDIF |