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


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

# Name of the system 

NODENAME = shape


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

SUBNODES  = 


# Sources of the system

SHAPEFILES = GlobalRules BindRules \
	  GlobalRules.top GlobalRules.sub GlobalRules.subhc \
	  Shapefile.release \
	  Shapefile.develop \
	  GlobalRules.minimal \
	  GlobalRules.top.owninstall GlobalRules.sub.owninstall

SOURCES = $(SHAPEFILES) SysDefs


# Manuals attached to this system

MANUALS = 


# Components of this system under version control

COMPONENTS = $(SOURCES) $(MANUALS) SysDefs


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


# The default target

_default: all


# The action on this node associated with 'all'

_all:


# The action on this node associated with 'clean'

_clean:
_cleanobj:


# The action associated with 'install' (_installmanuals is generic)

_install: _installmanuals _installshapefiles 

_installshapefiles: $(SHAPEFILES)
	@if [ -z "$(INSTALLLIBPATH)" ] ; then \
	    echo "You must define INSTALLLIBPATH"; exit 1;  \
	 else \
	    echo "Installing shape files in $(INSTALLLIBPATH)/om/shape"; \
	    $(OCSOM)/etc/xinstall $(INSTALLLIBFLAGS) \
	    		$(SHAPEFILES) $(INSTALLLIBPATH)/om/shape; \
	 fi



# A definitions and rules file which shall be build and afterwards recursivly 
# included with each run of shape. If LOCALDEFS is defined, you must 
# also give a rule how to create it.

LOCALDEFS =

#include $(LOCALDEFS)
#$(LOCALDEFS):


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

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

RELEASENODEPATH = src/om/shape

# Derived objects which shall be included into the release

RELEASEOBJECTS =



# 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 =

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

BOOTOBJECTS =


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


# The action to derive the release objects

_releaseobjects:

# The action to derive the boot objects

_bootobjects:


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

include $(ORSLIBPATH)/GlobalRules

