targets=amd64.o,arm.o,armeb.o,armel.o,coverage.log,clint.log,dalvik.o,eth.o,fixme.log,i386.o,i386_real.o,i486.o,i586.o,i686.o,mips.o,mipseb.o,mipsel.o,java.o,pylint.log,sparc.o,sparc64.o,template.o,tests.log,yasep.o,yasep16.o,yasep32.o
as=$(OBJDIR)../tools/asm-static
dist=Makefile,clint.sh,coverage.sh,fixme.sh,pylint.sh,python.sh,tests.sh

#targets
[amd64.o]
type=object
asflags=-a amd64
sources=amd64.asm

[arm.o]
type=object
asflags=-a arm
sources=arm.asm

[armeb.o]
type=object
asflags=-a armeb
sources=armeb.asm

[armel.o]
type=object
asflags=-a armel
sources=armel.asm

[clint.log]
type=script
script=./clint.sh
flags=-O CPPFLAGS="-I$(DESTDIR)$(PREFIX)/include -I../include `pkg-config --cflags python-2.7 cpp`"
enabled=0
depends=clint.sh

[coverage.log]
type=script
script=./coverage.sh
enabled=0
depends=coverage.sh

[dalvik.o]
type=object
asflags=-a dalvik -f flat
sources=dalvik.asm

[eth.o]
type=object
asflags=-a eth
sources=eth.asm

[fixme.log]
type=script
script=./fixme.sh
enabled=0
depends=fixme.sh

[i386.o]
type=object
asflags=-a i386
sources=i386.asm

[i386_real.o]
type=object
asflags=-a i386_real -f mbr
sources=i386_real.asm

[i486.o]
type=object
asflags=-a i486
sources=i486.asm

[i586.o]
type=object
asflags=-a i586
sources=i586.asm

[i686.o]
type=object
asflags=-a i686
sources=i686.asm

[java.o]
type=object
asflags=-a java -f flat
sources=java.asm

[mips.o]
type=object
asflags=-a mips
sources=mips.asm

[mipseb.o]
type=object
asflags=-a mipseb
sources=mipseb.asm

[mipsel.o]
type=object
asflags=-a mipsel
sources=mipsel.asm

[pylint.log]
type=script
script=./pylint.sh
enabled=0
depends=pylint.sh

[sparc.o]
type=object
asflags=-a sparc
sources=sparc.asm

[sparc64.o]
type=object
asflags=-a sparc64
sources=sparc64.asm

[template.o]
type=object
asflags=-a template -f flat
sources=template.asm

[tests.log]
type=script
script=./tests.sh
flags=-v
enabled=0
depends=$(OBJDIR)amd64.o,$(OBJDIR)arm.o,$(OBJDIR)armeb.o,$(OBJDIR)armel.o,$(OBJDIR)eth.o,$(OBJDIR)i386.o,$(OBJDIR)i386_real.o,$(OBJDIR)i486.o,$(OBJDIR)i586.o,$(OBJDIR)i686.o,python.sh,$(OBJDIR)sparc.o,$(OBJDIR)sparc64.o,tests.sh,$(OBJDIR)yasep.o,$(OBJDIR)yasep16.o,$(OBJDIR)yasep32.o,$(OBJDIR)../tools/asm-static$(EXEEXT),$(OBJDIR)../tools/deasm-static$(EXEEXT)

[yasep.o]
type=object
asflags=-a yasep -f flat
sources=yasep.asm

[yasep16.o]
type=object
asflags=-a yasep16 -f flat
sources=yasep16.asm

[yasep32.o]
type=object
asflags=-a yasep32 -f flat
sources=yasep32.asm

#sources
[amd64.asm]
depends=$(OBJDIR)../tools/asm-static$(EXEEXT)

[arm.asm]
depends=$(OBJDIR)../tools/asm-static$(EXEEXT)

[armeb.asm]
depends=arm.asm,$(OBJDIR)../tools/asm-static$(EXEEXT)

[armel.asm]
depends=arm.asm,$(OBJDIR)../tools/asm-static$(EXEEXT)

[dalvik.asm]
depends=$(OBJDIR)../tools/asm-static$(EXEEXT)

[eth.asm]
depends=$(OBJDIR)../tools/asm-static$(EXEEXT)

[i386.asm]
depends=$(OBJDIR)../tools/asm-static$(EXEEXT)

[i386_real.asm]
depends=$(OBJDIR)../tools/asm-static$(EXEEXT)

[i486.asm]
depends=$(OBJDIR)../tools/asm-static$(EXEEXT)

[i586.asm]
depends=$(OBJDIR)../tools/asm-static$(EXEEXT)

[i686.asm]
depends=$(OBJDIR)../tools/asm-static$(EXEEXT)

[java.asm]
depends=$(OBJDIR)../tools/asm-static$(EXEEXT)

[mips.asm]
depends=$(OBJDIR)../tools/asm-static$(EXEEXT)

[mipseb.asm]
depends=mips.asm,$(OBJDIR)../tools/asm-static$(EXEEXT)

[mipsel.asm]
depends=mips.asm,$(OBJDIR)../tools/asm-static$(EXEEXT)

[sparc.asm]
depends=$(OBJDIR)../tools/asm-static$(EXEEXT)

[sparc64.asm]
depends=$(OBJDIR)../tools/asm-static$(EXEEXT)

[template.asm]
depends=$(OBJDIR)../tools/asm-static$(EXEEXT)

[yasep.asm]
depends=$(OBJDIR)../tools/asm-static$(EXEEXT)

[yasep16.asm]
depends=$(OBJDIR)../tools/asm-static$(EXEEXT),yasep.asm

[yasep32.asm]
depends=$(OBJDIR)../tools/asm-static$(EXEEXT),yasep.asm
