author | Jan Vrany <jan.vrany@fit.cvut.cz> |
Mon, 13 Apr 2015 14:16:24 +0100 | |
changeset 425 | 0a5c4929af56 |
parent 420 | b2f2f15cef26 |
child 484 | e829f3860745 |
permissions | -rw-r--r-- |
380
8fe3cb4e607f
Remove Pharoisms to make code more portable and running on Smalltalk/X
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
267
diff
changeset
|
1 |
# $Header$ |
267 | 2 |
# |
3 |
# DO NOT EDIT |
|
4 |
# automagically generated from the projectDefinition: stx_goodies_petitparser_analyzer_tests. |
|
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_goodies_petitparser_analyzer_tests |
|
420
b2f2f15cef26
Moved benchmarks to a separate package
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
380
diff
changeset
|
33 |
MODULE_PATH=goodies\petitparser\analyzer\tests |
267 | 34 |
RESFILES=tests.$(RES) |
35 |
||
36 |
||
37 |
||
425
0a5c4929af56
Fixed dependencies (requires stx/goodies/petitparser/tests to load properly)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
420
diff
changeset
|
38 |
LOCALINCLUDES= -I$(INCLUDE_TOP)\stx\goodies\petitparser -I$(INCLUDE_TOP)\stx\goodies\petitparser\analyzer -I$(INCLUDE_TOP)\stx\goodies\petitparser\tests -I$(INCLUDE_TOP)\stx\goodies\sunit -I$(INCLUDE_TOP)\stx\libbasic |
267 | 39 |
LOCALDEFINES= |
40 |
||
41 |
STCLOCALOPT=-package=$(PACKAGE) -I. $(LOCALINCLUDES) -headerDir=. $(STCLOCALOPTIMIZATIONS) $(STCWARNINGS) $(LOCALDEFINES) -varPrefix=$(LIBNAME) |
|
42 |
LOCALLIBS= |
|
43 |
||
44 |
OBJS= $(COMMON_OBJS) $(WIN32_OBJS) |
|
45 |
||
46 |
ALL:: classLibRule |
|
47 |
||
48 |
classLibRule: $(OUTDIR) $(OUTDIR)$(LIBNAME).dll |
|
49 |
||
50 |
!INCLUDE $(TOP)\rules\stdRules_bc |
|
51 |
||
52 |
# build all mandatory prerequisite packages (containing superclasses) for this package |
|
53 |
prereq: |
|
54 |
pushd ..\..\..\..\libbasic & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " |
|
425
0a5c4929af56
Fixed dependencies (requires stx/goodies/petitparser/tests to load properly)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
420
diff
changeset
|
55 |
pushd ..\..\..\..\libbasic2 & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " |
0a5c4929af56
Fixed dependencies (requires stx/goodies/petitparser/tests to load properly)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
420
diff
changeset
|
56 |
pushd ..\..\..\..\libbasic3 & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " |
0a5c4929af56
Fixed dependencies (requires stx/goodies/petitparser/tests to load properly)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
420
diff
changeset
|
57 |
pushd ..\..\..\..\libview & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " |
0a5c4929af56
Fixed dependencies (requires stx/goodies/petitparser/tests to load properly)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
420
diff
changeset
|
58 |
pushd ..\.. & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " |
0a5c4929af56
Fixed dependencies (requires stx/goodies/petitparser/tests to load properly)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
420
diff
changeset
|
59 |
pushd ..\..\..\..\libview2 & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " |
0a5c4929af56
Fixed dependencies (requires stx/goodies/petitparser/tests to load properly)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
420
diff
changeset
|
60 |
pushd ..\..\..\sunit & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " |
0a5c4929af56
Fixed dependencies (requires stx/goodies/petitparser/tests to load properly)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
420
diff
changeset
|
61 |
pushd ..\..\tests & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " |
267 | 62 |
|
63 |
||
64 |
||
65 |
||
66 |
||
67 |
||
68 |
||
69 |
test: $(TOP)\goodies\builder\reports\NUL |
|
70 |
pushd $(TOP)\goodies\builder\reports & $(MAKE_BAT) |
|
71 |
$(TOP)\goodies\builder\reports\report-runner.bat -D . -r Builder::TestReport -p $(PACKAGE) |
|
72 |
||
73 |
clean:: |
|
74 |
del *.$(CSUFFIX) |
|
75 |
||
76 |
||
77 |
# BEGINMAKEDEPEND --- do not remove this line; make depend needs it |
|
425
0a5c4929af56
Fixed dependencies (requires stx/goodies/petitparser/tests to load properly)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
420
diff
changeset
|
78 |
$(OUTDIR)PPAnalyzerTest.$(O) PPAnalyzerTest.$(H): PPAnalyzerTest.st $(INCLUDE_TOP)\stx\goodies\petitparser\tests\PPAbstractParserTest.$(H) $(INCLUDE_TOP)\stx\goodies\sunit\TestAsserter.$(H) $(INCLUDE_TOP)\stx\goodies\sunit\TestCase.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) |
0a5c4929af56
Fixed dependencies (requires stx/goodies/petitparser/tests to load properly)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
420
diff
changeset
|
79 |
$(OUTDIR)PPRewriterTest.$(O) PPRewriterTest.$(H): PPRewriterTest.st $(INCLUDE_TOP)\stx\goodies\petitparser\tests\PPAbstractParserTest.$(H) $(INCLUDE_TOP)\stx\goodies\sunit\TestAsserter.$(H) $(INCLUDE_TOP)\stx\goodies\sunit\TestCase.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) |
0a5c4929af56
Fixed dependencies (requires stx/goodies/petitparser/tests to load properly)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
420
diff
changeset
|
80 |
$(OUTDIR)PPSearcherTest.$(O) PPSearcherTest.$(H): PPSearcherTest.st $(INCLUDE_TOP)\stx\goodies\petitparser\tests\PPAbstractParserTest.$(H) $(INCLUDE_TOP)\stx\goodies\sunit\TestAsserter.$(H) $(INCLUDE_TOP)\stx\goodies\sunit\TestCase.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) |
267 | 81 |
$(OUTDIR)stx_goodies_petitparser_analyzer_tests.$(O) stx_goodies_petitparser_analyzer_tests.$(H): stx_goodies_petitparser_analyzer_tests.st $(INCLUDE_TOP)\stx\libbasic\LibraryDefinition.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(INCLUDE_TOP)\stx\libbasic\ProjectDefinition.$(H) $(STCHDR) |
82 |
||
83 |
# ENDMAKEDEPEND --- do not remove this line |
|
380
8fe3cb4e607f
Remove Pharoisms to make code more portable and running on Smalltalk/X
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
267
diff
changeset
|
84 |
|
8fe3cb4e607f
Remove Pharoisms to make code more portable and running on Smalltalk/X
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
267
diff
changeset
|
85 |
# **Must be at end** |
8fe3cb4e607f
Remove Pharoisms to make code more portable and running on Smalltalk/X
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
267
diff
changeset
|
86 |
|
8fe3cb4e607f
Remove Pharoisms to make code more portable and running on Smalltalk/X
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
267
diff
changeset
|
87 |
# Enforce recompilation of package definition class if Mercurial working |
8fe3cb4e607f
Remove Pharoisms to make code more portable and running on Smalltalk/X
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
267
diff
changeset
|
88 |
# copy state changes. Together with --guessVersion it ensures that package |
8fe3cb4e607f
Remove Pharoisms to make code more portable and running on Smalltalk/X
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
267
diff
changeset
|
89 |
# definition class always contains correct binary revision string. |
8fe3cb4e607f
Remove Pharoisms to make code more portable and running on Smalltalk/X
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
267
diff
changeset
|
90 |
!IFDEF HGROOT |
8fe3cb4e607f
Remove Pharoisms to make code more portable and running on Smalltalk/X
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
267
diff
changeset
|
91 |
$(OUTDIR)stx_goodies_petitparser_analyzer_tests.$(O): $(HGROOT)\.hg\dirstate |
8fe3cb4e607f
Remove Pharoisms to make code more portable and running on Smalltalk/X
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
267
diff
changeset
|
92 |
!ENDIF |