# $Id: $
# Generated Makefile Template
# SOC_PATH must be defined to point to top soc dir i.e <yourpath>/soc/trunk
# Fill in the Template as appropriate 
# Replace < > with appropriate info

# This Makefile will call all subdir makefiles defined subdirs.mk
# This Makefile will compile those files defined in filelist.mk

############################
#Error Checking
############################
ifndef SOC_PATH
  $(error SOC_PATH environment variable must be set to the root of your working directory.)
endif

include $(SOC_PATH)/all_paths.mk

############################
# "make prepview" generates all items below this line.
############################

#target dir=${SOC_PATH}
include ${SOC_PATH}/paths.mk
#target path=/sw
-include $(SOC_PATH)/sw/paths.mk
#target path=/sw/os
-include $(SOC_PATH)/sw/os/paths.mk
#target path=/sw/os/linux
-include $(SOC_PATH)/sw/os/linux/paths.mk
#target path=sw/os/linux/v7/
-include ./paths.mk


# list of defines to include
-include $(SOC_PATH)/defs.mk
#target path=/sw
-include $(SOC_PATH)/sw/defs.mk
#target path=/sw/os
-include $(SOC_PATH)/sw/os/defs.mk
#target path=/sw/os/linux
-include $(SOC_PATH)/sw/os/linux/defs.mk
#target path=sw/os/linux/v7/
-include ./defs.mk


# include local subdirs if exist
-include ./subdirs.mk


# include local filelist if exist
-include ./filelist.mk


# list of rules to include
include $(SOC_PATH)/rules.mk
#target path=/sw
-include $(SOC_PATH)/sw/rules.mk
#target path=/sw/os
-include $(SOC_PATH)/sw/os/rules.mk
#target path=/sw/os/linux
-include $(SOC_PATH)/sw/os/linux/rules.mk
#target path=sw/os/linux/v7/
-include ./rules.mk
