terminals/tests/bc.mak
changeset 112 b6b3d8435bb7
parent 71 b5baf23694f3
child 122 3b4640056b6d
equal deleted inserted replaced
111:44ac233b2f83 112:b6b3d8435bb7
     1 # $Header$
     1 # $Header$
     2 #
     2 #
     3 # DO NOT EDIT
     3 # DO NOT EDIT
     4 # automagically generated from the projectDefinition: stx_goodies_xtreams_terminals_tests at 2012-01-30 17:29:44.448.
     4 # automagically generated from the projectDefinition: stx_goodies_xtreams_terminals_tests.
     5 #
     5 #
     6 # Warning: once you modify this file, do not rerun
     6 # Warning: once you modify this file, do not rerun
     7 # stmkmp or projectDefinition-build again - otherwise, your changes are lost.
     7 # stmkmp or projectDefinition-build again - otherwise, your changes are lost.
     8 #
     8 #
     9 # This file contains make rules for the win32 platform (using borland-bcc or visual-c).
     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.
    10 # It shares common definitions with the unix-make in Make.spec.
    11 # It shares common definitions with the unix-make in Make.spec.
    11 # The nt.mak supports the following targets:
    12 # The bc.mak supports the following targets:
    12 #    bmake         - compile all st-files to a classLib (dll)
    13 #    bmake         - compile all st-files to a classLib (dll)
    13 #    bmake clean   - clean all temp files
    14 #    bmake clean   - clean all temp files
    14 #    bmake clobber - clean all
    15 #    bmake clobber - clean all
    15 #
    16 #
    16 # Historic Note:
    17 # Historic Note:
    17 #  this used to contain only rules to make with borland 
    18 #  this used to contain only rules to make with borland
    18 #    (called via bmake, by "make.exe -f bc.mak")
    19 #    (called via bmake, by "make.exe -f bc.mak")
    19 #  this has changed; it is now also possible to build using microsoft visual c
    20 #  this has changed; it is now also possible to build using microsoft visual c
    20 #    (called via vcmake, by "make.exe -f bc.mak -DUSEVC")
    21 #    (called via vcmake, by "make.exe -f bc.mak -DUSEVC")
    21 #
    22 #
    22 TOP=..\..\..\..
    23 TOP=..\..\..\..
    27 !INCLUDE $(TOP)\rules\stdHeader_bc
    28 !INCLUDE $(TOP)\rules\stdHeader_bc
    28 
    29 
    29 !INCLUDE Make.spec
    30 !INCLUDE Make.spec
    30 
    31 
    31 LIBNAME=libstx_goodies_xtreams_terminals_tests
    32 LIBNAME=libstx_goodies_xtreams_terminals_tests
    32 RESFILES=tests.res
    33 RESFILES=tests.$(RES)
    33 
    34 
    34 
    35 
    35 
    36 
    36 LOCALINCLUDES= -I$(INCLUDE_TOP)\stx\goodies\xtreams\core\tests -I$(INCLUDE_TOP)\stx\goodies\sunit -I$(INCLUDE_TOP)\stx\goodies\xtreams\core -I$(INCLUDE_TOP)\stx\libbasic2 -I$(INCLUDE_TOP)\stx\libbasic
    37 LOCALINCLUDES= -I$(INCLUDE_TOP)\stx\libbasic -I$(INCLUDE_TOP)\stx\goodies\xtreams\core\tests -I$(INCLUDE_TOP)\stx\goodies\xtreams\core -I$(INCLUDE_TOP)\stx\libbasic2 -I$(INCLUDE_TOP)\stx\goodies\xtreams\support -I$(INCLUDE_TOP)\stx\goodies\sunit
    37 LOCALDEFINES=
    38 LOCALDEFINES=
    38 
    39 
    39 STCLOCALOPT=-package=$(PACKAGE) -I. $(LOCALINCLUDES) -headerDir=. $(STCLOCALOPTIMIZATIONS) $(STCWARNINGS) $(LOCALDEFINES)  -varPrefix=$(LIBNAME)
    40 STCLOCALOPT=-package=$(PACKAGE) -I. $(LOCALINCLUDES) -headerDir=. $(STCLOCALOPTIMIZATIONS) $(STCWARNINGS) $(LOCALDEFINES)  -varPrefix=$(LIBNAME)
    40 LOCALLIBS=
    41 LOCALLIBS=
    41 
    42 
    48 !INCLUDE $(TOP)\rules\stdRules_bc
    49 !INCLUDE $(TOP)\rules\stdRules_bc
    49 
    50 
    50 # build all prerequisite packages for this package
    51 # build all prerequisite packages for this package
    51 prereq:
    52 prereq:
    52 	pushd ..\..\..\..\libbasic & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
    53 	pushd ..\..\..\..\libbasic & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
       
    54 	pushd ..\..\..\..\libbasic2 & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
       
    55 	pushd ..\..\support & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
       
    56 	pushd ..\..\..\..\libview & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
    53 	pushd ..\..\core & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
    57 	pushd ..\..\core & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
    54 	pushd ..\..\..\..\libbasic2 & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
    58 	pushd ..\..\..\..\libui & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
    55 	pushd ..\..\substreams & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
    59 	pushd ..\..\substreams & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
    56 	pushd ..\..\..\..\libview & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
       
    57 	pushd ..\..\..\..\libview2 & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
    60 	pushd ..\..\..\..\libview2 & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
    58 	pushd ..\..\..\sunit & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
    61 	pushd ..\..\..\sunit & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
    59 	pushd ..\..\core\tests & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
    62 	pushd ..\..\core\tests & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
    60 	pushd ..\..\..\..\librun & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
       
    61 
    63 
    62 
    64 
    63 
    65 
    64 
    66 
    65 
    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 
    66 # BEGINMAKEDEPEND --- do not remove this line; make depend needs it
    77 # BEGINMAKEDEPEND --- do not remove this line; make depend needs it
       
    78 $(OUTDIR)Xtreams__BlockClosureReadingWritingTest.$(O) Xtreams__BlockClosureReadingWritingTest.$(H): Xtreams__BlockClosureReadingWritingTest.st $(INCLUDE_TOP)\stx\goodies\xtreams\core\tests\Xtreams__FiniteReadingWritingTests.$(H) $(INCLUDE_TOP)\stx\goodies\xtreams\core\tests\Xtreams__ReadingWritingTest.$(H) $(INCLUDE_TOP)\stx\goodies\sunit\TestCase.$(H) $(INCLUDE_TOP)\stx\goodies\sunit\TestAsserter.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR)
       
    79 $(OUTDIR)Xtreams__BlockClosureTest.$(O) Xtreams__BlockClosureTest.$(H): Xtreams__BlockClosureTest.st $(INCLUDE_TOP)\stx\goodies\sunit\TestCase.$(H) $(INCLUDE_TOP)\stx\goodies\sunit\TestAsserter.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR)
       
    80 $(OUTDIR)Xtreams__BufferReadingWritingTest.$(O) Xtreams__BufferReadingWritingTest.$(H): Xtreams__BufferReadingWritingTest.st $(INCLUDE_TOP)\stx\goodies\xtreams\core\tests\Xtreams__FiniteReadingWritingTests.$(H) $(INCLUDE_TOP)\stx\goodies\xtreams\core\tests\Xtreams__ReadingWritingTest.$(H) $(INCLUDE_TOP)\stx\goodies\sunit\TestCase.$(H) $(INCLUDE_TOP)\stx\goodies\sunit\TestAsserter.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR)
       
    81 $(OUTDIR)Xtreams__BufferedWriteStreamTest.$(O) Xtreams__BufferedWriteStreamTest.$(H): Xtreams__BufferedWriteStreamTest.st $(INCLUDE_TOP)\stx\goodies\sunit\TestCase.$(H) $(INCLUDE_TOP)\stx\goodies\sunit\TestAsserter.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR)
       
    82 $(OUTDIR)Xtreams__CollectionReadingWritingTest.$(O) Xtreams__CollectionReadingWritingTest.$(H): Xtreams__CollectionReadingWritingTest.st $(INCLUDE_TOP)\stx\goodies\xtreams\core\tests\Xtreams__FiniteReadingWritingTests.$(H) $(INCLUDE_TOP)\stx\goodies\xtreams\core\tests\Xtreams__ReadingWritingTest.$(H) $(INCLUDE_TOP)\stx\goodies\sunit\TestCase.$(H) $(INCLUDE_TOP)\stx\goodies\sunit\TestAsserter.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR)
       
    83 $(OUTDIR)Xtreams__ElasticBufferReadingWritingTest.$(O) Xtreams__ElasticBufferReadingWritingTest.$(H): Xtreams__ElasticBufferReadingWritingTest.st $(INCLUDE_TOP)\stx\goodies\xtreams\core\tests\Xtreams__FiniteReadingWritingTests.$(H) $(INCLUDE_TOP)\stx\goodies\xtreams\core\tests\Xtreams__ReadingWritingTest.$(H) $(INCLUDE_TOP)\stx\goodies\sunit\TestCase.$(H) $(INCLUDE_TOP)\stx\goodies\sunit\TestAsserter.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR)
       
    84 $(OUTDIR)Xtreams__FileReadingWritingTest.$(O) Xtreams__FileReadingWritingTest.$(H): Xtreams__FileReadingWritingTest.st $(INCLUDE_TOP)\stx\goodies\xtreams\support\XtreamsPool.$(H) $(INCLUDE_TOP)\stx\goodies\xtreams\core\tests\Xtreams__FiniteReadingWritingTests.$(H) $(INCLUDE_TOP)\stx\goodies\xtreams\core\tests\Xtreams__ReadingWritingTest.$(H) $(INCLUDE_TOP)\stx\goodies\sunit\TestCase.$(H) $(INCLUDE_TOP)\stx\goodies\sunit\TestAsserter.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR)
       
    85 $(OUTDIR)Xtreams__PipeReadingWritingTest.$(O) Xtreams__PipeReadingWritingTest.$(H): Xtreams__PipeReadingWritingTest.st $(INCLUDE_TOP)\stx\goodies\xtreams\support\XtreamsPool.$(H) $(INCLUDE_TOP)\stx\goodies\xtreams\core\tests\Xtreams__FiniteReadingWritingTests.$(H) $(INCLUDE_TOP)\stx\goodies\xtreams\core\tests\Xtreams__ReadingWritingTest.$(H) $(INCLUDE_TOP)\stx\goodies\sunit\TestCase.$(H) $(INCLUDE_TOP)\stx\goodies\sunit\TestAsserter.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR)
       
    86 $(OUTDIR)Xtreams__RingBufferReadingWritingTest.$(O) Xtreams__RingBufferReadingWritingTest.$(H): Xtreams__RingBufferReadingWritingTest.st $(INCLUDE_TOP)\stx\goodies\xtreams\core\tests\Xtreams__FiniteReadingWritingTests.$(H) $(INCLUDE_TOP)\stx\goodies\xtreams\core\tests\Xtreams__ReadingWritingTest.$(H) $(INCLUDE_TOP)\stx\goodies\sunit\TestCase.$(H) $(INCLUDE_TOP)\stx\goodies\sunit\TestAsserter.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR)
       
    87 $(OUTDIR)Xtreams__SocketReadingWritingTest.$(O) Xtreams__SocketReadingWritingTest.$(H): Xtreams__SocketReadingWritingTest.st $(INCLUDE_TOP)\stx\goodies\xtreams\support\XtreamsPool.$(H) $(INCLUDE_TOP)\stx\goodies\xtreams\core\tests\Xtreams__FiniteReadingWritingTests.$(H) $(INCLUDE_TOP)\stx\goodies\xtreams\core\tests\Xtreams__ReadingWritingTest.$(H) $(INCLUDE_TOP)\stx\goodies\sunit\TestCase.$(H) $(INCLUDE_TOP)\stx\goodies\sunit\TestAsserter.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR)
    67 $(OUTDIR)stx_goodies_xtreams_terminals_tests.$(O) stx_goodies_xtreams_terminals_tests.$(H): stx_goodies_xtreams_terminals_tests.st $(INCLUDE_TOP)\stx\libbasic\LibraryDefinition.$(H) $(INCLUDE_TOP)\stx\libbasic\ProjectDefinition.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR)
    88 $(OUTDIR)stx_goodies_xtreams_terminals_tests.$(O) stx_goodies_xtreams_terminals_tests.$(H): stx_goodies_xtreams_terminals_tests.st $(INCLUDE_TOP)\stx\libbasic\LibraryDefinition.$(H) $(INCLUDE_TOP)\stx\libbasic\ProjectDefinition.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR)
    68 
    89 
    69 # ENDMAKEDEPEND --- do not remove this line
    90 # ENDMAKEDEPEND --- do not remove this line
       
    91 
       
    92 # **Must be at end**
       
    93 
       
    94 # Enforce recompilation of package definition class if Mercurial working
       
    95 # copy state changes. Together with --guessVersion it ensures that package
       
    96 # definition class always contains correct binary revision string.
       
    97 !IFDEF HGROOT
       
    98 $(OUTDIR)stx_goodies_xtreams_terminals_tests.$(O): $(HGROOT)\.hg\dirstate
       
    99 !ENDIF