X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Fpython%2FMakefile.in;h=0c8fb1583a7a9a0599c8965f8be55359a54e6c4f;hb=879d0eec420fe0fd5ddcd56c8fe62b82a6744edd;hp=4171a305c31b59e96b2f096b1ddb252e37c0e688;hpb=72277ed6ca22c2eda0b58f9e009dc1ba9177033f;p=swftools.git diff --git a/lib/python/Makefile.in b/lib/python/Makefile.in index 4171a30..0c8fb15 100644 --- a/lib/python/Makefile.in +++ b/lib/python/Makefile.in @@ -3,7 +3,8 @@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ include ../../Makefile.common -all: SWF.$(SLEXT) SWF$(A) gfx.$(SLEXT) gfx$(A) +all: SWF.$(SLEXT) gfx.$(SLEXT) +static: SWF$(A) gfx$(A) exe: mypython$(E) swfpython$(E) testmem$(E) primitives.$(O): primitives.c primitives.h @@ -36,12 +37,13 @@ SWF$(A): $(SWF_OBJS) $(SWF_DEPS) Makefile $(AR) cru SWF$(A) $(SWF_OBJS) $(SWF_DEPS) $(RANLIB) SWF$(A) -GFX_DEPS=../libpdf$(A) ../libgfxswf$(A) ../librfxswf$(A) ../libgfx$(A) ../libocr$(A) ../libbase$(A) +GFX_DEPS=../libgfxpdf$(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) gfx$(A): gfx.$(O) $(GFX_DEPS) Makefile - mkdir tmp;cd tmp;for file in $(GFX_DEPS);do ar x ../$$file || cp ../$$file .;done - $(AR) cru gfx$(A) gfx.$(O) tmp/*.$(O) + 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: @@ -76,4 +78,4 @@ test6: SWF.$(SLEXT) clean: rm -f *.o *.obj *.so mypython swfpython -.PHONY: test,test1,test2 +.PHONY: test test1 test2 static all exe