mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-10 12:33:08 +02:00
StreamUtils.o to Makefile, fix build error
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@3477 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
e87992c298
commit
48fb699ff3
@ -1,6 +1,6 @@
|
||||
diff -urN lzma432/C/7zip/Compress/LZMA/LZMADecoder.cpp lzma/C/7zip/Compress/LZMA/LZMADecoder.cpp
|
||||
--- lzma432/C/7zip/Compress/LZMA/LZMADecoder.cpp 2005-09-22 12:55:34.000000000 +0400
|
||||
+++ lzma/C/7zip/Compress/LZMA/LZMADecoder.cpp 2006-03-24 13:23:09.634551840 +0300
|
||||
diff -Nur lzma/C/7zip/Compress/LZMA/LZMADecoder.cpp lzma.patched/C/7zip/Compress/LZMA/LZMADecoder.cpp
|
||||
--- lzma/C/7zip/Compress/LZMA/LZMADecoder.cpp 2005-09-22 10:55:34.000000000 +0200
|
||||
+++ lzma.patched/C/7zip/Compress/LZMA/LZMADecoder.cpp 2006-03-25 11:04:53.000000000 +0100
|
||||
@@ -274,12 +274,17 @@
|
||||
Byte remainder = (Byte)(properties[0] / 9);
|
||||
int lp = remainder % 5;
|
||||
@ -22,9 +22,9 @@ diff -urN lzma432/C/7zip/Compress/LZMA/LZMADecoder.cpp lzma/C/7zip/Compress/LZMA
|
||||
if (!_outWindowStream.Create(dictionarySize))
|
||||
return E_OUTOFMEMORY;
|
||||
if (!_literalDecoder.Create(lp, lc))
|
||||
diff -urN lzma432/C/7zip/Compress/LZMA/LZMADecoder.h lzma/C/7zip/Compress/LZMA/LZMADecoder.h
|
||||
--- lzma432/C/7zip/Compress/LZMA/LZMADecoder.h 2005-09-19 10:10:06.000000000 +0400
|
||||
+++ lzma/C/7zip/Compress/LZMA/LZMADecoder.h 2006-03-24 13:23:09.635551552 +0300
|
||||
diff -Nur lzma/C/7zip/Compress/LZMA/LZMADecoder.h lzma.patched/C/7zip/Compress/LZMA/LZMADecoder.h
|
||||
--- lzma/C/7zip/Compress/LZMA/LZMADecoder.h 2005-09-19 08:10:06.000000000 +0200
|
||||
+++ lzma.patched/C/7zip/Compress/LZMA/LZMADecoder.h 2006-03-25 11:04:53.000000000 +0100
|
||||
@@ -228,6 +228,7 @@
|
||||
ICompressProgressInfo *progress);
|
||||
|
||||
@ -33,101 +33,105 @@ diff -urN lzma432/C/7zip/Compress/LZMA/LZMADecoder.h lzma/C/7zip/Compress/LZMA/L
|
||||
|
||||
STDMETHOD(GetInStreamProcessedSize)(UInt64 *value);
|
||||
|
||||
diff -urN lzma432/C/7zip/Compress/LZMA_Lib/makefile lzma/C/7zip/Compress/LZMA_Lib/makefile
|
||||
--- lzma432/C/7zip/Compress/LZMA_Lib/makefile 1970-01-01 03:00:00.000000000 +0300
|
||||
+++ lzma/C/7zip/Compress/LZMA_Lib/makefile 2006-03-24 13:26:58.254841791 +0300
|
||||
@@ -0,0 +1,88 @@
|
||||
+PROG = liblzma.a
|
||||
+CXX = g++ -O3 -Wall
|
||||
diff -Nur lzma/C/7zip/Compress/LZMA_Lib/makefile lzma.patched/C/7zip/Compress/LZMA_Lib/makefile
|
||||
--- lzma/C/7zip/Compress/LZMA_Lib/makefile 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ lzma.patched/C/7zip/Compress/LZMA_Lib/makefile 2006-03-25 11:29:46.000000000 +0100
|
||||
@@ -0,0 +1,92 @@
|
||||
+PROG = liblzma.a
|
||||
+CXX = g++ -O3 -Wall
|
||||
+AR = ar
|
||||
+RM = rm -f
|
||||
+CFLAGS = -c -I ../../../
|
||||
+
|
||||
+OBJS = \
|
||||
+ ZLib.o \
|
||||
+ LZMADecoder.o \
|
||||
+ LZMAEncoder.o \
|
||||
+ LZInWindow.o \
|
||||
+ LZOutWindow.o \
|
||||
+ RangeCoderBit.o \
|
||||
+ InBuffer.o \
|
||||
+ OutBuffer.o \
|
||||
+ FileStreams.o \
|
||||
+ Alloc.o \
|
||||
+ C_FileIO.o \
|
||||
+ CommandLineParser.o \
|
||||
+ CRC.o \
|
||||
+ String.o \
|
||||
+ StringConvert.o \
|
||||
+ StringToInt.o \
|
||||
+ Vector.o \
|
||||
+
|
||||
+
|
||||
+all: $(PROG)
|
||||
+
|
||||
+$(PROG): $(OBJS)
|
||||
+ $(AR) r $(PROG) $(OBJS)
|
||||
+
|
||||
+ZLib.o: ZLib.cpp
|
||||
+ $(CXX) $(CFLAGS) ZLib.cpp
|
||||
+
|
||||
+LZMADecoder.o: ../LZMA/LZMADecoder.cpp
|
||||
+ $(CXX) $(CFLAGS) ../LZMA/LZMADecoder.cpp
|
||||
+
|
||||
+LZMAEncoder.o: ../LZMA/LZMAEncoder.cpp
|
||||
+ $(CXX) $(CFLAGS) ../LZMA/LZMAEncoder.cpp
|
||||
+
|
||||
+LZInWindow.o: ../LZ/LZInWindow.cpp
|
||||
+ $(CXX) $(CFLAGS) ../LZ/LZInWindow.cpp
|
||||
+
|
||||
+LZOutWindow.o: ../LZ/LZOutWindow.cpp
|
||||
+ $(CXX) $(CFLAGS) ../LZ/LZOutWindow.cpp
|
||||
+
|
||||
+RangeCoderBit.o: ../RangeCoder/RangeCoderBit.cpp
|
||||
+ $(CXX) $(CFLAGS) ../RangeCoder/RangeCoderBit.cpp
|
||||
+
|
||||
+InBuffer.o: ../../Common/InBuffer.cpp
|
||||
+ $(CXX) $(CFLAGS) ../../Common/InBuffer.cpp
|
||||
+
|
||||
+OutBuffer.o: ../../Common/OutBuffer.cpp
|
||||
+ $(CXX) $(CFLAGS) ../../Common/OutBuffer.cpp
|
||||
+
|
||||
+FileStreams.o: ../../Common/FileStreams.cpp
|
||||
+ $(CXX) $(CFLAGS) ../../Common/FileStreams.cpp
|
||||
+
|
||||
+Alloc.o: ../../../Common/Alloc.cpp
|
||||
+ $(CXX) $(CFLAGS) ../../../Common/Alloc.cpp
|
||||
+
|
||||
+C_FileIO.o: ../../../Common/C_FileIO.cpp
|
||||
+ $(CXX) $(CFLAGS) ../../../Common/C_FileIO.cpp
|
||||
+
|
||||
+CommandLineParser.o: ../../../Common/CommandLineParser.cpp
|
||||
+ $(CXX) $(CFLAGS) ../../../Common/CommandLineParser.cpp
|
||||
+
|
||||
+CRC.o: ../../../Common/CRC.cpp
|
||||
+ $(CXX) $(CFLAGS) ../../../Common/CRC.cpp
|
||||
+
|
||||
+MyWindows.o: ../../../Common/MyWindows.cpp
|
||||
+ $(CXX) $(CFLAGS) ../../../Common/MyWindows.cpp
|
||||
+
|
||||
+String.o: ../../../Common/String.cpp
|
||||
+ $(CXX) $(CFLAGS) ../../../Common/String.cpp
|
||||
+
|
||||
+StringConvert.o: ../../../Common/StringConvert.cpp
|
||||
+ $(CXX) $(CFLAGS) ../../../Common/StringConvert.cpp
|
||||
+
|
||||
+StringToInt.o: ../../../Common/StringToInt.cpp
|
||||
+ $(CXX) $(CFLAGS) ../../../Common/StringToInt.cpp
|
||||
+
|
||||
+Vector.o: ../../../Common/Vector.cpp
|
||||
+ $(CXX) $(CFLAGS) ../../../Common/Vector.cpp
|
||||
+
|
||||
+clean:
|
||||
+ -$(RM) $(PROG) $(OBJS)
|
||||
+
|
||||
diff -urN lzma432/C/7zip/Compress/LZMA_Lib/ZLib.cpp lzma/C/7zip/Compress/LZMA_Lib/ZLib.cpp
|
||||
--- lzma432/C/7zip/Compress/LZMA_Lib/ZLib.cpp 1970-01-01 03:00:00.000000000 +0300
|
||||
+++ lzma/C/7zip/Compress/LZMA_Lib/ZLib.cpp 2006-03-24 13:23:09.638550690 +0300
|
||||
+RM = rm -f
|
||||
+CFLAGS = -c -I ../../../
|
||||
+
|
||||
+OBJS = \
|
||||
+ ZLib.o \
|
||||
+ LZMADecoder.o \
|
||||
+ LZMAEncoder.o \
|
||||
+ LZInWindow.o \
|
||||
+ LZOutWindow.o \
|
||||
+ RangeCoderBit.o \
|
||||
+ InBuffer.o \
|
||||
+ OutBuffer.o \
|
||||
+ FileStreams.o \
|
||||
+ Alloc.o \
|
||||
+ C_FileIO.o \
|
||||
+ CommandLineParser.o \
|
||||
+ CRC.o \
|
||||
+ StreamUtils.o \
|
||||
+ String.o \
|
||||
+ StringConvert.o \
|
||||
+ StringToInt.o \
|
||||
+ Vector.o \
|
||||
+
|
||||
+
|
||||
+all: $(PROG)
|
||||
+
|
||||
+$(PROG): $(OBJS)
|
||||
+ $(AR) r $(PROG) $(OBJS)
|
||||
+
|
||||
+ZLib.o: ZLib.cpp
|
||||
+ $(CXX) $(CFLAGS) ZLib.cpp
|
||||
+
|
||||
+LZMADecoder.o: ../LZMA/LZMADecoder.cpp
|
||||
+ $(CXX) $(CFLAGS) ../LZMA/LZMADecoder.cpp
|
||||
+
|
||||
+LZMAEncoder.o: ../LZMA/LZMAEncoder.cpp
|
||||
+ $(CXX) $(CFLAGS) ../LZMA/LZMAEncoder.cpp
|
||||
+
|
||||
+LZInWindow.o: ../LZ/LZInWindow.cpp
|
||||
+ $(CXX) $(CFLAGS) ../LZ/LZInWindow.cpp
|
||||
+
|
||||
+LZOutWindow.o: ../LZ/LZOutWindow.cpp
|
||||
+ $(CXX) $(CFLAGS) ../LZ/LZOutWindow.cpp
|
||||
+
|
||||
+RangeCoderBit.o: ../RangeCoder/RangeCoderBit.cpp
|
||||
+ $(CXX) $(CFLAGS) ../RangeCoder/RangeCoderBit.cpp
|
||||
+
|
||||
+InBuffer.o: ../../Common/InBuffer.cpp
|
||||
+ $(CXX) $(CFLAGS) ../../Common/InBuffer.cpp
|
||||
+
|
||||
+OutBuffer.o: ../../Common/OutBuffer.cpp
|
||||
+ $(CXX) $(CFLAGS) ../../Common/OutBuffer.cpp
|
||||
+
|
||||
+StreamUtils.o: ../../Common/StreamUtils.cpp
|
||||
+ $(CXX) $(CFLAGS) ../../Common/StreamUtils.cpp
|
||||
+
|
||||
+FileStreams.o: ../../Common/FileStreams.cpp
|
||||
+ $(CXX) $(CFLAGS) ../../Common/FileStreams.cpp
|
||||
+
|
||||
+Alloc.o: ../../../Common/Alloc.cpp
|
||||
+ $(CXX) $(CFLAGS) ../../../Common/Alloc.cpp
|
||||
+
|
||||
+C_FileIO.o: ../../../Common/C_FileIO.cpp
|
||||
+ $(CXX) $(CFLAGS) ../../../Common/C_FileIO.cpp
|
||||
+
|
||||
+CommandLineParser.o: ../../../Common/CommandLineParser.cpp
|
||||
+ $(CXX) $(CFLAGS) ../../../Common/CommandLineParser.cpp
|
||||
+
|
||||
+CRC.o: ../../../Common/CRC.cpp
|
||||
+ $(CXX) $(CFLAGS) ../../../Common/CRC.cpp
|
||||
+
|
||||
+MyWindows.o: ../../../Common/MyWindows.cpp
|
||||
+ $(CXX) $(CFLAGS) ../../../Common/MyWindows.cpp
|
||||
+
|
||||
+String.o: ../../../Common/String.cpp
|
||||
+ $(CXX) $(CFLAGS) ../../../Common/String.cpp
|
||||
+
|
||||
+StringConvert.o: ../../../Common/StringConvert.cpp
|
||||
+ $(CXX) $(CFLAGS) ../../../Common/StringConvert.cpp
|
||||
+
|
||||
+StringToInt.o: ../../../Common/StringToInt.cpp
|
||||
+ $(CXX) $(CFLAGS) ../../../Common/StringToInt.cpp
|
||||
+
|
||||
+Vector.o: ../../../Common/Vector.cpp
|
||||
+ $(CXX) $(CFLAGS) ../../../Common/Vector.cpp
|
||||
+
|
||||
+clean:
|
||||
+ -$(RM) $(PROG) $(OBJS)
|
||||
+
|
||||
diff -Nur lzma/C/7zip/Compress/LZMA_Lib/ZLib.cpp lzma.patched/C/7zip/Compress/LZMA_Lib/ZLib.cpp
|
||||
--- lzma/C/7zip/Compress/LZMA_Lib/ZLib.cpp 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ lzma.patched/C/7zip/Compress/LZMA_Lib/ZLib.cpp 2006-03-25 11:04:53.000000000 +0100
|
||||
@@ -0,0 +1,273 @@
|
||||
+/*
|
||||
+ * lzma zlib simplified wrapper
|
||||
|
Loading…
Reference in New Issue
Block a user