<asf xmlversion="1.0">
	<project caption="AVRISP-MKII Clone Programmer" id="lufa.projects.avrispmkii_clone.avr8">
		<require idref="lufa.projects.avrispmkii_clone"/>
		<require idref="lufa.boards.dummy.avr8"/>
		<generator value="as5_8"/>

		<device-support value="at90usb1287"/>
		<config name="lufa.drivers.board.name" value="usbkey"/>

		<build type="define" name="F_CPU" value="8000000UL"/>
		<build type="define" name="F_USB" value="8000000UL"/>
	</project>

	<!-- Required by the XPLAIN Bridge project - don't reference it in this project
	     or the Solution Explorer will show an odd layout for the source files -->
	<module type="meta" id="lufa.projects.avrispmkii_clone.src" caption="AVRISP-MKII Clone Programmer">
		<info type="gui-flag" value="hidden"/>

		<info type="keyword" value="Technology">
			<keyword value="Low Level APIs"/>
			<keyword value="USB Device"/>
		</info>

		<device-support-alias value="lufa_avr8"/>
		<device-support-alias value="lufa_xmega"/>
		<device-support-alias value="lufa_uc3"/>

		<build type="include-path" value="."/>

		<build type="c-source" value="AVRISPDescriptors.c"/>
		<build type="header-file" value="AVRISPDescriptors.h"/>

		<build type="include-path" value="Lib"/>

		<build type="header-file" value="Lib/V2ProtocolConstants.h"/>
		<build type="c-source" value="Lib/V2Protocol.c"/>
		<build type="header-file" value="Lib/V2Protocol.h"/>
		<build type="c-source" value="Lib/V2ProtocolParams.c"/>
		<build type="header-file" value="Lib/V2ProtocolParams.h"/>
		<build type="c-source" value="Lib/ISP/ISPProtocol.c"/>
		<build type="header-file" value="Lib/ISP/ISPProtocol.h"/>
		<build type="c-source" value="Lib/ISP/ISPTarget.c"/>
		<build type="header-file" value="Lib/ISP/ISPTarget.h"/>
		<build type="c-source" value="Lib/XPROG/XPROGTarget.c"/>
		<build type="header-file" value="Lib/XPROG/XPROGTarget.h"/>
		<build type="c-source" value="Lib/XPROG/XPROGProtocol.c"/>
		<build type="header-file" value="Lib/XPROG/XPROGProtocol.h"/>
		<build type="c-source" value="Lib/XPROG/XMEGANVM.c"/>
		<build type="header-file" value="Lib/XPROG/XMEGANVM.h"/>
		<build type="c-source" value="Lib/XPROG/TINYNVM.c"/>
		<build type="header-file" value="Lib/XPROG/TINYNVM.h"/>

		<require idref="lufa.drivers.peripheral.adc"/>
		<require idref="lufa.drivers.peripheral.spi"/>
	</module>

	<module type="application" id="lufa.projects.avrispmkii_clone" caption="AVRISP-MKII Clone Programmer">
		<info type="description" value="summary">
		Clone firmware of the Atmel AVRISP-MKII programmer.
		</info>

		<device-support-alias value="lufa_avr8"/>
		<device-support-alias value="lufa_xmega"/>
		<device-support-alias value="lufa_uc3"/>

		<build type="distribute" subtype="user-file" value="AVRISP-MKII.txt"/>

		<build type="c-source" value="AVRISP-MKII.c"/>
		<build type="c-source" value="AVRISPDescriptors.c"/>
		<build type="header-file" value="AVRISP-MKII.h"/>
		<build type="header-file" value="AVRISPDescriptors.h"/>

		<build type="header-file" value="Lib/V2ProtocolConstants.h"/>
		<build type="c-source" value="Lib/V2Protocol.c"/>
		<build type="header-file" value="Lib/V2Protocol.h"/>
		<build type="c-source" value="Lib/V2ProtocolParams.c"/>
		<build type="header-file" value="Lib/V2ProtocolParams.h"/>
		<build type="c-source" value="Lib/ISP/ISPProtocol.c"/>
		<build type="header-file" value="Lib/ISP/ISPProtocol.h"/>
		<build type="c-source" value="Lib/ISP/ISPTarget.c"/>
		<build type="header-file" value="Lib/ISP/ISPTarget.h"/>
		<build type="c-source" value="Lib/XPROG/XPROGTarget.c"/>
		<build type="header-file" value="Lib/XPROG/XPROGTarget.h"/>
		<build type="c-source" value="Lib/XPROG/XPROGProtocol.c"/>
		<build type="header-file" value="Lib/XPROG/XPROGProtocol.h"/>
		<build type="c-source" value="Lib/XPROG/XMEGANVM.c"/>
		<build type="header-file" value="Lib/XPROG/XMEGANVM.h"/>
		<build type="c-source" value="Lib/XPROG/TINYNVM.c"/>
		<build type="header-file" value="Lib/XPROG/TINYNVM.h"/>

		<build type="module-config" subtype="path" value="Config"/>
		<build type="header-file" value="Config/AppConfig.h"/>
		<build type="header-file" value="Config/LUFAConfig.h"/>

		<require idref="lufa.common"/>
		<require idref="lufa.platform"/>
		<require idref="lufa.drivers.usb"/>
		<require idref="lufa.drivers.peripheral.adc"/>
		<require idref="lufa.drivers.peripheral.spi"/>
		<require idref="lufa.drivers.board"/>
		<require idref="lufa.drivers.board.leds"/>
	</module>
</asf>
