#
#  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 = configPkg
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/ccs10/xdctools_3_61_02_27_core/packages/xdc/utils.js:
package.mak: C:/ti/ccs10/xdctools_3_61_02_27_core/packages/xdc/utils.js
C:/ti/ccs10/xdctools_3_61_02_27_core/packages/xdc/xdc.tci:
package.mak: C:/ti/ccs10/xdctools_3_61_02_27_core/packages/xdc/xdc.tci
C:/ti/ccs10/xdctools_3_61_02_27_core/packages/xdc/template.xs:
package.mak: C:/ti/ccs10/xdctools_3_61_02_27_core/packages/xdc/template.xs
C:/ti/ccs10/xdctools_3_61_02_27_core/packages/xdc/om2.xs:
package.mak: C:/ti/ccs10/xdctools_3_61_02_27_core/packages/xdc/om2.xs
C:/ti/ccs10/xdctools_3_61_02_27_core/packages/xdc/xmlgen.xs:
package.mak: C:/ti/ccs10/xdctools_3_61_02_27_core/packages/xdc/xmlgen.xs
C:/ti/ccs10/xdctools_3_61_02_27_core/packages/xdc/xmlgen2.xs:
package.mak: C:/ti/ccs10/xdctools_3_61_02_27_core/packages/xdc/xmlgen2.xs
C:/ti/ccs10/xdctools_3_61_02_27_core/packages/xdc/Warnings.xs:
package.mak: C:/ti/ccs10/xdctools_3_61_02_27_core/packages/xdc/Warnings.xs
C:/ti/ccs10/xdctools_3_61_02_27_core/packages/xdc/IPackage.xs:
package.mak: C:/ti/ccs10/xdctools_3_61_02_27_core/packages/xdc/IPackage.xs
C:/ti/ccs10/xdctools_3_61_02_27_core/packages/xdc/package.xs:
package.mak: C:/ti/ccs10/xdctools_3_61_02_27_core/packages/xdc/package.xs
C:/ti/ccs10/xdctools_3_61_02_27_core/packages/xdc/services/global/Clock.xs:
package.mak: C:/ti/ccs10/xdctools_3_61_02_27_core/packages/xdc/services/global/Clock.xs
C:/ti/ccs10/xdctools_3_61_02_27_core/packages/xdc/services/global/Trace.xs:
package.mak: C:/ti/ccs10/xdctools_3_61_02_27_core/packages/xdc/services/global/Trace.xs
C:/ti/ccs10/xdctools_3_61_02_27_core/packages/xdc/bld/bld.js:
package.mak: C:/ti/ccs10/xdctools_3_61_02_27_core/packages/xdc/bld/bld.js
C:/ti/ccs10/xdctools_3_61_02_27_core/packages/xdc/bld/BuildEnvironment.xs:
package.mak: C:/ti/ccs10/xdctools_3_61_02_27_core/packages/xdc/bld/BuildEnvironment.xs
C:/ti/ccs10/xdctools_3_61_02_27_core/packages/xdc/bld/PackageContents.xs:
package.mak: C:/ti/ccs10/xdctools_3_61_02_27_core/packages/xdc/bld/PackageContents.xs
C:/ti/ccs10/xdctools_3_61_02_27_core/packages/xdc/bld/_gen.xs:
package.mak: C:/ti/ccs10/xdctools_3_61_02_27_core/packages/xdc/bld/_gen.xs
C:/ti/ccs10/xdctools_3_61_02_27_core/packages/xdc/bld/Library.xs:
package.mak: C:/ti/ccs10/xdctools_3_61_02_27_core/packages/xdc/bld/Library.xs
C:/ti/ccs10/xdctools_3_61_02_27_core/packages/xdc/bld/Executable.xs:
package.mak: C:/ti/ccs10/xdctools_3_61_02_27_core/packages/xdc/bld/Executable.xs
C:/ti/ccs10/xdctools_3_61_02_27_core/packages/xdc/bld/Repository.xs:
package.mak: C:/ti/ccs10/xdctools_3_61_02_27_core/packages/xdc/bld/Repository.xs
C:/ti/ccs10/xdctools_3_61_02_27_core/packages/xdc/bld/Configuration.xs:
package.mak: C:/ti/ccs10/xdctools_3_61_02_27_core/packages/xdc/bld/Configuration.xs
C:/ti/ccs10/xdctools_3_61_02_27_core/packages/xdc/bld/Script.xs:
package.mak: C:/ti/ccs10/xdctools_3_61_02_27_core/packages/xdc/bld/Script.xs
C:/ti/ccs10/xdctools_3_61_02_27_core/packages/xdc/bld/Manifest.xs:
package.mak: C:/ti/ccs10/xdctools_3_61_02_27_core/packages/xdc/bld/Manifest.xs
C:/ti/ccs10/xdctools_3_61_02_27_core/packages/xdc/bld/Utils.xs:
package.mak: C:/ti/ccs10/xdctools_3_61_02_27_core/packages/xdc/bld/Utils.xs
C:/ti/ccs10/xdctools_3_61_02_27_core/packages/xdc/bld/ITarget.xs:
package.mak: C:/ti/ccs10/xdctools_3_61_02_27_core/packages/xdc/bld/ITarget.xs
C:/ti/ccs10/xdctools_3_61_02_27_core/packages/xdc/bld/ITarget2.xs:
package.mak: C:/ti/ccs10/xdctools_3_61_02_27_core/packages/xdc/bld/ITarget2.xs
C:/ti/ccs10/xdctools_3_61_02_27_core/packages/xdc/bld/ITarget3.xs:
package.mak: C:/ti/ccs10/xdctools_3_61_02_27_core/packages/xdc/bld/ITarget3.xs
C:/ti/ccs10/xdctools_3_61_02_27_core/packages/xdc/bld/ITargetFilter.xs:
package.mak: C:/ti/ccs10/xdctools_3_61_02_27_core/packages/xdc/bld/ITargetFilter.xs
C:/ti/ccs10/xdctools_3_61_02_27_core/packages/xdc/bld/package.xs:
package.mak: C:/ti/ccs10/xdctools_3_61_02_27_core/packages/xdc/bld/package.xs
package.mak: config.bld
C:/ti/bios_6_82_01_19/packages/ti/targets/ITarget.xs:
package.mak: C:/ti/bios_6_82_01_19/packages/ti/targets/ITarget.xs
C:/ti/bios_6_82_01_19/packages/ti/targets/C28_large.xs:
package.mak: C:/ti/bios_6_82_01_19/packages/ti/targets/C28_large.xs
C:/ti/bios_6_82_01_19/packages/ti/targets/C28_float.xs:
package.mak: C:/ti/bios_6_82_01_19/packages/ti/targets/C28_float.xs
C:/ti/bios_6_82_01_19/packages/ti/targets/package.xs:
package.mak: C:/ti/bios_6_82_01_19/packages/ti/targets/package.xs
C:/ti/bios_6_82_01_19/packages/ti/targets/elf/ITarget.xs:
package.mak: C:/ti/bios_6_82_01_19/packages/ti/targets/elf/ITarget.xs
C:/ti/bios_6_82_01_19/packages/ti/targets/elf/C28_float.xs:
package.mak: C:/ti/bios_6_82_01_19/packages/ti/targets/elf/C28_float.xs
C:/ti/bios_6_82_01_19/packages/ti/targets/elf/package.xs:
package.mak: C:/ti/bios_6_82_01_19/packages/ti/targets/elf/package.xs
package.mak: package.bld
C:/ti/ccs10/xdctools_3_61_02_27_core/packages/xdc/tools/configuro/template/compiler.opt.xdt:
package.mak: C:/ti/ccs10/xdctools_3_61_02_27_core/packages/xdc/tools/configuro/template/compiler.opt.xdt
C:/ti/ccs10/xdctools_3_61_02_27_core/packages/xdc/services/io/File.xs:
package.mak: C:/ti/ccs10/xdctools_3_61_02_27_core/packages/xdc/services/io/File.xs
C:/ti/ccs10/xdctools_3_61_02_27_core/packages/xdc/services/io/package.xs:
package.mak: C:/ti/ccs10/xdctools_3_61_02_27_core/packages/xdc/services/io/package.xs
C:/ti/ccs10/xdctools_3_61_02_27_core/packages/xdc/tools/configuro/template/compiler.defs.xdt:
package.mak: C:/ti/ccs10/xdctools_3_61_02_27_core/packages/xdc/tools/configuro/template/compiler.defs.xdt
C:/ti/ccs10/xdctools_3_61_02_27_core/packages/xdc/tools/configuro/template/custom.mak.exe.xdt:
package.mak: C:/ti/ccs10/xdctools_3_61_02_27_core/packages/xdc/tools/configuro/template/custom.mak.exe.xdt
C:/ti/ccs10/xdctools_3_61_02_27_core/packages/xdc/tools/configuro/template/package.xs.xdt:
package.mak: C:/ti/ccs10/xdctools_3_61_02_27_core/packages/xdc/tools/configuro/template/package.xs.xdt
endif

ti.targets.elf.C28_float.rootDir ?= C:/ti/ccs10/ccs/tools/compiler/ti-cgt-c2000_20.2.2.LTS
ti.targets.elf.packageBase ?= C:/ti/bios_6_82_01_19/packages/ti/targets/elf/
.PRECIOUS: $(XDCCFGDIR)/%.oe28FP
.PHONY: all,e28FP .dlls,e28FP .executables,e28FP test,e28FP
all,e28FP: .executables,e28FP
.executables,e28FP: .libraries,e28FP
.executables,e28FP: .dlls,e28FP
.dlls,e28FP: .libraries,e28FP
.libraries,e28FP: .interfaces
	@$(RM) $@
	@$(TOUCH) "$@"

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


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/%_configPkg.c package/%.defs.h: %.xdc $(PKGCFGS)
	@$(MSG) generating interfaces for package configPkg" (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,e28FP .dlls: rtos.pe28FP

-include package/cfg/rtos_pe28FP.mak
-include package/cfg/rtos_pe28FP.cfg.mak
ifeq (,$(MK_NOGENDEPS))
-include package/cfg/rtos_pe28FP.dep
endif
rtos.pe28FP: package/cfg/rtos_pe28FP.xdl
	@


ifeq (,$(wildcard .libraries,e28FP))
rtos.pe28FP package/cfg/rtos_pe28FP.c: .libraries,e28FP
endif

package/cfg/rtos_pe28FP.c package/cfg/rtos_pe28FP.h package/cfg/rtos_pe28FP.xdl: override _PROG_NAME := rtos.xe28FP
package/cfg/rtos_pe28FP.c: package/cfg/rtos_pe28FP.cfg
package/cfg/rtos_pe28FP.xdc.inc: package/cfg/rtos_pe28FP.xdl
package/cfg/rtos_pe28FP.xdl package/cfg/rtos_pe28FP.c: .interfaces

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

clean,e28FP::
	-$(RM) rtos.pe28FP
.executables,e28FP .executables: rtos.xe28FP

rtos.xe28FP: |rtos.pe28FP

-include package/cfg/rtos.xe28FP.mak
rtos.xe28FP: package/cfg/rtos_pe28FP.oe28FP 
	$(RM) $@
	@$(MSG) lnke28FP $@ ...
	$(RM) $(XDCCFGDIR)/$@.map
	$(ti.targets.elf.C28_float.rootDir)/bin/cl2000 -fs $(XDCCFGDIR)$(dir $@). -q -u _c_int00 --abi=eabi -z  -o $@ package/cfg/rtos_pe28FP.oe28FP   package/cfg/rtos_pe28FP.xdl  -w -c -m $(XDCCFGDIR)/$@.map -l $(ti.targets.elf.C28_float.rootDir)/lib/libc.a
	
rtos.xe28FP: export C_DIR=
rtos.xe28FP: PATH:=$(ti.targets.elf.C28_float.rootDir)/bin/;$(PATH)
rtos.xe28FP: Path:=$(ti.targets.elf.C28_float.rootDir)/bin/;$(PATH)

rtos.test test,e28FP test: rtos.xe28FP.test

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

clean,e28FP::
	-$(RM) $(wildcard .tmp,rtos.xe28FP,*)


clean:: clean,e28FP

clean,e28FP::
	-$(RM) rtos.xe28FP
%,copy:
	@$(if $<,,$(MSG) don\'t know how to build $*; exit 1)
	@$(MSG) cp $< $@
	$(RM) $@
	$(CP) $< $@
rtos_pe28FP.oe28FP,copy : package/cfg/rtos_pe28FP.oe28FP
rtos_pe28FP.se28FP,copy : package/cfg/rtos_pe28FP.se28FP

$(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,configPkg
ifeq (,$(MK_NOGENDEPS))
-include package/rel/configPkg.tar.dep
endif
package/rel/configPkg/configPkg/package/package.rel.xml: package/package.bld.xml
package/rel/configPkg/configPkg/package/package.rel.xml: package/build.cfg
package/rel/configPkg/configPkg/package/package.rel.xml: package/package.xdc.inc
package/rel/configPkg/configPkg/package/package.rel.xml: .force
	@$(MSG) generating external release references $@ ...
	$(XS) $(JSENV) -f $(XDCROOT)/packages/xdc/bld/rel.js $(MK_RELOPTS) . $@

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


release release,configPkg: all configPkg.tar
clean:: .clean
	-$(RM) configPkg.tar
	-$(RM) package/rel/configPkg.xdc.inc
	-$(RM) package/rel/configPkg.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
