# Makefile for 'oc2'
#
# $Id: Makefile 617 2010-09-30 16:28:53Z florenz@TU-BERLIN.DE $

#---------------------------------------------------------------------
#		locations and general macros
# --------------------------------------------------------------------


# The base directory of the project's source repository area.
#   NOTE this is not (necessary) the same as the value of the OCS
#   environment variable

BASE = /home/korso/opal/ocs

# Inclusion of project wide definitions

include $(BASE)/etc/shape/Makedefs

# Path to this node system relative to the root of the source
# repository defined above (e.g. src/oc/oc2/optim).

NODEPATH = src/oc/oc2/driver

# Name of the system 
#  This should be the directory name for OCS subsystems
#  and the top-level command name for OCS topsystems

NODENAME = oc2

# Parameter for genmake. See genmake(1).

GENOPTIONS = -V -v1

GENSUBSYS  = -s ../gen -s ../trans -s ../optim \
		-s ../../shared/base -s ../../shared/admin \
		-s ../../shared/extlib \
	    $(GENSTDSYS)

GENSTRUCTS = Driver



# Inclusion of system local definitions generated by genmake

include $(OCSDIR)/Makedefs


# --------------------------------------------------------------------
#		the system's components
# --------------------------------------------------------------------

# The main target. Add any additional targets like shell 
#   scripts, documents, ...

TARGET = $(TOPCOM)			

# The release number generator. The version number of this file will
# be used as release identifier for the whole system. 

VERSIONOBJECT =				# derived (if source contains 
					# program code)

# The names of the subdirectories containing subsystems which are also
# to be built. NOTE that this are rms subsystems (direct subdirectorys
# in a tree-like hierarchy) and not the OCS subsystems which are
# specified by the GENSUBSYS parameter

SUBSYSTEMS = 

# Aliases for (filesystem links to) $(TARGET).

ALIASES = 

# The regular source and header files. Add any additional sources like
#   scripts, documentation, ...

SOURCES = $(IMPLS)			# for OCS systems

HEADERS = $(SIGNS)		


# The manuals

MANUALS = $(MAN1) $(MAN3) $(MAN4) $(MAN5) $(MAN6) $(MAN7) $(MAN8)
MAN1 = 
MAN3 = 
MAN4 = 
MAN5 = 
MAN6 = 
MAN7 = 
MAN8 = 

# All source components of the system. Do not change. 

COMPONENTS = $(SOURCES) $(HEADERS) $(MANUALS) \
	     Shapefile Makefile 	


# The derived files. All files, that are autamatically produced during
# a build process should be listed here. 
#   Add the derived files of your additional targets and sources

#OBJECTS = $(EXPS) $(ANAS) $(OPTS) $(CS) $(OS) 	# for OCS subsystems

OBJECTS = $(EXPS) $(ANAS) $(OPTS) $(CS) $(OS) \
          $(OCSDIR)/_$(TOPSTRUCT)_$(TOPCOM).o	# for OCS topsystems



# --------------------------------------------------------------------
#			the targets
# --------------------------------------------------------------------


# The default action (do not change)

all: +all $(ALLTARGETS)


# The final system building action.

targets: $(TARGET)


# Inclusion of targets depending an system type

include $(BASE)/etc/shape/Makerules.top
