# $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)

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

TOPSTRUCT =  Main


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

TOPCOM =  dosfopTranslator


NODENAME = dosfop


# 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 = mylib config parsingAndScanning context sourcetab trans read \
	   doku_postscript 

OPAL_LIBS := $(OC_SHARED) $(OPAL_BASE)

# Options for genmake. See genmake(1).

GENOPTIONS =  -v1


# Subsystems for genmake.

GENSUBSYS= -s read \
           -s trans \
           -s sourcetab \
           -s context \
           -s parsingAndScanning/parseConfig \
           -s parsingAndScanning/scanConfig \
           -s parsingAndScanning/scanOpal \
           -s parsingAndScanning/basics \
           -s config \
           -s mylib \
                  $(GENSTDSYS)



# 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



# 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 = src/dosfop/tools/dosfop


# 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.owninstall

## Installieren geht hier etwas anders
_install: $(TOPCOM)
	@if [ -z "$(INSTALLBINPATH)" ] ; then \
	    echo "You must define INSTALLBINPATH"; exit 1;  \
	 else \
	    echo "Installing $(TOPCOM) in $(INSTALLBINPATH)/../dosfop/bin"; \
	    $(OCSOM)/etc/xinstall $(INSTALLBINFLAGS) \
			$(TOPCOM) $(INSTALLBINPATH)/../dosfop/bin; \
	 fi
