#
#  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
override PKGDIR = ti/platform/custom66x
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:/CCStudio_4.2.3/xdctools_3_20_08_88/packages/xdc/package.xs:
package.mak: C:/CCStudio_4.2.3/xdctools_3_20_08_88/packages/xdc/package.xs
C:/CCStudio_4.2.3/xdctools_3_20_08_88/packages/xdc/bld/PackageContents.xs:
package.mak: C:/CCStudio_4.2.3/xdctools_3_20_08_88/packages/xdc/bld/PackageContents.xs
C:/CCStudio_4.2.3/xdctools_3_20_08_88/packages/xdc/om2.xs:
package.mak: C:/CCStudio_4.2.3/xdctools_3_20_08_88/packages/xdc/om2.xs
C:/CCStudio_4.2.3/xdctools_3_20_08_88/packages/xdc/xmlgen.xs:
package.mak: C:/CCStudio_4.2.3/xdctools_3_20_08_88/packages/xdc/xmlgen.xs
C:/CCStudio_4.2.3/xdctools_3_20_08_88/packages/xdc/bld/Manifest.xs:
package.mak: C:/CCStudio_4.2.3/xdctools_3_20_08_88/packages/xdc/bld/Manifest.xs
C:/CCStudio_4.2.3/xdctools_3_20_08_88/packages/xdc/bld/bld.js:
package.mak: C:/CCStudio_4.2.3/xdctools_3_20_08_88/packages/xdc/bld/bld.js
package.mak: package.bld
C:/CCStudio_4.2.3/xdctools_3_20_08_88/packages/xdc/services/global/Clock.xs:
package.mak: C:/CCStudio_4.2.3/xdctools_3_20_08_88/packages/xdc/services/global/Clock.xs
C:/CCStudio_4.2.3/xdctools_3_20_08_88/packages/xdc/bld/package.xs:
package.mak: C:/CCStudio_4.2.3/xdctools_3_20_08_88/packages/xdc/bld/package.xs
C:/CCStudio_4.2.3/xdctools_3_20_08_88/packages/xdc/template.xs:
package.mak: C:/CCStudio_4.2.3/xdctools_3_20_08_88/packages/xdc/template.xs
C:/CCStudio_4.2.3/xdctools_3_20_08_88/include/utils.tci:
package.mak: C:/CCStudio_4.2.3/xdctools_3_20_08_88/include/utils.tci
C:/CCStudio_4.2.3/xdctools_3_20_08_88/packages/xdc/services/global/Trace.xs:
package.mak: C:/CCStudio_4.2.3/xdctools_3_20_08_88/packages/xdc/services/global/Trace.xs
C:/CCStudio_4.2.3/xdctools_3_20_08_88/packages/xdc/bld/Library.xs:
package.mak: C:/CCStudio_4.2.3/xdctools_3_20_08_88/packages/xdc/bld/Library.xs
C:/CCStudio_4.2.3/xdctools_3_20_08_88/packages/xdc/bld/ITargetFilter.xs:
package.mak: C:/CCStudio_4.2.3/xdctools_3_20_08_88/packages/xdc/bld/ITargetFilter.xs
C:/CCStudio_4.2.3/xdctools_3_20_08_88/packages/xdc/bld/_gen.xs:
package.mak: C:/CCStudio_4.2.3/xdctools_3_20_08_88/packages/xdc/bld/_gen.xs
C:/CCStudio_4.2.3/xdctools_3_20_08_88/packages/xdc/IPackage.xs:
package.mak: C:/CCStudio_4.2.3/xdctools_3_20_08_88/packages/xdc/IPackage.xs
C:/CCStudio_4.2.3/xdctools_3_20_08_88/packages/xdc/bld/BuildEnvironment.xs:
package.mak: C:/CCStudio_4.2.3/xdctools_3_20_08_88/packages/xdc/bld/BuildEnvironment.xs
C:/CCStudio_4.2.3/xdctools_3_20_08_88/packages/xdc/bld/Repository.xs:
package.mak: C:/CCStudio_4.2.3/xdctools_3_20_08_88/packages/xdc/bld/Repository.xs
C:/CCStudio_4.2.3/xdctools_3_20_08_88/packages/xdc/bld/Utils.xs:
package.mak: C:/CCStudio_4.2.3/xdctools_3_20_08_88/packages/xdc/bld/Utils.xs
C:/CCStudio_4.2.3/xdctools_3_20_08_88/packages/xdc/bld/ITarget.xs:
package.mak: C:/CCStudio_4.2.3/xdctools_3_20_08_88/packages/xdc/bld/ITarget.xs
C:/CCStudio_4.2.3/xdctools_3_20_08_88/packages/xdc/xdc.tci:
package.mak: C:/CCStudio_4.2.3/xdctools_3_20_08_88/packages/xdc/xdc.tci
C:/CCStudio_4.2.3/xdctools_3_20_08_88/packages/xdc/bld/Executable.xs:
package.mak: C:/CCStudio_4.2.3/xdctools_3_20_08_88/packages/xdc/bld/Executable.xs
C:/CCStudio_4.2.3/xdctools_3_20_08_88/packages/xdc/bld/Script.xs:
package.mak: C:/CCStudio_4.2.3/xdctools_3_20_08_88/packages/xdc/bld/Script.xs
package.mak: config.bld
C:/CCStudio_4.2.3/xdctools_3_20_08_88/packages/xdc/xmlgen2.xs:
package.mak: C:/CCStudio_4.2.3/xdctools_3_20_08_88/packages/xdc/xmlgen2.xs
endif


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/%_ti.platform.custom66x.c package/%.defs.h: %.xdc $(PKGCFGS)
	@$(MSG) generating interfaces for package ti.platform.custom66x" (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

ifneq (clean,$(MAKECMDGOALS))
-include package/package.cfg.dep
endif

package/package.ext.xml: package/package.cfg.xdc.inc
package/package.cfg.xdc.inc: $(XDCROOT)/packages/xdc/cfg/cfginc.js package.xdc
	@$(MSG) generating schema include file list ...
	$(CONFIG) -f $(XDCROOT)/packages/xdc/cfg/cfginc.js ti.platform.custom66x $@

test:;
%,copy:
	@$(if $<,,$(MSG) don\'t know how to build $*; exit 1)
	@$(MSG) cp $< $@
	$(RM) $@
	$(CP) $< $@

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

.PHONY: release,ti_platform_custom66x
ti_platform_custom66x.zip: package/build.cfg
ti_platform_custom66x.zip: package/package.cfg.xdc.inc
ti_platform_custom66x.zip: package/package.ext.xml
ti_platform_custom66x.zip: package/package.xdc.inc
ti_platform_custom66x.zip: package/package.bld.xml
ti_platform_custom66x.zip: package/package.rel.dot
ifneq (clean,$(MAKECMDGOALS))
-include package/rel/ti_platform_custom66x.zip.dep
endif
package/rel/ti_platform_custom66x/ti/platform/custom66x/package/package.rel.xml:

ti_platform_custom66x.zip: package/rel/ti_platform_custom66x.xdc.inc package/rel/ti_platform_custom66x/ti/platform/custom66x/package/package.rel.xml
	@$(MSG) making release file $@ "(because of $(firstword $?))" ...
	-$(RM) $@
	$(call MKRELZIP,package/rel/ti_platform_custom66x.xdc.inc,package/rel/ti_platform_custom66x.zip.dep)


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

clean:: .clean
	-$(RM) .libraries .libraries,*
clean:: 
	-$(RM) .dlls .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/external))
    $(shell $(MKDIR) package/external)
endif
ifeq (,$(wildcard package/lib))
    $(shell $(MKDIR) package/lib)
endif
ifeq (,$(wildcard package/rel))
    $(shell $(MKDIR) package/rel)
endif
ifeq (,$(wildcard package/cfg))
    $(shell $(MKDIR) package/cfg)
endif
ifeq (,$(wildcard package/internal))
    $(shell $(MKDIR) package/internal)
endif
endif
clean::
	-$(RMDIR) package


