|
1 # $Header$ |
|
2 # |
|
3 # DO NOT EDIT |
|
4 # automagically generated from the projectDefinition: stx_goodies_petitparser_compiler_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_compiler_tests |
|
33 RESFILES=tests.$(RES) |
|
34 |
|
35 |
|
36 |
|
37 LOCALINCLUDES= -I$(INCLUDE_TOP)\stx\goodies\petitparser -I$(INCLUDE_TOP)\stx\goodies\petitparser\compiler -I$(INCLUDE_TOP)\stx\goodies\petitparser\parsers\smalltalk -I$(INCLUDE_TOP)\stx\goodies\petitparser\tests -I$(INCLUDE_TOP)\stx\goodies\sunit -I$(INCLUDE_TOP)\stx\libbasic |
|
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 mandatory prerequisite packages (containing superclasses) for this package |
|
52 prereq: |
|
53 pushd ..\..\..\..\libbasic & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " |
|
54 pushd ..\..\..\..\libbasic2 & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " |
|
55 pushd ..\..\..\..\libbasic3 & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " |
|
56 pushd ..\..\..\..\libview & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " |
|
57 pushd ..\.. & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " |
|
58 pushd ..\..\..\..\libview2 & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " |
|
59 pushd ..\..\..\sunit & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " |
|
60 pushd ..\..\tests & $(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 |
|
77 $(OUTDIR)PPCContextMementoTest.$(O) PPCContextMementoTest.$(H): PPCContextMementoTest.st $(INCLUDE_TOP)\stx\goodies\petitparser\tests\PPContextMementoTest.$(H) $(INCLUDE_TOP)\stx\goodies\sunit\TestAsserter.$(H) $(INCLUDE_TOP)\stx\goodies\sunit\TestCase.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) |
|
78 $(OUTDIR)PPCContextTest.$(O) PPCContextTest.$(H): PPCContextTest.st $(INCLUDE_TOP)\stx\goodies\petitparser\tests\PPContextTest.$(H) $(INCLUDE_TOP)\stx\goodies\sunit\TestAsserter.$(H) $(INCLUDE_TOP)\stx\goodies\sunit\TestCase.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) |
|
79 $(OUTDIR)PPCGuardTest.$(O) PPCGuardTest.$(H): PPCGuardTest.st $(INCLUDE_TOP)\stx\goodies\sunit\TestAsserter.$(H) $(INCLUDE_TOP)\stx\goodies\sunit\TestCase.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) |
|
80 $(OUTDIR)PPCMockCompiler.$(O) PPCMockCompiler.$(H): PPCMockCompiler.st $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) |
|
81 $(OUTDIR)PPCNodeTest.$(O) PPCNodeTest.$(H): PPCNodeTest.st $(INCLUDE_TOP)\stx\goodies\sunit\TestAsserter.$(H) $(INCLUDE_TOP)\stx\goodies\sunit\TestCase.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) |
|
82 $(OUTDIR)PPCOptimizingTest.$(O) PPCOptimizingTest.$(H): PPCOptimizingTest.st $(INCLUDE_TOP)\stx\goodies\sunit\TestAsserter.$(H) $(INCLUDE_TOP)\stx\goodies\sunit\TestCase.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) |
|
83 $(OUTDIR)PPCompiledSmalltalkGrammarResource.$(O) PPCompiledSmalltalkGrammarResource.$(H): PPCompiledSmalltalkGrammarResource.st $(INCLUDE_TOP)\stx\goodies\sunit\TestAsserter.$(H) $(INCLUDE_TOP)\stx\goodies\sunit\TestResource.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) |
|
84 $(OUTDIR)stx_goodies_petitparser_compiler_tests.$(O) stx_goodies_petitparser_compiler_tests.$(H): stx_goodies_petitparser_compiler_tests.st $(INCLUDE_TOP)\stx\libbasic\LibraryDefinition.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(INCLUDE_TOP)\stx\libbasic\ProjectDefinition.$(H) $(STCHDR) |
|
85 |
|
86 # ENDMAKEDEPEND --- do not remove this line |
|
87 |
|
88 # **Must be at end** |
|
89 |
|
90 # Enforce recompilation of package definition class if Mercurial working |
|
91 # copy state changes. Together with --guessVersion it ensures that package |
|
92 # definition class always contains correct binary revision string. |
|
93 !IFDEF HGROOT |
|
94 $(OUTDIR)stx_goodies_petitparser_compiler_tests.$(O): $(HGROOT)\.hg\dirstate |
|
95 !ENDIF |