analyzer/tests/bc.mak
author Jan Vrany <jan.vrany@fit.cvut.cz>
Fri, 24 Jul 2015 15:06:54 +0100
changeset 502 1e45d3c96ec5
parent 425 0a5c4929af56
permissions -rw-r--r--
Updated to PetitCompiler-JanVrany.135, PetitCompiler-Tests-JanKurs.93, PetitCompiler-Extras-Tests-JanVrany.16, PetitCompiler-Benchmarks-JanKurs.12 Name: PetitCompiler-JanVrany.135 Author: JanVrany Time: 22-07-2015, 06:53:29.127 PM UUID: 890178b5-275d-46af-a2ad-1738998f07cb Ancestors: PetitCompiler-JanVrany.134 Name: PetitCompiler-Tests-JanKurs.93 Author: JanKurs Time: 20-07-2015, 11:30:10.283 PM UUID: 6473e671-ad70-42ca-b6c3-654b78edc531 Ancestors: PetitCompiler-Tests-JanKurs.92 Name: PetitCompiler-Extras-Tests-JanVrany.16 Author: JanVrany Time: 22-07-2015, 05:18:22.387 PM UUID: 8f6f9129-dbba-49b1-9402-038470742f98 Ancestors: PetitCompiler-Extras-Tests-JanKurs.15 Name: PetitCompiler-Benchmarks-JanKurs.12 Author: JanKurs Time: 06-07-2015, 02:10:06.901 PM UUID: cb24f1ac-46a4-494d-9780-64576f0f0dba Ancestors: PetitCompiler-Benchmarks-JanKurs.11, PetitCompiler-Benchmarks-JanVrany.e29bd90f388e.20150619081300
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
fe35662a4e41 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     2
#
fe35662a4e41 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     3
# DO NOT EDIT
fe35662a4e41 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     4
# automagically generated from the projectDefinition: stx_goodies_petitparser_analyzer_tests.
fe35662a4e41 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     5
#
fe35662a4e41 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     6
# Warning: once you modify this file, do not rerun
fe35662a4e41 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     7
# stmkmp or projectDefinition-build again - otherwise, your changes are lost.
fe35662a4e41 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     8
#
fe35662a4e41 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     9
# Notice, that the name bc.mak is historical (from times, when only borland c was supported).
fe35662a4e41 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    10
# This file contains make rules for the win32 platform using either borland-bcc or visual-c.
fe35662a4e41 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    11
# It shares common definitions with the unix-make in Make.spec.
fe35662a4e41 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    12
# The bc.mak supports the following targets:
fe35662a4e41 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    13
#    bmake         - compile all st-files to a classLib (dll)
fe35662a4e41 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    14
#    bmake clean   - clean all temp files
fe35662a4e41 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    15
#    bmake clobber - clean all
fe35662a4e41 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    16
#
fe35662a4e41 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    17
# Historic Note:
fe35662a4e41 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    18
#  this used to contain only rules to make with borland
fe35662a4e41 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    19
#    (called via bmake, by "make.exe -f bc.mak")
fe35662a4e41 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    20
#  this has changed; it is now also possible to build using microsoft visual c
fe35662a4e41 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    21
#    (called via vcmake, by "make.exe -f bc.mak -DUSEVC")
fe35662a4e41 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    22
#
fe35662a4e41 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    23
TOP=..\..\..\..
fe35662a4e41 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    24
INCLUDE_TOP=$(TOP)\..
fe35662a4e41 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    25
fe35662a4e41 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    26
fe35662a4e41 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    27
fe35662a4e41 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    28
!INCLUDE $(TOP)\rules\stdHeader_bc
fe35662a4e41 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    29
fe35662a4e41 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    30
!INCLUDE Make.spec
fe35662a4e41 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    31
fe35662a4e41 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    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
fe35662a4e41 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    34
RESFILES=tests.$(RES)
fe35662a4e41 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    35
fe35662a4e41 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    36
fe35662a4e41 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    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
fe35662a4e41 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    39
LOCALDEFINES=
fe35662a4e41 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    40
fe35662a4e41 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    41
STCLOCALOPT=-package=$(PACKAGE) -I. $(LOCALINCLUDES) -headerDir=. $(STCLOCALOPTIMIZATIONS) $(STCWARNINGS) $(LOCALDEFINES)  -varPrefix=$(LIBNAME)
fe35662a4e41 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    42
LOCALLIBS=
fe35662a4e41 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    43
fe35662a4e41 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    44
OBJS= $(COMMON_OBJS) $(WIN32_OBJS)
fe35662a4e41 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    45
fe35662a4e41 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    46
ALL::  classLibRule
fe35662a4e41 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    47
fe35662a4e41 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    48
classLibRule: $(OUTDIR) $(OUTDIR)$(LIBNAME).dll
fe35662a4e41 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    49
fe35662a4e41 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    50
!INCLUDE $(TOP)\rules\stdRules_bc
fe35662a4e41 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    51
fe35662a4e41 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    52
# build all mandatory prerequisite packages (containing superclasses) for this package
fe35662a4e41 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    53
prereq:
fe35662a4e41 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    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 ..\..\..\..\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
    57
	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
    58
	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
    59
	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
    60
	pushd ..\..\tests & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
267
fe35662a4e41 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    61
fe35662a4e41 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    62
fe35662a4e41 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    63
fe35662a4e41 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    64
fe35662a4e41 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    65
fe35662a4e41 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    66
fe35662a4e41 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    67
fe35662a4e41 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    68
test: $(TOP)\goodies\builder\reports\NUL
fe35662a4e41 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    69
	pushd $(TOP)\goodies\builder\reports & $(MAKE_BAT)
fe35662a4e41 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    70
	$(TOP)\goodies\builder\reports\report-runner.bat -D . -r Builder::TestReport -p $(PACKAGE)
fe35662a4e41 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    71
        
fe35662a4e41 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    72
clean::
fe35662a4e41 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    73
	del *.$(CSUFFIX)
fe35662a4e41 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    74
fe35662a4e41 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    75
fe35662a4e41 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    76
# 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
    77
$(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
    78
$(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
    79
$(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
fe35662a4e41 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    80
$(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)
fe35662a4e41 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    81
fe35662a4e41 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    82
# 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
    83
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
# **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
    85
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
# 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
    87
# 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
    88
# 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
    89
!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
    90
$(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
    91
!ENDIF