terminals/bc.mak
author Martin Kobetic
Sun, 17 Nov 2013 00:23:18 -0500
changeset 147 bd6be28aa924
parent 137 ef21c6ae6329
permissions -rw-r--r--
merging

# $Header$
#
# DO NOT EDIT
# automagically generated from the projectDefinition: stx_goodies_xtreams_terminals.
#
# 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_terminals
RESFILES=terminals.$(RES)



LOCALINCLUDES= -I$(INCLUDE_TOP)\stx\libbasic -I$(INCLUDE_TOP)\stx\goodies\xtreams\core -I$(INCLUDE_TOP)\stx\libwidg -I$(INCLUDE_TOP)\stx\goodies\xtreams\support -I$(INCLUDE_TOP)\stx\libbasic2 -I$(INCLUDE_TOP)\stx\libview
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 mandatory prerequisite packages (containing superclasses) for this package
prereq:
	pushd ..\..\..\libbasic & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
	pushd ..\..\..\libbasic2 & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
	pushd ..\..\..\libview & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
	pushd ..\support & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
	pushd ..\..\..\libview2 & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
	pushd ..\core & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
	pushd ..\..\..\libwidg & $(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__BlockClosureGenerateStream.$(O) Xtreams__BlockClosureGenerateStream.$(H): Xtreams__BlockClosureGenerateStream.st $(INCLUDE_TOP)\stx\goodies\xtreams\core\Xtreams__ReadStream.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR)
$(OUTDIR)Xtreams__BlockClosureReadStream.$(O) Xtreams__BlockClosureReadStream.$(H): Xtreams__BlockClosureReadStream.st $(INCLUDE_TOP)\stx\goodies\xtreams\core\Xtreams__ReadStream.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR)
$(OUTDIR)Xtreams__BlockClosureWriteStream.$(O) Xtreams__BlockClosureWriteStream.$(H): Xtreams__BlockClosureWriteStream.st $(INCLUDE_TOP)\stx\goodies\xtreams\core\Xtreams__WriteStream.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR)
$(OUTDIR)Xtreams__BufferReadStream.$(O) Xtreams__BufferReadStream.$(H): Xtreams__BufferReadStream.st $(INCLUDE_TOP)\stx\goodies\xtreams\core\Xtreams__ReadStream.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR)
$(OUTDIR)Xtreams__BufferWriteStream.$(O) Xtreams__BufferWriteStream.$(H): Xtreams__BufferWriteStream.st $(INCLUDE_TOP)\stx\goodies\xtreams\core\Xtreams__WriteStream.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR)
$(OUTDIR)Xtreams__BufferedWriteStream.$(O) Xtreams__BufferedWriteStream.$(H): Xtreams__BufferedWriteStream.st $(INCLUDE_TOP)\stx\goodies\xtreams\core\Xtreams__WriteStream.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR)
$(OUTDIR)Xtreams__CollectionWriteStream.$(O) Xtreams__CollectionWriteStream.$(H): Xtreams__CollectionWriteStream.st $(INCLUDE_TOP)\stx\goodies\xtreams\core\Xtreams__WriteStream.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR)
$(OUTDIR)Xtreams__ExternalReadStream.$(O) Xtreams__ExternalReadStream.$(H): Xtreams__ExternalReadStream.st $(INCLUDE_TOP)\stx\goodies\xtreams\support\XtreamsPool.$(H) $(INCLUDE_TOP)\stx\goodies\xtreams\core\Xtreams__ReadStream.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR)
$(OUTDIR)Xtreams__ExternalWriteStream.$(O) Xtreams__ExternalWriteStream.$(H): Xtreams__ExternalWriteStream.st $(INCLUDE_TOP)\stx\goodies\xtreams\core\Xtreams__WriteStream.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR)
$(OUTDIR)Xtreams__FileWriteStream.$(O) Xtreams__FileWriteStream.$(H): Xtreams__FileWriteStream.st $(INCLUDE_TOP)\stx\goodies\xtreams\core\Xtreams__WriteStream.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR)
$(OUTDIR)Xtreams__NullWriteStream.$(O) Xtreams__NullWriteStream.$(H): Xtreams__NullWriteStream.st $(INCLUDE_TOP)\stx\goodies\xtreams\core\Xtreams__WriteStream.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR)
$(OUTDIR)Xtreams__SequenceableCollectionReadStream.$(O) Xtreams__SequenceableCollectionReadStream.$(H): Xtreams__SequenceableCollectionReadStream.st $(INCLUDE_TOP)\stx\goodies\xtreams\core\Xtreams__ReadStream.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR)
$(OUTDIR)Xtreams__SequenceableCollectionWriteStream.$(O) Xtreams__SequenceableCollectionWriteStream.$(H): Xtreams__SequenceableCollectionWriteStream.st $(INCLUDE_TOP)\stx\goodies\xtreams\support\XtreamsPool.$(H) $(INCLUDE_TOP)\stx\goodies\xtreams\core\Xtreams__WriteStream.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR)
$(OUTDIR)Xtreams__SharedQueueReadStream.$(O) Xtreams__SharedQueueReadStream.$(H): Xtreams__SharedQueueReadStream.st $(INCLUDE_TOP)\stx\goodies\xtreams\core\Xtreams__ReadStream.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR)
$(OUTDIR)Xtreams__SharedQueueWriteStream.$(O) Xtreams__SharedQueueWriteStream.$(H): Xtreams__SharedQueueWriteStream.st $(INCLUDE_TOP)\stx\goodies\xtreams\core\Xtreams__WriteStream.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR)
$(OUTDIR)stx_goodies_xtreams_terminals.$(O) stx_goodies_xtreams_terminals.$(H): stx_goodies_xtreams_terminals.st $(INCLUDE_TOP)\stx\libbasic\LibraryDefinition.$(H) $(INCLUDE_TOP)\stx\libbasic\ProjectDefinition.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR)
$(OUTDIR)Xtreams__FileReadStream.$(O) Xtreams__FileReadStream.$(H): Xtreams__FileReadStream.st $(INCLUDE_TOP)\stx\goodies\xtreams\terminals\Xtreams__ExternalReadStream.$(H) $(INCLUDE_TOP)\stx\goodies\xtreams\core\Xtreams__ReadStream.$(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\Collection.$(H) $(INCLUDE_TOP)\stx\libbasic\Filename.$(H) $(INCLUDE_TOP)\stx\libbasic2\Random.$(H) $(INCLUDE_TOP)\stx\libbasic\Stream.$(H) $(INCLUDE_TOP)\stx\libbasic\SequenceableCollection.$(H) $(INCLUDE_TOP)\stx\libbasic2\SharedQueue.$(H) $(INCLUDE_TOP)\stx\libbasic2\Queue.$(H) $(INCLUDE_TOP)\stx\libbasic2\Socket.$(H) $(INCLUDE_TOP)\stx\libbasic\NonPositionableExternalStream.$(H) $(INCLUDE_TOP)\stx\libbasic\ExternalStream.$(H) $(INCLUDE_TOP)\stx\libbasic\ReadWriteStream.$(H) $(INCLUDE_TOP)\stx\libbasic\WriteStream.$(H) $(INCLUDE_TOP)\stx\libbasic\PositionableStream.$(H) $(INCLUDE_TOP)\stx\libbasic\PeekableStream.$(H) $(INCLUDE_TOP)\stx\libbasic\UndefinedObject.$(H) $(INCLUDE_TOP)\stx\goodies\xtreams\core\Xtreams__Buffer.$(H) $(INCLUDE_TOP)\stx\goodies\xtreams\core\Xtreams__WriteStream.$(H) $(INCLUDE_TOP)\stx\libbasic\PipeStream.$(H) $(INCLUDE_TOP)\stx\libwidg\TextCollector.$(H) $(INCLUDE_TOP)\stx\libwidg\EditTextView.$(H) $(INCLUDE_TOP)\stx\libwidg\TextView.$(H) $(INCLUDE_TOP)\stx\libwidg\ListView.$(H) $(INCLUDE_TOP)\stx\libview\View.$(H) $(INCLUDE_TOP)\stx\libview\SimpleView.$(H) $(INCLUDE_TOP)\stx\libview\DisplaySurface.$(H) $(INCLUDE_TOP)\stx\libview\GraphicsMedium.$(H) $(INCLUDE_TOP)\stx\libview\DeviceGraphicsContext.$(H) $(INCLUDE_TOP)\stx\libview\GraphicsContext.$(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_terminals.$(O): $(HGROOT)\.hg\dirstate
!ENDIF