Permalink
Browse files

Fix up line endings, add libxpwn.c that was necessary, made Makefile …

…generate DOS readmes for Windows, fixed up some includes
  • Loading branch information...
1 parent d42404a commit 6bf5301c167cebdb88557a8028804c07dde081f9 @planetbeing committed May 21, 2008
Showing with 10,787 additions and 10,786 deletions.
  1. +3 −2 Makefile
  2. +28 −28 hdutil/Makefile
  3. +290 −290 hdutil/hdutil.c
  4. +9 −9 hdutil/win32test.c
  5. +5 −5 ide/eclipse/Makefile
  6. +47 −47 ipsw-patch/8900.h
  7. +40 −40 ipsw-patch/Makefile
  8. +215 −215 ipsw-patch/bspatch.c
  9. +59 −59 ipsw-patch/bzip2-1.0.5/Makefile-libbz2_so
  10. +210 −210 ipsw-patch/bzip2-1.0.5/README
  11. +58 −58 ipsw-patch/bzip2-1.0.5/README.COMPILATION.PROBLEMS
  12. +45 −45 ipsw-patch/bzip2-1.0.5/README.XML.STUFF
  13. +1,094 −1,094 ipsw-patch/bzip2-1.0.5/blocksort.c
  14. +514 −514 ipsw-patch/bzip2-1.0.5/bzip2recover.c
  15. +1,572 −1,572 ipsw-patch/bzip2-1.0.5/bzlib.c
  16. +282 −282 ipsw-patch/bzip2-1.0.5/bzlib.h
  17. +509 −509 ipsw-patch/bzip2-1.0.5/bzlib_private.h
  18. +672 −672 ipsw-patch/bzip2-1.0.5/compress.c
  19. +104 −104 ipsw-patch/bzip2-1.0.5/crctable.c
  20. +626 −626 ipsw-patch/bzip2-1.0.5/decompress.c
  21. +175 −175 ipsw-patch/bzip2-1.0.5/dlltest.c
  22. +205 −205 ipsw-patch/bzip2-1.0.5/huffman.c
  23. +31 −31 ipsw-patch/bzip2-1.0.5/mk251.c
  24. +84 −84 ipsw-patch/bzip2-1.0.5/randtable.c
  25. +54 −54 ipsw-patch/bzip2-1.0.5/spewG.c
  26. +141 −141 ipsw-patch/bzip2-1.0.5/unzcrash.c
  27. +313 −313 ipsw-patch/ibootim.c
  28. +34 −34 ipsw-patch/img2.h
  29. +28 −28 ipsw-patch/libpng-1.2.28/projects/cbuilder5/libpng.cpp
  30. +344 −344 ipsw-patch/lzss.c
  31. +5 −5 ipsw-patch/lzss.h
  32. +162 −162 ipsw-patch/lzssfile.c
  33. +27 −27 ipsw-patch/lzssfile.h
  34. +59 −59 ipsw-patch/nor_files.c
  35. +7 −7 ipsw-patch/nor_files.h
  36. +7 −7 ipsw-patch/outputstate.h
  37. +494 −494 ipsw-patch/patch.c
  38. +489 −489 ipsw-patch/plist.c
  39. +51 −51 ipsw-patch/plist.h
  40. +9 −9 ipsw-patch/win32test.c
  41. +1 −1 xpwn/Makefile
  42. +263 −263 xpwn/libusb-win32/Makefile
  43. +165 −165 xpwn/libusb-win32/src/driver/driver_api.h
  44. +1,248 −1,248 xpwn/libusb-win32/src/windows.c
  45. +9 −9 xpwn/win32test.c
View
@@ -37,8 +37,8 @@ install-win: ipsw-patch/pch xpwn/xpwn
cp xpwn/ramdisk.dmg xpwn-build/ramdisk.dmg
cp -R ipsw-patch/FirmwareBundles xpwn-build/FirmwareBundles
cp -R ipsw-patch/bundles xpwn-build/bundles
- cp README.markdown xpwn-build/README.txt
- cp LICENSE xpwn-build/LICENSE.txt
+ sed "`echo s/$$/\\\r`/" README.markdown > xpwn-build/README.txt
+ sed "`echo s/$$/\\\r`/" LICENSE > xpwn-build/LICENSE.txt
cd xpwn-build; zip -r ../xpwn-windows.zip *
clean:
@@ -73,3 +73,4 @@ dist-clean: clean
-rm dmg/zlib-1.2.3/contrib/minizip/*.o
-rm ipsw-patch/bzip2-1.0.5/*.exe
-rm -rf xpwn-build
+
View
@@ -1,29 +1,29 @@
-UTILOBJS=hdutil.o
-DMGOBJS=../dmg/base64.o ../dmg/resources.o ../dmg/checksum.o ../dmg/udif.o ../dmg/partition.o ../dmg/io.o ../dmg/filevault.o ../dmg/dmgfile.o ../dmg/zlib-1.2.3/libz.a ../dmg/openssl-0.9.8g/libcrypto.a
-HFSOBJS=../hfs/volume.o ../hfs/btree.o ../hfs/extents.o ../hfs/rawfile.o ../hfs/catalog.o ../hfs/flatfile.o ../hfs/utility.o ../hfs/fastunicodecompare.o ../hfs/abstractfile.o ../hfs/hfslib.o
-CFLAGS=-D_FILE_OFFSET_BITS=64 -DHAVE_CRYPT
-LIBRARIES=`if $(CC) win32test.c -o /dev/null 2>/dev/null ; then echo ""; else echo "-lgdi32"; fi`
-
-all: util
-
-util: $(DMGOBJS) $(HFSOBJS) $(UTILOBJS)
- $(CC) $(CFLAGS) $(DMGOBJS) $(HFSOBJS) $(UTILOBJS) $(LIBRARIES) -o hdutil
-
-%.o: %.c
- $(CC) $(CFLAGS) -I../dmg/zlib-1.2.3 -I../dmg/openssl-0.9.8g/include -c $< -o $@
-
-../dmg/zlib-1.2.3/Makefile:
- cd ../dmg/zlib-1.2.3; ./configure
-
-../dmg/zlib-1.2.3/libz.a: ../dmg/zlib-1.2.3/Makefile
- cd ../dmg/zlib-1.2.3; make
-
+UTILOBJS=hdutil.o
+DMGOBJS=../dmg/base64.o ../dmg/resources.o ../dmg/checksum.o ../dmg/udif.o ../dmg/partition.o ../dmg/io.o ../dmg/filevault.o ../dmg/dmgfile.o ../dmg/zlib-1.2.3/libz.a ../dmg/openssl-0.9.8g/libcrypto.a
+HFSOBJS=../hfs/volume.o ../hfs/btree.o ../hfs/extents.o ../hfs/rawfile.o ../hfs/catalog.o ../hfs/flatfile.o ../hfs/utility.o ../hfs/fastunicodecompare.o ../hfs/abstractfile.o ../hfs/hfslib.o
+CFLAGS=-D_FILE_OFFSET_BITS=64 -DHAVE_CRYPT
+LIBRARIES=`if $(CC) win32test.c -o /dev/null 2>/dev/null ; then echo ""; else echo "-lgdi32"; fi`
+
+all: util
+
+util: $(DMGOBJS) $(HFSOBJS) $(UTILOBJS)
+ $(CC) $(CFLAGS) $(DMGOBJS) $(HFSOBJS) $(UTILOBJS) $(LIBRARIES) -o hdutil
+
+%.o: %.c
+ $(CC) $(CFLAGS) -I../dmg/zlib-1.2.3 -I../dmg/openssl-0.9.8g/include -c $< -o $@
+
+../dmg/zlib-1.2.3/Makefile:
+ cd ../dmg/zlib-1.2.3; ./configure
+
+../dmg/zlib-1.2.3/libz.a: ../dmg/zlib-1.2.3/Makefile
+ cd ../dmg/zlib-1.2.3; make
+
../dmg/openssl-0.9.8g/libcrypto.a:
- touch ../dmg/openssl-0.9.8g/Makefile
- cd ../dmg/openssl-0.9.8g/crypto; make
-
-
-clean:
- -rm *.o
- -rm hdutil
- -rm hdutil.exe
+ touch ../dmg/openssl-0.9.8g/Makefile
+ cd ../dmg/openssl-0.9.8g/crypto; make
+
+
+clean:
+ -rm *.o
+ -rm hdutil
+ -rm hdutil.exe
Oops, something went wrong.

0 comments on commit 6bf5301

Please sign in to comment.