author | Jan Vrany <jan.vrany@fit.cvut.cz> |
Tue, 05 May 2015 15:07:19 +0200 | |
changeset 449 | c1b26806ee0b |
parent 427 | a7f5e6de19d2 |
child 481 | 34ee0d3c72e7 |
permissions | -rw-r--r-- |
376
a2656b27cace
Added monticelloName to package definition to ease export to .mcz
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
321
diff
changeset
|
1 |
# $Header$ |
248 | 2 |
# |
3 |
# DO NOT EDIT |
|
4 |
# automagically generated from the projectDefinition: stx_goodies_petitparser_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_tests |
|
421
7e08b31e0dae
Merged JK's version from Monticello
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
404
diff
changeset
|
33 |
MODULE_PATH=goodies\petitparser\tests |
248 | 34 |
RESFILES=tests.$(RES) |
35 |
||
36 |
||
37 |
||
376
a2656b27cace
Added monticelloName to package definition to ease export to .mcz
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
321
diff
changeset
|
38 |
LOCALINCLUDES= -I$(INCLUDE_TOP)\stx\goodies\petitparser -I$(INCLUDE_TOP)\stx\goodies\sunit -I$(INCLUDE_TOP)\stx\libbasic |
248 | 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) " |
|
55 |
pushd ..\..\..\libbasic2 & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " |
|
376
a2656b27cace
Added monticelloName to package definition to ease export to .mcz
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
321
diff
changeset
|
56 |
pushd ..\..\..\libbasic3 & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " |
248 | 57 |
pushd ..\..\..\libview & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " |
377
6112a403a52d
Updated to latest version from Moose repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
376
diff
changeset
|
58 |
pushd .. & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " |
248 | 59 |
pushd ..\..\..\libview2 & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " |
60 |
pushd ..\..\sunit & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " |
|
61 |
||
62 |
||
63 |
||
64 |
||
65 |
||
66 |
||
67 |
||
68 |
test: $(TOP)\goodies\builder\reports\NUL |
|
69 |
pushd $(TOP)\goodies\builder\reports & $(MAKE_BAT) |
|
70 |
$(TOP)\goodies\builder\reports\report-runner.bat -D . -r Builder::TestReport -p $(PACKAGE) |
|
71 |
||
72 |
clean:: |
|
73 |
del *.$(CSUFFIX) |
|
74 |
||
75 |
||
76 |
# BEGINMAKEDEPEND --- do not remove this line; make depend needs it |
|
403
7063d523b064
Removed autoload attribut for tests.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
377
diff
changeset
|
77 |
$(OUTDIR)PPAbstractParserTest.$(O) PPAbstractParserTest.$(H): PPAbstractParserTest.st $(INCLUDE_TOP)\stx\goodies\sunit\TestAsserter.$(H) $(INCLUDE_TOP)\stx\goodies\sunit\TestCase.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) |
7063d523b064
Removed autoload attribut for tests.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
377
diff
changeset
|
78 |
$(OUTDIR)PPArithmeticParser.$(O) PPArithmeticParser.$(H): PPArithmeticParser.st $(INCLUDE_TOP)\stx\goodies\petitparser\PPCompositeParser.$(H) $(INCLUDE_TOP)\stx\goodies\petitparser\PPDelegateParser.$(H) $(INCLUDE_TOP)\stx\goodies\petitparser\PPParser.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) |
377
6112a403a52d
Updated to latest version from Moose repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
376
diff
changeset
|
79 |
$(OUTDIR)PPContextMementoTest.$(O) PPContextMementoTest.$(H): PPContextMementoTest.st $(INCLUDE_TOP)\stx\goodies\sunit\TestAsserter.$(H) $(INCLUDE_TOP)\stx\goodies\sunit\TestCase.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) |
6112a403a52d
Updated to latest version from Moose repository.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
376
diff
changeset
|
80 |
$(OUTDIR)PPContextTest.$(O) PPContextTest.$(H): PPContextTest.st $(INCLUDE_TOP)\stx\goodies\sunit\TestAsserter.$(H) $(INCLUDE_TOP)\stx\goodies\sunit\TestCase.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) |
403
7063d523b064
Removed autoload attribut for tests.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
377
diff
changeset
|
81 |
$(OUTDIR)PPLambdaParser.$(O) PPLambdaParser.$(H): PPLambdaParser.st $(INCLUDE_TOP)\stx\goodies\petitparser\PPCompositeParser.$(H) $(INCLUDE_TOP)\stx\goodies\petitparser\PPDelegateParser.$(H) $(INCLUDE_TOP)\stx\goodies\petitparser\PPParser.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) |
7063d523b064
Removed autoload attribut for tests.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
377
diff
changeset
|
82 |
$(OUTDIR)PPParserResource.$(O) PPParserResource.$(H): PPParserResource.st $(INCLUDE_TOP)\stx\goodies\sunit\TestAsserter.$(H) $(INCLUDE_TOP)\stx\goodies\sunit\TestResource.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) |
248 | 83 |
$(OUTDIR)stx_goodies_petitparser_tests.$(O) stx_goodies_petitparser_tests.$(H): stx_goodies_petitparser_tests.st $(INCLUDE_TOP)\stx\libbasic\LibraryDefinition.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(INCLUDE_TOP)\stx\libbasic\ProjectDefinition.$(H) $(STCHDR) |
403
7063d523b064
Removed autoload attribut for tests.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
377
diff
changeset
|
84 |
$(OUTDIR)PPComposedTest.$(O) PPComposedTest.$(H): PPComposedTest.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) |
7063d523b064
Removed autoload attribut for tests.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
377
diff
changeset
|
85 |
$(OUTDIR)PPCompositeParserTest.$(O) PPCompositeParserTest.$(H): PPCompositeParserTest.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) |
427
a7f5e6de19d2
Merged JK's version from Monticello
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
421
diff
changeset
|
86 |
$(OUTDIR)PPConditionalParserTest.$(O) PPConditionalParserTest.$(H): PPConditionalParserTest.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) |
a7f5e6de19d2
Merged JK's version from Monticello
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
421
diff
changeset
|
87 |
$(OUTDIR)PPConditionalParserTests.$(O) PPConditionalParserTests.$(H): PPConditionalParserTests.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) |
403
7063d523b064
Removed autoload attribut for tests.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
377
diff
changeset
|
88 |
$(OUTDIR)PPExtensionTest.$(O) PPExtensionTest.$(H): PPExtensionTest.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) |
404
8da796db7f95
Removed class PPAbstractParseTest.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
403
diff
changeset
|
89 |
$(OUTDIR)PPMappingTest.$(O) PPMappingTest.$(H): PPMappingTest.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) |
403
7063d523b064
Removed autoload attribut for tests.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
377
diff
changeset
|
90 |
$(OUTDIR)PPObjectTest.$(O) PPObjectTest.$(H): PPObjectTest.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) |
7063d523b064
Removed autoload attribut for tests.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
377
diff
changeset
|
91 |
$(OUTDIR)PPParserTest.$(O) PPParserTest.$(H): PPParserTest.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) |
7063d523b064
Removed autoload attribut for tests.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
377
diff
changeset
|
92 |
$(OUTDIR)PPPredicateTest.$(O) PPPredicateTest.$(H): PPPredicateTest.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) |
7063d523b064
Removed autoload attribut for tests.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
377
diff
changeset
|
93 |
$(OUTDIR)PPScriptingTest.$(O) PPScriptingTest.$(H): PPScriptingTest.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) |
7063d523b064
Removed autoload attribut for tests.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
377
diff
changeset
|
94 |
$(OUTDIR)PPTokenTest.$(O) PPTokenTest.$(H): PPTokenTest.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) |
7063d523b064
Removed autoload attribut for tests.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
377
diff
changeset
|
95 |
$(OUTDIR)PPArithmeticParserTest.$(O) PPArithmeticParserTest.$(H): PPArithmeticParserTest.st $(INCLUDE_TOP)\stx\goodies\petitparser\tests\PPAbstractParserTest.$(H) $(INCLUDE_TOP)\stx\goodies\petitparser\tests\PPCompositeParserTest.$(H) $(INCLUDE_TOP)\stx\goodies\sunit\TestAsserter.$(H) $(INCLUDE_TOP)\stx\goodies\sunit\TestCase.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) |
7063d523b064
Removed autoload attribut for tests.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
377
diff
changeset
|
96 |
$(OUTDIR)PPLambdaParserTest.$(O) PPLambdaParserTest.$(H): PPLambdaParserTest.st $(INCLUDE_TOP)\stx\goodies\petitparser\tests\PPAbstractParserTest.$(H) $(INCLUDE_TOP)\stx\goodies\petitparser\tests\PPCompositeParserTest.$(H) $(INCLUDE_TOP)\stx\goodies\sunit\TestAsserter.$(H) $(INCLUDE_TOP)\stx\goodies\sunit\TestCase.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) |
7063d523b064
Removed autoload attribut for tests.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
377
diff
changeset
|
97 |
$(OUTDIR)PPExpressionParserTest.$(O) PPExpressionParserTest.$(H): PPExpressionParserTest.st $(INCLUDE_TOP)\stx\goodies\petitparser\tests\PPAbstractParserTest.$(H) $(INCLUDE_TOP)\stx\goodies\petitparser\tests\PPArithmeticParserTest.$(H) $(INCLUDE_TOP)\stx\goodies\petitparser\tests\PPCompositeParserTest.$(H) $(INCLUDE_TOP)\stx\goodies\sunit\TestAsserter.$(H) $(INCLUDE_TOP)\stx\goodies\sunit\TestCase.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) |
248 | 98 |
|
99 |
# ENDMAKEDEPEND --- do not remove this line |
|
376
a2656b27cace
Added monticelloName to package definition to ease export to .mcz
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
321
diff
changeset
|
100 |
|
a2656b27cace
Added monticelloName to package definition to ease export to .mcz
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
321
diff
changeset
|
101 |
# **Must be at end** |
a2656b27cace
Added monticelloName to package definition to ease export to .mcz
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
321
diff
changeset
|
102 |
|
a2656b27cace
Added monticelloName to package definition to ease export to .mcz
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
321
diff
changeset
|
103 |
# Enforce recompilation of package definition class if Mercurial working |
a2656b27cace
Added monticelloName to package definition to ease export to .mcz
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
321
diff
changeset
|
104 |
# copy state changes. Together with --guessVersion it ensures that package |
a2656b27cace
Added monticelloName to package definition to ease export to .mcz
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
321
diff
changeset
|
105 |
# definition class always contains correct binary revision string. |
a2656b27cace
Added monticelloName to package definition to ease export to .mcz
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
321
diff
changeset
|
106 |
!IFDEF HGROOT |
a2656b27cace
Added monticelloName to package definition to ease export to .mcz
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
321
diff
changeset
|
107 |
$(OUTDIR)stx_goodies_petitparser_tests.$(O): $(HGROOT)\.hg\dirstate |
a2656b27cace
Added monticelloName to package definition to ease export to .mcz
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
321
diff
changeset
|
108 |
!ENDIF |