author | Jan Vrany <jan.vrany@fit.cvut.cz> |
Thu, 31 Jan 2013 12:10:51 +0000 | |
branch | development |
changeset 2014 | 9fa66342102b |
parent 1818 | 2e5ed72e7dfd |
child 2069 | 75d40b7b986f |
permissions | -rw-r--r-- |
1761 | 1 |
# $Header$ |
2 |
# |
|
3 |
# DO NOT EDIT |
|
4 |
# automagically generated from the projectDefinition: stx_libjava_benchmarks. |
|
5 |
# |
|
6 |
# Warning: once you modify this file, do not rerun |
|
7 |
# stmkmp or projectDefinition-build again - otherwise, your changes are lost. |
|
8 |
# |
|
9 |
# Notice, that the name bc.mak is historical (from times, when only borland c was supported). |
|
10 |
# This file contains make rules for the win32 platform using either borland-bcc or visual-c. |
|
11 |
# It shares common definitions with the unix-make in Make.spec. |
|
12 |
# The bc.mak supports the following targets: |
|
13 |
# bmake - compile all st-files to a classLib (dll) |
|
14 |
# bmake clean - clean all temp files |
|
15 |
# bmake clobber - clean all |
|
16 |
# |
|
17 |
# Historic Note: |
|
18 |
# this used to contain only rules to make with borland |
|
19 |
# (called via bmake, by "make.exe -f bc.mak") |
|
20 |
# this has changed; it is now also possible to build using microsoft visual c |
|
21 |
# (called via vcmake, by "make.exe -f bc.mak -DUSEVC") |
|
22 |
# |
|
23 |
TOP=..\.. |
|
24 |
INCLUDE_TOP=$(TOP)\.. |
|
25 |
||
26 |
||
27 |
||
28 |
!INCLUDE $(TOP)\rules\stdHeader_bc |
|
29 |
||
30 |
!INCLUDE Make.spec |
|
31 |
||
32 |
LIBNAME=libstx_libjava_benchmarks |
|
33 |
RESFILES=benchmarks.res |
|
34 |
||
35 |
||
36 |
||
2014
9fa66342102b
Fixed JavaBenchmarkRunner: when no smalltalk class is found, create one on demand.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
1818
diff
changeset
|
37 |
LOCALINCLUDES= -I$(INCLUDE_TOP)\stx\libbasic -I$(INCLUDE_TOP)\stx\libjava |
1761 | 38 |
LOCALDEFINES= |
39 |
||
40 |
STCLOCALOPT=-package=$(PACKAGE) -I. $(LOCALINCLUDES) -headerDir=. $(STCLOCALOPTIMIZATIONS) $(STCWARNINGS) $(LOCALDEFINES) -varPrefix=$(LIBNAME) |
|
41 |
LOCALLIBS= |
|
42 |
||
43 |
OBJS= $(COMMON_OBJS) $(WIN32_OBJS) |
|
44 |
||
45 |
ALL:: classLibRule |
|
46 |
||
47 |
classLibRule: $(OUTDIR) $(OUTDIR)$(LIBNAME).dll |
|
48 |
||
49 |
!INCLUDE $(TOP)\rules\stdRules_bc |
|
50 |
||
51 |
# build all prerequisite packages for this package |
|
52 |
prereq: |
|
2014
9fa66342102b
Fixed JavaBenchmarkRunner: when no smalltalk class is found, create one on demand.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
1818
diff
changeset
|
53 |
pushd ..\..\libdb\libodbc & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " |
1761 | 54 |
pushd ..\..\libbasic & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " |
2014
9fa66342102b
Fixed JavaBenchmarkRunner: when no smalltalk class is found, create one on demand.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
1818
diff
changeset
|
55 |
pushd ..\..\libcomp & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " |
1762 | 56 |
pushd ..\..\libbasic2 & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " |
2014
9fa66342102b
Fixed JavaBenchmarkRunner: when no smalltalk class is found, create one on demand.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
1818
diff
changeset
|
57 |
pushd ..\..\libdb & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " |
1762 | 58 |
pushd ..\..\libview & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " |
2014
9fa66342102b
Fixed JavaBenchmarkRunner: when no smalltalk class is found, create one on demand.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
1818
diff
changeset
|
59 |
pushd ..\..\libdb\libsqlite & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " |
9fa66342102b
Fixed JavaBenchmarkRunner: when no smalltalk class is found, create one on demand.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
1818
diff
changeset
|
60 |
pushd ..\..\libboss & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " |
1762 | 61 |
pushd ..\..\libview2 & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " |
2014
9fa66342102b
Fixed JavaBenchmarkRunner: when no smalltalk class is found, create one on demand.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
1818
diff
changeset
|
62 |
pushd ..\..\libbasic3 & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " |
1762 | 63 |
pushd ..\..\goodies\sunit & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " |
64 |
pushd ..\..\libui & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " |
|
65 |
pushd ..\..\libwidg & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " |
|
2014
9fa66342102b
Fixed JavaBenchmarkRunner: when no smalltalk class is found, create one on demand.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
1818
diff
changeset
|
66 |
pushd ..\..\libwidg2 & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " |
1762 | 67 |
pushd ..\..\libhtml & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " |
68 |
pushd ..\..\libtool & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " |
|
69 |
pushd .. & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " |
|
1761 | 70 |
|
71 |
||
72 |
||
73 |
||
74 |
||
2014
9fa66342102b
Fixed JavaBenchmarkRunner: when no smalltalk class is found, create one on demand.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
1818
diff
changeset
|
75 |
|
9fa66342102b
Fixed JavaBenchmarkRunner: when no smalltalk class is found, create one on demand.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
1818
diff
changeset
|
76 |
test: $(TOP)\goodies\builder\reports\NUL |
9fa66342102b
Fixed JavaBenchmarkRunner: when no smalltalk class is found, create one on demand.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
1818
diff
changeset
|
77 |
pushd $(TOP)\goodies\builder\reports & $(MAKE_BAT) |
9fa66342102b
Fixed JavaBenchmarkRunner: when no smalltalk class is found, create one on demand.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
1818
diff
changeset
|
78 |
$(TOP)\goodies\builder\reports\report-runner.bat -D . -r Builder::TestReport -p $(PACKAGE) |
9fa66342102b
Fixed JavaBenchmarkRunner: when no smalltalk class is found, create one on demand.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
1818
diff
changeset
|
79 |
|
1761 | 80 |
# BEGINMAKEDEPEND --- do not remove this line; make depend needs it |
81 |
$(OUTDIR)JavaBenchmark.$(O) JavaBenchmark.$(H): JavaBenchmark.st $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) |
|
1762 | 82 |
$(OUTDIR)JavaBenchmarkRunner.$(O) JavaBenchmarkRunner.$(H): JavaBenchmarkRunner.st $(INCLUDE_TOP)\stx\libbasic\StandaloneStartup.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) |
1761 | 83 |
$(OUTDIR)stx_libjava_benchmarks.$(O) stx_libjava_benchmarks.$(H): stx_libjava_benchmarks.st $(INCLUDE_TOP)\stx\libbasic\LibraryDefinition.$(H) $(INCLUDE_TOP)\stx\libbasic\ProjectDefinition.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) |
84 |
$(OUTDIR)Ackerman.$(O) Ackerman.$(H): Ackerman.st $(INCLUDE_TOP)\stx\libjava\benchmarks\JavaBenchmark.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) |
|
85 |
$(OUTDIR)Ary.$(O) Ary.$(H): Ary.st $(INCLUDE_TOP)\stx\libjava\benchmarks\JavaBenchmark.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) |
|
86 |
$(OUTDIR)CrossLanguageInvocation.$(O) CrossLanguageInvocation.$(H): CrossLanguageInvocation.st $(INCLUDE_TOP)\stx\libjava\benchmarks\JavaBenchmark.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) |
|
87 |
$(OUTDIR)Groovy.$(O) Groovy.$(H): Groovy.st $(INCLUDE_TOP)\stx\libjava\benchmarks\JavaBenchmark.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) |
|
88 |
$(OUTDIR)Hash.$(O) Hash.$(H): Hash.st $(INCLUDE_TOP)\stx\libjava\benchmarks\JavaBenchmark.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) |
|
2014
9fa66342102b
Fixed JavaBenchmarkRunner: when no smalltalk class is found, create one on demand.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
1818
diff
changeset
|
89 |
$(OUTDIR)Jasper.$(O) Jasper.$(H): Jasper.st $(INCLUDE_TOP)\stx\libjava\benchmarks\JavaBenchmark.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) |
1761 | 90 |
$(OUTDIR)MethodInvocation.$(O) MethodInvocation.$(H): MethodInvocation.st $(INCLUDE_TOP)\stx\libjava\benchmarks\JavaBenchmark.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) |
1775 | 91 |
$(OUTDIR)ObjectArguments.$(O) ObjectArguments.$(H): ObjectArguments.st $(INCLUDE_TOP)\stx\libjava\benchmarks\JavaBenchmark.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) |
1761 | 92 |
$(OUTDIR)OverloadedMethods.$(O) OverloadedMethods.$(H): OverloadedMethods.st $(INCLUDE_TOP)\stx\libjava\benchmarks\JavaBenchmark.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) |
93 |
$(OUTDIR)OverloadedMethods2.$(O) OverloadedMethods2.$(H): OverloadedMethods2.st $(INCLUDE_TOP)\stx\libjava\benchmarks\JavaBenchmark.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) |
|
1775 | 94 |
$(OUTDIR)PrimitiveArguments.$(O) PrimitiveArguments.$(H): PrimitiveArguments.st $(INCLUDE_TOP)\stx\libjava\benchmarks\JavaBenchmark.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) |
1761 | 95 |
$(OUTDIR)Saxon.$(O) Saxon.$(H): Saxon.st $(INCLUDE_TOP)\stx\libjava\benchmarks\JavaBenchmark.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) |
96 |
$(OUTDIR)Strcat.$(O) Strcat.$(H): Strcat.st $(INCLUDE_TOP)\stx\libjava\benchmarks\JavaBenchmark.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) |
|
97 |
$(OUTDIR)Threadring.$(O) Threadring.$(H): Threadring.st $(INCLUDE_TOP)\stx\libjava\benchmarks\JavaBenchmark.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) |
|
1775 | 98 |
$(OUTDIR)WrappedArguments.$(O) WrappedArguments.$(H): WrappedArguments.st $(INCLUDE_TOP)\stx\libjava\benchmarks\JavaBenchmark.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) |
1762 | 99 |
$(OUTDIR)extensions.$(O): extensions.st $(INCLUDE_TOP)\stx\libbasic\SmallInteger.$(H) $(INCLUDE_TOP)\stx\libbasic\Integer.$(H) $(INCLUDE_TOP)\stx\libbasic\Number.$(H) $(INCLUDE_TOP)\stx\libbasic\ArithmeticValue.$(H) $(INCLUDE_TOP)\stx\libbasic\Magnitude.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) |
1761 | 100 |
|
101 |
# ENDMAKEDEPEND --- do not remove this line |
|
2014
9fa66342102b
Fixed JavaBenchmarkRunner: when no smalltalk class is found, create one on demand.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
1818
diff
changeset
|
102 |
|
9fa66342102b
Fixed JavaBenchmarkRunner: when no smalltalk class is found, create one on demand.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
1818
diff
changeset
|
103 |
# **Must be at end** |
9fa66342102b
Fixed JavaBenchmarkRunner: when no smalltalk class is found, create one on demand.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
1818
diff
changeset
|
104 |
|
9fa66342102b
Fixed JavaBenchmarkRunner: when no smalltalk class is found, create one on demand.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
1818
diff
changeset
|
105 |
# Enforce recompilation of package definition class if Mercurial working |
9fa66342102b
Fixed JavaBenchmarkRunner: when no smalltalk class is found, create one on demand.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
1818
diff
changeset
|
106 |
# copy state changes. Together with --guessVersion it ensures that package |
9fa66342102b
Fixed JavaBenchmarkRunner: when no smalltalk class is found, create one on demand.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
1818
diff
changeset
|
107 |
# definition class always contains correct binary revision string. |
9fa66342102b
Fixed JavaBenchmarkRunner: when no smalltalk class is found, create one on demand.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
1818
diff
changeset
|
108 |
!IFDEF HGROOT |
9fa66342102b
Fixed JavaBenchmarkRunner: when no smalltalk class is found, create one on demand.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
1818
diff
changeset
|
109 |
$(OUTDIR)stx_libjava_benchmarks.$(O): $(HGROOT)\.hg\dirstate |
9fa66342102b
Fixed JavaBenchmarkRunner: when no smalltalk class is found, create one on demand.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
1818
diff
changeset
|
110 |
!ENDIF |