diff options
-rwxr-xr-x | xdelta3/Makefile | 12 | ||||
-rw-r--r-- | xdelta3/releases/xdelta30o.x86-32.exe | bin | 0 -> 102400 bytes |
2 files changed, 9 insertions, 3 deletions
diff --git a/xdelta3/Makefile b/xdelta3/Makefile index 6137966..eb392f1 100755 --- a/xdelta3/Makefile +++ b/xdelta3/Makefile | |||
@@ -45,6 +45,9 @@ EXTRA = Makefile COPYING linkxd3lib.c badcopy.c xdelta3.swig \ | |||
45 | REL=0o | 45 | REL=0o |
46 | RELDIR = xdelta3$(REL) | 46 | RELDIR = xdelta3$(REL) |
47 | 47 | ||
48 | #SWIGTGT = xdelta3module.so | ||
49 | SWIGTGT = xdelta3module.dll | ||
50 | |||
48 | SWIG_FLAGS = -DXD3_DEBUG=0 \ | 51 | SWIG_FLAGS = -DXD3_DEBUG=0 \ |
49 | -DXD3_USE_LARGEFILE64=1 \ | 52 | -DXD3_USE_LARGEFILE64=1 \ |
50 | -DSECONDARY_DJW=1 \ | 53 | -DSECONDARY_DJW=1 \ |
@@ -52,13 +55,14 @@ SWIG_FLAGS = -DXD3_DEBUG=0 \ | |||
52 | -DSWIG_MODULE=1 \ | 55 | -DSWIG_MODULE=1 \ |
53 | -O3 | 56 | -O3 |
54 | 57 | ||
55 | all: xdelta3-debug xdelta3 $(PYTGT) | 58 | all: xdelta3-debug xdelta3 $(PYTGT) $(SWIGTGT) |
56 | 59 | ||
57 | all-targets: $(TARGETS) | 60 | all-targets: $(TARGETS) |
58 | 61 | ||
59 | all-targets-test: all-targets test | 62 | all-targets-test: all-targets test |
60 | 63 | ||
61 | pytgt: $(PYTGT) | 64 | pytgt: $(PYTGT) |
65 | swigtgt: $(SWIGTGT) | ||
62 | 66 | ||
63 | test: | 67 | test: |
64 | ./xdelta3-debug test | 68 | ./xdelta3-debug test |
@@ -115,8 +119,10 @@ xdelta3_wrap.o: xdelta3_wrap.c | |||
115 | -fpic \ | 119 | -fpic \ |
116 | -c -g xdelta3_wrap.c | 120 | -c -g xdelta3_wrap.c |
117 | 121 | ||
118 | xdelta3module.so: xdelta3_wrap.o xdelta3.o | 122 | $(SWIGTGT): xdelta3_wrap.o xdelta3.o |
119 | ld -shared xdelta3.o xdelta3_wrap.o -o xdelta3module.so /usr/lib/libpython2.4.so -lgcc_s -lc | 123 | # ld -shared xdelta3.o xdelta3_wrap.o -o xdelta3module.so /usr/lib/libpython2.4.so -lgcc_s -lc |
124 | gcc -shared -Wl,--enable-auto-image-base xdelta3.o xdelta3_wrap.o -L/usr/lib/python2.4/config -lpython2.4 -o xdelta3module.dll | ||
125 | cp $(SWIGTGT) /usr/lib/python2.4/site-packages | ||
120 | 126 | ||
121 | xdelta3-decoder: $(SOURCES) | 127 | xdelta3-decoder: $(SOURCES) |
122 | $(CC) -O2 -Wall -Wshadow xdelta3.c \ | 128 | $(CC) -O2 -Wall -Wshadow xdelta3.c \ |
diff --git a/xdelta3/releases/xdelta30o.x86-32.exe b/xdelta3/releases/xdelta30o.x86-32.exe new file mode 100644 index 0000000..bcca3e8 --- /dev/null +++ b/xdelta3/releases/xdelta30o.x86-32.exe | |||
Binary files differ | |||