###########################################################################
# File Name    : syn_Makefile
# Date Created : 12/01/99
# Author       : Gregg D. Lahti
# Project      : TOPS Example Code for SNUG
###########################################################################
# $Id$
###########################################################################
# Description:
#
# The main Makefile slurps the make.rules file in when gmake is called.  
# The make.rules uses $(DB) to expand into a ./dbs/ variable which is 
# pre-appended to the target being compiled.  The ./dbs/[file].db is used as 
# a "timestamp" of the VHDL file being compiled (as well as the final object).
#
# User edits:
#
# Each Makefile should have a main target called "all.local" which
# the syn_make.rules file uses as it's target.  Set the RECURSEDIRS variable to
# a list of sub-directories that make should traverse first as a dependency. 
#
###############################################################################
# INCLUDE YOUR RECURSEDIRS LIST HERE!
###############################################################################

# RECURSEDIRS: Is a variable that invokes Sub-unit Makefiles for lower-level units.
#
# - Directories are referenced from current directory.
# - This is how to compile lower-level units that this unit depends on
# - Leave empty if no subdirs.
#
# example: RECURSEDIRS = ../../foo/syn ../../bar/syn 
#
RECURSEDIRS = 

###############################################################################
# Include the Synthesis Make Rules (How to build)
# Note: This needs to be defined *after* the RECURSEDIRS variable (gmake weirdness)
#
include $(PROJ_SYN)/syn_make.rules
###############################################################################
# Include your dependencies here!
###############################################################################

# SUBFUB_unit_name: is a special variable that passes the Unit's Sub-functional
#                   units or modules to the synthesis scripts. 
# - These modules may be vhdl, verilog or db format.
# - The path to the subfubs modules MUST be included.
# - Implements top-down synthesis flow, these modules will be compiled under the Unit
#
# Example:  SUBFUB_foo_unit := ../src/bar.vhd ../src/bletch.v ./dbs/comps_kg.db
#
# Create the Unit or top-level make dependencies
# Example: $(DB)foo_unit.db : $(SUBFUB_foo_unit) $(SRC)foo_unit.vhd
#
# Use the mkdepend script to help generate unit dependencies. Paste or
#                   replace mkdepend results below. 
SUBFUB_replace_unit_name := 

$(DB)replace_unit_name.db : $(SUBFUB_replace_unit_name) $(SRC)replace_unit_name.v

# Required target
all.local: $(DB)replace_unit_name.db

###############################################################################
# $Log$
###############################################################################



