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 *.so mypython swfpython
64 .PHONY: test,test1,test2