#
#  Do not edit this file.  This file is generated from 
#  package.bld.  Any modifications to this file will be 
#  overwritten whenever makefiles are re-generated.
#

unexport MAKEFILE_LIST
MK_NOGENDEPS := $(filter clean,$(MAKECMDGOALS))
override PKGDIR = xconfig_EVM_C6674_configuration
XDCINCS = -I. -I$(strip $(subst ;, -I,$(subst $(space),\$(space),$(XPKGPATH))))
XDCCFGDIR = package/cfg/

#
# The following dependencies ensure package.mak is rebuilt
# in the event that some included BOM script changes.
#
ifneq (clean,$(MAKECMDGOALS))
C:/ti/xdctools_3_32_01_22_core/packages/xdc/utils.js:
package.mak: C:/ti/xdctools_3_32_01_22_core/packages/xdc/utils.js
C:/ti/xdctools_3_32_01_22_core/packages/xdc/xdc.tci:
package.mak: C:/ti/xdctools_3_32_01_22_core/packages/xdc/xdc.tci
C:/ti/xdctools_3_32_01_22_core/packages/xdc/template.xs:
package.mak: C:/ti/xdctools_3_32_01_22_core/packages/xdc/template.xs
C:/ti/xdctools_3_32_01_22_core/packages/xdc/om2.xs:
package.mak: C:/ti/xdctools_3_32_01_22_core/packages/xdc/om2.xs
C:/ti/xdctools_3_32_01_22_core/packages/xdc/xmlgen.xs:
package.mak: C:/ti/xdctools_3_32_01_22_core/packages/xdc/xmlgen.xs
C:/ti/xdctools_3_32_01_22_core/packages/xdc/xmlgen2.xs:
package.mak: C:/ti/xdctools_3_32_01_22_core/packages/xdc/xmlgen2.xs
C:/ti/xdctools_3_32_01_22_core/packages/xdc/Warnings.xs:
package.mak: C:/ti/xdctools_3_32_01_22_core/packages/xdc/Warnings.xs
C:/ti/xdctools_3_32_01_22_core/packages/xdc/IPackage.xs:
package.mak: C:/ti/xdctools_3_32_01_22_core/packages/xdc/IPackage.xs
C:/ti/xdctools_3_32_01_22_core/packages/xdc/package.xs:
package.mak: C:/ti/xdctools_3_32_01_22_core/packages/xdc/package.xs
C:/ti/xdctools_3_32_01_22_core/packages/xdc/services/global/Clock.xs:
package.mak: C:/ti/xdctools_3_32_01_22_core/packages/xdc/services/global/Clock.xs
C:/ti/xdctools_3_32_01_22_core/packages/xdc/services/global/Trace.xs:
package.mak: C:/ti/xdctools_3_32_01_22_core/packages/xdc/services/global/Trace.xs
C:/ti/xdctools_3_32_01_22_core/packages/xdc/bld/bld.js:
package.mak: C:/ti/xdctools_3_32_01_22_core/packages/xdc/bld/bld.js
C:/ti/xdctools_3_32_01_22_core/packages/xdc/bld/BuildEnvironment.xs:
package.mak: C:/ti/xdctools_3_32_01_22_core/packages/xdc/bld/BuildEnvironment.xs
C:/ti/xdctools_3_32_01_22_core/packages/xdc/bld/PackageContents.xs:
package.mak: C:/ti/xdctools_3_32_01_22_core/packages/xdc/bld/PackageContents.xs
C:/ti/xdctools_3_32_01_22_core/packages/xdc/bld/_gen.xs:
package.mak: C:/ti/xdctools_3_32_01_22_core/packages/xdc/bld/_gen.xs
C:/ti/xdctools_3_32_01_22_core/packages/xdc/bld/Library.xs:
package.mak: C:/ti/xdctools_3_32_01_22_core/packages/xdc/bld/Library.xs
C:/ti/xdctools_3_32_01_22_core/packages/xdc/bld/Executable.xs:
package.mak: C:/ti/xdctools_3_32_01_22_core/packages/xdc/bld/Executable.xs
C:/ti/xdctools_3_32_01_22_core/packages/xdc/bld/Repository.xs:
package.mak: C:/ti/xdctools_3_32_01_22_core/packages/xdc/bld/Repository.xs
C:/ti/xdctools_3_32_01_22_core/packages/xdc/bld/Configuration.xs:
package.mak: C:/ti/xdctools_3_32_01_22_core/packages/xdc/bld/Configuration.xs
C:/ti/xdctools_3_32_01_22_core/packages/xdc/bld/Script.xs:
package.mak: C:/ti/xdctools_3_32_01_22_core/packages/xdc/bld/Script.xs
C:/ti/xdctools_3_32_01_22_core/packages/xdc/bld/Manifest.xs:
package.mak: C:/ti/xdctools_3_32_01_22_core/packages/xdc/bld/Manifest.xs
C:/ti/xdctools_3_32_01_22_core/packages/xdc/bld/Utils.xs:
package.mak: C:/ti/xdctools_3_32_01_22_core/packages/xdc/bld/Utils.xs
C:/ti/xdctools_3_32_01_22_core/packages/xdc/bld/ITarget.xs:
package.mak: C:/ti/xdctools_3_32_01_22_core/packages/xdc/bld/ITarget.xs
C:/ti/xdctools_3_32_01_22_core/packages/xdc/bld/ITarget2.xs:
package.mak: C:/ti/xdctools_3_32_01_22_core/packages/xdc/bld/ITarget2.xs
C:/ti/xdctools_3_32_01_22_core/packages/xdc/bld/ITarget3.xs:
package.mak: C:/ti/xdctools_3_32_01_22_core/packages/xdc/bld/ITarget3.xs
C:/ti/xdctools_3_32_01_22_core/packages/xdc/bld/ITargetFilter.xs:
package.mak: C:/ti/xdctools_3_32_01_22_core/packages/xdc/bld/ITargetFilter.xs
C:/ti/xdctools_3_32_01_22_core/packages/xdc/bld/package.xs:
package.mak: C:/ti/xdctools_3_32_01_22_core/packages/xdc/bld/package.xs
package.mak: config.bld
C:/git/phoenix_hello/C6674_EvmPlat/RTSC_Platform/EVM_C6678/config.bld:
package.mak: C:/git/phoenix_hello/C6674_EvmPlat/RTSC_Platform/EVM_C6678/config.bld
C:/ti/bios_6_46_04_53/packages/ti/targets/ITarget.xs:
package.mak: C:/ti/bios_6_46_04_53/packages/ti/targets/ITarget.xs
C:/ti/bios_6_46_04_53/packages/ti/targets/C28_large.xs:
package.mak: C:/ti/bios_6_46_04_53/packages/ti/targets/C28_large.xs
C:/ti/bios_6_46_04_53/packages/ti/targets/C28_float.xs:
package.mak: C:/ti/bios_6_46_04_53/packages/ti/targets/C28_float.xs
C:/ti/bios_6_46_04_53/packages/ti/targets/package.xs:
package.mak: C:/ti/bios_6_46_04_53/packages/ti/targets/package.xs
C:/ti/bios_6_46_04_53/packages/ti/targets/elf/ITarget.xs:
package.mak: C:/ti/bios_6_46_04_53/packages/ti/targets/elf/ITarget.xs
C:/ti/bios_6_46_04_53/packages/ti/targets/elf/package.xs:
package.mak: C:/ti/bios_6_46_04_53/packages/ti/targets/elf/package.xs
package.mak: package.bld
C:/ti/xdctools_3_32_01_22_core/packages/xdc/tools/configuro/template/compiler.opt.xdt:
package.mak: C:/ti/xdctools_3_32_01_22_core/packages/xdc/tools/configuro/template/compiler.opt.xdt
C:/ti/xdctools_3_32_01_22_core/packages/xdc/services/io/File.xs:
package.mak: C:/ti/xdctools_3_32_01_22_core/packages/xdc/services/io/File.xs
C:/ti/xdctools_3_32_01_22_core/packages/xdc/services/io/package.xs:
package.mak: C:/ti/xdctools_3_32_01_22_core/packages/xdc/services/io/package.xs
C:/ti/xdctools_3_32_01_22_core/packages/xdc/tools/configuro/template/compiler.defs.xdt:
package.mak: C:/ti/xdctools_3_32_01_22_core/packages/xdc/tools/configuro/template/compiler.defs.xdt
C:/ti/xdctools_3_32_01_22_core/packages/xdc/tools/configuro/template/custom.mak.exe.xdt:
package.mak: C:/ti/xdctools_3_32_01_22_core/packages/xdc/tools/configuro/template/custom.mak.exe.xdt
C:/ti/xdctools_3_32_01_22_core/packages/xdc/tools/configuro/template/package.xs.xdt:
package.mak: C:/ti/xdctools_3_32_01_22_core/packages/xdc/tools/configuro/template/package.xs.xdt
endif

ti.targets.elf.C66.rootDir ?= C:/ti/c6000_7.4.21
ti.targets.elf.packageBase ?= C:/ti/bios_6_46_04_53/packages/ti/targets/elf/
.PRECIOUS: $(XDCCFGDIR)/%.oe66
.PHONY: all,e66 .dlls,e66 .executables,e66 test,e66
all,e66: .executables,e66
.executables,e66: .libraries,e66
.executables,e66: .dlls,e66
.dlls,e66: .libraries,e66
.libraries,e66: .interfaces
	@$(RM) $@
	@$(TOUCH) "$@"

.help::
	@$(ECHO) xdc test,e66
	@$(ECHO) xdc .executables,e66
	@$(ECHO) xdc .libraries,e66
	@$(ECHO) xdc .dlls,e66


all: .executables 
.executables: .libraries .dlls
.libraries: .interfaces

PKGCFGS := $(wildcard package.xs) package/build.cfg
.interfaces: package/package.xdc.inc package/package.defs.h package.xdc $(PKGCFGS)

-include package/package.xdc.dep
package/%.xdc.inc package/%_xconfig_EVM_C6674_configuration.c package/%.defs.h: %.xdc $(PKGCFGS)
	@$(MSG) generating interfaces for package xconfig_EVM_C6674_configuration" (because $@ is older than $(firstword $?))" ...
	$(XSRUN) -f xdc/services/intern/cmd/build.xs $(MK_IDLOPTS) -m package/package.xdc.dep -i package/package.xdc.inc package.xdc

.dlls,e66 .dlls: EVM_C6674_configuration.pe66

-include package/cfg/EVM_C6674_configuration_pe66.mak
-include package/cfg/EVM_C6674_configuration_pe66.cfg.mak
ifeq (,$(MK_NOGENDEPS))
-include package/cfg/EVM_C6674_configuration_pe66.dep
endif
EVM_C6674_configuration.pe66: package/cfg/EVM_C6674_configuration_pe66.xdl
	@


ifeq (,$(wildcard .libraries,e66))
EVM_C6674_configuration.pe66 package/cfg/EVM_C6674_configuration_pe66.c: .libraries,e66
endif

package/cfg/EVM_C6674_configuration_pe66.c package/cfg/EVM_C6674_configuration_pe66.h package/cfg/EVM_C6674_configuration_pe66.xdl: override _PROG_NAME := EVM_C6674_configuration.xe66
package/cfg/EVM_C6674_configuration_pe66.c: package/cfg/EVM_C6674_configuration_pe66.cfg
package/cfg/EVM_C6674_configuration_pe66.xdc.inc: package/cfg/EVM_C6674_configuration_pe66.xdl
package/cfg/EVM_C6674_configuration_pe66.xdl package/cfg/EVM_C6674_configuration_pe66.c: .interfaces

clean:: clean,e66
	-$(RM) package/cfg/EVM_C6674_configuration_pe66.cfg
	-$(RM) package/cfg/EVM_C6674_configuration_pe66.dep
	-$(RM) package/cfg/EVM_C6674_configuration_pe66.c
	-$(RM) package/cfg/EVM_C6674_configuration_pe66.xdc.inc

clean,e66::
	-$(RM) EVM_C6674_configuration.pe66
.executables,e66 .executables: EVM_C6674_configuration.xe66

EVM_C6674_configuration.xe66: |EVM_C6674_configuration.pe66

-include package/cfg/EVM_C6674_configuration.xe66.mak
EVM_C6674_configuration.xe66: package/cfg/EVM_C6674_configuration_pe66.oe66 
	$(RM) $@
	@$(MSG) lnke66 $@ ...
	$(RM) $(XDCCFGDIR)/$@.map
	$(ti.targets.elf.C66.rootDir)/bin/cl6x -fs $(XDCCFGDIR)$(dir $@). -q -u _c_int00 --abi=eabi -z  -o $@ package/cfg/EVM_C6674_configuration_pe66.oe66   package/cfg/EVM_C6674_configuration_pe66.xdl  -w -c -m $(XDCCFGDIR)/$@.map -l $(ti.targets.elf.C66.rootDir)/lib/libc.a
	
EVM_C6674_configuration.xe66: export C_DIR=
EVM_C6674_configuration.xe66: PATH:=$(ti.targets.elf.C66.rootDir)/bin/;$(PATH)
EVM_C6674_configuration.xe66: Path:=$(ti.targets.elf.C66.rootDir)/bin/;$(PATH)

EVM_C6674_configuration.test test,e66 test: EVM_C6674_configuration.xe66.test

EVM_C6674_configuration.xe66.test:: EVM_C6674_configuration.xe66
ifeq (,$(_TESTLEVEL))
	@$(MAKE) -R -r --no-print-directory -f $(XDCROOT)/packages/xdc/bld/xdc.mak _TESTLEVEL=1 EVM_C6674_configuration.xe66.test
else
	@$(MSG) running $<  ...
	$(call EXEC.EVM_C6674_configuration.xe66, ) 
endif

clean,e66::
	-$(RM) $(wildcard .tmp,EVM_C6674_configuration.xe66,*)


clean:: clean,e66

clean,e66::
	-$(RM) EVM_C6674_configuration.xe66
%,copy:
	@$(if $<,,$(MSG) don\'t know how to build $*; exit 1)
	@$(MSG) cp $< $@
	$(RM) $@
	$(CP) $< $@
EVM_C6674_configuration_pe66.oe66,copy : package/cfg/EVM_C6674_configuration_pe66.oe66
EVM_C6674_configuration_pe66.se66,copy : package/cfg/EVM_C6674_configuration_pe66.se66

$(XDCCFGDIR)%.c $(XDCCFGDIR)%.h $(XDCCFGDIR)%.xdl: $(XDCCFGDIR)%.cfg $(XDCROOT)/packages/xdc/cfg/Main.xs | .interfaces
	@$(MSG) "configuring $(_PROG_NAME) from $< ..."
	$(CONFIG) $(_PROG_XSOPTS) xdc.cfg $(_PROG_NAME) $(XDCCFGDIR)$*.cfg $(XDCCFGDIR)$*

.PHONY: release,xconfig_EVM_C6674_configuration
ifeq (,$(MK_NOGENDEPS))
-include package/rel/xconfig_EVM_C6674_configuration.tar.dep
endif
package/rel/xconfig_EVM_C6674_configuration/xconfig_EVM_C6674_configuration/package/package.rel.xml: package/package.bld.xml
package/rel/xconfig_EVM_C6674_configuration/xconfig_EVM_C6674_configuration/package/package.rel.xml: package/build.cfg
package/rel/xconfig_EVM_C6674_configuration/xconfig_EVM_C6674_configuration/package/package.rel.xml: package/package.xdc.inc
package/rel/xconfig_EVM_C6674_configuration/xconfig_EVM_C6674_configuration/package/package.rel.xml: .force
	@$(MSG) generating external release references $@ ...
	$(XS) $(JSENV) -f $(XDCROOT)/packages/xdc/bld/rel.js $(MK_RELOPTS) . $@

xconfig_EVM_C6674_configuration.tar: package/rel/xconfig_EVM_C6674_configuration.xdc.inc package/rel/xconfig_EVM_C6674_configuration/xconfig_EVM_C6674_configuration/package/package.rel.xml
	@$(MSG) making release file $@ "(because of $(firstword $?))" ...
	-$(RM) $@
	$(call MKRELTAR,package/rel/xconfig_EVM_C6674_configuration.xdc.inc,package/rel/xconfig_EVM_C6674_configuration.tar.dep)


release release,xconfig_EVM_C6674_configuration: all xconfig_EVM_C6674_configuration.tar
clean:: .clean
	-$(RM) xconfig_EVM_C6674_configuration.tar
	-$(RM) package/rel/xconfig_EVM_C6674_configuration.xdc.inc
	-$(RM) package/rel/xconfig_EVM_C6674_configuration.tar.dep

clean:: .clean
	-$(RM) .libraries $(wildcard .libraries,*)
clean:: 
	-$(RM) .dlls $(wildcard .dlls,*)
#
# The following clean rule removes user specified
# generated files or directories.
#

ifneq (clean,$(MAKECMDGOALS))
ifeq (,$(wildcard package))
    $(shell $(MKDIR) package)
endif
ifeq (,$(wildcard package/cfg))
    $(shell $(MKDIR) package/cfg)
endif
ifeq (,$(wildcard package/lib))
    $(shell $(MKDIR) package/lib)
endif
ifeq (,$(wildcard package/rel))
    $(shell $(MKDIR) package/rel)
endif
ifeq (,$(wildcard package/internal))
    $(shell $(MKDIR) package/internal)
endif
endif
clean::
	-$(RMDIR) package

include custom.mak
