# $Id: SysDefs 615 2010-09-30 15:49:42Z florenz@TU-BERLIN.DE $


# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# Fundamental system definitions (please fill out)

# Name of the system 
#  This should be the name of the top-level command (but must not)

NODENAME = $(TOPCOM)


# The names of the subdirectories of this node 
# also to be built. NOTE that these are not the OCS subsystems 
# but rather reflect the hierarchy of the repository tree. 

SUBNODES = LIBADD AOW IOHELP 
#SUBNODES = 


# Options for genmake. See genmake(1).

GENOPTIONS = -V -v1

OPAL_LIBS =  $(OPAL_WIN) $(OC_SHARED) $(OPAL_BASE)

# Subsystems for genmake.

GENSUBSYS  = -s ./IOHELP \
	     -s ./AOW \
	     -s ./LIBADD \
	     $(GENSTDSYS)

# GENSUBSYS  = $(GENSTDSYS)


# Name of the top-level structure of this system.

TOPSTRUCT = TIVI


# Name of the top-level command of this system.

TOPCOM = tivi2

IMAGES = tivi.gif tivi.xbm

# Sources of the system included into a release.
#  The variables SIGNS IMPLS EXTPS INTPS are automatically defined
#  according to the import relation of TOPSTRUCT.

SOURCES = $(SIGNS) $(IMPLS) $(EXTPS) $(INTPS) SysDefs $(IMAGES)



# Manuals attached to this system

MANUALS = 

# All components of this system. Add here auxiliary
# files which shall not be included into a release.

COMPONENTS = $(SOURCES) $(MANUALS)


# Include this statement to deactivate the derived object cache. 
#.BPOOL:


# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# Release management definitions (fill out if required)

# The file which carries the `lastrelease' and `inrelease' attributes.
#   If this variable is defined, the project tree starting at this
#   node is considered to be a subrelease.

VERSIONFILE =

# Additional files which shall get the attributes
# (can be located in other systems)

AUXVERSIONFILES =


# Path to this node relative to the root of the release tree

RELEASENODEPATH =


# Path to the boot area for this node relative to the release tree

RELEASEBOOTPATH = 

# Sources which shall be included into the boot area of a release

BOOTSOURCES =



# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# Include generic rules (do not change)

include $(OMLIBPATH)/GlobalRules.top

_install:
	@if [ -z "$(INSTALLBINPATH)" ] ; then \
	    echo "You must define INSTALLBINPATH"; exit 1;  \
	 else \
	    echo "Installing $(TOPCOM) in $(INSTALLBINPATH)"; \
	    $(OCSOM)/etc/xinstall $(INSTALLBINFLAGS) \
			$(TOPCOM) $(INSTALLBINPATH); \
	    $(OCSOM)/etc/xinstall $(INSTALLDOCFLAGS) \
			$(IMAGES) $(INSTALLLIBPATH)/images; \
	 fi

