substreams/Make.proto
author Jan Vrany <jan.vrany@fit.cvut.cz>
Wed, 01 Feb 2012 00:41:14 +0000
changeset 99 677c81c943e4
parent 8 661e9a63b047
child 107 de5fa7bcc01a
permissions -rw-r--r--
build files regenerated

# $Header$
#
# DO NOT EDIT
# automagically generated from the projectDefinition: stx_goodies_xtreams_substreams at 2012-02-01 00:41:07.619.
#
# Warning: once you modify this file, do not rerun
# stmkmp or projectDefinition-build again - otherwise, your changes are lost.
#
# The Makefile as generated by this Make.proto supports the following targets:
#    make         - compile all st-files to a classLib
#    make clean   - clean all temp files
#    make clobber - clean all
#
# This file contains definitions for Unix based platforms.
# It shares common definitions with the win32-make in Make.spec.

#
# position (of this package) in directory hierarchy:
# (must point to ST/X top directory, for tools and includes)
TOP=../../..
INCLUDE_TOP=$(TOP)/..

# subdirectories where targets are to be made:
SUBDIRS=


# subdirectories where Makefiles are to be made:
# (only define if different from SUBDIRS)
# ALLSUBDIRS=

REQUIRED_SUPPORT_DIRS=

# if your embedded C code requires any system includes,
# add the path(es) here:,
# ********** OPTIONAL: MODIFY the next lines ***
# LOCALINCLUDES=-Ifoo -Ibar
LOCALINCLUDES= -I$(INCLUDE_TOP)/stx/goodies/xtreams/core -I$(INCLUDE_TOP)/stx/libbasic -I$(INCLUDE_TOP)/stx/goodies/xtreams/support


# if you need any additional defines for embedded C code,
# add them here:,
# ********** OPTIONAL: MODIFY the next lines ***
# LOCALDEFINES=-Dfoo -Dbar -DDEBUG
LOCALDEFINES=

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


# ********** OPTIONAL: MODIFY the next line ***
# additional C-libraries that should be pre-linked with the class-objects
LD_OBJ_LIBS=
LOCAL_SHARED_LIBS=


# ********** OPTIONAL: MODIFY the next line ***
# additional C targets or libraries should be added below
LOCAL_EXTRA_TARGETS=

OBJS= $(COMMON_OBJS) $(UNIX_OBJS)



all:: preMake classLibRule postMake

pre_objs::  update-svn-revision



update-svn-revision:
	if [ -d .svn ]; then \
		rev=$(shell svnversion -n); \
		if [ ! -r .svnversion -o "$$rev" != "$$(cat .svnversion)" ]; then \
			echo -n $$rev > .svnversion; \
			rev2=$$(printf "%15s" \'$$rev\'); \
			sed -i -e "s/\"\$$SVN\-Revision:\".*\"\$$\"/\"\$$SVN-Revision:\"$$rev2\"\$$\"/g" \
				stx_goodies_xtreams_substreams.st; \
		fi \
	fi
.PHONY: update-svn-revision




# add more install actions here
install::

# add more install actions for aux-files (resources) here
installAux::

# add more preMake actions here
preMake::

# add more postMake actions here
postMake:: cleanjunk

prereq: $(REQUIRED_SUPPORT_DIRS)
	cd ../../../libbasic && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
	cd ../../../libbasic2 && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
	cd ../core && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
	cd ../support && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
	cd ../../../librun && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)"



cleanjunk::
	-rm -f *.s *.s2

clean::
	-rm -f *.o *.H

clobber:: clean
	-rm -f *.so *.dll


# 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