substreams/bc.mak
author joe
Fri, 15 Mar 2013 19:54:41 -0400
changeset 113 c0df9d2ad5d3
parent 109 9587e2df7029
child 128 4d3dd64bf50d
permissions -rw-r--r--
* make InifiniteReadingWritingTests abstract

# $Header$
#
# DO NOT EDIT
# automagically generated from the projectDefinition: stx_goodies_xtreams_substreams.
#
# Warning: once you modify this file, do not rerun
# stmkmp or projectDefinition-build again - otherwise, your changes are lost.
#
# Notice, that the name bc.mak is historical (from times, when only borland c was supported).
# This file contains make rules for the win32 platform using either borland-bcc or visual-c.
# It shares common definitions with the unix-make in Make.spec.
# The bc.mak supports the following targets:
#    bmake         - compile all st-files to a classLib (dll)
#    bmake clean   - clean all temp files
#    bmake clobber - clean all
#
# Historic Note:
#  this used to contain only rules to make with borland
#    (called via bmake, by "make.exe -f bc.mak")
#  this has changed; it is now also possible to build using microsoft visual c
#    (called via vcmake, by "make.exe -f bc.mak -DUSEVC")
#
TOP=..\..\..
INCLUDE_TOP=$(TOP)\..



!INCLUDE $(TOP)\rules\stdHeader_bc

!INCLUDE Make.spec

LIBNAME=libstx_goodies_xtreams_substreams
RESFILES=substreams.$(RES)



LOCALINCLUDES= -I$(INCLUDE_TOP)\stx\libbasic -I$(INCLUDE_TOP)\stx\goodies\xtreams\core
LOCALDEFINES=

STCLOCALOPT=-package=$(PACKAGE) -I. $(LOCALINCLUDES) -headerDir=. $(STCLOCALOPTIMIZATIONS) $(STCWARNINGS) $(LOCALDEFINES)  -varPrefix=$(LIBNAME)
LOCALLIBS=

OBJS= $(COMMON_OBJS) $(WIN32_OBJS)

ALL::  classLibRule

classLibRule: $(OUTDIR) $(OUTDIR)$(LIBNAME).dll

!INCLUDE $(TOP)\rules\stdRules_bc

# build all prerequisite packages for this package
prereq:
	pushd ..\..\..\libbasic & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
	pushd ..\..\..\libbasic2 & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
	pushd ..\support & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
	pushd ..\core & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "






test: $(TOP)\goodies\builder\reports\NUL
	pushd $(TOP)\goodies\builder\reports & $(MAKE_BAT)
	$(TOP)\goodies\builder\reports\report-runner.bat -D . -r Builder::TestReport -p $(PACKAGE)
        
clean::
	del *.$(CSUFFIX)


# BEGINMAKEDEPEND --- do not remove this line; make depend needs it
$(OUTDIR)Xtreams__ReadSubstream.$(O) Xtreams__ReadSubstream.$(H): Xtreams__ReadSubstream.st $(INCLUDE_TOP)\stx\goodies\xtreams\core\Xtreams__ReadStream.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR)
$(OUTDIR)Xtreams__StitchReadStream.$(O) Xtreams__StitchReadStream.$(H): Xtreams__StitchReadStream.st $(INCLUDE_TOP)\stx\goodies\xtreams\core\Xtreams__ReadStream.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR)
$(OUTDIR)Xtreams__StitchWriteStream.$(O) Xtreams__StitchWriteStream.$(H): Xtreams__StitchWriteStream.st $(INCLUDE_TOP)\stx\goodies\xtreams\core\Xtreams__WriteStream.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR)
$(OUTDIR)Xtreams__WriteSubstream.$(O) Xtreams__WriteSubstream.$(H): Xtreams__WriteSubstream.st $(INCLUDE_TOP)\stx\goodies\xtreams\core\Xtreams__WriteStream.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR)
$(OUTDIR)stx_goodies_xtreams_substreams.$(O) stx_goodies_xtreams_substreams.$(H): stx_goodies_xtreams_substreams.st $(INCLUDE_TOP)\stx\libbasic\LibraryDefinition.$(H) $(INCLUDE_TOP)\stx\libbasic\ProjectDefinition.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR)
$(OUTDIR)Xtreams__MatchReadSubstream.$(O) Xtreams__MatchReadSubstream.$(H): Xtreams__MatchReadSubstream.st $(INCLUDE_TOP)\stx\goodies\xtreams\substreams\Xtreams__ReadSubstream.$(H) $(INCLUDE_TOP)\stx\goodies\xtreams\core\Xtreams__ReadStream.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR)
$(OUTDIR)Xtreams__MatchWriteSubstream.$(O) Xtreams__MatchWriteSubstream.$(H): Xtreams__MatchWriteSubstream.st $(INCLUDE_TOP)\stx\goodies\xtreams\substreams\Xtreams__WriteSubstream.$(H) $(INCLUDE_TOP)\stx\goodies\xtreams\core\Xtreams__WriteStream.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR)
$(OUTDIR)Xtreams__PositionReadSubstream.$(O) Xtreams__PositionReadSubstream.$(H): Xtreams__PositionReadSubstream.st $(INCLUDE_TOP)\stx\goodies\xtreams\substreams\Xtreams__ReadSubstream.$(H) $(INCLUDE_TOP)\stx\goodies\xtreams\core\Xtreams__ReadStream.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR)
$(OUTDIR)Xtreams__PositionWriteSubstream.$(O) Xtreams__PositionWriteSubstream.$(H): Xtreams__PositionWriteSubstream.st $(INCLUDE_TOP)\stx\goodies\xtreams\substreams\Xtreams__WriteSubstream.$(H) $(INCLUDE_TOP)\stx\goodies\xtreams\core\Xtreams__WriteStream.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR)
$(OUTDIR)Xtreams__TestReadSubstream.$(O) Xtreams__TestReadSubstream.$(H): Xtreams__TestReadSubstream.st $(INCLUDE_TOP)\stx\goodies\xtreams\substreams\Xtreams__ReadSubstream.$(H) $(INCLUDE_TOP)\stx\goodies\xtreams\core\Xtreams__ReadStream.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR)
$(OUTDIR)Xtreams__TestWriteSubstream.$(O) Xtreams__TestWriteSubstream.$(H): Xtreams__TestWriteSubstream.st $(INCLUDE_TOP)\stx\goodies\xtreams\substreams\Xtreams__WriteSubstream.$(H) $(INCLUDE_TOP)\stx\goodies\xtreams\core\Xtreams__WriteStream.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR)
$(OUTDIR)Xtreams__LimitReadSubstream.$(O) Xtreams__LimitReadSubstream.$(H): Xtreams__LimitReadSubstream.st $(INCLUDE_TOP)\stx\goodies\xtreams\substreams\Xtreams__PositionReadSubstream.$(H) $(INCLUDE_TOP)\stx\goodies\xtreams\substreams\Xtreams__ReadSubstream.$(H) $(INCLUDE_TOP)\stx\goodies\xtreams\core\Xtreams__ReadStream.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR)
$(OUTDIR)Xtreams__LimitWriteSubstream.$(O) Xtreams__LimitWriteSubstream.$(H): Xtreams__LimitWriteSubstream.st $(INCLUDE_TOP)\stx\goodies\xtreams\substreams\Xtreams__PositionWriteSubstream.$(H) $(INCLUDE_TOP)\stx\goodies\xtreams\substreams\Xtreams__WriteSubstream.$(H) $(INCLUDE_TOP)\stx\goodies\xtreams\core\Xtreams__WriteStream.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR)
$(OUTDIR)extensions.$(O): extensions.st $(INCLUDE_TOP)\stx\libbasic\Block.$(H) $(INCLUDE_TOP)\stx\libbasic\CompiledCode.$(H) $(INCLUDE_TOP)\stx\libbasic\ExecutableFunction.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(INCLUDE_TOP)\stx\libbasic\SequenceableCollection.$(H) $(INCLUDE_TOP)\stx\libbasic\Collection.$(H) $(INCLUDE_TOP)\stx\goodies\xtreams\core\Xtreams__ReadStream.$(H) $(INCLUDE_TOP)\stx\goodies\xtreams\core\Xtreams__WriteStream.$(H) $(STCHDR)

# ENDMAKEDEPEND --- do not remove this line

# **Must be at end**

# Enforce recompilation of package definition class if Mercurial working
# copy state changes. Together with --guessVersion it ensures that package
# definition class always contains correct binary revision string.
!IFDEF HGROOT
$(OUTDIR)stx_goodies_xtreams_substreams.$(O): $(HGROOT)\.hg\dirstate
!ENDIF