3 top_srcdir = @top_srcdir@
4 include ../../Makefile.common
7 exe: mypython$(E) swfpython$(E) testmem$(E)
9 primitives.$(O): primitives.c primitives.h
10 $(C) -Wall -Wno-unused -fPIC $(PYTHON_INCLUDES) -c primitives.c -o primitives.$(O)
11 tagmap.$(O): tagmap.c tagmap.h
12 $(C) -Wall -Wno-unused -fPIC $(PYTHON_INCLUDES) -c tagmap.c -o tagmap.$(O)
13 taglist.$(O): taglist.c taglist.h tagmap.h tag.h
14 $(C) -Wall -Wno-unused -fPIC $(PYTHON_INCLUDES) -c taglist.c -o taglist.$(O)
15 tag.$(O): tag.c tag.h tagmap.h
16 $(C) -Wall -Wno-unused -fPIC $(PYTHON_INCLUDES) -c tag.c -o tag.$(O)
17 tags.$(O): tags.c tags.h tagmap.h tag.h
18 $(C) -Wall -Wno-unused -fPIC $(PYTHON_INCLUDES) -c tags.c -o tags.$(O)
19 image.$(O): image.c image.h
20 $(C) -Wall -Wno-unused -fPIC $(PYTHON_INCLUDES) -c image.c -o image.$(O)
21 action.$(O): action.c action.h
22 $(C) -Wall -Wno-unused -fPIC $(PYTHON_INCLUDES) -c action.c -o action.$(O)
23 pyutils.$(O): pyutils.c pyutils.h
24 $(C) -Wall -Wno-unused -fPIC $(PYTHON_INCLUDES) -c pyutils.c -o pyutils.$(O)
26 SWF.$(O): SWF.c pyutils.h primitives.h taglist.h
27 $(C) -Wall -Wno-unused -fPIC $(PYTHON_INCLUDES) -c SWF.c -o SWF.$(O)
29 SWF.$(SLEXT): SWF.$(O) taglist.$(O) tag.$(O) image.$(O) tags.$(O) tagmap.$(O) action.$(O) primitives.$(O) pyutils.$(O) ../librfxswf$(A) Makefile
30 $(L) -g $(SHARED) SWF.$(O) tagmap.$(O) taglist.$(O) tag.$(O) image.$(O) tags.$(O) action.$(O) primitives.$(O) pyutils.$(O) -o SWF.$(SLEXT) $(PYTHON_LIB) ../librfxswf$(A) $(LIBS)
36 mypython$(E): mypython.c Makefile
37 $(L) -Wno-redundant-decls -g $(PYTHON_INCLUDES) mypython.c -o mypython$(E) $(PYTHON_LIB)
38 swfpython$(E): swfpython.c Makefile primitives.$(O) tagmap.$(O) taglist.$(O) tag.$(O) tags.$(O) action.$(O) pyutils.$(O) SWF.$(O)
39 $(L) -Wno-redundant-decls -g $(PYTHON_INCLUDES) swfpython.c -o swfpython$(E) $(PYTHON_LIB) ../librfxswf$(A) $(LIBS)
40 testmem$(E): testmem.c Makefile
41 $(L) $(PYTHON_INCLUDES) testmem.c -o testmem$(E) $(PYTHON_LIB) $(LIBS)
47 swfdump -p tmp/test.swf
50 swfdump -u -p tmp/combined.swf
55 swfdump -u -p tmp/test.swf
58 swfdump -u -p tmp/test.swf
62 rm -f *.o *.obj *.so mypython swfpython
64 .PHONY: test,test1,test2