tests/bc.mak
author sr
Wed, 04 Jul 2018 15:23:55 +0200
changeset 607 019302eb9dd9
parent 594 0a106c9a1620
permissions -rw-r--r--
build order was wrong
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
594
0a106c9a1620 class: PPParserResource
Claus Gittinger <cg@exept.de>
parents: 321
diff changeset
     1
# $Header$
248
4e79809dd271 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     2
#
4e79809dd271 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     3
# DO NOT EDIT
4e79809dd271 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     4
# automagically generated from the projectDefinition: stx_goodies_petitparser_tests.
4e79809dd271 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     5
#
4e79809dd271 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     6
# Warning: once you modify this file, do not rerun
4e79809dd271 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     7
# stmkmp or projectDefinition-build again - otherwise, your changes are lost.
4e79809dd271 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     8
#
4e79809dd271 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).
4e79809dd271 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.
4e79809dd271 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    11
# It shares common definitions with the unix-make in Make.spec.
4e79809dd271 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    12
# The bc.mak supports the following targets:
4e79809dd271 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    13
#    bmake         - compile all st-files to a classLib (dll)
4e79809dd271 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    14
#    bmake clean   - clean all temp files
4e79809dd271 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    15
#    bmake clobber - clean all
4e79809dd271 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    16
#
4e79809dd271 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    17
# Historic Note:
4e79809dd271 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    18
#  this used to contain only rules to make with borland
4e79809dd271 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    19
#    (called via bmake, by "make.exe -f bc.mak")
4e79809dd271 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
4e79809dd271 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    21
#    (called via vcmake, by "make.exe -f bc.mak -DUSEVC")
4e79809dd271 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    22
#
4e79809dd271 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    23
TOP=..\..\..
4e79809dd271 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    24
INCLUDE_TOP=$(TOP)\..
4e79809dd271 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    25
4e79809dd271 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    26
4e79809dd271 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    27
4e79809dd271 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    28
!INCLUDE $(TOP)\rules\stdHeader_bc
4e79809dd271 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    29
4e79809dd271 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    30
!INCLUDE Make.spec
4e79809dd271 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    31
4e79809dd271 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    32
LIBNAME=libstx_goodies_petitparser_tests
594
0a106c9a1620 class: PPParserResource
Claus Gittinger <cg@exept.de>
parents: 321
diff changeset
    33
MODULE_PATH=goodies\petitparser\tests
0a106c9a1620 class: PPParserResource
Claus Gittinger <cg@exept.de>
parents: 321
diff changeset
    34
RESFILES=stx_goodies_petitparser_testsWINrc.$(RES)
248
4e79809dd271 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    35
4e79809dd271 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    36
4e79809dd271 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    37
594
0a106c9a1620 class: PPParserResource
Claus Gittinger <cg@exept.de>
parents: 321
diff changeset
    38
LOCALINCLUDES= -I$(INCLUDE_TOP)\stx\goodies\petitparser -I$(INCLUDE_TOP)\stx\goodies\sunit -I$(INCLUDE_TOP)\stx\libbasic
248
4e79809dd271 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    39
LOCALDEFINES=
4e79809dd271 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    40
4e79809dd271 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    41
STCLOCALOPT=-package=$(PACKAGE) -I. $(LOCALINCLUDES) -headerDir=. $(STCLOCALOPTIMIZATIONS) $(STCWARNINGS) $(LOCALDEFINES)  -varPrefix=$(LIBNAME)
4e79809dd271 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    42
LOCALLIBS=
4e79809dd271 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    43
4e79809dd271 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    44
OBJS= $(COMMON_OBJS) $(WIN32_OBJS)
4e79809dd271 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    45
4e79809dd271 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    46
ALL::  classLibRule
4e79809dd271 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    47
4e79809dd271 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    48
classLibRule: $(OUTDIR) $(OUTDIR)$(LIBNAME).dll
4e79809dd271 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    49
4e79809dd271 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    50
!INCLUDE $(TOP)\rules\stdRules_bc
4e79809dd271 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    51
4e79809dd271 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    52
# build all mandatory prerequisite packages (containing superclasses) for this package
4e79809dd271 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    53
prereq:
4e79809dd271 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    54
	pushd ..\..\..\libbasic & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
4e79809dd271 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    55
	pushd ..\..\..\libbasic2 & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
4e79809dd271 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    56
	pushd ..\..\..\libview & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
4e79809dd271 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    57
	pushd ..\..\..\libview2 & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
4e79809dd271 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    58
	pushd ..\..\sunit & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
4e79809dd271 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    59
4e79809dd271 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    60
4e79809dd271 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    61
4e79809dd271 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    62
4e79809dd271 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    63
4e79809dd271 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    64
4e79809dd271 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    65
594
0a106c9a1620 class: PPParserResource
Claus Gittinger <cg@exept.de>
parents: 321
diff changeset
    66
test: $(TOP)\goodies\builder\reports\
248
4e79809dd271 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    67
	pushd $(TOP)\goodies\builder\reports & $(MAKE_BAT)
4e79809dd271 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    68
	$(TOP)\goodies\builder\reports\report-runner.bat -D . -r Builder::TestReport -p $(PACKAGE)
4e79809dd271 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    69
        
4e79809dd271 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    70
clean::
594
0a106c9a1620 class: PPParserResource
Claus Gittinger <cg@exept.de>
parents: 321
diff changeset
    71
	-del *.$(CSUFFIX)
248
4e79809dd271 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    72
4e79809dd271 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    73
4e79809dd271 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    74
# BEGINMAKEDEPEND --- do not remove this line; make depend needs it
594
0a106c9a1620 class: PPParserResource
Claus Gittinger <cg@exept.de>
parents: 321
diff changeset
    75
$(OUTDIR)PPAbstractParserTest.$(O) PPAbstractParserTest.$(C) 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)
0a106c9a1620 class: PPParserResource
Claus Gittinger <cg@exept.de>
parents: 321
diff changeset
    76
$(OUTDIR)PPParserResource.$(O) PPParserResource.$(C) 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)
0a106c9a1620 class: PPParserResource
Claus Gittinger <cg@exept.de>
parents: 321
diff changeset
    77
$(OUTDIR)stx_goodies_petitparser_tests.$(O) stx_goodies_petitparser_tests.$(C) 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)
0a106c9a1620 class: PPParserResource
Claus Gittinger <cg@exept.de>
parents: 321
diff changeset
    78
$(OUTDIR)PPComposedTest.$(O) PPComposedTest.$(C) 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)
0a106c9a1620 class: PPParserResource
Claus Gittinger <cg@exept.de>
parents: 321
diff changeset
    79
$(OUTDIR)PPCompositeParserTest.$(O) PPCompositeParserTest.$(C) 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)
0a106c9a1620 class: PPParserResource
Claus Gittinger <cg@exept.de>
parents: 321
diff changeset
    80
$(OUTDIR)PPExtensionTest.$(O) PPExtensionTest.$(C) 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)
0a106c9a1620 class: PPParserResource
Claus Gittinger <cg@exept.de>
parents: 321
diff changeset
    81
$(OUTDIR)PPMappingTest.$(O) PPMappingTest.$(C) 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)
0a106c9a1620 class: PPParserResource
Claus Gittinger <cg@exept.de>
parents: 321
diff changeset
    82
$(OUTDIR)PPObjectTest.$(O) PPObjectTest.$(C) 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)
0a106c9a1620 class: PPParserResource
Claus Gittinger <cg@exept.de>
parents: 321
diff changeset
    83
$(OUTDIR)PPParserTest.$(O) PPParserTest.$(C) 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)
0a106c9a1620 class: PPParserResource
Claus Gittinger <cg@exept.de>
parents: 321
diff changeset
    84
$(OUTDIR)PPPredicateTest.$(O) PPPredicateTest.$(C) 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)
0a106c9a1620 class: PPParserResource
Claus Gittinger <cg@exept.de>
parents: 321
diff changeset
    85
$(OUTDIR)PPScriptingTest.$(O) PPScriptingTest.$(C) 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)
0a106c9a1620 class: PPParserResource
Claus Gittinger <cg@exept.de>
parents: 321
diff changeset
    86
$(OUTDIR)PPArithmeticParserTest.$(O) PPArithmeticParserTest.$(C) 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)
0a106c9a1620 class: PPParserResource
Claus Gittinger <cg@exept.de>
parents: 321
diff changeset
    87
$(OUTDIR)PPLambdaParserTest.$(O) PPLambdaParserTest.$(C) 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)
0a106c9a1620 class: PPParserResource
Claus Gittinger <cg@exept.de>
parents: 321
diff changeset
    88
$(OUTDIR)PPExpressionParserTest.$(O) PPExpressionParserTest.$(C) 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
4e79809dd271 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    89
4e79809dd271 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    90
# ENDMAKEDEPEND --- do not remove this line