git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added explanatory note to 'bad state nesting' error message
[swftools.git]
/
lib
/
python
/
Makefile.in
diff --git
a/lib/python/Makefile.in
b/lib/python/Makefile.in
index
5357eb3
..
e6052cd
100644
(file)
--- a/
lib/python/Makefile.in
+++ b/
lib/python/Makefile.in
@@
-4,6
+4,7
@@
top_srcdir = @top_srcdir@
include ../../Makefile.common
all: SWF.$(SLEXT) gfx.$(SLEXT)
include ../../Makefile.common
all: SWF.$(SLEXT) gfx.$(SLEXT)
+static: SWF$(A) gfx$(A)
exe: mypython$(E) swfpython$(E) testmem$(E)
primitives.$(O): primitives.c primitives.h
exe: mypython$(E) swfpython$(E) testmem$(E)
primitives.$(O): primitives.c primitives.h
@@
-29,13
+30,21
@@
SWF.$(O): SWF.c pyutils.h primitives.h taglist.h
$(C) -Wall -Wno-unused -fPIC $(PYTHON_INCLUDES) -c SWF.c -o SWF.$(O)
SWF_OBJS=SWF.$(O) taglist.$(O) tag.$(O) image.$(O) tags.$(O) tagmap.$(O) action.$(O) primitives.$(O) pyutils.$(O)
$(C) -Wall -Wno-unused -fPIC $(PYTHON_INCLUDES) -c SWF.c -o SWF.$(O)
SWF_OBJS=SWF.$(O) taglist.$(O) tag.$(O) image.$(O) tags.$(O) tagmap.$(O) action.$(O) primitives.$(O) pyutils.$(O)
-SWF_DEPS=../librfxswf$(A) ../libbase$(A) ../art/libart$(A)
-SWF.$(SLEXT): Makefile
+SWF_DEPS=../librfxswf$(A) ../libbase$(A)
+SWF.$(SLEXT): $(SWF_OBJS) $(SWF_DEPS) Makefile
$(L) -g $(SHARED) $(SWF_OBJS) $(SWF_DEPS) -o SWF.$(SLEXT) $(PYTHON_LIB) $(LIBS)
$(L) -g $(SHARED) $(SWF_OBJS) $(SWF_DEPS) -o SWF.$(SLEXT) $(PYTHON_LIB) $(LIBS)
+SWF$(A): $(SWF_OBJS) $(SWF_DEPS) Makefile
+ $(AR) cru SWF$(A) $(SWF_OBJS) $(SWF_DEPS)
+ $(RANLIB) SWF$(A)
-GFX_DEPS=../libpdf$(A) ../devices/swf.$(O) ../librfxswf$(A) ../devices/arts.$(O) ../art/libart$(A) ../libgfx$(A) ../libbase$(A)
-gfx.$(SLEXT): gfx.$(O) Makefile
+GFX_DEPS=../libpdf$(A) ../libgfxswf$(A) ../librfxswf$(A) ../libgfx$(A) ../libocr$(A) ../libbase$(A)
+gfx.$(SLEXT): gfx.$(O) $(GFX_DEPS) Makefile
$(L) -g $(SHARED) gfx.$(O) -o gfx.$(SLEXT) $(GFX_DEPS) $(PYTHON_LIB) $(LIBS) $(CXXLIBS)
$(L) -g $(SHARED) gfx.$(O) -o gfx.$(SLEXT) $(GFX_DEPS) $(PYTHON_LIB) $(LIBS) $(CXXLIBS)
+gfx$(A): gfx.$(O) $(GFX_DEPS) Makefile
+ mkdir -p tmp
+ ar cru gfx$(A) gfx.$(O)
+ for file in $(GFX_DEPS);do rm -f tmp/*;cd tmp;ar x ../$$file || cp ../$$file .;cd ..;$(AR) q gfx$(A) tmp/*.$(O) || break;done
+ $(RANLIB) gfx$(A)
#TODO:
install:
#TODO:
install:
@@
-69,4
+78,4
@@
test6: SWF.$(SLEXT)
clean:
rm -f *.o *.obj *.so mypython swfpython
clean:
rm -f *.o *.obj *.so mypython swfpython
-.PHONY: test,test1,test2
+.PHONY: test test1 test2 static all exe