AM_CPPFLAGS = \
	@VICE_CPPFLAGS@ \
	@ARCH_INCLUDES@ \
	-I$(top_builddir)/src \
	-I$(top_srcdir)/src \
	-I$(top_srcdir)/src/core \
	-I$(top_srcdir)/src/drive \
	-I$(top_srcdir)/src/core/rtc \
	-I$(top_srcdir)/src/c64 \
	-I$(top_srcdir)/src/sid \
	-I$(top_srcdir)/src/lib/p64 \
	-I$(top_srcdir)/src/vicii \
	-I$(top_srcdir)/src/rtc \
	-I$(top_srcdir)/src/samplerdrv \
	-I$(top_srcdir)/src/rs232drv \
	-I$(top_srcdir)/src/arch/shared

AM_CFLAGS = @VICE_CFLAGS@

AM_CXXFLAGS = @VICE_CXXFLAGS@

AM_LDFLAGS = @VICE_LDFLAGS@


noinst_LIBRARIES = libc64cartsystem.a libc64cart.a libc64commoncart.a

libc64cartsystem_a_SOURCES = \
	c64cart.c \
	c64carthooks.c \
	c64cartmem.c \
	c64cartmem.h \
	c64cartsystem.h

libc64cart_a_SOURCES = \
	actionreplay2.c \
	actionreplay2.h \
	actionreplay3.c \
	actionreplay3.h \
	actionreplay4.c \
	actionreplay4.h \
	actionreplay.c \
	actionreplay.h \
	atomicpower.c \
	atomicpower.h \
	blackbox3.c \
	blackbox3.h \
	blackbox4.c \
	blackbox4.h \
	blackbox8.c \
	blackbox8.h \
	blackbox9.c \
	blackbox9.h \
	bmpdataturbo.c \
	bmpdataturbo.h \
	bisplus.c \
	bisplus.h \
	c64-generic.c \
	c64-generic.h \
	c64-midi.c \
	c64-midi.h \
	c64tpi.c \
	c64tpi.h \
	capture.c \
	capture.h \
	clockport.c \
	clockport.h \
	clockport-mp3at64.c \
	clockport-mp3at64.h \
	clockport-rrnet.c \
	clockport-rrnet.h \
	comal80.c \
	comal80.h \
	cpmcart.c \
	cpmcart.h \
	daa.c \
	daa.h \
	debugcart.c \
	debugcart.h \
	delaep256.c \
	delaep256.h \
	delaep64.c \
	delaep64.h \
	delaep7x8.c \
	delaep7x8.h \
	diashowmaker.c \
	diashowmaker.h \
	dinamic.c \
	dinamic.h \
	dqbb.c \
	dqbb.h \
	drean.c \
	drean.h \
	easycalc.c \
	easycalc.h \
	easyflash.c \
	easyflash.h \
	epyxfastload.c \
	epyxfastload.h \
	exos.c \
	exos.h \
	expert.c \
	expert.h \
	final.c \
	final.h \
	final3.c \
	final3.h \
	finalplus.c \
	finalplus.h \
	formel64.c \
	formel64.h \
	freezeframe.c \
	freezeframe.h \
	freezeframe2.c \
	freezeframe2.h \
	freezemachine.c \
	freezemachine.h \
	funplay.c \
	funplay.h \
	gamekiller.c \
	gamekiller.h \
	gmod2.c \
	gmod2.h \
	gmod3.c \
	gmod3.h \
	gs.c \
	gs.h \
	hyperbasic.c \
	hyperbasic.h \
	ide64.c \
	ide64.h \
	ieeeflash64.c \
	ieeeflash64.h \
	isepic.c \
	isepic.h \
	kcs.c \
	kcs.h \
	kingsoft.c \
	kingsoft.h \
	ltkernal.c \
	ltkernal.h \
	mach5.c \
	mach5.h \
	magicdesk.c \
	magicdesk.h \
	magicformel.c \
	magicformel.h \
	magicvoice.c \
	magicvoice.h \
	maxbasic.c \
	maxbasic.h \
	mikroass.c \
	mikroass.h \
	mmcreplay.c \
	mmcreplay.h \
	mmc64.c \
	mmc64.h \
	multimax.c \
	multimax.h \
	ocean.c \
	ocean.h \
	pagefox.c \
	pagefox.h \
	partner64.c \
	partner64.h \
	prophet64.c \
	prophet64.h \
	ramcart.c \
	ramcart.h \
	ramlink.c \
	ramlink.h \
	retroreplay.c \
	retroreplay.h \
	reu.c \
	reu.h \
	rexep256.c \
	rexep256.h \
	rexramfloppy.c \
	rexramfloppy.h \
	rexutility.c \
	rexutility.h \
	rgcd.c \
	rgcd.h \
	ross.c \
	ross.h \
	rrnetmk3.c \
	rrnetmk3.h \
	sdbox.c \
	sdbox.h \
	shortbus.c \
	shortbus.h \
	shortbus_digimax.c \
	shortbus_digimax.h \
	shortbus_etfe.c \
	shortbus_etfe.h \
	silverrock128.c \
	silverrock128.h \
	simonsbasic.c \
	simonsbasic.h \
	snapshot64.c \
	snapshot64.h \
	stardos.c \
	stardos.h \
	stb.c \
	stb.h \
	superexplode5.c \
	superexplode5.h \
	supergames.c \
	supergames.h \
	supersnapshot.c \
	supersnapshot.h \
	supersnapshot4.c \
	supersnapshot4.h \
	turtlegraphics.c \
	turtlegraphics.h \
	uc1.c \
	uc1.h \
	uc2.c \
	uc2.h \
	warpspeed.c \
	warpspeed.h \
	westermann.c \
	westermann.h \
	zaxxon.c \
	zaxxon.h \
	zippcode48.c \
	zippcode48.h

libc64commoncart_a_SOURCES = \
	c64acia.h \
	c64acia1.c \
	cs8900io.c \
	cs8900io.h \
	digimax.c \
	digimax.h \
	ds12c887rtc.c \
	ds12c887rtc.h \
	ethernetcart.c \
	ethernetcart.h \
	georam.c \
	georam.h \
	sfx_soundexpander.c \
	sfx_soundexpander.h \
	sfx_soundsampler.c \
	sfx_soundsampler.h
