├── .gitignore ├── .gitmodules ├── .travis.yml ├── Makefile ├── README.md ├── build └── iphonesdk-utils-2.0 │ ├── AUTHORS │ ├── COPYING │ ├── ChangeLog │ ├── INSTALL │ ├── Makefile.am │ ├── NEWS │ ├── README │ ├── autogen.sh │ ├── clangwrapper │ ├── Makefile.am │ └── clangwrapper.cpp │ ├── configure.ac │ ├── createProject │ ├── Makefile.am │ ├── ios-createProject.sh.in │ └── templates │ │ ├── Application │ │ ├── Images │ │ │ ├── Default.png │ │ │ ├── Default@2x.png │ │ │ ├── Icon-72.png │ │ │ ├── Icon.png │ │ │ ├── Icon@2x.png │ │ │ └── README.txt │ │ ├── Makefile │ │ ├── RootViewController.h │ │ ├── RootViewController.m │ │ ├── TEMPLATE_PROJECT-Info.plist │ │ ├── TEMPLATE_PROJECTApplication.h │ │ ├── TEMPLATE_PROJECTApplication.m │ │ └── main.m │ │ ├── Command_line_utility │ │ ├── Makefile │ │ └── main.m │ │ ├── Dynamic_Framework │ │ ├── Makefile │ │ ├── TEMPLATE_PROJECT.h │ │ ├── TEMPLATE_PROJECT.m │ │ └── test │ │ │ ├── Makefile │ │ │ └── main.m │ │ ├── Dynamic_Library │ │ ├── Makefile │ │ ├── TEMPLATE_PROJECT.h │ │ ├── TEMPLATE_PROJECT.m │ │ └── test │ │ │ ├── Makefile │ │ │ └── main.m │ │ ├── Example_Player │ │ ├── AppDelegate.h │ │ ├── AppDelegate.m │ │ ├── CustomMPViewController.h │ │ ├── CustomMPViewController.m │ │ ├── Images │ │ │ ├── Icon-72.png │ │ │ ├── Icon.png │ │ │ └── Icon@2x.png │ │ ├── MPPlayer-Info.plist │ │ ├── MPPlayer-Prefix.pch │ │ ├── Makefile │ │ ├── Resources │ │ │ ├── Movie-1.mp4 │ │ │ └── playButton.png │ │ ├── ViewController.h │ │ ├── ViewController.m │ │ └── main.m │ │ ├── Example_UICatalog │ │ ├── AlertsViewController.h │ │ ├── AlertsViewController.m │ │ ├── AppDelegate.h │ │ ├── AppDelegate.m │ │ ├── ButtonsViewController.h │ │ ├── ButtonsViewController.m │ │ ├── Constants.h │ │ ├── ControlsViewController.h │ │ ├── ControlsViewController.m │ │ ├── Images │ │ │ ├── 12-6AM.png │ │ │ ├── 12-6PM.png │ │ │ ├── 6-12AM.png │ │ │ ├── 6-12PM.png │ │ │ ├── Default-568h@2x.png │ │ │ ├── Default.png │ │ │ ├── Default@2x.png │ │ │ ├── Icon-72.png │ │ │ ├── Icon.png │ │ │ ├── Icon@2x.png │ │ │ ├── UIButton_custom.png │ │ │ ├── blueButton.png │ │ │ ├── orangeslide.png │ │ │ ├── scene1.jpg │ │ │ ├── scene2.jpg │ │ │ ├── scene3.jpg │ │ │ ├── scene4.jpg │ │ │ ├── scene5.jpg │ │ │ ├── segment_check.png │ │ │ ├── segment_search.png │ │ │ ├── segment_tools.png │ │ │ ├── slider_ball.png │ │ │ ├── whiteButton.png │ │ │ └── yellowslide.png │ │ ├── ImagesViewController.h │ │ ├── ImagesViewController.m │ │ ├── Info.plist │ │ ├── Localizations │ │ │ └── en.lproj │ │ │ │ └── Localizable.strings │ │ ├── MainViewController.h │ │ ├── MainViewController.m │ │ ├── Makefile │ │ ├── Picker │ │ │ ├── CustomPicker.h │ │ │ ├── CustomPicker.m │ │ │ ├── CustomView.h │ │ │ └── CustomView.m │ │ ├── PickerViewController.h │ │ ├── PickerViewController.m │ │ ├── Prefix.pch │ │ ├── ReadMe.txt │ │ ├── SearchBarController.h │ │ ├── SearchBarController.m │ │ ├── SegmentViewController.h │ │ ├── SegmentViewController.m │ │ ├── TableCells │ │ │ ├── CellTextField.h │ │ │ ├── CellTextField.m │ │ │ ├── CellTextView.h │ │ │ ├── CellTextView.m │ │ │ ├── DisplayCell.h │ │ │ ├── DisplayCell.m │ │ │ ├── EditableTableViewCell.h │ │ │ ├── EditableTableViewCell.m │ │ │ ├── SourceCell.h │ │ │ └── SourceCell.m │ │ ├── TextFieldController.h │ │ ├── TextFieldController.m │ │ ├── TextViewController.h │ │ ├── TextViewController.m │ │ ├── ToolbarViewController.h │ │ ├── ToolbarViewController.m │ │ ├── TransitionViewController.h │ │ ├── TransitionViewController.m │ │ ├── WebViewController.h │ │ ├── WebViewController.m │ │ └── main.m │ │ ├── Makefile.am │ │ ├── Notification_Center_widget │ │ ├── BBWeeAppController-Protocol.h │ │ ├── Localizations │ │ │ └── English.lproj │ │ │ │ └── InfoPlist.strings │ │ ├── Makefile │ │ ├── Resources │ │ │ ├── Icon.png │ │ │ └── Icon@2x.png │ │ ├── TEMPLATE_PROJECT-Info.plist │ │ └── TEMPLATE_PROJECTController.m │ │ ├── Static_Framework │ │ ├── Makefile │ │ ├── TEMPLATE_PROJECT.h │ │ ├── TEMPLATE_PROJECT.m │ │ └── test │ │ │ ├── Makefile │ │ │ └── main.m │ │ └── Static_Library │ │ ├── Makefile │ │ ├── TEMPLATE_PROJECT.h │ │ ├── TEMPLATE_PROJECT.m │ │ └── test │ │ ├── Makefile │ │ └── main.m │ ├── genLocalization2 │ ├── Makefile.am │ ├── getLocalizedStringFromFile.cpp │ ├── getLocalizedStringFromFile.h │ └── main.cpp │ ├── ldid │ ├── Makefile.am │ ├── ldid.cpp │ ├── lookup2.c │ ├── minimal │ │ ├── hexdump.h │ │ ├── mapping.h │ │ ├── sqlite3.h │ │ ├── stdlib.h │ │ └── string.h │ ├── sha1.c │ └── sha1.h │ ├── libhelper │ ├── Makefile.am │ ├── helper.h │ ├── pathutil.cpp │ ├── sdkutil.cpp │ ├── stringutil.cpp │ └── xmlutil.cpp │ ├── libplutil │ ├── Makefile.am │ ├── base64.c │ ├── base64.h │ ├── bplist.c │ ├── bytearray.c │ ├── bytearray.h │ ├── common.h │ ├── hashtable.c │ ├── hashtable.h │ ├── iterator.c │ ├── iterator.h │ ├── list.c │ ├── list.h │ ├── node.c │ ├── node.h │ ├── node_iterator.c │ ├── node_iterator.h │ ├── node_list.c │ ├── node_list.h │ ├── object.h │ ├── plist.c │ ├── plist.h │ ├── plist │ │ ├── Array.h │ │ ├── Boolean.h │ │ ├── Data.h │ │ ├── Date.h │ │ ├── Dictionary.h │ │ ├── Integer.h │ │ ├── Node.h │ │ ├── Real.h │ │ ├── String.h │ │ ├── Structure.h │ │ ├── plist++.h │ │ └── plist.h │ ├── plutil.h │ ├── ptrarray.c │ ├── ptrarray.h │ └── xplist.c │ ├── plutil │ ├── Makefile.am │ └── plutil.c │ ├── pngcrush │ ├── Makefile.am │ ├── crush.c │ ├── decrush.c │ ├── libpng │ │ ├── .gitignore │ │ ├── png.c │ │ ├── png.h │ │ ├── pngconf.h │ │ ├── pngerror.c │ │ ├── pngget.c │ │ ├── pngmem.c │ │ ├── pngpread.c │ │ ├── pngpriv.h │ │ ├── pngread.c │ │ ├── pngrio.c │ │ ├── pngrtran.c │ │ ├── pngrutil.c │ │ ├── pngset.c │ │ ├── pngtrans.c │ │ ├── pngwio.c │ │ ├── pngwrite.c │ │ ├── pngwtran.c │ │ └── pngwutil.c │ └── main.c │ └── xcbuild │ ├── Makefile.am │ ├── README │ ├── libxcodeutils │ ├── Makefile │ ├── README │ ├── lex.yy.c │ ├── pbxproj.cpp │ ├── pbxproj.hpp │ ├── pbxproj.l │ ├── pbxproj.y │ ├── pbxprojdef.cpp │ └── pbxprojdef.h │ ├── xcbuild.cpp │ └── xcdump.cpp ├── configure └── svn-import ├── .r423 ├── cctools-porting-yetist ├── README ├── updatesources.sh └── workspace │ ├── AUTHORS │ ├── COPYING │ ├── ChangeLog │ ├── INSTALL │ ├── Makefile.am │ ├── NEWS │ ├── README │ ├── ar │ └── Makefile.am │ ├── as │ ├── Makefile.am │ ├── arm │ │ └── Makefile.am │ ├── i386 │ │ └── Makefile.am │ ├── ppc │ │ └── Makefile.am │ ├── ppc64 │ │ └── Makefile.am │ └── x86_64 │ │ └── Makefile.am │ ├── autogen.sh │ ├── configure.ac │ ├── include │ └── foreign │ │ ├── Availability.h │ │ ├── AvailabilityMacros.h │ │ ├── CommonCrypto │ │ └── CommonDigest.h │ │ ├── README │ │ ├── ar.h │ │ ├── architecture │ │ ├── alignment.h │ │ ├── byte_order.h │ │ ├── i386 │ │ │ ├── alignment.h │ │ │ ├── asm_help.h │ │ │ ├── byte_order.h │ │ │ ├── cpu.h │ │ │ ├── desc.h │ │ │ ├── fenv.h │ │ │ ├── fpu.h │ │ │ ├── frame.h │ │ │ ├── io.h │ │ │ ├── math.h │ │ │ ├── pio.h │ │ │ ├── reg_help.h │ │ │ ├── sel.h │ │ │ ├── table.h │ │ │ └── tss.h │ │ └── ppc │ │ │ ├── alignment.h │ │ │ ├── asm_help.h │ │ │ ├── basic_regs.h │ │ │ ├── byte_order.h │ │ │ ├── cframe.h │ │ │ ├── fenv.h │ │ │ ├── fp_regs.h │ │ │ ├── macro_help.h │ │ │ ├── math.h │ │ │ ├── mode_independent_asm.h │ │ │ ├── pseudo_inst.h │ │ │ └── reg_help.h │ │ ├── errno.h │ │ ├── extern.h │ │ ├── i386 │ │ ├── _limits.h │ │ ├── _param.h │ │ ├── _structs.h │ │ ├── _types.h │ │ ├── eflags.h │ │ ├── endian.h │ │ ├── fasttrap_isa.h │ │ ├── limits.h │ │ ├── param.h │ │ ├── profile.h │ │ ├── setjmp.h │ │ ├── signal.h │ │ ├── types.h │ │ ├── user_ldt.h │ │ └── vmparam.h │ │ ├── libc.h │ │ ├── libkern │ │ ├── OSAtomic.h │ │ ├── OSByteOrder.h │ │ ├── OSCacheControl.h │ │ ├── OSDebug.h │ │ ├── OSKextLib.h │ │ ├── OSReturn.h │ │ ├── OSTypes.h │ │ ├── _OSByteOrder.h │ │ ├── i386 │ │ │ ├── OSByteOrder.h │ │ │ └── _OSByteOrder.h │ │ ├── machine │ │ │ └── OSByteOrder.h │ │ └── ppc │ │ │ └── OSByteOrder.h │ │ ├── libunwind.h │ │ ├── mach-o │ │ └── compact_unwind_encoding.h │ │ ├── mach │ │ ├── audit_triggers.defs │ │ ├── boolean.h │ │ ├── bootstrap.h │ │ ├── clock.defs │ │ ├── clock.h │ │ ├── clock_priv.defs │ │ ├── clock_priv.h │ │ ├── clock_reply.defs │ │ ├── clock_reply.h │ │ ├── clock_types.defs │ │ ├── clock_types.h │ │ ├── error.h │ │ ├── exc.defs │ │ ├── exc.h │ │ ├── exception.h │ │ ├── exception_types.h │ │ ├── host_info.h │ │ ├── host_notify.h │ │ ├── host_notify_reply.defs │ │ ├── host_priv.defs │ │ ├── host_priv.h │ │ ├── host_reboot.h │ │ ├── host_security.defs │ │ ├── host_security.h │ │ ├── host_special_ports.h │ │ ├── i386 │ │ │ ├── _structs.h │ │ │ ├── asm.h │ │ │ ├── boolean.h │ │ │ ├── exception.h │ │ │ ├── fp_reg.h │ │ │ ├── kern_return.h │ │ │ ├── machine_types.defs │ │ │ ├── ndr_def.h │ │ │ ├── processor_info.h │ │ │ ├── rpc.h │ │ │ ├── sdt_isa.h │ │ │ ├── task.h │ │ │ ├── thread_act.h │ │ │ ├── thread_state.h │ │ │ ├── thread_status.h │ │ │ ├── vm_param.h │ │ │ └── vm_types.h │ │ ├── kern_return.h │ │ ├── kmod.h │ │ ├── ledger.defs │ │ ├── ledger.h │ │ ├── lock_set.defs │ │ ├── lock_set.h │ │ ├── mach.h │ │ ├── mach_error.h │ │ ├── mach_exc.defs │ │ ├── mach_host.defs │ │ ├── mach_host.h │ │ ├── mach_init.h │ │ ├── mach_interface.h │ │ ├── mach_param.h │ │ ├── mach_port.defs │ │ ├── mach_port.h │ │ ├── mach_syscalls.h │ │ ├── mach_time.h │ │ ├── mach_traps.h │ │ ├── mach_types.defs │ │ ├── mach_types.h │ │ ├── mach_vm.defs │ │ ├── mach_vm.h │ │ ├── machine.h │ │ ├── machine │ │ │ ├── asm.h │ │ │ ├── boolean.h │ │ │ ├── exception.h │ │ │ ├── kern_return.h │ │ │ ├── machine_types.defs │ │ │ ├── ndr_def.h │ │ │ ├── processor_info.h │ │ │ ├── rpc.h │ │ │ ├── sdt.h │ │ │ ├── sdt_isa.h │ │ │ ├── thread_state.h │ │ │ ├── thread_status.h │ │ │ ├── vm_param.h │ │ │ └── vm_types.h │ │ ├── memory_object_types.h │ │ ├── message.h │ │ ├── mig.h │ │ ├── mig_errors.h │ │ ├── ndr.h │ │ ├── notify.defs │ │ ├── notify.h │ │ ├── policy.h │ │ ├── port.h │ │ ├── port_obj.h │ │ ├── ppc │ │ │ ├── _structs.h │ │ │ ├── asm.h │ │ │ ├── boolean.h │ │ │ ├── exception.h │ │ │ ├── kern_return.h │ │ │ ├── machine_types.defs │ │ │ ├── ndr_def.h │ │ │ ├── processor_info.h │ │ │ ├── rpc.h │ │ │ ├── sdt_isa.h │ │ │ ├── task.h │ │ │ ├── thread_act.h │ │ │ ├── thread_state.h │ │ │ ├── thread_status.h │ │ │ ├── vm_param.h │ │ │ └── vm_types.h │ │ ├── processor.defs │ │ ├── processor.h │ │ ├── processor_info.h │ │ ├── processor_set.defs │ │ ├── processor_set.h │ │ ├── rpc.h │ │ ├── sdt.h │ │ ├── security.defs │ │ ├── semaphore.h │ │ ├── shared_memory_server.h │ │ ├── shared_region.h │ │ ├── std_types.defs │ │ ├── std_types.h │ │ ├── sync.h │ │ ├── sync_policy.h │ │ ├── task.defs │ │ ├── task.h │ │ ├── task_access.defs │ │ ├── task_info.h │ │ ├── task_ledger.h │ │ ├── task_policy.h │ │ ├── task_special_ports.h │ │ ├── thread_act.defs │ │ ├── thread_act.h │ │ ├── thread_info.h │ │ ├── thread_policy.h │ │ ├── thread_special_ports.h │ │ ├── thread_status.h │ │ ├── thread_switch.h │ │ ├── time_value.h │ │ ├── vm_attributes.h │ │ ├── vm_behavior.h │ │ ├── vm_inherit.h │ │ ├── vm_map.defs │ │ ├── vm_map.h │ │ ├── vm_param.h │ │ ├── vm_prot.h │ │ ├── vm_purgable.h │ │ ├── vm_region.h │ │ ├── vm_statistics.h │ │ ├── vm_sync.h │ │ ├── vm_task.h │ │ ├── vm_types.h │ │ └── x86_64 │ │ │ ├── task.h │ │ │ └── thread_act.h │ │ ├── mach_debug │ │ ├── hash_info.h │ │ ├── ipc_info.h │ │ ├── lockgroup_info.h │ │ ├── mach_debug.h │ │ ├── mach_debug_types.defs │ │ ├── mach_debug_types.h │ │ ├── page_info.h │ │ ├── vm_info.h │ │ └── zone_info.h │ │ ├── machine │ │ ├── _limits.h │ │ ├── _param.h │ │ ├── _structs.h │ │ ├── _types.h │ │ ├── byte_order.h │ │ ├── endian.h │ │ ├── fasttrap_isa.h │ │ ├── limits.h │ │ ├── param.h │ │ ├── profile.h │ │ ├── setjmp.h │ │ ├── signal.h │ │ ├── types.h │ │ └── vmparam.h │ │ ├── malloc │ │ └── malloc.h │ │ ├── objc │ │ └── objc-runtime.h │ │ ├── ppc │ │ ├── _limits.h │ │ ├── _param.h │ │ ├── _structs.h │ │ ├── _types.h │ │ ├── endian.h │ │ ├── fasttrap_isa.h │ │ ├── limits.h │ │ ├── param.h │ │ ├── profile.h │ │ ├── setjmp.h │ │ ├── signal.h │ │ ├── types.h │ │ └── vmparam.h │ │ ├── servers │ │ └── bootstrap.h │ │ ├── string.h │ │ ├── sys │ │ ├── _endian.h │ │ ├── _types.h │ │ └── attr.h │ │ ├── tzfile.h │ │ └── unistd.h │ ├── ld │ └── Makefile.am │ ├── ld64 │ ├── Makefile.am │ ├── configure.ac │ └── src │ │ ├── 3rd │ │ ├── BlocksRuntime │ │ │ ├── Block.h │ │ │ ├── Block_private.h │ │ │ ├── Makefile.am │ │ │ ├── config.h │ │ │ ├── data.c │ │ │ └── runtime.c │ │ ├── Makefile.am │ │ ├── helper.c │ │ ├── helper.h │ │ ├── qsort_r.c │ │ ├── qsort_r.h │ │ ├── strlcat.c │ │ ├── strlcat.h │ │ ├── strlcpy.c │ │ └── strlcpy.h │ │ ├── Makefile.am │ │ ├── compile_stubs.h │ │ ├── configure.h │ │ ├── ld │ │ ├── Makefile.am │ │ ├── parsers │ │ │ └── Makefile.am │ │ └── passes │ │ │ └── Makefile.am │ │ └── other │ │ └── Makefile.am │ ├── libobjc2 │ └── Makefile.am │ ├── libstuff │ ├── Makefile.am │ ├── apple_version.c │ └── emulated.c │ ├── misc │ └── Makefile.am │ ├── otool │ └── Makefile.am │ └── patches │ └── porting-single.patch ├── cctools-porting ├── README ├── cctools-ld64.sh ├── headers │ └── include │ │ └── foreign │ │ ├── Availability.h │ │ ├── AvailabilityMacros.h │ │ ├── CommonCrypto │ │ └── CommonDigest.h │ │ ├── ar.h │ │ ├── architecture │ │ ├── alignment.h │ │ ├── byte_order.h │ │ ├── i386 │ │ │ ├── alignment.h │ │ │ ├── asm_help.h │ │ │ ├── byte_order.h │ │ │ ├── cpu.h │ │ │ ├── desc.h │ │ │ ├── fenv.h │ │ │ ├── fpu.h │ │ │ ├── frame.h │ │ │ ├── io.h │ │ │ ├── math.h │ │ │ ├── pio.h │ │ │ ├── reg_help.h │ │ │ ├── sel.h │ │ │ ├── table.h │ │ │ └── tss.h │ │ └── ppc │ │ │ ├── alignment.h │ │ │ ├── asm_help.h │ │ │ ├── basic_regs.h │ │ │ ├── byte_order.h │ │ │ ├── cframe.h │ │ │ ├── fenv.h │ │ │ ├── fp_regs.h │ │ │ ├── macro_help.h │ │ │ ├── math.h │ │ │ ├── mode_independent_asm.h │ │ │ ├── pseudo_inst.h │ │ │ └── reg_help.h │ │ ├── extern.h │ │ ├── i386 │ │ ├── _limits.h │ │ ├── _param.h │ │ ├── _structs.h │ │ ├── _types.h │ │ ├── eflags.h │ │ ├── endian.h │ │ ├── fasttrap_isa.h │ │ ├── limits.h │ │ ├── param.h │ │ ├── profile.h │ │ ├── setjmp.h │ │ ├── signal.h │ │ ├── types.h │ │ ├── user_ldt.h │ │ └── vmparam.h │ │ ├── libc.h │ │ ├── libkern │ │ ├── OSAtomic.h │ │ ├── OSByteOrder.h │ │ ├── OSCacheControl.h │ │ ├── OSDebug.h │ │ ├── OSKextLib.h │ │ ├── OSReturn.h │ │ ├── OSTypes.h │ │ ├── _OSByteOrder.h │ │ ├── i386 │ │ │ ├── OSByteOrder.h │ │ │ └── _OSByteOrder.h │ │ ├── machine │ │ │ └── OSByteOrder.h │ │ └── ppc │ │ │ └── OSByteOrder.h │ │ ├── libunwind.h │ │ ├── mach-o │ │ └── compact_unwind_encoding.h │ │ ├── mach │ │ ├── audit_triggers.defs │ │ ├── boolean.h │ │ ├── bootstrap.h │ │ ├── clock.defs │ │ ├── clock.h │ │ ├── clock_priv.defs │ │ ├── clock_priv.h │ │ ├── clock_reply.defs │ │ ├── clock_reply.h │ │ ├── clock_types.defs │ │ ├── clock_types.h │ │ ├── error.h │ │ ├── exc.defs │ │ ├── exc.h │ │ ├── exception.h │ │ ├── exception_types.h │ │ ├── host_info.h │ │ ├── host_notify.h │ │ ├── host_notify_reply.defs │ │ ├── host_priv.defs │ │ ├── host_priv.h │ │ ├── host_reboot.h │ │ ├── host_security.defs │ │ ├── host_security.h │ │ ├── host_special_ports.h │ │ ├── i386 │ │ │ ├── _structs.h │ │ │ ├── asm.h │ │ │ ├── boolean.h │ │ │ ├── exception.h │ │ │ ├── fp_reg.h │ │ │ ├── kern_return.h │ │ │ ├── machine_types.defs │ │ │ ├── ndr_def.h │ │ │ ├── processor_info.h │ │ │ ├── rpc.h │ │ │ ├── sdt_isa.h │ │ │ ├── task.h │ │ │ ├── thread_act.h │ │ │ ├── thread_state.h │ │ │ ├── thread_status.h │ │ │ ├── vm_param.h │ │ │ └── vm_types.h │ │ ├── kern_return.h │ │ ├── kmod.h │ │ ├── ledger.defs │ │ ├── ledger.h │ │ ├── lock_set.defs │ │ ├── lock_set.h │ │ ├── mach.h │ │ ├── mach_error.h │ │ ├── mach_exc.defs │ │ ├── mach_host.defs │ │ ├── mach_host.h │ │ ├── mach_init.h │ │ ├── mach_interface.h │ │ ├── mach_param.h │ │ ├── mach_port.defs │ │ ├── mach_port.h │ │ ├── mach_syscalls.h │ │ ├── mach_time.h │ │ ├── mach_traps.h │ │ ├── mach_types.defs │ │ ├── mach_types.h │ │ ├── mach_vm.defs │ │ ├── mach_vm.h │ │ ├── machine.h │ │ ├── machine │ │ │ ├── asm.h │ │ │ ├── boolean.h │ │ │ ├── exception.h │ │ │ ├── kern_return.h │ │ │ ├── machine_types.defs │ │ │ ├── ndr_def.h │ │ │ ├── processor_info.h │ │ │ ├── rpc.h │ │ │ ├── sdt.h │ │ │ ├── sdt_isa.h │ │ │ ├── thread_state.h │ │ │ ├── thread_status.h │ │ │ ├── vm_param.h │ │ │ └── vm_types.h │ │ ├── memory_object_types.h │ │ ├── message.h │ │ ├── mig.h │ │ ├── mig_errors.h │ │ ├── ndr.h │ │ ├── notify.defs │ │ ├── notify.h │ │ ├── policy.h │ │ ├── port.h │ │ ├── port_obj.h │ │ ├── ppc │ │ │ ├── _structs.h │ │ │ ├── asm.h │ │ │ ├── boolean.h │ │ │ ├── exception.h │ │ │ ├── kern_return.h │ │ │ ├── machine_types.defs │ │ │ ├── ndr_def.h │ │ │ ├── processor_info.h │ │ │ ├── rpc.h │ │ │ ├── sdt_isa.h │ │ │ ├── task.h │ │ │ ├── thread_act.h │ │ │ ├── thread_state.h │ │ │ ├── thread_status.h │ │ │ ├── vm_param.h │ │ │ └── vm_types.h │ │ ├── processor.defs │ │ ├── processor.h │ │ ├── processor_info.h │ │ ├── processor_set.defs │ │ ├── processor_set.h │ │ ├── rpc.h │ │ ├── sdt.h │ │ ├── security.defs │ │ ├── semaphore.h │ │ ├── shared_memory_server.h │ │ ├── shared_region.h │ │ ├── std_types.defs │ │ ├── std_types.h │ │ ├── sync.h │ │ ├── sync_policy.h │ │ ├── task.defs │ │ ├── task.h │ │ ├── task_access.defs │ │ ├── task_info.h │ │ ├── task_ledger.h │ │ ├── task_policy.h │ │ ├── task_special_ports.h │ │ ├── thread_act.defs │ │ ├── thread_act.h │ │ ├── thread_info.h │ │ ├── thread_policy.h │ │ ├── thread_special_ports.h │ │ ├── thread_status.h │ │ ├── thread_switch.h │ │ ├── time_value.h │ │ ├── vm_attributes.h │ │ ├── vm_behavior.h │ │ ├── vm_inherit.h │ │ ├── vm_map.defs │ │ ├── vm_map.h │ │ ├── vm_param.h │ │ ├── vm_prot.h │ │ ├── vm_purgable.h │ │ ├── vm_region.h │ │ ├── vm_statistics.h │ │ ├── vm_sync.h │ │ ├── vm_task.h │ │ ├── vm_types.h │ │ └── x86_64 │ │ │ ├── task.h │ │ │ └── thread_act.h │ │ ├── mach_debug │ │ ├── hash_info.h │ │ ├── ipc_info.h │ │ ├── lockgroup_info.h │ │ ├── mach_debug.h │ │ ├── mach_debug_types.defs │ │ ├── mach_debug_types.h │ │ ├── page_info.h │ │ ├── vm_info.h │ │ └── zone_info.h │ │ ├── machine │ │ ├── _limits.h │ │ ├── _param.h │ │ ├── _structs.h │ │ ├── _types.h │ │ ├── byte_order.h │ │ ├── endian.h │ │ ├── fasttrap_isa.h │ │ ├── limits.h │ │ ├── param.h │ │ ├── profile.h │ │ ├── setjmp.h │ │ ├── signal.h │ │ ├── types.h │ │ └── vmparam.h │ │ ├── malloc │ │ └── malloc.h │ │ ├── ppc │ │ ├── _limits.h │ │ ├── _param.h │ │ ├── _structs.h │ │ ├── _types.h │ │ ├── endian.h │ │ ├── fasttrap_isa.h │ │ ├── limits.h │ │ ├── param.h │ │ ├── profile.h │ │ ├── setjmp.h │ │ ├── signal.h │ │ ├── types.h │ │ └── vmparam.h │ │ ├── servers │ │ └── bootstrap.h │ │ ├── sys │ │ ├── _types.h │ │ └── attr.h │ │ └── tzfile.h ├── patches │ ├── cctools-839-ported.patch │ ├── ld64-134.9-ported.patch │ ├── ld64-136-ported.patch │ ├── ld64-backward-support-for-llvm-gcc.patch │ └── libobjc-remove-dispatch.patch └── projectfiles │ ├── Makefile.am │ ├── ar │ └── Makefile.am │ ├── as │ ├── Makefile.am │ ├── arm │ │ └── Makefile.am │ ├── i386 │ │ └── Makefile.am │ ├── ppc │ │ └── Makefile.am │ ├── ppc64 │ │ └── Makefile.am │ └── x86_64 │ │ └── Makefile.am │ ├── autogen.sh │ ├── configure.ac │ ├── ld │ └── Makefile.am │ ├── ld64 │ ├── Makefile.am │ ├── configure.ac │ └── src │ │ ├── 3rd │ │ ├── BlocksRuntime │ │ │ └── Makefile.am │ │ └── Makefile.am │ │ ├── Makefile.am │ │ ├── ld │ │ ├── Makefile.am │ │ ├── parsers │ │ │ └── Makefile.am │ │ └── passes │ │ │ └── Makefile.am │ │ └── other │ │ └── Makefile.am │ ├── libobjc2 │ └── Makefile.am │ ├── libstuff │ └── Makefile.am │ ├── misc │ └── Makefile.am │ └── otool │ └── Makefile.am ├── gdb-1822 ├── README ├── externalheaders │ ├── architecture │ │ ├── alignment.h │ │ ├── byte_order.h │ │ ├── i386 │ │ │ ├── alignment.h │ │ │ ├── asm_help.h │ │ │ ├── byte_order.h │ │ │ ├── cpu.h │ │ │ ├── desc.h │ │ │ ├── fenv.h │ │ │ ├── fpu.h │ │ │ ├── frame.h │ │ │ ├── io.h │ │ │ ├── math.h │ │ │ ├── pio.h │ │ │ ├── reg_help.h │ │ │ ├── sel.h │ │ │ ├── table.h │ │ │ └── tss.h │ │ └── ppc │ │ │ ├── alignment.h │ │ │ ├── asm_help.h │ │ │ ├── basic_regs.h │ │ │ ├── byte_order.h │ │ │ ├── cframe.h │ │ │ ├── fenv.h │ │ │ ├── fp_regs.h │ │ │ ├── macro_help.h │ │ │ ├── math.h │ │ │ ├── mode_independent_asm.h │ │ │ ├── pseudo_inst.h │ │ │ └── reg_help.h │ ├── i386 │ │ ├── _limits.h │ │ ├── _param.h │ │ ├── _structs.h │ │ ├── _types.h │ │ ├── eflags.h │ │ ├── endian.h │ │ ├── fasttrap_isa.h │ │ ├── limits.h │ │ ├── param.h │ │ ├── profile.h │ │ ├── setjmp.h │ │ ├── signal.h │ │ ├── types.h │ │ ├── user_ldt.h │ │ └── vmparam.h │ ├── libkern │ │ ├── OSAtomic.h │ │ ├── OSByteOrder.h │ │ ├── OSCacheControl.h │ │ ├── OSDebug.h │ │ ├── OSKextLib.h │ │ ├── OSReturn.h │ │ ├── OSTypes.h │ │ ├── _OSByteOrder.h │ │ ├── i386 │ │ │ ├── OSByteOrder.h │ │ │ └── _OSByteOrder.h │ │ ├── machine │ │ │ └── OSByteOrder.h │ │ └── ppc │ │ │ └── OSByteOrder.h │ ├── mach-o │ │ ├── arch.h │ │ ├── arm │ │ │ └── reloc.h │ │ ├── dyld.h │ │ ├── dyld_debug.h │ │ ├── dyld_gdb.h │ │ ├── dyld_priv.h │ │ ├── fat.h │ │ ├── getsect.h │ │ ├── gmon.h │ │ ├── hppa │ │ │ ├── reloc.h │ │ │ └── swap.h │ │ ├── i386 │ │ │ └── swap.h │ │ ├── i860 │ │ │ ├── reloc.h │ │ │ └── swap.h │ │ ├── kld.h │ │ ├── ldsyms.h │ │ ├── loader.h │ │ ├── m68k │ │ │ └── swap.h │ │ ├── m88k │ │ │ ├── reloc.h │ │ │ └── swap.h │ │ ├── nlist.h │ │ ├── ppc │ │ │ ├── reloc.h │ │ │ └── swap.h │ │ ├── ranlib.h │ │ ├── redo_prebinding.h │ │ ├── reloc.h │ │ ├── rld.h │ │ ├── rld_state.h │ │ ├── sarld.h │ │ ├── sparc │ │ │ ├── reloc.h │ │ │ └── swap.h │ │ ├── stab.h │ │ ├── swap.h │ │ └── x86_64 │ │ │ └── reloc.h │ ├── mach │ │ ├── audit_triggers.defs │ │ ├── boolean.h │ │ ├── bootstrap.h │ │ ├── clock.defs │ │ ├── clock.h │ │ ├── clock_priv.defs │ │ ├── clock_priv.h │ │ ├── clock_reply.defs │ │ ├── clock_reply.h │ │ ├── clock_types.defs │ │ ├── clock_types.h │ │ ├── error.h │ │ ├── exc.defs │ │ ├── exc.h │ │ ├── exception.h │ │ ├── exception_types.h │ │ ├── host_info.h │ │ ├── host_notify.h │ │ ├── host_notify_reply.defs │ │ ├── host_priv.defs │ │ ├── host_priv.h │ │ ├── host_reboot.h │ │ ├── host_security.defs │ │ ├── host_security.h │ │ ├── host_special_ports.h │ │ ├── i386 │ │ │ ├── _structs.h │ │ │ ├── asm.h │ │ │ ├── boolean.h │ │ │ ├── exception.h │ │ │ ├── fp_reg.h │ │ │ ├── kern_return.h │ │ │ ├── machine_types.defs │ │ │ ├── ndr_def.h │ │ │ ├── processor_info.h │ │ │ ├── rpc.h │ │ │ ├── sdt_isa.h │ │ │ ├── task.h │ │ │ ├── thread_act.h │ │ │ ├── thread_state.h │ │ │ ├── thread_status.h │ │ │ ├── vm_param.h │ │ │ └── vm_types.h │ │ ├── kern_return.h │ │ ├── kmod.h │ │ ├── ledger.defs │ │ ├── ledger.h │ │ ├── lock_set.defs │ │ ├── lock_set.h │ │ ├── mach.h │ │ ├── mach_error.h │ │ ├── mach_exc.defs │ │ ├── mach_host.defs │ │ ├── mach_host.h │ │ ├── mach_init.h │ │ ├── mach_interface.h │ │ ├── mach_param.h │ │ ├── mach_port.defs │ │ ├── mach_port.h │ │ ├── mach_syscalls.h │ │ ├── mach_time.h │ │ ├── mach_traps.h │ │ ├── mach_types.defs │ │ ├── mach_types.h │ │ ├── mach_vm.defs │ │ ├── mach_vm.h │ │ ├── machine.h │ │ ├── machine │ │ │ ├── asm.h │ │ │ ├── boolean.h │ │ │ ├── exception.h │ │ │ ├── kern_return.h │ │ │ ├── machine_types.defs │ │ │ ├── ndr_def.h │ │ │ ├── processor_info.h │ │ │ ├── rpc.h │ │ │ ├── sdt.h │ │ │ ├── sdt_isa.h │ │ │ ├── thread_state.h │ │ │ ├── thread_status.h │ │ │ ├── vm_param.h │ │ │ └── vm_types.h │ │ ├── memory_object_types.h │ │ ├── message.h │ │ ├── mig.h │ │ ├── mig_errors.h │ │ ├── ndr.h │ │ ├── notify.defs │ │ ├── notify.h │ │ ├── policy.h │ │ ├── port.h │ │ ├── port_obj.h │ │ ├── ppc │ │ │ ├── _structs.h │ │ │ ├── asm.h │ │ │ ├── boolean.h │ │ │ ├── exception.h │ │ │ ├── kern_return.h │ │ │ ├── machine_types.defs │ │ │ ├── ndr_def.h │ │ │ ├── processor_info.h │ │ │ ├── rpc.h │ │ │ ├── sdt_isa.h │ │ │ ├── task.h │ │ │ ├── thread_act.h │ │ │ ├── thread_state.h │ │ │ ├── thread_status.h │ │ │ ├── vm_param.h │ │ │ └── vm_types.h │ │ ├── processor.defs │ │ ├── processor.h │ │ ├── processor_info.h │ │ ├── processor_set.defs │ │ ├── processor_set.h │ │ ├── rpc.h │ │ ├── sdt.h │ │ ├── security.defs │ │ ├── semaphore.h │ │ ├── shared_memory_server.h │ │ ├── shared_region.h │ │ ├── std_types.defs │ │ ├── std_types.h │ │ ├── sync.h │ │ ├── sync_policy.h │ │ ├── task.defs │ │ ├── task.h │ │ ├── task_access.defs │ │ ├── task_info.h │ │ ├── task_ledger.h │ │ ├── task_policy.h │ │ ├── task_special_ports.h │ │ ├── thread_act.defs │ │ ├── thread_act.h │ │ ├── thread_info.h │ │ ├── thread_policy.h │ │ ├── thread_special_ports.h │ │ ├── thread_status.h │ │ ├── thread_switch.h │ │ ├── time_value.h │ │ ├── vm_attributes.h │ │ ├── vm_behavior.h │ │ ├── vm_inherit.h │ │ ├── vm_map.defs │ │ ├── vm_map.h │ │ ├── vm_param.h │ │ ├── vm_prot.h │ │ ├── vm_purgable.h │ │ ├── vm_region.h │ │ ├── vm_statistics.h │ │ ├── vm_sync.h │ │ ├── vm_task.h │ │ ├── vm_types.h │ │ └── x86_64 │ │ │ ├── task.h │ │ │ └── thread_act.h │ ├── mach_debug │ │ ├── hash_info.h │ │ ├── ipc_info.h │ │ ├── lockgroup_info.h │ │ ├── mach_debug.h │ │ ├── mach_debug_types.defs │ │ ├── mach_debug_types.h │ │ ├── page_info.h │ │ ├── vm_info.h │ │ └── zone_info.h │ ├── machine │ │ ├── _limits.h │ │ ├── _param.h │ │ ├── _structs.h │ │ ├── _types.h │ │ ├── byte_order.h │ │ ├── endian.h │ │ ├── fasttrap_isa.h │ │ ├── limits.h │ │ ├── param.h │ │ ├── profile.h │ │ ├── setjmp.h │ │ ├── signal.h │ │ ├── types.h │ │ └── vmparam.h │ └── sys │ │ ├── _types.h │ │ └── attr.h ├── gdb-1822-force-sysroot-to-sdk.patch ├── gdb-1822-ported.patch ├── ld-mac-loader-path.patch └── ld-mac-missing-header.patch ├── iphonesdk-utils ├── AUTHORS ├── COPYING ├── ChangeLog ├── INSTALL ├── Makefile.am ├── NEWS ├── README ├── autogen.sh ├── clangwrapper │ ├── Makefile.am │ └── clangwrapper.cpp ├── configure.ac ├── createProject │ ├── Makefile.am │ ├── ios-createProject.sh.in │ └── templates │ │ ├── Application │ │ ├── Images │ │ │ ├── Default.png │ │ │ ├── Default@2x.png │ │ │ ├── Icon-72.png │ │ │ ├── Icon.png │ │ │ ├── Icon@2x.png │ │ │ └── README.txt │ │ ├── Makefile │ │ ├── RootViewController.h │ │ ├── RootViewController.m │ │ ├── TEMPLATE_PROJECT-Info.plist │ │ ├── TEMPLATE_PROJECTApplication.h │ │ ├── TEMPLATE_PROJECTApplication.m │ │ └── main.m │ │ ├── Command_line_utility │ │ ├── Makefile │ │ └── main.m │ │ ├── Dynamic_Framework │ │ ├── Makefile │ │ ├── TEMPLATE_PROJECT.h │ │ ├── TEMPLATE_PROJECT.m │ │ └── test │ │ │ ├── Makefile │ │ │ └── main.m │ │ ├── Dynamic_Library │ │ ├── Makefile │ │ ├── TEMPLATE_PROJECT.h │ │ ├── TEMPLATE_PROJECT.m │ │ └── test │ │ │ ├── Makefile │ │ │ └── main.m │ │ ├── Example_Player │ │ ├── AppDelegate.h │ │ ├── AppDelegate.m │ │ ├── CustomMPViewController.h │ │ ├── CustomMPViewController.m │ │ ├── Images │ │ │ ├── Icon-72.png │ │ │ ├── Icon.png │ │ │ └── Icon@2x.png │ │ ├── MPPlayer-Info.plist │ │ ├── MPPlayer-Prefix.pch │ │ ├── Makefile │ │ ├── Resources │ │ │ ├── Movie-1.mp4 │ │ │ └── playButton.png │ │ ├── ViewController.h │ │ ├── ViewController.m │ │ └── main.m │ │ ├── Example_UICatalog │ │ ├── AlertsViewController.h │ │ ├── AlertsViewController.m │ │ ├── AppDelegate.h │ │ ├── AppDelegate.m │ │ ├── ButtonsViewController.h │ │ ├── ButtonsViewController.m │ │ ├── Constants.h │ │ ├── ControlsViewController.h │ │ ├── ControlsViewController.m │ │ ├── Images │ │ │ ├── 12-6AM.png │ │ │ ├── 12-6PM.png │ │ │ ├── 6-12AM.png │ │ │ ├── 6-12PM.png │ │ │ ├── Default-568h@2x.png │ │ │ ├── Default.png │ │ │ ├── Default@2x.png │ │ │ ├── Icon-72.png │ │ │ ├── Icon.png │ │ │ ├── Icon@2x.png │ │ │ ├── UIButton_custom.png │ │ │ ├── blueButton.png │ │ │ ├── orangeslide.png │ │ │ ├── scene1.jpg │ │ │ ├── scene2.jpg │ │ │ ├── scene3.jpg │ │ │ ├── scene4.jpg │ │ │ ├── scene5.jpg │ │ │ ├── segment_check.png │ │ │ ├── segment_search.png │ │ │ ├── segment_tools.png │ │ │ ├── slider_ball.png │ │ │ ├── whiteButton.png │ │ │ └── yellowslide.png │ │ ├── ImagesViewController.h │ │ ├── ImagesViewController.m │ │ ├── Info.plist │ │ ├── Localizations │ │ │ └── en.lproj │ │ │ │ └── Localizable.strings │ │ ├── MainViewController.h │ │ ├── MainViewController.m │ │ ├── Makefile │ │ ├── Picker │ │ │ ├── CustomPicker.h │ │ │ ├── CustomPicker.m │ │ │ ├── CustomView.h │ │ │ └── CustomView.m │ │ ├── PickerViewController.h │ │ ├── PickerViewController.m │ │ ├── Prefix.pch │ │ ├── ReadMe.txt │ │ ├── SearchBarController.h │ │ ├── SearchBarController.m │ │ ├── SegmentViewController.h │ │ ├── SegmentViewController.m │ │ ├── TableCells │ │ │ ├── CellTextField.h │ │ │ ├── CellTextField.m │ │ │ ├── CellTextView.h │ │ │ ├── CellTextView.m │ │ │ ├── DisplayCell.h │ │ │ ├── DisplayCell.m │ │ │ ├── EditableTableViewCell.h │ │ │ ├── EditableTableViewCell.m │ │ │ ├── SourceCell.h │ │ │ └── SourceCell.m │ │ ├── TextFieldController.h │ │ ├── TextFieldController.m │ │ ├── TextViewController.h │ │ ├── TextViewController.m │ │ ├── ToolbarViewController.h │ │ ├── ToolbarViewController.m │ │ ├── TransitionViewController.h │ │ ├── TransitionViewController.m │ │ ├── WebViewController.h │ │ ├── WebViewController.m │ │ └── main.m │ │ ├── Makefile.am │ │ ├── Notification_Center_widget │ │ ├── BBWeeAppController-Protocol.h │ │ ├── Localizations │ │ │ └── English.lproj │ │ │ │ └── InfoPlist.strings │ │ ├── Makefile │ │ ├── Resources │ │ │ ├── Icon.png │ │ │ └── Icon@2x.png │ │ ├── TEMPLATE_PROJECT-Info.plist │ │ └── TEMPLATE_PROJECTController.m │ │ ├── Static_Framework │ │ ├── Makefile │ │ ├── TEMPLATE_PROJECT.h │ │ ├── TEMPLATE_PROJECT.m │ │ └── test │ │ │ ├── Makefile │ │ │ └── main.m │ │ └── Static_Library │ │ ├── Makefile │ │ ├── TEMPLATE_PROJECT.h │ │ ├── TEMPLATE_PROJECT.m │ │ └── test │ │ ├── Makefile │ │ └── main.m ├── genLocalization2 │ ├── Makefile.am │ ├── getLocalizedStringFromFile.cpp │ ├── getLocalizedStringFromFile.h │ └── main.cpp ├── ldid │ ├── Makefile.am │ ├── ldid.cpp │ ├── lookup2.c │ ├── minimal │ │ ├── hexdump.h │ │ ├── mapping.h │ │ ├── sqlite3.h │ │ ├── stdlib.h │ │ └── string.h │ ├── sha1.c │ └── sha1.h ├── libhelper │ ├── Makefile.am │ ├── helper.h │ ├── pathutil.cpp │ ├── sdkutil.cpp │ ├── stringutil.cpp │ └── xmlutil.cpp ├── libplutil │ ├── Makefile.am │ ├── base64.c │ ├── base64.h │ ├── bplist.c │ ├── bytearray.c │ ├── bytearray.h │ ├── common.h │ ├── hashtable.c │ ├── hashtable.h │ ├── iterator.c │ ├── iterator.h │ ├── list.c │ ├── list.h │ ├── node.c │ ├── node.h │ ├── node_iterator.c │ ├── node_iterator.h │ ├── node_list.c │ ├── node_list.h │ ├── object.h │ ├── plist.c │ ├── plist.h │ ├── plist │ │ ├── Array.h │ │ ├── Boolean.h │ │ ├── Data.h │ │ ├── Date.h │ │ ├── Dictionary.h │ │ ├── Integer.h │ │ ├── Node.h │ │ ├── Real.h │ │ ├── String.h │ │ ├── Structure.h │ │ ├── plist++.h │ │ └── plist.h │ ├── plutil.h │ ├── ptrarray.c │ ├── ptrarray.h │ └── xplist.c ├── plutil │ ├── Makefile.am │ └── plutil.c ├── pngcrush │ ├── Makefile.am │ ├── crush.c │ ├── decrush.c │ ├── libpng │ │ ├── .gitignore │ │ ├── png.c │ │ ├── png.h │ │ ├── pngconf.h │ │ ├── pngerror.c │ │ ├── pngget.c │ │ ├── pngmem.c │ │ ├── pngpread.c │ │ ├── pngpriv.h │ │ ├── pngread.c │ │ ├── pngrio.c │ │ ├── pngrtran.c │ │ ├── pngrutil.c │ │ ├── pngset.c │ │ ├── pngtrans.c │ │ ├── pngwio.c │ │ ├── pngwrite.c │ │ ├── pngwtran.c │ │ └── pngwutil.c │ └── main.c └── xcbuild │ ├── Makefile.am │ ├── README │ ├── libxcodeutils │ ├── Makefile │ ├── README │ ├── lex.yy.c │ ├── pbxproj.cpp │ ├── pbxproj.hpp │ ├── pbxproj.l │ ├── pbxproj.y │ ├── pbxprojdef.cpp │ └── pbxprojdef.h │ ├── xcbuild.cpp │ └── xcdump.cpp ├── ld64-128.2 ├── README └── ld64-128.2-ported-standalone.patch ├── ld64-134.9 ├── README └── ld64-134.9-ported-standalone.patch ├── libsublime ├── Makefile ├── README └── sublime-imfix.c ├── lldb-ios ├── README ├── externalheaders │ ├── Availability.h │ ├── architecture │ │ ├── alignment.h │ │ ├── byte_order.h │ │ ├── i386 │ │ │ ├── alignment.h │ │ │ ├── asm_help.h │ │ │ ├── byte_order.h │ │ │ ├── cpu.h │ │ │ ├── desc.h │ │ │ ├── fenv.h │ │ │ ├── fpu.h │ │ │ ├── frame.h │ │ │ ├── io.h │ │ │ ├── math.h │ │ │ ├── pio.h │ │ │ ├── reg_help.h │ │ │ ├── sel.h │ │ │ ├── table.h │ │ │ └── tss.h │ │ └── ppc │ │ │ ├── alignment.h │ │ │ ├── asm_help.h │ │ │ ├── basic_regs.h │ │ │ ├── byte_order.h │ │ │ ├── cframe.h │ │ │ ├── fenv.h │ │ │ ├── fp_regs.h │ │ │ ├── macro_help.h │ │ │ ├── math.h │ │ │ ├── mode_independent_asm.h │ │ │ ├── pseudo_inst.h │ │ │ └── reg_help.h │ ├── i386 │ │ ├── _limits.h │ │ ├── _param.h │ │ ├── _structs.h │ │ ├── _types.h │ │ ├── eflags.h │ │ ├── endian.h │ │ ├── fasttrap_isa.h │ │ ├── limits.h │ │ ├── param.h │ │ ├── profile.h │ │ ├── setjmp.h │ │ ├── signal.h │ │ ├── types.h │ │ ├── user_ldt.h │ │ └── vmparam.h │ ├── libkern │ │ ├── OSAtomic.h │ │ ├── OSByteOrder.h │ │ ├── OSCacheControl.h │ │ ├── OSDebug.h │ │ ├── OSKextLib.h │ │ ├── OSReturn.h │ │ ├── OSTypes.h │ │ ├── _OSByteOrder.h │ │ ├── i386 │ │ │ ├── OSByteOrder.h │ │ │ └── _OSByteOrder.h │ │ ├── machine │ │ │ └── OSByteOrder.h │ │ └── ppc │ │ │ └── OSByteOrder.h │ ├── mach-o │ │ ├── arch.h │ │ ├── arm │ │ │ └── reloc.h │ │ ├── dyld.h │ │ ├── dyld_debug.h │ │ ├── dyld_gdb.h │ │ ├── dyld_priv.h │ │ ├── fat.h │ │ ├── getsect.h │ │ ├── gmon.h │ │ ├── hppa │ │ │ ├── reloc.h │ │ │ └── swap.h │ │ ├── i386 │ │ │ └── swap.h │ │ ├── i860 │ │ │ ├── reloc.h │ │ │ └── swap.h │ │ ├── kld.h │ │ ├── ldsyms.h │ │ ├── loader.h │ │ ├── m68k │ │ │ └── swap.h │ │ ├── m88k │ │ │ ├── reloc.h │ │ │ └── swap.h │ │ ├── nlist.h │ │ ├── ppc │ │ │ ├── reloc.h │ │ │ └── swap.h │ │ ├── ranlib.h │ │ ├── redo_prebinding.h │ │ ├── reloc.h │ │ ├── rld.h │ │ ├── rld_state.h │ │ ├── sarld.h │ │ ├── sparc │ │ │ ├── reloc.h │ │ │ └── swap.h │ │ ├── stab.h │ │ ├── swap.h │ │ └── x86_64 │ │ │ └── reloc.h │ ├── mach │ │ ├── audit_triggers.defs │ │ ├── boolean.h │ │ ├── bootstrap.h │ │ ├── clock.defs │ │ ├── clock.h │ │ ├── clock_priv.defs │ │ ├── clock_priv.h │ │ ├── clock_reply.defs │ │ ├── clock_reply.h │ │ ├── clock_types.defs │ │ ├── clock_types.h │ │ ├── error.h │ │ ├── exc.defs │ │ ├── exc.h │ │ ├── exception.h │ │ ├── exception_types.h │ │ ├── host_info.h │ │ ├── host_notify.h │ │ ├── host_notify_reply.defs │ │ ├── host_priv.defs │ │ ├── host_priv.h │ │ ├── host_reboot.h │ │ ├── host_security.defs │ │ ├── host_security.h │ │ ├── host_special_ports.h │ │ ├── i386 │ │ │ ├── _structs.h │ │ │ ├── asm.h │ │ │ ├── boolean.h │ │ │ ├── exception.h │ │ │ ├── fp_reg.h │ │ │ ├── kern_return.h │ │ │ ├── machine_types.defs │ │ │ ├── ndr_def.h │ │ │ ├── processor_info.h │ │ │ ├── rpc.h │ │ │ ├── sdt_isa.h │ │ │ ├── task.h │ │ │ ├── thread_act.h │ │ │ ├── thread_state.h │ │ │ ├── thread_status.h │ │ │ ├── vm_param.h │ │ │ └── vm_types.h │ │ ├── kern_return.h │ │ ├── kmod.h │ │ ├── ledger.defs │ │ ├── ledger.h │ │ ├── lock_set.defs │ │ ├── lock_set.h │ │ ├── mach.h │ │ ├── mach_error.h │ │ ├── mach_exc.defs │ │ ├── mach_host.defs │ │ ├── mach_host.h │ │ ├── mach_init.h │ │ ├── mach_interface.h │ │ ├── mach_param.h │ │ ├── mach_port.defs │ │ ├── mach_port.h │ │ ├── mach_syscalls.h │ │ ├── mach_time.h │ │ ├── mach_traps.h │ │ ├── mach_types.defs │ │ ├── mach_types.h │ │ ├── mach_vm.defs │ │ ├── mach_vm.h │ │ ├── machine.h │ │ ├── machine │ │ │ ├── asm.h │ │ │ ├── boolean.h │ │ │ ├── exception.h │ │ │ ├── kern_return.h │ │ │ ├── machine_types.defs │ │ │ ├── ndr_def.h │ │ │ ├── processor_info.h │ │ │ ├── rpc.h │ │ │ ├── sdt.h │ │ │ ├── sdt_isa.h │ │ │ ├── thread_state.h │ │ │ ├── thread_status.h │ │ │ ├── vm_param.h │ │ │ └── vm_types.h │ │ ├── memory_object_types.h │ │ ├── message.h │ │ ├── mig.h │ │ ├── mig_errors.h │ │ ├── ndr.h │ │ ├── notify.defs │ │ ├── notify.h │ │ ├── policy.h │ │ ├── port.h │ │ ├── port_obj.h │ │ ├── ppc │ │ │ ├── _structs.h │ │ │ ├── asm.h │ │ │ ├── boolean.h │ │ │ ├── exception.h │ │ │ ├── kern_return.h │ │ │ ├── machine_types.defs │ │ │ ├── ndr_def.h │ │ │ ├── processor_info.h │ │ │ ├── rpc.h │ │ │ ├── sdt_isa.h │ │ │ ├── task.h │ │ │ ├── thread_act.h │ │ │ ├── thread_state.h │ │ │ ├── thread_status.h │ │ │ ├── vm_param.h │ │ │ └── vm_types.h │ │ ├── processor.defs │ │ ├── processor.h │ │ ├── processor_info.h │ │ ├── processor_set.defs │ │ ├── processor_set.h │ │ ├── rpc.h │ │ ├── sdt.h │ │ ├── security.defs │ │ ├── semaphore.h │ │ ├── shared_memory_server.h │ │ ├── shared_region.h │ │ ├── std_types.defs │ │ ├── std_types.h │ │ ├── sync.h │ │ ├── sync_policy.h │ │ ├── task.defs │ │ ├── task.h │ │ ├── task_access.defs │ │ ├── task_info.h │ │ ├── task_ledger.h │ │ ├── task_policy.h │ │ ├── task_special_ports.h │ │ ├── thread_act.defs │ │ ├── thread_act.h │ │ ├── thread_info.h │ │ ├── thread_policy.h │ │ ├── thread_special_ports.h │ │ ├── thread_status.h │ │ ├── thread_switch.h │ │ ├── time_value.h │ │ ├── vm_attributes.h │ │ ├── vm_behavior.h │ │ ├── vm_inherit.h │ │ ├── vm_map.defs │ │ ├── vm_map.h │ │ ├── vm_param.h │ │ ├── vm_prot.h │ │ ├── vm_purgable.h │ │ ├── vm_region.h │ │ ├── vm_statistics.h │ │ ├── vm_sync.h │ │ ├── vm_task.h │ │ ├── vm_types.h │ │ └── x86_64 │ │ │ ├── task.h │ │ │ └── thread_act.h │ ├── mach_debug │ │ ├── hash_info.h │ │ ├── ipc_info.h │ │ ├── lockgroup_info.h │ │ ├── mach_debug.h │ │ ├── mach_debug_types.defs │ │ ├── mach_debug_types.h │ │ ├── page_info.h │ │ ├── vm_info.h │ │ └── zone_info.h │ ├── machine │ │ ├── _limits.h │ │ ├── _param.h │ │ ├── _structs.h │ │ ├── _types.h │ │ ├── byte_order.h │ │ ├── endian.h │ │ ├── fasttrap_isa.h │ │ ├── limits.h │ │ ├── param.h │ │ ├── profile.h │ │ ├── setjmp.h │ │ ├── signal.h │ │ ├── types.h │ │ └── vmparam.h │ └── sys │ │ ├── _types.h │ │ └── attr.h └── patches │ ├── lldb-enable-remoteios.patch │ ├── lldb-fix-header.patch │ └── lldb-should_initialize-m_done-to-false.patch └── temp ├── corefoundation ├── CF-744.12-for-linux.patch └── README └── editor ├── Makefile ├── editor.pro ├── editor.pro.user ├── filedock.cpp ├── filedock.h ├── highlight.cpp ├── highlight.h ├── images ├── install.png ├── new.png ├── open.png └── save.png ├── main.cpp ├── mainwindow.cpp ├── mainwindow.h ├── objchighlighter.h ├── objchighlignter.cpp ├── resources.qrc ├── textedit.cpp └── textedit.h /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "build/cctools"] 2 | path = build/cctools 3 | url = https://github.com/tpoechtrager/cctools-port.git 4 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: cpp 2 | 3 | matrix: 4 | include: 5 | - env: TEST_NAME="clang stable" 6 | before_install: 7 | - sudo apt-get install -y clang 8 | - export CC=clang 9 | - export CXX=clang++ 10 | - env: TEST_NAME="clang bleeding" 11 | before_install: 12 | - sudo apt-get install -y clang-3.5 13 | - export CC=clang 14 | - export CXX=clang++ 15 | # - sudo add-apt-repository -y ppa:xorg-edgers/ppa 16 | # - sudo apt-get update 17 | # - sudo apt-get install -y clang-3.5 18 | # - export CC=clang-3.5 19 | # - export CXX=clang++-3.5 20 | # - export CPP=clang++-3.5 21 | 22 | install: 23 | - sudo apt-get install -y gcc g++ libclang-dev uuid-dev libssl-dev libpng12-dev libicu-dev bison flex libsqlite3-dev libtool llvm-dev libxml2-dev automake pkg-config 24 | 25 | script: 26 | - echo $CC 27 | - $CC -v 28 | - ./configure arm-apple-darwin 29 | - make 30 | - sudo make install 31 | - arm-apple-darwin-ld -v 32 | -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- 1 | include configure.mk 2 | 3 | PREFIX=/usr 4 | 5 | CCTOOLS=build/cctools/cctools 6 | IOSTOOLS=build/iphonesdk-utils-2.0 7 | 8 | no-configure: 9 | echo "Please run ./configure before running make" 10 | 11 | # Assembler and linker 12 | cctools.stamp: 13 | cd ${CCTOOLS} && \ 14 | ./autogen.sh; \ 15 | ./configure --target=${TARGET} --prefix=${PREFIX} && \ 16 | make 17 | touch $@ 18 | 19 | cctools-install.stamp: cctools.stamp 20 | make install -C ${CCTOOLS} 21 | touch $@ 22 | 23 | cctools-clean: 24 | make clean -C ${CCTOOLS} 25 | rm -f cctools.stamp 26 | 27 | # Utilities 28 | ios-tools.stamp: 29 | cd ${IOSTOOLS} && \ 30 | ./autogen.sh ; \ 31 | ./configure --prefix=${PREFIX} && \ 32 | make 33 | touch $@ 34 | 35 | ios-tools-install.stamp: ios-tools.stamp 36 | make install -C ${IOSTOOLS} 37 | touch $@ 38 | 39 | ios-tools-clean: 40 | make clean -C ${IOSTOOLS} 41 | rm -f ios-tools.stamp 42 | 43 | 44 | clean: cctools-clean ios-tools-clean 45 | 46 | .PHONY: clean ios-tools-clean cctools-clean 47 | -------------------------------------------------------------------------------- /build/iphonesdk-utils-2.0/AUTHORS: -------------------------------------------------------------------------------- 1 | cjacker 2 | yetist 3 | -------------------------------------------------------------------------------- /build/iphonesdk-utils-2.0/ChangeLog: -------------------------------------------------------------------------------- 1 | 2013-09-23 Cjacker 2 | * add a patch from John Roark to handle HEADER_SEARCH_PATHS 3 | 2012-12-10 Cjacker 4 | * let getLocalization build with clang/llvm-3.1 release 5 | * refector all codes, move common functions to libhelper 6 | 7 | 2012-12-09 Cjacker 8 | * rewrite ios-genLocalizations, use clang lexer to parse source files. 9 | 10 | 2012-12-08 Cjacker 11 | * import plutil of libplist-1.8, rename it to plistutil to avoid 12 | name conflict with original libplist. 13 | http://cgit.sukimashita.com/libplist.git/ 14 | * rename iPhoneSDK to ios-clang-wrapper 15 | -------------------------------------------------------------------------------- /build/iphonesdk-utils-2.0/Makefile.am: -------------------------------------------------------------------------------- 1 | SUBDIRS = libplutil libhelper ldid clangwrapper createProject plutil pngcrush xcbuild 2 | 3 | #EXTRA_DIST = 4 | #DISTCLEANFILES = 5 | #DISTCHECK_CONFIGURE_FLAGS = --disable-scrollkeeper 6 | ACLOCAL_AMFLAGS = -I m4 7 | -------------------------------------------------------------------------------- /build/iphonesdk-utils-2.0/NEWS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waneck/linux-ios-toolchain/c294172015b769fc21072f8e400c6d57cde7362a/build/iphonesdk-utils-2.0/NEWS -------------------------------------------------------------------------------- /build/iphonesdk-utils-2.0/README: -------------------------------------------------------------------------------- 1 | iOS development utilities for linux. 2 | 3 | include: 4 | 5 | clangwrapper, wrappers for clang to find SDK and proper compilation args. 6 | 7 | ldid, a modified version of ldid with armv7/armv7s support and other changes. 8 | 9 | proj2make, a convinent tool to translate xcodeproj Project files to Makefile. 10 | 11 | ios-pngcrush, just like pngcrush to optimize png files for iOS. 12 | 13 | ios-pngrevert, revert png crushed by ios-pngcrush. 14 | 15 | ios-genLocalization, a localization tool based on clang lexer and produce plist string files. 16 | 17 | ios-createProject, project templates. 18 | 19 | ios-plutil, plist compiler/decompiler. 20 | 21 | -------------------------------------------------------------------------------- /build/iphonesdk-utils-2.0/autogen.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | aclocal 3 | autoconf 4 | libtoolize -c -i 5 | autoheader 6 | automake -a -c 7 | -------------------------------------------------------------------------------- /build/iphonesdk-utils-2.0/clangwrapper/Makefile.am: -------------------------------------------------------------------------------- 1 | bin_PROGRAMS = ios-clang-wrapper 2 | 3 | ios_clang_wrapper_SOURCES = clangwrapper.cpp 4 | 5 | ios_clang_wrapper_CPPFLAGS = \ 6 | -I$(top_srcdir)/libhelper \ 7 | $(XML_CFLAGS) 8 | 9 | ios_clang_wrapper_LDADD = \ 10 | $(top_builddir)/libhelper/libhelper.la \ 11 | $(top_builddir)/libplutil/libplutil.la 12 | 13 | install-data-hook: 14 | ln -sf ios-clang-wrapper $(DESTDIR)/$(bindir)/ios-clang 15 | ln -sf ios-clang-wrapper $(DESTDIR)/$(bindir)/ios-clang++ 16 | ln -sf ios-clang-wrapper $(DESTDIR)/$(bindir)/ios-switchsdk 17 | -------------------------------------------------------------------------------- /build/iphonesdk-utils-2.0/createProject/Makefile.am: -------------------------------------------------------------------------------- 1 | SUBDIRS = templates 2 | 3 | mkprog_in_files = ios-createProject.sh.in 4 | mkprog_file = $(mkprog_in_files:%.sh.in=%) 5 | $(mkprog_file): $(mkprog_in_files) 6 | sed -e "s|\@TEMPLATES_DIR\@|$(TEMPLATES_DIR)|" $<> $@ 7 | 8 | bin_SCRIPTS = $(mkprog_file) 9 | 10 | EXTRA_DIST = $(mkprog_in_files) 11 | 12 | CLEANFILES = $(mkprog_file) 13 | DISTCLEANFILES = $(mkprog_file) 14 | -------------------------------------------------------------------------------- /build/iphonesdk-utils-2.0/createProject/templates/Application/Images/Default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waneck/linux-ios-toolchain/c294172015b769fc21072f8e400c6d57cde7362a/build/iphonesdk-utils-2.0/createProject/templates/Application/Images/Default.png -------------------------------------------------------------------------------- /build/iphonesdk-utils-2.0/createProject/templates/Application/Images/Default@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waneck/linux-ios-toolchain/c294172015b769fc21072f8e400c6d57cde7362a/build/iphonesdk-utils-2.0/createProject/templates/Application/Images/Default@2x.png -------------------------------------------------------------------------------- /build/iphonesdk-utils-2.0/createProject/templates/Application/Images/Icon-72.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waneck/linux-ios-toolchain/c294172015b769fc21072f8e400c6d57cde7362a/build/iphonesdk-utils-2.0/createProject/templates/Application/Images/Icon-72.png -------------------------------------------------------------------------------- /build/iphonesdk-utils-2.0/createProject/templates/Application/Images/Icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waneck/linux-ios-toolchain/c294172015b769fc21072f8e400c6d57cde7362a/build/iphonesdk-utils-2.0/createProject/templates/Application/Images/Icon.png -------------------------------------------------------------------------------- /build/iphonesdk-utils-2.0/createProject/templates/Application/Images/Icon@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waneck/linux-ios-toolchain/c294172015b769fc21072f8e400c6d57cde7362a/build/iphonesdk-utils-2.0/createProject/templates/Application/Images/Icon@2x.png -------------------------------------------------------------------------------- /build/iphonesdk-utils-2.0/createProject/templates/Application/Images/README.txt: -------------------------------------------------------------------------------- 1 | iPhone App Icon: 2 | Icon.png 57×57 App Store And iPhone、iPod touch Launcher Icon. (Needed) 3 | Icon@2x.png 114×114 Retina mode of Icon.png. (Needed) 4 | Icon-Small.png 29×29 Settings and Spotlight search icon. (Optional) 5 | Icon-Small@2x.png 58×58 Retina mode of Icon-Small.png. (Optional) 6 | 7 | iPad App Icon: 8 | Icon-72.png 72×72 iPad Launcher Icon. (Needed) 9 | Icon-50.png 50×50 Spotlight search icon. (Optional) 10 | Icon-29.png 29×29 Settings icon. (Optional) 11 | 12 | iPhone/iPad App Icon: 13 | Icon.png 57×57 App Store And iPhone、iPod touch Launcher Icon. (Needed) 14 | Icon-72.png 72×72 iPad Launcher Icon. (Needed) 15 | Icon-50.png 50×50 iPad Spotlight search icon. (Optional) 16 | Icon-29.png 29×29 Settings and iPhone Spotlight search icon. (Optional) 17 | 18 | -------------------------------------------------------------------------------- /build/iphonesdk-utils-2.0/createProject/templates/Application/RootViewController.h: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | @interface RootViewController: UIViewController { 4 | } 5 | @end 6 | -------------------------------------------------------------------------------- /build/iphonesdk-utils-2.0/createProject/templates/Application/RootViewController.m: -------------------------------------------------------------------------------- 1 | #import "RootViewController.h" 2 | 3 | @implementation RootViewController 4 | - (void)loadView { 5 | self.view = [[UIView alloc] initWithFrame:[[UIScreen mainScreen] applicationFrame]]; 6 | self.view.backgroundColor = [UIColor redColor]; 7 | 8 | UIButton *roundedRectButton = [UIButton buttonWithType:UIButtonTypeRoundedRect]; 9 | CGRect buttonRect = CGRectMake(100,50,100,35); 10 | [roundedRectButton setFrame:buttonRect]; 11 | [roundedRectButton setTitle:NSLocalizedString(@"Hello World", @"") forState:UIControlStateNormal]; 12 | [roundedRectButton addTarget:self action:@selector(showAlert:) forControlEvents:UIControlEventTouchUpInside]; 13 | [self.view addSubview:roundedRectButton]; 14 | } 15 | 16 | 17 | - (void)showAlert:(id)sender 18 | { 19 | UIAlertView *alert = [[UIAlertView alloc] initWithTitle:NSLocalizedString(@"UIAlertView", @"") message:NSLocalizedString(@"",@"") delegate:self cancelButtonTitle:@"OK" otherButtonTitles:nil]; 20 | [alert show]; 21 | } 22 | @end 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /build/iphonesdk-utils-2.0/createProject/templates/Application/TEMPLATE_PROJECT-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | English 7 | CFBundleDisplayName 8 | TEMPLATE_PROJECT 9 | CFBundleExecutable 10 | TEMPLATE_PROJECT 11 | CFBundleIdentifier 12 | TEMPLATE_PACKAGE 13 | CFBundleName 14 | TEMPLATE_PROJECT 15 | CFBundlePackageType 16 | APPL 17 | CFBundleSignature 18 | ???? 19 | CFBundleInfoDictionaryVersion 20 | 6.0 21 | CFBundleVersion 22 | 1.7 23 | LSRequiresIPhoneOS 24 | 25 | CFBundleIconFile 26 | 27 | Icon.png 28 | Icon@2x.png 29 | Icon-72.png 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /build/iphonesdk-utils-2.0/createProject/templates/Application/TEMPLATE_PROJECTApplication.h: -------------------------------------------------------------------------------- 1 | #import 2 | #import "RootViewController.h" 3 | 4 | @interface TEMPLATE_PROJECTApplication: NSObject { 5 | UIWindow *_window; 6 | RootViewController *_viewController; 7 | } 8 | @property (nonatomic, retain) UIWindow *window; 9 | @end 10 | 11 | -------------------------------------------------------------------------------- /build/iphonesdk-utils-2.0/createProject/templates/Application/TEMPLATE_PROJECTApplication.m: -------------------------------------------------------------------------------- 1 | #import "TEMPLATE_PROJECTApplication.h" 2 | 3 | @implementation TEMPLATE_PROJECTApplication 4 | @synthesize window = _window; 5 | - (void)applicationDidFinishLaunching:(UIApplication *)application { 6 | _window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]]; 7 | _viewController = [[RootViewController alloc] init]; 8 | [_window setRootViewController:_viewController]; 9 | [_window makeKeyAndVisible]; 10 | } 11 | 12 | @end 13 | 14 | -------------------------------------------------------------------------------- /build/iphonesdk-utils-2.0/createProject/templates/Application/main.m: -------------------------------------------------------------------------------- 1 | #import "TEMPLATE_PROJECTApplication.h" 2 | 3 | int main(int argc, char **argv) { 4 | @autoreleasepool{ 5 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([TEMPLATE_PROJECTApplication class])); 6 | } 7 | } 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /build/iphonesdk-utils-2.0/createProject/templates/Command_line_utility/Makefile: -------------------------------------------------------------------------------- 1 | IPHONE_IP:= 2 | PROJECTNAME:=TEMPLATE_PROJECT 3 | 4 | CC:=ios-clang 5 | CPP:=ios-clang++ 6 | 7 | CFLAGS += -objc-arc 8 | CFLAGS += -fblocks 9 | CFLAGS += -g0 -O2 10 | 11 | CPPFLAGS += -objc-arc 12 | CPPFLAGS += -fblocks 13 | CPPFLAGS += -g0 -O2 14 | 15 | LDFLAGS += -framework Foundation 16 | 17 | SRCDIR=. 18 | OBJS+=$(patsubst %.m,%.o,$(wildcard $(SRCDIR)/*.m)) 19 | OBJS+=$(patsubst %.c,%.o,$(wildcard $(SRCDIR)/*.c)) 20 | OBJS+=$(patsubst %.cpp,%.o,$(wildcard $(SRCDIR)/*.cpp)) 21 | 22 | all: $(PROJECTNAME) 23 | 24 | $(PROJECTNAME): $(OBJS) 25 | $(CC) $(CFLAGS) $(LDFLAGS) $(filter %.o,$^) -o $@ 26 | 27 | %.o: %.m 28 | $(CC) -c $(CFLAGS) $< -o $@ 29 | 30 | %.o: %.c 31 | $(CC) -c $(CFLAGS) $< -o $@ 32 | 33 | %.o: %.cpp 34 | $(CPP) -c $(CPPFLAGS) $< -o $@ 35 | 36 | clean: 37 | find . -name \*.o|xargs rm -rf 38 | rm -f $(PROJECTNAME) 39 | 40 | .PHONY: all clean 41 | -------------------------------------------------------------------------------- /build/iphonesdk-utils-2.0/createProject/templates/Command_line_utility/main.m: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | int main(int argc, char **argv) 4 | { 5 | @autoreleasepool { 6 | NSLog(@"Hello World"); 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /build/iphonesdk-utils-2.0/createProject/templates/Dynamic_Framework/TEMPLATE_PROJECT.h: -------------------------------------------------------------------------------- 1 | #ifndef _TEMPLATE_PROJECT_FRAMEWORK_H 2 | #define _TEMPLATE_PROJECT_FRAMEWORK_H 3 | void testframework(); 4 | #endif 5 | -------------------------------------------------------------------------------- /build/iphonesdk-utils-2.0/createProject/templates/Dynamic_Framework/TEMPLATE_PROJECT.m: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | void testframework() { 4 | NSLog(@"This is a TEMPLATE_PROJECT framework"); 5 | } 6 | -------------------------------------------------------------------------------- /build/iphonesdk-utils-2.0/createProject/templates/Dynamic_Framework/test/Makefile: -------------------------------------------------------------------------------- 1 | all: 2 | ios-clang -o main main.m -framework TEMPLATE_PROJECT 3 | -------------------------------------------------------------------------------- /build/iphonesdk-utils-2.0/createProject/templates/Dynamic_Framework/test/main.m: -------------------------------------------------------------------------------- 1 | #import "TEMPLATE_PROJECT/TEMPLATE_PROJECT.h" 2 | 3 | int main(int argc, char **argv) { 4 | testframework(); 5 | } 6 | -------------------------------------------------------------------------------- /build/iphonesdk-utils-2.0/createProject/templates/Dynamic_Library/TEMPLATE_PROJECT.h: -------------------------------------------------------------------------------- 1 | #ifndef _TEMPLATE_PROJECT_DYLIB_H 2 | #define _TEMPLATE_PROJECT_DYLIB_H 3 | void testdylib(); 4 | #endif 5 | -------------------------------------------------------------------------------- /build/iphonesdk-utils-2.0/createProject/templates/Dynamic_Library/TEMPLATE_PROJECT.m: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | void testdylib() { 4 | NSLog(@"This is a TEMPLATE_PROJECT dylib"); 5 | } 6 | -------------------------------------------------------------------------------- /build/iphonesdk-utils-2.0/createProject/templates/Dynamic_Library/test/Makefile: -------------------------------------------------------------------------------- 1 | all: 2 | ios-clang -o main main.m -lTEMPLATE_PROJECT 3 | -------------------------------------------------------------------------------- /build/iphonesdk-utils-2.0/createProject/templates/Dynamic_Library/test/main.m: -------------------------------------------------------------------------------- 1 | #import "TEMPLATE_PROJECT.h" 2 | 3 | int main(int argc, char **argv) { 4 | testdylib(); 5 | } 6 | -------------------------------------------------------------------------------- /build/iphonesdk-utils-2.0/createProject/templates/Example_Player/AppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.h 3 | // MPPlayer 4 | // 5 | 6 | #import 7 | #import "ViewController.h" 8 | 9 | @interface AppDelegate : NSObject { 10 | 11 | UIWindow *window; 12 | ViewController *vc; 13 | } 14 | 15 | @property (nonatomic, retain) UIWindow *window; 16 | @property (nonatomic, retain) ViewController *vc; 17 | 18 | @end 19 | -------------------------------------------------------------------------------- /build/iphonesdk-utils-2.0/createProject/templates/Example_Player/CustomMPViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // CustomMPViewController.h 3 | // MPPlayer 4 | // 5 | 6 | #import 7 | #import 8 | 9 | @interface CustomMPViewController : UIViewController 10 | { 11 | MPMoviePlayerController *mp; 12 | NSURL *movieURL; 13 | } 14 | 15 | - (id)initWithPath:(NSString *)moviePath; 16 | - (void)readyPlayer; 17 | 18 | @end 19 | -------------------------------------------------------------------------------- /build/iphonesdk-utils-2.0/createProject/templates/Example_Player/Images/Icon-72.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waneck/linux-ios-toolchain/c294172015b769fc21072f8e400c6d57cde7362a/build/iphonesdk-utils-2.0/createProject/templates/Example_Player/Images/Icon-72.png -------------------------------------------------------------------------------- /build/iphonesdk-utils-2.0/createProject/templates/Example_Player/Images/Icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waneck/linux-ios-toolchain/c294172015b769fc21072f8e400c6d57cde7362a/build/iphonesdk-utils-2.0/createProject/templates/Example_Player/Images/Icon.png -------------------------------------------------------------------------------- /build/iphonesdk-utils-2.0/createProject/templates/Example_Player/Images/Icon@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waneck/linux-ios-toolchain/c294172015b769fc21072f8e400c6d57cde7362a/build/iphonesdk-utils-2.0/createProject/templates/Example_Player/Images/Icon@2x.png -------------------------------------------------------------------------------- /build/iphonesdk-utils-2.0/createProject/templates/Example_Player/Resources/Movie-1.mp4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waneck/linux-ios-toolchain/c294172015b769fc21072f8e400c6d57cde7362a/build/iphonesdk-utils-2.0/createProject/templates/Example_Player/Resources/Movie-1.mp4 -------------------------------------------------------------------------------- /build/iphonesdk-utils-2.0/createProject/templates/Example_Player/Resources/playButton.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waneck/linux-ios-toolchain/c294172015b769fc21072f8e400c6d57cde7362a/build/iphonesdk-utils-2.0/createProject/templates/Example_Player/Resources/playButton.png -------------------------------------------------------------------------------- /build/iphonesdk-utils-2.0/createProject/templates/Example_Player/ViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.h 3 | // MPPlayer 4 | // 5 | 6 | #import 7 | #import "CustomMPViewController.h" 8 | 9 | @interface ViewController : UIViewController 10 | { 11 | CustomMPViewController *moviePlayer; 12 | UIButton *playButton; 13 | } 14 | 15 | @end 16 | 17 | -------------------------------------------------------------------------------- /build/iphonesdk-utils-2.0/createProject/templates/Example_Player/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // MPPlayer 4 | // 5 | 6 | #import 7 | 8 | int main(int argc, char *argv[]) 9 | { 10 | NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; 11 | int retVal = UIApplicationMain(argc, argv, nil, @"AppDelegate"); 12 | [pool release]; 13 | return retVal; 14 | } 15 | -------------------------------------------------------------------------------- /build/iphonesdk-utils-2.0/createProject/templates/Example_UICatalog/Images/12-6AM.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waneck/linux-ios-toolchain/c294172015b769fc21072f8e400c6d57cde7362a/build/iphonesdk-utils-2.0/createProject/templates/Example_UICatalog/Images/12-6AM.png -------------------------------------------------------------------------------- /build/iphonesdk-utils-2.0/createProject/templates/Example_UICatalog/Images/12-6PM.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waneck/linux-ios-toolchain/c294172015b769fc21072f8e400c6d57cde7362a/build/iphonesdk-utils-2.0/createProject/templates/Example_UICatalog/Images/12-6PM.png -------------------------------------------------------------------------------- /build/iphonesdk-utils-2.0/createProject/templates/Example_UICatalog/Images/6-12AM.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waneck/linux-ios-toolchain/c294172015b769fc21072f8e400c6d57cde7362a/build/iphonesdk-utils-2.0/createProject/templates/Example_UICatalog/Images/6-12AM.png -------------------------------------------------------------------------------- /build/iphonesdk-utils-2.0/createProject/templates/Example_UICatalog/Images/6-12PM.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waneck/linux-ios-toolchain/c294172015b769fc21072f8e400c6d57cde7362a/build/iphonesdk-utils-2.0/createProject/templates/Example_UICatalog/Images/6-12PM.png -------------------------------------------------------------------------------- /build/iphonesdk-utils-2.0/createProject/templates/Example_UICatalog/Images/Default-568h@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waneck/linux-ios-toolchain/c294172015b769fc21072f8e400c6d57cde7362a/build/iphonesdk-utils-2.0/createProject/templates/Example_UICatalog/Images/Default-568h@2x.png -------------------------------------------------------------------------------- /build/iphonesdk-utils-2.0/createProject/templates/Example_UICatalog/Images/Default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waneck/linux-ios-toolchain/c294172015b769fc21072f8e400c6d57cde7362a/build/iphonesdk-utils-2.0/createProject/templates/Example_UICatalog/Images/Default.png -------------------------------------------------------------------------------- /build/iphonesdk-utils-2.0/createProject/templates/Example_UICatalog/Images/Default@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waneck/linux-ios-toolchain/c294172015b769fc21072f8e400c6d57cde7362a/build/iphonesdk-utils-2.0/createProject/templates/Example_UICatalog/Images/Default@2x.png -------------------------------------------------------------------------------- /build/iphonesdk-utils-2.0/createProject/templates/Example_UICatalog/Images/Icon-72.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waneck/linux-ios-toolchain/c294172015b769fc21072f8e400c6d57cde7362a/build/iphonesdk-utils-2.0/createProject/templates/Example_UICatalog/Images/Icon-72.png -------------------------------------------------------------------------------- /build/iphonesdk-utils-2.0/createProject/templates/Example_UICatalog/Images/Icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waneck/linux-ios-toolchain/c294172015b769fc21072f8e400c6d57cde7362a/build/iphonesdk-utils-2.0/createProject/templates/Example_UICatalog/Images/Icon.png -------------------------------------------------------------------------------- /build/iphonesdk-utils-2.0/createProject/templates/Example_UICatalog/Images/Icon@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waneck/linux-ios-toolchain/c294172015b769fc21072f8e400c6d57cde7362a/build/iphonesdk-utils-2.0/createProject/templates/Example_UICatalog/Images/Icon@2x.png -------------------------------------------------------------------------------- /build/iphonesdk-utils-2.0/createProject/templates/Example_UICatalog/Images/UIButton_custom.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waneck/linux-ios-toolchain/c294172015b769fc21072f8e400c6d57cde7362a/build/iphonesdk-utils-2.0/createProject/templates/Example_UICatalog/Images/UIButton_custom.png -------------------------------------------------------------------------------- /build/iphonesdk-utils-2.0/createProject/templates/Example_UICatalog/Images/blueButton.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waneck/linux-ios-toolchain/c294172015b769fc21072f8e400c6d57cde7362a/build/iphonesdk-utils-2.0/createProject/templates/Example_UICatalog/Images/blueButton.png -------------------------------------------------------------------------------- /build/iphonesdk-utils-2.0/createProject/templates/Example_UICatalog/Images/orangeslide.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waneck/linux-ios-toolchain/c294172015b769fc21072f8e400c6d57cde7362a/build/iphonesdk-utils-2.0/createProject/templates/Example_UICatalog/Images/orangeslide.png -------------------------------------------------------------------------------- /build/iphonesdk-utils-2.0/createProject/templates/Example_UICatalog/Images/scene1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waneck/linux-ios-toolchain/c294172015b769fc21072f8e400c6d57cde7362a/build/iphonesdk-utils-2.0/createProject/templates/Example_UICatalog/Images/scene1.jpg -------------------------------------------------------------------------------- /build/iphonesdk-utils-2.0/createProject/templates/Example_UICatalog/Images/scene2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waneck/linux-ios-toolchain/c294172015b769fc21072f8e400c6d57cde7362a/build/iphonesdk-utils-2.0/createProject/templates/Example_UICatalog/Images/scene2.jpg -------------------------------------------------------------------------------- /build/iphonesdk-utils-2.0/createProject/templates/Example_UICatalog/Images/scene3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waneck/linux-ios-toolchain/c294172015b769fc21072f8e400c6d57cde7362a/build/iphonesdk-utils-2.0/createProject/templates/Example_UICatalog/Images/scene3.jpg -------------------------------------------------------------------------------- /build/iphonesdk-utils-2.0/createProject/templates/Example_UICatalog/Images/scene4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waneck/linux-ios-toolchain/c294172015b769fc21072f8e400c6d57cde7362a/build/iphonesdk-utils-2.0/createProject/templates/Example_UICatalog/Images/scene4.jpg -------------------------------------------------------------------------------- /build/iphonesdk-utils-2.0/createProject/templates/Example_UICatalog/Images/scene5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waneck/linux-ios-toolchain/c294172015b769fc21072f8e400c6d57cde7362a/build/iphonesdk-utils-2.0/createProject/templates/Example_UICatalog/Images/scene5.jpg -------------------------------------------------------------------------------- /build/iphonesdk-utils-2.0/createProject/templates/Example_UICatalog/Images/segment_check.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waneck/linux-ios-toolchain/c294172015b769fc21072f8e400c6d57cde7362a/build/iphonesdk-utils-2.0/createProject/templates/Example_UICatalog/Images/segment_check.png -------------------------------------------------------------------------------- /build/iphonesdk-utils-2.0/createProject/templates/Example_UICatalog/Images/segment_search.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waneck/linux-ios-toolchain/c294172015b769fc21072f8e400c6d57cde7362a/build/iphonesdk-utils-2.0/createProject/templates/Example_UICatalog/Images/segment_search.png -------------------------------------------------------------------------------- /build/iphonesdk-utils-2.0/createProject/templates/Example_UICatalog/Images/segment_tools.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waneck/linux-ios-toolchain/c294172015b769fc21072f8e400c6d57cde7362a/build/iphonesdk-utils-2.0/createProject/templates/Example_UICatalog/Images/segment_tools.png -------------------------------------------------------------------------------- /build/iphonesdk-utils-2.0/createProject/templates/Example_UICatalog/Images/slider_ball.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waneck/linux-ios-toolchain/c294172015b769fc21072f8e400c6d57cde7362a/build/iphonesdk-utils-2.0/createProject/templates/Example_UICatalog/Images/slider_ball.png -------------------------------------------------------------------------------- /build/iphonesdk-utils-2.0/createProject/templates/Example_UICatalog/Images/whiteButton.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waneck/linux-ios-toolchain/c294172015b769fc21072f8e400c6d57cde7362a/build/iphonesdk-utils-2.0/createProject/templates/Example_UICatalog/Images/whiteButton.png -------------------------------------------------------------------------------- /build/iphonesdk-utils-2.0/createProject/templates/Example_UICatalog/Images/yellowslide.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waneck/linux-ios-toolchain/c294172015b769fc21072f8e400c6d57cde7362a/build/iphonesdk-utils-2.0/createProject/templates/Example_UICatalog/Images/yellowslide.png -------------------------------------------------------------------------------- /build/iphonesdk-utils-2.0/createProject/templates/Example_UICatalog/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleDisplayName 8 | UICatalog 9 | CFBundleExecutable 10 | UICatalog 11 | CFBundleIconFile 12 | Icon.png 13 | CFBundleIdentifier 14 | com.yourcompany.UICatalog 15 | CFBundleInfoDictionaryVersion 16 | 6.0 17 | CFBundleName 18 | UICatalog 19 | CFBundlePackageType 20 | APPL 21 | CFBundleSignature 22 | ???? 23 | CFBundleVersion 24 | 1.7 25 | LSRequiresIPhoneOS 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /build/iphonesdk-utils-2.0/createProject/templates/Example_UICatalog/Localizations/en.lproj/Localizable.strings: -------------------------------------------------------------------------------- 1 | "UICatalogTitle" = "UICatalog"; 2 | "ButtonsTitle" = "Buttons"; 3 | "ControlsTitle" = "Controls"; 4 | "TextFieldTitle" = "TextFields"; 5 | "SearchBarTitle" = "SearchBar"; 6 | "TextViewTitle" = "TextView"; 7 | "SegmentTitle" = "Segment"; 8 | "ToolbarTitle" = "Toolbar"; 9 | "PickerTitle" = "Pickers"; 10 | "ImagesTitle" = "Images"; 11 | "WebTitle" = "Web"; 12 | "AlertTitle" = "Alerts"; 13 | "TransitionsTitle" = "Transitions"; 14 | "AboutTitle" = "About"; 15 | 16 | "StartTitle" = "Start"; 17 | "StopTitle" = "Stop"; 18 | 19 | "StyleTitle" = "Style"; 20 | "ChooseStyleTitle" = "Choose a UIBarStyle for the bottom toolbar:"; 21 | 22 | "FlipTitle" = "Flip Image"; 23 | "CurlTitle" = "Curl Image"; 24 | 25 | "LeftView" = "Left View:"; 26 | -------------------------------------------------------------------------------- /build/iphonesdk-utils-2.0/createProject/templates/Example_UICatalog/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // UICatalog 4 | // 5 | // Created by CK on 23/9/12. 6 | // 7 | // 8 | 9 | #import 10 | 11 | #import "AppDelegate.h" 12 | 13 | int main(int argc, char *argv[]) 14 | { 15 | NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; 16 | int retVal = UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 17 | [pool release]; 18 | return retVal; 19 | 20 | } 21 | -------------------------------------------------------------------------------- /build/iphonesdk-utils-2.0/createProject/templates/Makefile.am: -------------------------------------------------------------------------------- 1 | TEMPLATES = Application \ 2 | Command_line_utility \ 3 | Example_Player \ 4 | Example_UICatalog \ 5 | Notification_Center_widget \ 6 | Dynamic_Library \ 7 | Static_Library \ 8 | Dynamic_Framework \ 9 | Static_Framework 10 | 11 | TEMPLATE_FILES = $(TEMPLATES:%=%.template) 12 | 13 | templatedir = $(TEMPLATES_DIR) 14 | template_DATA = $(TEMPLATE_FILES) 15 | %.template:% 16 | @cd $(abs_srcdir)/$^; tar --exclude-vcs -zcf $(abs_builddir)/$@ * 17 | @echo $@ genarated. 18 | 19 | EXTRA_DIST = $(TEMPLATE_FILES) 20 | CLEANFILES = $(TEMPLATE_FILES) 21 | DISTCLEANFILES = $(TEMPLATE_FILES) 22 | -------------------------------------------------------------------------------- /build/iphonesdk-utils-2.0/createProject/templates/Notification_Center_widget/BBWeeAppController-Protocol.h: -------------------------------------------------------------------------------- 1 | #import 2 | #import 3 | 4 | @protocol BBWeeAppController 5 | @required 6 | - (id)view; 7 | @optional 8 | - (void)loadPlaceholderView; 9 | - (void)loadFullView; 10 | - (void)loadView; 11 | - (void)unloadView; 12 | - (void)clearShapshotImage; 13 | - (id)launchURL; 14 | - (id)launchURLForTapLocation:(CGPoint)tapLocation; 15 | - (float)viewHeight; 16 | - (void)viewWillAppear; 17 | - (void)viewDidAppear; 18 | - (void)viewWillDisappear; 19 | - (void)viewDidDisappear; 20 | - (void)willAnimateRotationToInterfaceOrientation:(int)interfaceOrientation; 21 | - (void)willRotateToInterfaceOrientation:(int)interfaceOrientation; 22 | - (void)didRotateFromInterfaceOrientation:(int)interfaceOrientation; 23 | @end 24 | -------------------------------------------------------------------------------- /build/iphonesdk-utils-2.0/createProject/templates/Notification_Center_widget/Localizations/English.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | TEMPLATE_PROJECT 6 | TEMPLATE_PROJECT 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /build/iphonesdk-utils-2.0/createProject/templates/Notification_Center_widget/Resources/Icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waneck/linux-ios-toolchain/c294172015b769fc21072f8e400c6d57cde7362a/build/iphonesdk-utils-2.0/createProject/templates/Notification_Center_widget/Resources/Icon.png -------------------------------------------------------------------------------- /build/iphonesdk-utils-2.0/createProject/templates/Notification_Center_widget/Resources/Icon@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waneck/linux-ios-toolchain/c294172015b769fc21072f8e400c6d57cde7362a/build/iphonesdk-utils-2.0/createProject/templates/Notification_Center_widget/Resources/Icon@2x.png -------------------------------------------------------------------------------- /build/iphonesdk-utils-2.0/createProject/templates/Notification_Center_widget/TEMPLATE_PROJECT-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleName 6 | TEMPLATE_PROJECT 7 | CFBundleIdentifier 8 | TEMPLATE_PACKAGE 9 | CFBundleInfoDictionaryVersion 10 | 6.0 11 | CFBundleVersion 12 | 1 13 | CFBundleDisplayName 14 | TEMPLATE_PROJECT 15 | MinimumOSVersion 16 | 5.0 17 | CFBundleIconFile 18 | Icon.png 19 | CFBundleSupportedPlatforms 20 | 21 | iPhoneOS 22 | 23 | CFBundlePackageType 24 | BNDL 25 | CFBundleSignature 26 | ???? 27 | AppBundleID 28 | TEMPLATE_PACKAGE 29 | UIDeviceFamily 30 | 31 | 1 32 | 2 33 | 34 | CFBundleShortVersionString 35 | 1.0 36 | 37 | 38 | -------------------------------------------------------------------------------- /build/iphonesdk-utils-2.0/createProject/templates/Static_Framework/TEMPLATE_PROJECT.h: -------------------------------------------------------------------------------- 1 | #ifndef _TEMPLATE_PROJECT_FRAMEWORK_H 2 | #define _TEMPLATE_PROJECT_FRAMEWORK_H 3 | void teststaticframework(); 4 | #endif 5 | -------------------------------------------------------------------------------- /build/iphonesdk-utils-2.0/createProject/templates/Static_Framework/TEMPLATE_PROJECT.m: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | void teststaticframework() { 4 | NSLog(@"This is a TEMPLATE_PROJECT framework"); 5 | } 6 | -------------------------------------------------------------------------------- /build/iphonesdk-utils-2.0/createProject/templates/Static_Framework/test/Makefile: -------------------------------------------------------------------------------- 1 | all: 2 | ios-clang -o main main.m -framework TEMPLATE_PROJECT -framework Foundation 3 | -------------------------------------------------------------------------------- /build/iphonesdk-utils-2.0/createProject/templates/Static_Framework/test/main.m: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | int main(int argc, char **argv) { 4 | teststaticframework(); 5 | } 6 | -------------------------------------------------------------------------------- /build/iphonesdk-utils-2.0/createProject/templates/Static_Library/Makefile: -------------------------------------------------------------------------------- 1 | PROJECTNAME:=libTEMPLATE_PROJECT 2 | 3 | CC:=ios-clang 4 | CPP:=ios-clang++ 5 | AR:=arm-apple-darwin11-ar 6 | 7 | CFLAGS += -objc-arc 8 | CFLAGS += -fblocks 9 | CFLAGS += -g0 -O2 10 | CFLAGS += -I"$(SRCDIR)" 11 | 12 | CPPFLAGS += -objc-arc 13 | CPPFLAGS += -fblocks 14 | CPPFLAGS += -g0 -O2 15 | CPPLAGS += -I"$(SRCDIR)" 16 | 17 | SRCDIR=. 18 | OBJS+=$(patsubst %.m,%.o,$(wildcard $(SRCDIR)/*.m)) 19 | OBJS+=$(patsubst %.c,%.o,$(wildcard $(SRCDIR)/*.c)) 20 | OBJS+=$(patsubst %.cpp,%.o,$(wildcard $(SRCDIR)/*.cpp)) 21 | 22 | all: $(PROJECTNAME) 23 | 24 | $(PROJECTNAME): $(OBJS) 25 | $(AR) cr $@.a $(filter %.o,$^) 26 | 27 | %.o: %.m 28 | $(CC) -c $(CFLAGS) $< -o $@ 29 | 30 | %.o: %.c 31 | $(CC) -c $(CFLAGS) $< -o $@ 32 | 33 | %.o: %.cpp 34 | $(CPP) -c $(CPPFLAGS) $< -o $@ 35 | 36 | 37 | clean: 38 | find . -name \*.o|xargs rm -rf 39 | rm -f $(PROJECTNAME).a 40 | 41 | .PHONY: all dist install uninstall clean 42 | -------------------------------------------------------------------------------- /build/iphonesdk-utils-2.0/createProject/templates/Static_Library/TEMPLATE_PROJECT.h: -------------------------------------------------------------------------------- 1 | #ifndef _TEMPLATE_PROJECT_STATICLIB_H 2 | #define _TEMPLATE_PROJECT_STATICLIB_H 3 | void teststaticlib(); 4 | #endif 5 | -------------------------------------------------------------------------------- /build/iphonesdk-utils-2.0/createProject/templates/Static_Library/TEMPLATE_PROJECT.m: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | void teststaticlib() { 4 | NSLog(@"This is a TEMPLATE_PROJECT static library"); 5 | } 6 | -------------------------------------------------------------------------------- /build/iphonesdk-utils-2.0/createProject/templates/Static_Library/test/Makefile: -------------------------------------------------------------------------------- 1 | all: 2 | ios-clang -o main main.m ../libTEMPLATE_PROJECT.a -framework Foundation 3 | -------------------------------------------------------------------------------- /build/iphonesdk-utils-2.0/createProject/templates/Static_Library/test/main.m: -------------------------------------------------------------------------------- 1 | #import "../TEMPLATE_PROJECT.h" 2 | 3 | int main(int argc, char **argv) { 4 | teststaticlib(); 5 | } 6 | -------------------------------------------------------------------------------- /build/iphonesdk-utils-2.0/genLocalization2/Makefile.am: -------------------------------------------------------------------------------- 1 | bin_PROGRAMS = ios-genLocalization 2 | 3 | CLANG_LIBS = \ 4 | -lclangTooling\ 5 | -lclangFrontendTool\ 6 | -lclangFrontend\ 7 | -lclangDriver\ 8 | -lclangSerialization\ 9 | -lclangCodeGen\ 10 | -lclangParse\ 11 | -lclangSema\ 12 | -lclangStaticAnalyzerFrontend\ 13 | -lclangStaticAnalyzerCheckers\ 14 | -lclangStaticAnalyzerCore\ 15 | -lclangAnalysis\ 16 | -lclangARCMigrate\ 17 | -lclangEdit\ 18 | -lclangAST\ 19 | -lclangLex\ 20 | -lclangBasic 21 | 22 | ios_genLocalization_CPPFLAGS = \ 23 | $(LLVM_CXX_FLAGS) \ 24 | -I$(top_srcdir)/libhelper \ 25 | -I$(top_srcdir)/libplutil \ 26 | -fno-rtti 27 | 28 | ios_genLocalization_LDADD = \ 29 | $(top_builddir)/libplutil/libplutil.la \ 30 | $(top_builddir)/libhelper/libhelper.la \ 31 | $(CLANG_LIBS) \ 32 | $(LLVM_LIBS) \ 33 | -ldl 34 | 35 | ios_genLocalization_SOURCES = \ 36 | main.cpp \ 37 | getLocalizedStringFromFile.cpp 38 | 39 | EXTRA_DIST = getLocalizedStringFromFile.h 40 | -------------------------------------------------------------------------------- /build/iphonesdk-utils-2.0/genLocalization2/getLocalizedStringFromFile.h: -------------------------------------------------------------------------------- 1 | #ifndef _GET_LOCALIZED_STRING_FROM_FILE_H 2 | #define _GET_LOCALIZED_STRING_FROM_FILE_H 3 | #include 4 | using namespace std; 5 | std::vector getLocalizedStringFromFile(std::string filename, std::string triple, std::vector includepaths); 6 | #endif 7 | -------------------------------------------------------------------------------- /build/iphonesdk-utils-2.0/ldid/Makefile.am: -------------------------------------------------------------------------------- 1 | bin_PROGRAMS = ldid 2 | ldid_SOURCES = \ 3 | ldid.cpp \ 4 | lookup2.c \ 5 | sha1.c 6 | 7 | ldid_CPPFLAGS = -I$(top_srcdir)/libhelper 8 | ldid_LDADD = $(top_builddir)/libhelper/libhelper.la 9 | 10 | EXTRA_DIST = \ 11 | sha1.h \ 12 | minimal/hexdump.h \ 13 | minimal/mapping.h \ 14 | minimal/sqlite3.h \ 15 | minimal/stdlib.h \ 16 | minimal/string.h 17 | -------------------------------------------------------------------------------- /build/iphonesdk-utils-2.0/libhelper/Makefile.am: -------------------------------------------------------------------------------- 1 | #AM_CPPFLAGS = $(XML_CFLAGS) 2 | 3 | noinst_LTLIBRARIES = libhelper.la 4 | noinst_HEADERS = helper.h 5 | 6 | libhelper_la_LIBADD = $(XML_LIBS) $(top_builddir)/libplutil/libplutil.la 7 | libhelper_la_CPPFLAGS = $(XML_CFLAGS) -I$(top_srcdir)/libplutil 8 | 9 | libhelper_la_SOURCES = \ 10 | xmlutil.cpp \ 11 | stringutil.cpp \ 12 | pathutil.cpp \ 13 | sdkutil.cpp 14 | -------------------------------------------------------------------------------- /build/iphonesdk-utils-2.0/libplutil/Makefile.am: -------------------------------------------------------------------------------- 1 | noinst_LTLIBRARIES=libplutil.la 2 | 3 | libplutil_la_CFLAGS = $(XML_CFLAGS) 4 | 5 | #this must check 6 | libplutil_la_CFLAGS += -DPLIST_BYTE_ORDER=0 7 | libplutil_la_LIBADD = $(XML_LIBS) 8 | 9 | libplutil_la_SOURCES=base64.c \ 10 | bplist.c \ 11 | bytearray.c \ 12 | hashtable.c \ 13 | iterator.c \ 14 | list.c \ 15 | node.c \ 16 | node_iterator.c \ 17 | node_list.c \ 18 | plist.c \ 19 | ptrarray.c \ 20 | xplist.c 21 | 22 | noinst_HEADERS = \ 23 | base64.h \ 24 | bytearray.h \ 25 | common.h \ 26 | hashtable.h \ 27 | iterator.h \ 28 | list.h \ 29 | node.h \ 30 | node_iterator.h \ 31 | node_list.h \ 32 | object.h \ 33 | plist.h \ 34 | plutil.h \ 35 | ptrarray.h \ 36 | plist/Array.h \ 37 | plist/Boolean.h \ 38 | plist/Data.h \ 39 | plist/Date.h \ 40 | plist/Dictionary.h \ 41 | plist/Integer.h \ 42 | plist/Node.h \ 43 | plist/plist.h \ 44 | plist/plist++.h \ 45 | plist/Real.h \ 46 | plist/String.h \ 47 | plist/Structure.h 48 | 49 | -------------------------------------------------------------------------------- /build/iphonesdk-utils-2.0/libplutil/base64.h: -------------------------------------------------------------------------------- 1 | /* 2 | * base64.h 3 | * base64 encode/decode implementation 4 | * 5 | * Copyright (c) 2011 Nikias Bassen, All Rights Reserved. 6 | * 7 | * This library is free software; you can redistribute it and/or 8 | * modify it under the terms of the GNU Lesser General Public 9 | * License as published by the Free Software Foundation; either 10 | * version 2.1 of the License, or (at your option) any later version. 11 | * 12 | * This library is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 | * Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public 18 | * License along with this library; if not, write to the Free Software 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 20 | */ 21 | #ifndef BASE64_H 22 | #define BASE64_H 23 | #include 24 | #include "common.h" 25 | 26 | _PLIST_INTERNAL char *base64encode(const unsigned char *buf, size_t *size); 27 | _PLIST_INTERNAL unsigned char *base64decode(const char *buf, size_t *size); 28 | 29 | #endif 30 | -------------------------------------------------------------------------------- /build/iphonesdk-utils-2.0/libplutil/bytearray.h: -------------------------------------------------------------------------------- 1 | /* 2 | * bytearray.h 3 | * header file for simple byte array implementation 4 | * 5 | * Copyright (c) 2011 Nikias Bassen, All Rights Reserved. 6 | * 7 | * This library is free software; you can redistribute it and/or 8 | * modify it under the terms of the GNU Lesser General Public 9 | * License as published by the Free Software Foundation; either 10 | * version 2.1 of the License, or (at your option) any later version. 11 | * 12 | * This library is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 | * Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public 18 | * License along with this library; if not, write to the Free Software 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 20 | */ 21 | #ifndef BYTEARRAY_H 22 | #define BYTEARRAY_H 23 | #include 24 | #include "common.h" 25 | 26 | typedef struct bytearray_t { 27 | void *data; 28 | size_t len; 29 | size_t capacity; 30 | } bytearray_t; 31 | 32 | _PLIST_INTERNAL bytearray_t *byte_array_new(); 33 | _PLIST_INTERNAL void byte_array_free(bytearray_t *ba); 34 | _PLIST_INTERNAL void byte_array_append(bytearray_t *ba, void *buf, size_t len); 35 | 36 | #endif 37 | -------------------------------------------------------------------------------- /build/iphonesdk-utils-2.0/libplutil/common.h: -------------------------------------------------------------------------------- 1 | #ifndef COMMON_H 2 | #define COMMON_H 3 | 4 | #define PLIST_LITTLE_ENDIAN 0 5 | #define PLIST_BIG_ENDIAN 1 6 | 7 | #if defined(__GNUC__) && (__GNUC__ >= 4) && !defined(__CYGWIN__) && !defined(WIN32) 8 | # define _PLIST_INTERNAL __attribute__((visibility("hidden"))) 9 | #elif defined(__SUNPRO_C) && (__SUNPRO_C >= 0x550) 10 | # define _PLIST_INTERNAL __hidden 11 | #else /* not gcc >= 4 and not Sun Studio >= 8 */ 12 | # define _PLIST_INTERNAL 13 | #endif /* GNUC >= 4 */ 14 | 15 | #endif 16 | -------------------------------------------------------------------------------- /build/iphonesdk-utils-2.0/libplutil/list.c: -------------------------------------------------------------------------------- 1 | /* 2 | * list.c 3 | * 4 | * Created on: Mar 8, 2011 5 | * Author: posixninja 6 | * 7 | * Copyright (c) 2011 Joshua Hill. All Rights Reserved. 8 | * 9 | * This library is free software; you can redistribute it and/or 10 | * modify it under the terms of the GNU Lesser General Public 11 | * License as published by the Free Software Foundation; either 12 | * version 2.1 of the License, or (at your option) any later version. 13 | * 14 | * This library is distributed in the hope that it will be useful, 15 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 17 | * Lesser General Public License for more details. 18 | * 19 | * You should have received a copy of the GNU Lesser General Public 20 | * License along with this library; if not, write to the Free Software 21 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 22 | */ 23 | 24 | #include 25 | #include 26 | 27 | #include "list.h" 28 | 29 | void list_init(list_t* list) { 30 | list->next = NULL; 31 | list->prev = list; 32 | } 33 | 34 | 35 | void list_destroy(list_t* list) { 36 | if(list) { 37 | free(list); 38 | } 39 | } 40 | 41 | int list_add(list_t* list, object_t* object) { 42 | return -1; 43 | } 44 | 45 | int list_remove(list_t* list, object_t* object) { 46 | return -1; 47 | } 48 | -------------------------------------------------------------------------------- /build/iphonesdk-utils-2.0/libplutil/list.h: -------------------------------------------------------------------------------- 1 | /* 2 | * list.h 3 | * 4 | * Created on: Mar 8, 2011 5 | * Author: posixninja 6 | * 7 | * Copyright (c) 2011 Joshua Hill. All Rights Reserved. 8 | * 9 | * This library is free software; you can redistribute it and/or 10 | * modify it under the terms of the GNU Lesser General Public 11 | * License as published by the Free Software Foundation; either 12 | * version 2.1 of the License, or (at your option) any later version. 13 | * 14 | * This library is distributed in the hope that it will be useful, 15 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 17 | * Lesser General Public License for more details. 18 | * 19 | * You should have received a copy of the GNU Lesser General Public 20 | * License along with this library; if not, write to the Free Software 21 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 22 | */ 23 | 24 | #ifndef LIST_H_ 25 | #define LIST_H_ 26 | 27 | #include "object.h" 28 | 29 | typedef struct list_t { 30 | void* next; 31 | void* prev; 32 | } list_t; 33 | 34 | void list_init(struct list_t* list); 35 | void list_destroy(struct list_t* list); 36 | 37 | int list_add(struct list_t* list, struct object_t* object); 38 | int list_remove(struct list_t* list, struct object_t* object); 39 | 40 | #endif /* LIST_H_ */ 41 | -------------------------------------------------------------------------------- /build/iphonesdk-utils-2.0/libplutil/object.h: -------------------------------------------------------------------------------- 1 | /* 2 | * object.h 3 | * 4 | * Created on: Mar 8, 2011 5 | * Author: posixninja 6 | * 7 | * Copyright (c) 2011 Joshua Hill. All Rights Reserved. 8 | * 9 | * This library is free software; you can redistribute it and/or 10 | * modify it under the terms of the GNU Lesser General Public 11 | * License as published by the Free Software Foundation; either 12 | * version 2.1 of the License, or (at your option) any later version. 13 | * 14 | * This library is distributed in the hope that it will be useful, 15 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 17 | * Lesser General Public License for more details. 18 | * 19 | * You should have received a copy of the GNU Lesser General Public 20 | * License along with this library; if not, write to the Free Software 21 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 22 | */ 23 | 24 | #ifndef OBJECT_H_ 25 | #define OBJECT_H_ 26 | 27 | #ifndef TRUE 28 | #define TRUE 1 29 | #endif 30 | 31 | #ifndef FALSE 32 | #define FALSE 0 33 | #endif 34 | 35 | typedef struct object_t { 36 | void* value; 37 | unsigned int type; 38 | unsigned int size; 39 | } object_t; 40 | 41 | #endif /* OBJECT_H_ */ 42 | -------------------------------------------------------------------------------- /build/iphonesdk-utils-2.0/libplutil/plist/plist++.h: -------------------------------------------------------------------------------- 1 | /* 2 | * plist++.h 3 | * Main include of libplist C++ binding 4 | * 5 | * Copyright (c) 2009 Jonathan Beck All Rights Reserved. 6 | * 7 | * This library is free software; you can redistribute it and/or 8 | * modify it under the terms of the GNU Lesser General Public 9 | * License as published by the Free Software Foundation; either 10 | * version 2.1 of the License, or (at your option) any later version. 11 | * 12 | * This library is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 | * Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public 18 | * License along with this library; if not, write to the Free Software 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 20 | */ 21 | 22 | #ifndef LIBPLISTXX_H 23 | #define LIBPLISTXX_H 24 | 25 | #include "plist.h" 26 | #include "Array.h" 27 | #include "Boolean.h" 28 | #include "Data.h" 29 | #include "Date.h" 30 | #include "Dictionary.h" 31 | #include "Integer.h" 32 | #include "Node.h" 33 | #include "Real.h" 34 | #include "String.h" 35 | #include "Structure.h" 36 | 37 | #endif 38 | -------------------------------------------------------------------------------- /build/iphonesdk-utils-2.0/libplutil/plutil.h: -------------------------------------------------------------------------------- 1 | /* 2 | * plutil.h 3 | * header for plist convertion tool 4 | * 5 | * Copyright (c) 2008 Zach C. All Rights Reserved. 6 | * 7 | * This library is free software; you can redistribute it and/or 8 | * modify it under the terms of the GNU Lesser General Public 9 | * License as published by the Free Software Foundation; either 10 | * version 2.1 of the License, or (at your option) any later version. 11 | * 12 | * This library is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 | * Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public 18 | * License along with this library; if not, write to the Free Software 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 20 | */ 21 | 22 | typedef struct _options 23 | { 24 | char *in_file, *out_file; 25 | uint8_t debug, in_fmt, out_fmt; 26 | } Options; 27 | 28 | Options *parse_arguments(int argc, char *argv[]); 29 | void print_usage(); 30 | -------------------------------------------------------------------------------- /build/iphonesdk-utils-2.0/plutil/Makefile.am: -------------------------------------------------------------------------------- 1 | bin_PROGRAMS = ios-plutil 2 | 3 | ios_plutil_SOURCES = plutil.c 4 | 5 | ios_plutil_CFLAGS = \ 6 | $(XML_CFLAGS) \ 7 | -I$(top_srcdir)/libplutil 8 | 9 | ios_plutil_LDADD = \ 10 | $(top_builddir)/libplutil/libplutil.la 11 | -------------------------------------------------------------------------------- /build/iphonesdk-utils-2.0/pngcrush/Makefile.am: -------------------------------------------------------------------------------- 1 | AM_CPPFLAGS = \ 2 | -I$(srcdir)/libpng \ 3 | -DPNG_CONFIGURE_LIBPNG \ 4 | -DPNG_NO_PROGRESSIVE_READ \ 5 | -DPNG_NO_EASY_ACCESS 6 | 7 | bin_PROGRAMS = ios-pngcrush 8 | 9 | ios_pngcrush_SOURCES = main.c crush.c decrush.c \ 10 | libpng/png.c \ 11 | libpng/pngerror.c \ 12 | libpng/pngget.c \ 13 | libpng/pngmem.c \ 14 | libpng/pngpread.c \ 15 | libpng/pngread.c \ 16 | libpng/pngrio.c \ 17 | libpng/pngrtran.c \ 18 | libpng/pngrutil.c \ 19 | libpng/pngset.c \ 20 | libpng/pngtrans.c \ 21 | libpng/pngwio.c \ 22 | libpng/pngwrite.c \ 23 | libpng/pngwtran.c \ 24 | libpng/pngwutil.c 25 | 26 | ios_pngcrush_LDADD = $(ZLIB_LIBS) $(M_LIBS) 27 | 28 | EXTRA_DIST = \ 29 | libpng/pngconf.h \ 30 | libpng/png.h \ 31 | libpng/pngpriv.h 32 | -------------------------------------------------------------------------------- /build/iphonesdk-utils-2.0/pngcrush/libpng/.gitignore: -------------------------------------------------------------------------------- 1 | obj 2 | -------------------------------------------------------------------------------- /build/iphonesdk-utils-2.0/xcbuild/Makefile.am: -------------------------------------------------------------------------------- 1 | bin_PROGRAMS = ios-xcbuild 2 | 3 | ios_xcbuild_SOURCES = xcbuild.cpp \ 4 | libxcodeutils/lex.yy.c \ 5 | libxcodeutils/pbxproj.cpp \ 6 | libxcodeutils/pbxprojdef.cpp 7 | 8 | AM_CPPFLAGS = -fPIC -I$(srcdir)/xcbuild/libxcodeutils 9 | 10 | EXTRA_DIST = \ 11 | libxcodeutils/pbxprojdef.h \ 12 | libxcodeutils/pbxproj.hpp \ 13 | libxcodeutils/pbxproj.l \ 14 | libxcodeutils/pbxproj.y \ 15 | libxcodeutils/README \ 16 | xcdump.cpp 17 | -------------------------------------------------------------------------------- /build/iphonesdk-utils-2.0/xcbuild/README: -------------------------------------------------------------------------------- 1 | A new xcodeproj builder and convertor, more smart, more useful. 2 | Hope we can directly build xcodeproj under linux. 3 | 4 | Almost works. 5 | -------------------------------------------------------------------------------- /build/iphonesdk-utils-2.0/xcbuild/libxcodeutils/Makefile: -------------------------------------------------------------------------------- 1 | all: libxcodeutils 2 | 3 | libxcodeutils: 4 | lex pbxproj.l 5 | bison -d pbxproj.y -o pbxproj.cpp 6 | clang++ -g -c pbx*.cpp -fPIC 7 | clang -g -c *.c -fPIC 8 | clang++ -shared -o libxcodeutils.so *.o -fPIC 9 | ar cr libxcodeutils.a *.o 10 | install: 11 | mkdir -p $(DESTDIR)/usr/include 12 | mkdir -p $(DESTDIR)/usr/lib 13 | install -m 0644 pbxprojdef.h $(DESTDIR)/usr/include/ 14 | install -m 0644 *.so $(DESTDIR)/usr/lib 15 | install -m 0644 *.a $(DESTDIR)/usr/lib 16 | clean: 17 | rm -rf lex.yy.c pbxproj.cpp pbxproj.hpp 18 | rm -rf *.o 19 | rm -rf libxcodeutils.so 20 | rm -rf libxcodeutils.a 21 | -------------------------------------------------------------------------------- /build/iphonesdk-utils-2.0/xcbuild/libxcodeutils/README: -------------------------------------------------------------------------------- 1 | lex pbxproj.l 2 | bison -d pbxproj.y -o pbxproj.cpp 3 | -------------------------------------------------------------------------------- /configure: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | TARGET=$1 4 | ALL=cctools.stamp 5 | INSTALL=cctools-install.stamp 6 | 7 | if [ -z "$TARGET" ]; then 8 | PS3="Please select the desired target: " 9 | options=("arm-apple-darwin" "x86_64-apple-darwin" "i686-apple-darwin") 10 | select opt in "${options[@]}" 11 | do 12 | case $opt in 13 | "" ) 14 | echo $opt;; 15 | *) 16 | TARGET=$opt 17 | break;; 18 | esac 19 | done 20 | fi 21 | 22 | case "$TARGET" in 23 | arm-apple-darwin* ) 24 | TARGET=$TARGET 25 | ALL="$ALL ios-tools.stamp" 26 | INSTALL="$INSTALL ios-tools-install.stamp" 27 | ;; 28 | *) 29 | ;; 30 | esac 31 | 32 | echo "Configuring for $TARGET ..." 33 | echo "TARGET=\"$TARGET\"" > configure.mk 34 | echo "all: $ALL" >> configure.mk 35 | echo "install: $INSTALL" >> configure.mk 36 | -------------------------------------------------------------------------------- /svn-import/.r423: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waneck/linux-ios-toolchain/c294172015b769fc21072f8e400c6d57cde7362a/svn-import/.r423 -------------------------------------------------------------------------------- /svn-import/cctools-porting-yetist/README: -------------------------------------------------------------------------------- 1 | == build 2 | $ ./updatesources.sh 3 | $ cd workspace/ 4 | $ patch -p1 < patches/porting-single.patch 5 | $ ./autogen.sh 6 | $ ./configure --target=arm-apple-darwin11 --prefix=/usr --enable-maintainer-mode 7 | 8 | == check for release 9 | $ target_alias=arm-apple-darwin11 make distcheck 10 | 11 | -------------------------------------------------------------------------------- /svn-import/cctools-porting-yetist/workspace/AUTHORS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waneck/linux-ios-toolchain/c294172015b769fc21072f8e400c6d57cde7362a/svn-import/cctools-porting-yetist/workspace/AUTHORS -------------------------------------------------------------------------------- /svn-import/cctools-porting-yetist/workspace/ChangeLog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waneck/linux-ios-toolchain/c294172015b769fc21072f8e400c6d57cde7362a/svn-import/cctools-porting-yetist/workspace/ChangeLog -------------------------------------------------------------------------------- /svn-import/cctools-porting-yetist/workspace/Makefile.am: -------------------------------------------------------------------------------- 1 | SUBDIRS = libstuff ar as misc libobjc2 otool ld64 2 | 3 | if ENABLE_LD_CLASSIC 4 | SUBDIRS += ld 5 | endif 6 | 7 | ACLOCAL_AMFLAGS = -I m4 8 | 9 | EXTRA_DIST = \ 10 | include \ 11 | VERSION 12 | 13 | -------------------------------------------------------------------------------- /svn-import/cctools-porting-yetist/workspace/NEWS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waneck/linux-ios-toolchain/c294172015b769fc21072f8e400c6d57cde7362a/svn-import/cctools-porting-yetist/workspace/NEWS -------------------------------------------------------------------------------- /svn-import/cctools-porting-yetist/workspace/README: -------------------------------------------------------------------------------- 1 | = README 2 | 3 | ios-toolchain based on clang for linux. 4 | 5 | == build 6 | 7 | $./configure --target=arm-apple-darwin11 --prefix=/usr 8 | $make 9 | $make install 10 | -------------------------------------------------------------------------------- /svn-import/cctools-porting-yetist/workspace/ar/Makefile.am: -------------------------------------------------------------------------------- 1 | bin_PROGRAMS = ar 2 | ar_LDADD = \ 3 | $(top_builddir)/libstuff/libstuff.la 4 | 5 | ar_CFLAGS = -D__DARWIN_UNIX03 -I$(top_srcdir)/ar -I$(top_srcdir)/include -I$(top_srcdir)/include/foreign -I$(top_srcdir)/libstuff $(WARNINGS) $(LTO_DEFS) 6 | 7 | ar_SOURCES = \ 8 | append.c \ 9 | ar.c \ 10 | archive.c \ 11 | contents.c \ 12 | delete.c \ 13 | extract.c \ 14 | misc.c \ 15 | move.c \ 16 | print.c \ 17 | replace.c 18 | 19 | EXTRA_DIST = \ 20 | archive.h \ 21 | extern.h \ 22 | pathnames.h 23 | -------------------------------------------------------------------------------- /svn-import/cctools-porting-yetist/workspace/as/Makefile.am: -------------------------------------------------------------------------------- 1 | SUBDIRS=arm i386 x86_64 ppc ppc64 2 | 3 | bin_PROGRAMS = as 4 | as_LDADD = \ 5 | $(top_builddir)/libstuff/libstuff.la 6 | 7 | as_CFLAGS = -I$(top_srcdir)/as -I$(top_srcdir)/include -I$(top_srcdir)/include/foreign -I$(top_srcdir)/libstuff $(WARNINGS) $(LTO_DEFS) -DNeXT_MOD -DASLIBEXECDIR="\"$(ASLIBEXECDIR)/\"" -D__DARWIN_UNIX03 8 | 9 | as_SOURCES = driver.c 10 | 11 | EXTRA_DIST = \ 12 | as.h \ 13 | app.h \ 14 | arch64_32.h \ 15 | arm_reloc.h \ 16 | as.h \ 17 | atof-ieee.h \ 18 | bignum.h \ 19 | dwarf2dbg.h \ 20 | expr.h \ 21 | filenames.h \ 22 | fixes.h \ 23 | flonum.h \ 24 | frags.h \ 25 | hash.h \ 26 | hex_value.h \ 27 | hppa-aux.h \ 28 | hppa-opcode.h \ 29 | i386.h \ 30 | i386-opcode.h \ 31 | i860-opcode.h \ 32 | input-file.h \ 33 | input-scrub.h \ 34 | layout.h \ 35 | m68k-opcode.h \ 36 | m88k-opcode.h \ 37 | md.h \ 38 | messages.h \ 39 | obstack.h \ 40 | ppc-opcode.h \ 41 | read.h \ 42 | relax.h \ 43 | sections.h \ 44 | sparc-opcode.h \ 45 | struc-symbol.h \ 46 | symbols.h \ 47 | write_object.h \ 48 | xmalloc.h 49 | -------------------------------------------------------------------------------- /svn-import/cctools-porting-yetist/workspace/as/arm/Makefile.am: -------------------------------------------------------------------------------- 1 | libexec_PROGRAMS = arm-as 2 | 3 | arm_as_LDADD = \ 4 | $(top_builddir)/libstuff/libstuff.la 5 | 6 | arm_as_CFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/include/foreign -I$(top_srcdir)/libstuff -I$(top_srcdir)/as $(WARNINGS) $(LTO_DEFS) -DNeXT_MOD -DASLIBEXECDIR="\"$(ASLIBEXECDIR)/\"" -D__DARWIN_UNIX03 -DARM 7 | 8 | arm_as_SOURCES = ../app.c ../as.c ../atof-generic.c ../atof-ieee.c ../expr.c ../fixes.c ../flonum-const.c \ 9 | ../flonum-copy.c ../flonum-mult.c ../frags.c ../hash.c ../hex-value.c ../input-file.c \ 10 | ../input-scrub.c ../layout.c ../messages.c ../obstack.c ../read.c ../sections.c \ 11 | ../symbols.c ../write_object.c ../xmalloc.c ../dwarf2dbg.c ../arm.c 12 | 13 | install-exec-hook: 14 | mkdir -p $(DESTDIR)/$(libexecdir)/as/arm 15 | mv $(DESTDIR)/$(libexecdir)/*arm-as $(DESTDIR)/$(libexecdir)/as/arm/as 16 | 17 | uninstall-hook: 18 | rm -f $(DESTDIR)/$(libexecdir)/as/arm/as 19 | -------------------------------------------------------------------------------- /svn-import/cctools-porting-yetist/workspace/as/i386/Makefile.am: -------------------------------------------------------------------------------- 1 | libexec_PROGRAMS = i386-as 2 | 3 | i386_as_LDADD = \ 4 | $(top_builddir)/libstuff/libstuff.la 5 | 6 | i386_as_CFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/include/foreign -I$(top_srcdir)/libstuff -I$(top_srcdir)/as $(WARNINGS) $(LTO_DEFS) -DNeXT_MOD -DASLIBEXECDIR="\"$(ASLIBEXECDIR)/\"" -D__DARWIN_UNIX03 -DI386 -Di486 -Di586 -Di686 7 | 8 | i386_as_SOURCES = ../app.c ../as.c ../atof-generic.c ../atof-ieee.c ../expr.c ../fixes.c ../flonum-const.c \ 9 | ../flonum-copy.c ../flonum-mult.c ../frags.c ../hash.c ../hex-value.c ../input-file.c \ 10 | ../input-scrub.c ../layout.c ../messages.c ../obstack.c ../read.c ../sections.c \ 11 | ../symbols.c ../write_object.c ../xmalloc.c ../dwarf2dbg.c ../i386.c 12 | 13 | install-exec-hook: 14 | mkdir -p $(DESTDIR)/$(libexecdir)/as/i386 15 | mv $(DESTDIR)/$(libexecdir)/*i386-as $(DESTDIR)/$(libexecdir)/as/i386/as 16 | 17 | uninstall-hook: 18 | rm -f $(DESTDIR)/$(libexecdir)/as/i386/as 19 | -------------------------------------------------------------------------------- /svn-import/cctools-porting-yetist/workspace/as/ppc/Makefile.am: -------------------------------------------------------------------------------- 1 | libexec_PROGRAMS = ppc-as 2 | 3 | ppc_as_LDADD = \ 4 | $(top_builddir)/libstuff/libstuff.la 5 | 6 | ppc_as_CFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/include/foreign -I$(top_srcdir)/libstuff -I$(top_srcdir)/as $(WARNINGS) $(LTO_DEFS) -DNeXT_MOD -DASLIBEXECDIR="\"$(ASLIBEXECDIR)/\"" -D__DARWIN_UNIX03 -DPPC 7 | 8 | ppc_as_SOURCES = ../app.c ../as.c ../atof-generic.c ../atof-ieee.c ../expr.c ../fixes.c ../flonum-const.c \ 9 | ../flonum-copy.c ../flonum-mult.c ../frags.c ../hash.c ../hex-value.c ../input-file.c \ 10 | ../input-scrub.c ../layout.c ../messages.c ../obstack.c ../read.c ../sections.c \ 11 | ../symbols.c ../write_object.c ../xmalloc.c ../dwarf2dbg.c ../ppc.c 12 | 13 | install-exec-hook: 14 | mkdir -p $(DESTDIR)/$(libexecdir)/as/ppc 15 | mv $(DESTDIR)/$(libexecdir)/*ppc-as $(DESTDIR)/$(libexecdir)/as/ppc/as 16 | 17 | uninstall-hook: 18 | rm -f $(DESTDIR)/$(libexecdir)/as/ppc/as 19 | -------------------------------------------------------------------------------- /svn-import/cctools-porting-yetist/workspace/as/ppc64/Makefile.am: -------------------------------------------------------------------------------- 1 | libexec_PROGRAMS = ppc64-as 2 | 3 | ppc64_as_LDADD = \ 4 | $(top_builddir)/libstuff/libstuff.la 5 | 6 | ppc64_as_CFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/include/foreign -I$(top_srcdir)/libstuff -I$(top_srcdir)/as $(WARNINGS) $(LTO_DEFS) -DNeXT_MOD -DASLIBEXECDIR="\"$(ASLIBEXECDIR)/\"" -D__DARWIN_UNIX03 -DPPC -DARCH64 7 | 8 | ppc64_as_SOURCES = ../app.c ../as.c ../atof-generic.c ../atof-ieee.c ../expr.c ../fixes.c ../flonum-const.c \ 9 | ../flonum-copy.c ../flonum-mult.c ../frags.c ../hash.c ../hex-value.c ../input-file.c \ 10 | ../input-scrub.c ../layout.c ../messages.c ../obstack.c ../read.c ../sections.c \ 11 | ../symbols.c ../write_object.c ../xmalloc.c ../dwarf2dbg.c ../ppc.c 12 | 13 | install-exec-hook: 14 | mkdir -p $(DESTDIR)/$(libexecdir)/as/ppc64 15 | mv $(DESTDIR)/$(libexecdir)/*ppc64-as $(DESTDIR)/$(libexecdir)/as/ppc64/as 16 | 17 | uninstall-hook: 18 | rm -f $(DESTDIR)/$(libexecdir)/as/ppc64/as 19 | -------------------------------------------------------------------------------- /svn-import/cctools-porting-yetist/workspace/as/x86_64/Makefile.am: -------------------------------------------------------------------------------- 1 | libexec_PROGRAMS = x86_64-as 2 | 3 | x86_64_as_LDADD = \ 4 | $(top_builddir)/libstuff/libstuff.la 5 | 6 | x86_64_as_CFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/include/foreign -I$(top_srcdir)/libstuff -I$(top_srcdir)/as $(WARNINGS) $(LTO_DEFS) -DNeXT_MOD -DASLIBEXECDIR="\"$(ASLIBEXECDIR)/\"" -D__DARWIN_UNIX03 -DI386 -Di486 -Di586 -Di686 -DARCH64 7 | 8 | x86_64_as_SOURCES = ../app.c ../as.c ../atof-generic.c ../atof-ieee.c ../expr.c ../fixes.c ../flonum-const.c \ 9 | ../flonum-copy.c ../flonum-mult.c ../frags.c ../hash.c ../hex-value.c ../input-file.c \ 10 | ../input-scrub.c ../layout.c ../messages.c ../obstack.c ../read.c ../sections.c \ 11 | ../symbols.c ../write_object.c ../xmalloc.c ../dwarf2dbg.c ../i386.c 12 | 13 | install-exec-hook: 14 | mkdir -p $(DESTDIR)/$(libexecdir)/as/x86_64 15 | mv $(DESTDIR)/$(libexecdir)/*x86_64-as $(DESTDIR)/$(libexecdir)/as/x86_64/as 16 | 17 | uninstall-hook: 18 | rm -f $(DESTDIR)/$(libexecdir)/as/x86_64/as 19 | -------------------------------------------------------------------------------- /svn-import/cctools-porting-yetist/workspace/autogen.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | mkdir -p m4 3 | aclocal 4 | autoconf 5 | libtoolize -c -i 6 | autoheader 7 | automake -a -c 8 | -------------------------------------------------------------------------------- /svn-import/cctools-porting-yetist/workspace/include/foreign/Availability.h: -------------------------------------------------------------------------------- 1 | //fake headers 2 | -------------------------------------------------------------------------------- /svn-import/cctools-porting-yetist/workspace/include/foreign/AvailabilityMacros.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waneck/linux-ios-toolchain/c294172015b769fc21072f8e400c6d57cde7362a/svn-import/cctools-porting-yetist/workspace/include/foreign/AvailabilityMacros.h -------------------------------------------------------------------------------- /svn-import/cctools-porting-yetist/workspace/include/foreign/CommonCrypto/CommonDigest.h: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #define CC_MD5_DIGEST_LENGTH MD5_DIGEST_LENGTH 4 | #define CC_MD5_Init MD5_Init 5 | #define CC_MD5_Update MD5_Update 6 | #define CC_MD5_Final MD5_Final 7 | #define CC_MD5 MD5 8 | #define CC_MD5_Transform MD5_Transform 9 | #define CC_MD5_CTX MD5_CTX 10 | -------------------------------------------------------------------------------- /svn-import/cctools-porting-yetist/workspace/include/foreign/architecture/i386/byte_order.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 1999-2002 Apple Computer, Inc. All rights reserved. 3 | * 4 | * @APPLE_LICENSE_HEADER_START@ 5 | * 6 | * This file contains Original Code and/or Modifications of Original Code 7 | * as defined in and that are subject to the Apple Public Source License 8 | * Version 2.0 (the 'License'). You may not use this file except in 9 | * compliance with the License. Please obtain a copy of the License at 10 | * http://www.opensource.apple.com/apsl/ and read it before using this 11 | * file. 12 | * 13 | * The Original Code and all software distributed under the License are 14 | * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 15 | * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 16 | * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 17 | * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 18 | * Please see the License for the specific language governing rights and 19 | * limitations under the License. 20 | * 21 | * @APPLE_LICENSE_HEADER_END@ 22 | */ 23 | 24 | #ifndef _ARCH_I386_BYTE_ORDER_H_ 25 | #define _ARCH_I386_BYTE_ORDER_H_ 26 | 27 | /* 28 | * Maintain source compatibility 29 | */ 30 | 31 | #include 32 | 33 | #endif /* _ARCH_I386_BYTE_ORDER_H_ */ 34 | -------------------------------------------------------------------------------- /svn-import/cctools-porting-yetist/workspace/include/foreign/architecture/ppc/byte_order.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 1999-2002 Apple Computer, Inc. All rights reserved. 3 | * 4 | * @APPLE_LICENSE_HEADER_START@ 5 | * 6 | * This file contains Original Code and/or Modifications of Original Code 7 | * as defined in and that are subject to the Apple Public Source License 8 | * Version 2.0 (the 'License'). You may not use this file except in 9 | * compliance with the License. Please obtain a copy of the License at 10 | * http://www.opensource.apple.com/apsl/ and read it before using this 11 | * file. 12 | * 13 | * The Original Code and all software distributed under the License are 14 | * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 15 | * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 16 | * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 17 | * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 18 | * Please see the License for the specific language governing rights and 19 | * limitations under the License. 20 | * 21 | * @APPLE_LICENSE_HEADER_END@ 22 | */ 23 | 24 | /* 25 | * Maintain source compatibility 26 | */ 27 | 28 | #include 29 | -------------------------------------------------------------------------------- /svn-import/cctools-porting-yetist/workspace/include/foreign/errno.h: -------------------------------------------------------------------------------- 1 | /* 2 | * errno.h: wrapper linux 3 | * */ 4 | 5 | #ifndef __ERRNO_H__ 6 | #define __ERRNO_H__ 1 7 | 8 | #include 9 | 10 | #if !defined(EBADRPC) 11 | # define EBADRPC 72 /* RPC struct is bad */ 12 | #endif 13 | 14 | #if !defined(EFTYPE) 15 | # define EFTYPE 79 /* Inappropriate file type or format */ 16 | #endif 17 | 18 | #endif /* __ERRNO_H__ */ 19 | -------------------------------------------------------------------------------- /svn-import/cctools-porting-yetist/workspace/include/foreign/extern.h: -------------------------------------------------------------------------------- 1 | #define __private_extern__ __attribute__((visibility("hidden"))) 2 | -------------------------------------------------------------------------------- /svn-import/cctools-porting-yetist/workspace/include/foreign/i386/_limits.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2004 Apple Computer, Inc. All rights reserved. 3 | * 4 | * @APPLE_LICENSE_HEADER_START@ 5 | * 6 | * The contents of this file constitute Original Code as defined in and 7 | * are subject to the Apple Public Source License Version 1.1 (the 8 | * "License"). You may not use this file except in compliance with the 9 | * License. Please obtain a copy of the License at 10 | * http://www.apple.com/publicsource and read it before using this file. 11 | * 12 | * This Original Code and all software distributed under the License are 13 | * distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, EITHER 14 | * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 15 | * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 16 | * FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT. Please see the 17 | * License for the specific language governing rights and limitations 18 | * under the License. 19 | * 20 | * @APPLE_LICENSE_HEADER_END@ 21 | */ 22 | #ifndef _I386__LIMITS_H_ 23 | #define _I386__LIMITS_H_ 24 | 25 | #define __DARWIN_CLK_TCK 100 /* ticks per second */ 26 | 27 | #endif /* _I386__LIMITS_H_ */ 28 | -------------------------------------------------------------------------------- /svn-import/cctools-porting-yetist/workspace/include/foreign/libc.h: -------------------------------------------------------------------------------- 1 | #ifndef _LIBC_H 2 | #define _LIBC_H 3 | 4 | #include 5 | #include 6 | #include 7 | #include 8 | #include 9 | #include 10 | #include 11 | 12 | #include 13 | 14 | #include 15 | #include 16 | #include 17 | 18 | #endif 19 | -------------------------------------------------------------------------------- /svn-import/cctools-porting-yetist/workspace/include/foreign/mach/machine/sdt.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2007 Apple Inc. All rights reserved. 3 | */ 4 | /* 5 | * CDDL HEADER START 6 | * 7 | * The contents of this file are subject to the terms of the 8 | * Common Development and Distribution License, Version 1.0 only 9 | * (the "License"). You may not use this file except in compliance 10 | * with the License. 11 | * 12 | * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 13 | * or http://www.opensolaris.org/os/licensing. 14 | * See the License for the specific language governing permissions 15 | * and limitations under the License. 16 | * 17 | * When distributing Covered Code, include this CDDL HEADER in each 18 | * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 19 | * If applicable, add the following below this CDDL HEADER, with the 20 | * fields enclosed by brackets "[]" replaced with your own identifying 21 | * information: Portions Copyright [yyyy] [name of copyright owner] 22 | * 23 | * CDDL HEADER END 24 | */ 25 | /* 26 | * Copyright 2004 Sun Microsystems, Inc. All rights reserved. 27 | * Use is subject to license terms. 28 | */ 29 | 30 | #ifndef _MACH_MACHINE_SYS_SDT_H 31 | #define _MACH_MACHINE_SYS_SDT_H 32 | 33 | #include 34 | 35 | 36 | #endif /* _MACH_MACHINE_SYS_SDT_H */ 37 | -------------------------------------------------------------------------------- /svn-import/cctools-porting-yetist/workspace/include/foreign/mach/sdt.h: -------------------------------------------------------------------------------- 1 | /* 2 | * CDDL HEADER START 3 | * 4 | * The contents of this file are subject to the terms of the 5 | * Common Development and Distribution License, Version 1.0 only 6 | * (the "License"). You may not use this file except in compliance 7 | * with the License. 8 | * 9 | * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 10 | * or http://www.opensolaris.org/os/licensing. 11 | * See the License for the specific language governing permissions 12 | * and limitations under the License. 13 | * 14 | * When distributing Covered Code, include this CDDL HEADER in each 15 | * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 16 | * If applicable, add the following below this CDDL HEADER, with the 17 | * fields enclosed by brackets "[]" replaced with your own identifying 18 | * information: Portions Copyright [yyyy] [name of copyright owner] 19 | * 20 | * CDDL HEADER END 21 | */ 22 | /* 23 | * Copyright 2004 Sun Microsystems, Inc. All rights reserved. 24 | * Use is subject to license terms. 25 | */ 26 | 27 | #ifndef _MACH_SDT_H 28 | #define _MACH_SDT_H 29 | 30 | #include 31 | 32 | #endif /* _MACH_SDT_H */ 33 | -------------------------------------------------------------------------------- /svn-import/cctools-porting-yetist/workspace/include/foreign/machine/limits.h: -------------------------------------------------------------------------------- 1 | /* This is the `system' limits.h, independent of any particular 2 | compiler. GCC provides its own limits.h which can be found in 3 | /usr/lib/gcc, although it is not very informative. 4 | This file is public domain. */ 5 | #if defined (__ppc__) || defined (__ppc64__) 6 | #include 7 | #elif defined (__i386__) || defined(__x86_64__) 8 | #include 9 | #elif defined (__arm__) 10 | #include 11 | #else 12 | #error architecture not supported 13 | #endif 14 | -------------------------------------------------------------------------------- /svn-import/cctools-porting-yetist/workspace/include/foreign/malloc/malloc.h: -------------------------------------------------------------------------------- 1 | //fake headers 2 | -------------------------------------------------------------------------------- /svn-import/cctools-porting-yetist/workspace/include/foreign/ppc/_limits.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2004 Apple Computer, Inc. All rights reserved. 3 | * 4 | * @APPLE_LICENSE_HEADER_START@ 5 | * 6 | * The contents of this file constitute Original Code as defined in and 7 | * are subject to the Apple Public Source License Version 1.1 (the 8 | * "License"). You may not use this file except in compliance with the 9 | * License. Please obtain a copy of the License at 10 | * http://www.apple.com/publicsource and read it before using this file. 11 | * 12 | * This Original Code and all software distributed under the License are 13 | * distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, EITHER 14 | * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 15 | * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 16 | * FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT. Please see the 17 | * License for the specific language governing rights and limitations 18 | * under the License. 19 | * 20 | * @APPLE_LICENSE_HEADER_END@ 21 | */ 22 | #ifndef _PPC__LIMITS_H_ 23 | #define _PPC__LIMITS_H_ 24 | 25 | #define __DARWIN_CLK_TCK 100 /* ticks per second */ 26 | 27 | #endif /* _PPC__LIMITS_H_ */ 28 | -------------------------------------------------------------------------------- /svn-import/cctools-porting-yetist/workspace/include/foreign/servers/bootstrap.h: -------------------------------------------------------------------------------- 1 | //fake headers 2 | -------------------------------------------------------------------------------- /svn-import/cctools-porting-yetist/workspace/include/foreign/string.h: -------------------------------------------------------------------------------- 1 | /* vi: set sw=4 ts=4 wrap ai: */ 2 | /* 3 | * string.h: This file is part of ____ 4 | * 5 | * Copyright (C) 2012 yetist 6 | * 7 | * 8 | * This program is free software; you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation; either version 2 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License along 19 | * with this program; if not, write to the Free Software Foundation, Inc., 20 | * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 21 | * */ 22 | 23 | #ifndef __STRING_H__ 24 | #define __STRING_H__ 1 25 | 26 | #include 27 | 28 | #ifndef strmode 29 | extern void strmode(/* mode_t */ int mode, char *p); 30 | #endif 31 | 32 | #endif /* __STRING_H__ */ 33 | -------------------------------------------------------------------------------- /svn-import/cctools-porting-yetist/workspace/include/foreign/sys/attr.h: -------------------------------------------------------------------------------- 1 | #ifndef _SYS_ATTR_H_ 2 | #define _SYS_ATTR_H_ 3 | 4 | #include 5 | #include 6 | 7 | typedef u_int32_t attrgroup_t; 8 | struct attrlist { 9 | u_short bitmapcount; /* number of attr. bit sets in list (should be 5) */ 10 | u_int16_t reserved; /* (to maintain 4-byte alignment) */ 11 | attrgroup_t commonattr; /* common attribute group */ 12 | attrgroup_t volattr; /* Volume attribute group */ 13 | attrgroup_t dirattr; /* directory attribute group */ 14 | attrgroup_t fileattr; /* file attribute group */ 15 | attrgroup_t forkattr; /* fork attribute group */ 16 | }; 17 | #define ATTR_BIT_MAP_COUNT 5 18 | 19 | #define ATTR_CMN_FNDRINFO 1 20 | #define ATTR_FILE_DATALENGTH 2 21 | #define ATTR_FILE_RSRCLENGTH 4 22 | 23 | int getattrlist(const char*,void*,void*,size_t,unsigned int); 24 | 25 | #endif 26 | -------------------------------------------------------------------------------- /svn-import/cctools-porting-yetist/workspace/include/foreign/tzfile.h: -------------------------------------------------------------------------------- 1 | //fake headers, for ar 2 | #include 3 | -------------------------------------------------------------------------------- /svn-import/cctools-porting-yetist/workspace/include/foreign/unistd.h: -------------------------------------------------------------------------------- 1 | /* vi: set sw=4 ts=4 wrap ai: */ 2 | /* 3 | * unistd.h: This file is part of ____ 4 | * 5 | * Copyright (C) 2012 yetist 6 | * 7 | * 8 | * This program is free software; you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation; either version 2 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License along 19 | * with this program; if not, write to the Free Software Foundation, Inc., 20 | * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 21 | * */ 22 | 23 | #ifndef __UNISTD_H__ 24 | #define __UNISTD_H__ 1 25 | 26 | #ifdef __USE_XOPEN 27 | # undef __USE_XOPEN 28 | # include 29 | # define __USE_XOPEN 30 | #else 31 | # include 32 | #endif 33 | extern void encrypt (char *__glibc_block, int __edflag) __THROW __nonnull ((1)); 34 | 35 | #endif /* __UNISTD_H__ */ 36 | -------------------------------------------------------------------------------- /svn-import/cctools-porting-yetist/workspace/ld/Makefile.am: -------------------------------------------------------------------------------- 1 | bin_PROGRAMS = ld_classic 2 | ld_classic_LDADD = \ 3 | $(top_builddir)/libstuff/libstuff.la 4 | 5 | ld_classic_CFLAGS = -D__DARWIN_UNIX03 -I$(top_srcdir)/include -I$(top_srcdir)/include/foreign -I$(top_srcdir)/libstuff $(WARNINGS) $(LTO_DEFS) -DDEBUG 6 | 7 | ld_classic_SOURCES = \ 8 | ld.c pass1.c objects.c sections.c cstring_literals.c symbols.c \ 9 | fvmlibs.c layout.c specs.c pass2.c generic_reloc.c rld.c sets.c \ 10 | 4byte_literals.c 8byte_literals.c literal_pointers.c dylibs.c \ 11 | indirect_sections.c mod_sections.c i860_reloc.c ppc_reloc.c \ 12 | m88k_reloc.c hppa_reloc.c sparc_reloc.c coalesced_sections.c uuid.c \ 13 | debugcompunit.c debugline.c arm_reloc.c 14 | 15 | EXTRA_DIST = \ 16 | 4byte_literals.h 8byte_literals.h arm_reloc.h coalesced_sections.h \ 17 | cstring_literals.h debugcompunit.h debugline.h dwarf2.h dylibs.h \ 18 | fvmlibs.h generic_reloc.h hash_string.h hppa_reloc.h i860_reloc.h \ 19 | indirect_sections.h layout.h ld.h literal_pointers.h live_refs.h \ 20 | m88k_reloc.h mod_sections.h objects.h pass1.h pass2.h ppc_reloc.h \ 21 | sections.h sets.h sparc_reloc.h specs.h symbols.h uuid.h 22 | -------------------------------------------------------------------------------- /svn-import/cctools-porting-yetist/workspace/ld64/Makefile.am: -------------------------------------------------------------------------------- 1 | SUBDIRS = src 2 | ACLOCAL_AMFLAGS = -I m4 3 | -------------------------------------------------------------------------------- /svn-import/cctools-porting-yetist/workspace/ld64/src/3rd/BlocksRuntime/Makefile.am: -------------------------------------------------------------------------------- 1 | noinst_LTLIBRARIES = libBlocksRuntime.la 2 | 3 | noinst_HEADERS = \ 4 | Block.h \ 5 | Block_private.h \ 6 | config.h 7 | 8 | libBlocksRuntime_la_SOURCES = \ 9 | data.c \ 10 | runtime.c 11 | -------------------------------------------------------------------------------- /svn-import/cctools-porting-yetist/workspace/ld64/src/3rd/BlocksRuntime/config.h: -------------------------------------------------------------------------------- 1 | /* AUTOMATICALLY GENERATED -- DO NOT EDIT */ 2 | 3 | #define HAVE_SYNC_BOOL_COMPARE_AND_SWAP_INT 1 4 | #define HAVE_SYNC_BOOL_COMPARE_AND_SWAP_LONG 1 5 | #define PROGRAM "libBlocksRuntime" 6 | #define VERSION "0.1" 7 | #define TARGET "linux" 8 | #define CFLAGS "-DBlocksRuntime_EXPORTS -fPIC -std=c99 -Wall -Wextra -W -pedantic -Wno-unused-parameter" 9 | -------------------------------------------------------------------------------- /svn-import/cctools-porting-yetist/workspace/ld64/src/3rd/Makefile.am: -------------------------------------------------------------------------------- 1 | SUBDIRS = BlocksRuntime 2 | noinst_LTLIBRARIES = libhelper.la 3 | noinst_HEADERS = helper.h strlcat.h strlcpy.h qsort_r.h 4 | libhelper_la_CFLAGS=-I$(top_srcdir)/include -I$(top_srcdir)/include/foreign 5 | 6 | libhelper_la_SOURCES = \ 7 | helper.c \ 8 | qsort_r.c \ 9 | strlcat.c \ 10 | strlcpy.c 11 | -------------------------------------------------------------------------------- /svn-import/cctools-porting-yetist/workspace/ld64/src/3rd/helper.h: -------------------------------------------------------------------------------- 1 | #ifndef _HELPER_H 2 | #define _HELPER_H 3 | 4 | #include 5 | #include 6 | #include 7 | #include 8 | #ifndef __USE_GNU 9 | #define __USE_GNU 10 | #include 11 | #endif 12 | struct dyld_unwind_sections 13 | { 14 | const struct mach_header* mh; 15 | const void* dwarf_section; 16 | intptr_t dwarf_section_length; 17 | const void* compact_unwind_section; 18 | intptr_t compact_unwind_section_length; 19 | }; 20 | 21 | typedef Dl_info dl_info; 22 | 23 | int _NSGetExecutablePath(char *path, unsigned int *size); 24 | 25 | int _dyld_find_unwind_sections(void* i, struct dyld_unwind_sections* sec); 26 | 27 | mach_port_t mach_host_self(void); 28 | 29 | kern_return_t host_statistics ( host_t host_priv, host_flavor_t flavor, host_info_t host_info_out, mach_msg_type_number_t *host_info_outCnt); 30 | 31 | uint64_t mach_absolute_time(void); 32 | 33 | #endif 34 | -------------------------------------------------------------------------------- /svn-import/cctools-porting-yetist/workspace/ld64/src/3rd/qsort_r.c: -------------------------------------------------------------------------------- 1 | #include "qsort_r.h" 2 | #include 3 | 4 | void *_qsort_thunk = NULL; 5 | int (*_qsort_saved_func)(void *, const void *, const void *) = NULL; 6 | 7 | static int _qsort_comparator(const void *a, const void *b); 8 | 9 | static int _qsort_comparator(const void *a, const void *b) 10 | { 11 | return _qsort_saved_func(_qsort_thunk, a, b); 12 | } 13 | 14 | void 15 | qsort_r_local(void *base, size_t nmemb, size_t size, void *thunk, 16 | int (*compar)(void *, const void *, const void *)) 17 | { 18 | _qsort_thunk = thunk; 19 | _qsort_saved_func = compar; 20 | 21 | qsort(base, nmemb, size, _qsort_comparator); 22 | } 23 | 24 | -------------------------------------------------------------------------------- /svn-import/cctools-porting-yetist/workspace/ld64/src/3rd/qsort_r.h: -------------------------------------------------------------------------------- 1 | #ifndef _QSORT_R_H 2 | #define _QSORT_R_H 3 | #include 4 | 5 | #if defined(__cplusplus) 6 | extern "C" { 7 | #endif 8 | void qsort_r_local(void *base, size_t nmemb, size_t size, void *thunk, int (*compar)(void *, const void *, const void *)); 9 | #if defined(__cplusplus) 10 | }; 11 | #endif 12 | 13 | #endif 14 | -------------------------------------------------------------------------------- /svn-import/cctools-porting-yetist/workspace/ld64/src/3rd/strlcat.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | size_t strlcat(char *dst, const char *src, size_t siz) 5 | { 6 | char *d = dst; 7 | const char *s = src; 8 | size_t n = siz; 9 | size_t dlen; 10 | 11 | /* Find the end of dst and adjust bytes left but don't go past end */ 12 | while (n-- != 0 && *d != '\0') 13 | d++; 14 | dlen = d - dst; 15 | n = siz - dlen; 16 | 17 | if (n == 0) 18 | return(dlen + strlen(s)); 19 | while (*s != '\0') { 20 | if (n != 1) { 21 | *d++ = *s; 22 | n--; 23 | } 24 | s++; 25 | } 26 | *d = '\0'; 27 | 28 | return(dlen + (s - src)); /* count does not include NUL */ 29 | } 30 | 31 | -------------------------------------------------------------------------------- /svn-import/cctools-porting-yetist/workspace/ld64/src/3rd/strlcat.h: -------------------------------------------------------------------------------- 1 | #ifndef STRLCAT_H 2 | #define STRLCAT_H 3 | 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | #include 8 | 9 | size_t strlcat(char *dst, const char *src, size_t siz); 10 | 11 | #ifdef __cplusplus 12 | } 13 | #endif 14 | 15 | #endif 16 | 17 | -------------------------------------------------------------------------------- /svn-import/cctools-porting-yetist/workspace/ld64/src/3rd/strlcpy.h: -------------------------------------------------------------------------------- 1 | #ifndef STRLCPY_H 2 | #define STRLCPY_H 3 | 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | #include 8 | 9 | size_t strlcpy(char *dst, const char *src, size_t siz); 10 | 11 | #ifdef __cplusplus 12 | } 13 | #endif 14 | 15 | #endif 16 | 17 | -------------------------------------------------------------------------------- /svn-import/cctools-porting-yetist/workspace/ld64/src/Makefile.am: -------------------------------------------------------------------------------- 1 | SUBDIRS = 3rd ld other 2 | 3 | EXTRA_DIST = \ 4 | compile_stubs.h \ 5 | configure.h \ 6 | abstraction 7 | -------------------------------------------------------------------------------- /svn-import/cctools-porting-yetist/workspace/ld64/src/compile_stubs.h: -------------------------------------------------------------------------------- 1 | #include "configure.h" 2 | //compile_stubs.h generated by xcode to dump compile_subs to a string. 3 | //here we fake one. 4 | static const char *compile_stubs ="Empty"; 5 | -------------------------------------------------------------------------------- /svn-import/cctools-porting-yetist/workspace/ld64/src/configure.h: -------------------------------------------------------------------------------- 1 | #ifndef _CONFIGURE_H 2 | #define _CONFIGURE_H 3 | #include 4 | #include 5 | #include 6 | #include 7 | 8 | #include 9 | #include 10 | #include 11 | #include 12 | 13 | #include "strlcat.h" 14 | #include "strlcpy.h" 15 | #include "helper.h" 16 | 17 | #define CPU_SUBTYPE_X86_ALL ((cpu_subtype_t)3) 18 | 19 | 20 | #define SUPPORT_ARCH_i386 1 21 | #define SUPPORT_ARCH_x86_64 1 22 | #define SUPPORT_ARCH_armv4t 1 23 | #define SUPPORT_ARCH_armv5 1 24 | #define SUPPORT_ARCH_armv6 1 25 | #define SUPPORT_ARCH_armv7 1 26 | #define SUPPORT_ARCH_armv7f 1 27 | #define SUPPORT_ARCH_armv7k 1 28 | #define SUPPORT_ARCH_armv7s 1 29 | #define ALL_SUPPORTED_ARCHS "i386 x86_64 armv4t armv5 armv6 armv7 armv7f armv7k armv7s" 30 | 31 | #define HW_NCPU 3 32 | #define CTL_HW 6 33 | #define ARG_MAX 131072 34 | 35 | #endif 36 | -------------------------------------------------------------------------------- /svn-import/cctools-porting-yetist/workspace/ld64/src/ld/parsers/Makefile.am: -------------------------------------------------------------------------------- 1 | noinst_LTLIBRARIES = libParsers.la 2 | 3 | noinst_HEADERS = \ 4 | archive_file.h \ 5 | lto_file.h \ 6 | macho_dylib_file.h \ 7 | macho_relocatable_file.h \ 8 | opaque_section_file.h 9 | 10 | libParsers_la_LIBADD = \ 11 | $(top_builddir)/ld64/src/3rd/libhelper.la 12 | 13 | libParsers_la_CXXFLAGS = \ 14 | -D__DARWIN_UNIX03 \ 15 | $(WARNINGS) \ 16 | $(LTO_DEFS) \ 17 | -I$(top_srcdir)/include \ 18 | -I$(top_srcdir)/include/foreign \ 19 | -I$(top_srcdir)/ld64/src/abstraction \ 20 | -I$(top_srcdir)/ld64/src/ld \ 21 | -I$(top_srcdir)/ld64/src/3rd \ 22 | -I$(top_srcdir)/ld64/src 23 | 24 | if CXX_IS_CLANGPLUSPLUS 25 | libParsers_la_CXXFLAGS += -fblocks 26 | endif 27 | 28 | libParsers_la_SOURCES = \ 29 | archive_file.cpp \ 30 | lto_file.cpp \ 31 | macho_dylib_file.cpp \ 32 | macho_relocatable_file.cpp \ 33 | opaque_section_file.cpp 34 | 35 | EXTRA_DIST = \ 36 | libunwind 37 | -------------------------------------------------------------------------------- /svn-import/cctools-porting-yetist/workspace/ld64/src/ld/passes/Makefile.am: -------------------------------------------------------------------------------- 1 | noinst_LTLIBRARIES = libPasses.la 2 | noinst_HEADERS = \ 3 | branch_island.h \ 4 | branch_shim.h \ 5 | compact_unwind.h \ 6 | dtrace_dof.h \ 7 | dylibs.h \ 8 | got.h \ 9 | huge.h \ 10 | objc.h \ 11 | order.h \ 12 | tlvp.h 13 | 14 | libPasses_la_CXXFLAGS = \ 15 | -fblocks \ 16 | -D__DARWIN_UNIX03 \ 17 | $(WARNINGS) \ 18 | $(LTO_DEFS) \ 19 | -I$(top_srcdir)/include \ 20 | -I$(top_srcdir)/include/foreign \ 21 | -I$(top_srcdir)/ld64/src/abstraction \ 22 | -I$(top_srcdir)/ld64/src/ld \ 23 | -I$(top_srcdir)/ld64/src/3rd \ 24 | -I$(top_srcdir)/ld64/src 25 | 26 | libPasses_la_SOURCES = \ 27 | branch_island.cpp \ 28 | branch_shim.cpp \ 29 | compact_unwind.cpp \ 30 | dtrace_dof.cpp \ 31 | dylibs.cpp \ 32 | got.cpp \ 33 | huge.cpp \ 34 | objc.cpp \ 35 | order.cpp \ 36 | tlvp.cpp \ 37 | stubs/stubs.cpp 38 | 39 | EXTRA_DIST = \ 40 | branch_island.h \ 41 | branch_shim.h \ 42 | compact_unwind.h \ 43 | dtrace_dof.h \ 44 | dylibs.h \ 45 | got.h \ 46 | huge.h \ 47 | objc.h \ 48 | order.h \ 49 | tlvp.h \ 50 | stubs 51 | -------------------------------------------------------------------------------- /svn-import/cctools-porting-yetist/workspace/libstuff/Makefile.am: -------------------------------------------------------------------------------- 1 | noinst_LTLIBRARIES = libstuff.la 2 | 3 | libstuff_la_CFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/include/foreign -D__DARWIN_UNIX03 $(WARNINGS) $(LTO_DEFS) -DPROGRAM_PREFIX="\"$(PROGRAM_PREFIX)\"" 4 | 5 | libstuff_la_SOURCES = \ 6 | allocate.c \ 7 | apple_version.c \ 8 | arch.c \ 9 | arch_usage.c \ 10 | best_arch.c \ 11 | breakout.c \ 12 | bytesex.c \ 13 | checkout.c \ 14 | crc32.c \ 15 | dylib_roots.c \ 16 | dylib_table.c \ 17 | emulated.c \ 18 | errors.c \ 19 | execute.c \ 20 | fatal_arch.c \ 21 | fatals.c \ 22 | get_arch_from_host.c \ 23 | get_toc_byte_sex.c \ 24 | guess_short_name.c \ 25 | hash_string.c \ 26 | hppa.c \ 27 | llvm.c \ 28 | lto.c \ 29 | macosx_deployment_target.c \ 30 | ofile.c \ 31 | ofile_error.c \ 32 | ofile_get_word.c \ 33 | print.c \ 34 | reloc.c \ 35 | rnd.c \ 36 | seg_addr_table.c \ 37 | set_arch_flag_name.c \ 38 | swap_headers.c \ 39 | symbol_list.c \ 40 | SymLoc.c \ 41 | unix_standard_mode.c \ 42 | version_number.c \ 43 | writeout.c 44 | 45 | -------------------------------------------------------------------------------- /svn-import/cctools-porting-yetist/workspace/libstuff/apple_version.c: -------------------------------------------------------------------------------- 1 | #if HAVE_CONFIG_H 2 | #include 3 | #endif 4 | const char apple_version[]= PACKAGE_NAME "-" PACKAGE_VERSION; 5 | const char ldVersionString[]= "@(#)PROGRAM:ld PROJECT:" PACKAGE_NAME "-" PACKAGE_VERSION "\n"; 6 | -------------------------------------------------------------------------------- /svn-import/cctools-porting-yetist/workspace/misc/Makefile.am: -------------------------------------------------------------------------------- 1 | bin_PROGRAMS = \ 2 | checksyms \ 3 | lipo \ 4 | size \ 5 | strings \ 6 | nm \ 7 | libtool \ 8 | redo_prebinding \ 9 | seg_addr_table \ 10 | seg_hack \ 11 | install_name_tool \ 12 | indr \ 13 | strip \ 14 | nmedit \ 15 | segedit \ 16 | pagestuff \ 17 | ranlib \ 18 | codesign_allocate 19 | 20 | LDADD = \ 21 | $(top_builddir)/libstuff/libstuff.la \ 22 | $(DL_LIBS) 23 | 24 | AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/include/foreign -I$(top_srcdir)/libstuff $(WARNINGS) $(LTO_DEFS) -D__DARWIN_UNIX03 25 | 26 | checksyms_SOURCES = checksyms.c 27 | lipo_SOURCES = lipo.c 28 | size_SOURCES = size.c 29 | strings_SOURCES = strings.c 30 | nm_SOURCES = nm.c 31 | 32 | libtool_SOURCES = libtool.c 33 | libtool_CFLAGS = -DPROGRAM_PREFIX=\""$(PROGRAM_PREFIX)"\" 34 | 35 | redo_prebinding_SOURCES = redo_prebinding.c 36 | seg_addr_table_SOURCES = seg_addr_table.c 37 | seg_hack_SOURCES = seg_hack.c 38 | install_name_tool_SOURCES = install_name_tool.c 39 | indr_SOURCES = indr.c 40 | strip_SOURCES = strip.c 41 | nmedit_SOURCES = strip.c 42 | nmedit_CFLAGS = -DNMEDIT 43 | 44 | segedit_SOURCES = segedit.c 45 | pagestuff_SOURCES=pagestuff.c 46 | 47 | ranlib_SOURCES = libtool.c 48 | ranlib_CFLAGS = -DPROGRAM_PREFIX=\""$(PROGRAM_PREFIX)"\" 49 | 50 | codesign_allocate_SOURCES = codesign_allocate.c 51 | -------------------------------------------------------------------------------- /svn-import/cctools-porting-yetist/workspace/otool/Makefile.am: -------------------------------------------------------------------------------- 1 | bin_PROGRAMS = otool 2 | otool_LDADD = \ 3 | $(top_builddir)/libstuff/libstuff.la \ 4 | $(top_builddir)/libobjc2/libobjc.la \ 5 | $(DL_LIBS) 6 | 7 | otool_LDFLAGS = $(PTHREAD_FLAGS) 8 | 9 | otool_CFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/include/foreign -I$(top_srcdir)/libstuff -I$(top_srcdir)/libobjc2 $(WARNINGS) $(LTO_DEFS) -D__DARWIN_UNIX03 10 | 11 | otool_SOURCES = \ 12 | main.c \ 13 | ofile_print.c \ 14 | m68k_disasm.c \ 15 | i860_disasm.c \ 16 | m88k_disasm.c \ 17 | i386_disasm.c \ 18 | ppc_disasm.c \ 19 | hppa_disasm.c \ 20 | sparc_disasm.c \ 21 | arm_disasm.c \ 22 | print_objc.c \ 23 | print_objc2_32bit.c \ 24 | print_objc2_64bit.c 25 | 26 | EXTRA_DIST = \ 27 | arm_disasm.h \ 28 | hppa_disasm.h \ 29 | i386_disasm.h \ 30 | i860_disasm.h \ 31 | m68k_disasm.h \ 32 | m88k_disasm.h \ 33 | notify.h \ 34 | ofile_print.h \ 35 | otool.h \ 36 | ppc_disasm.h \ 37 | sparc_disasm.h 38 | -------------------------------------------------------------------------------- /svn-import/cctools-porting/README: -------------------------------------------------------------------------------- 1 | cctools/ld64 for linux porting tool. 2 | By Cjacker 3 | supported versions: 4 | cctools-829/836, maybe other versions. 5 | ld64-128.2/ld64-134.9, maybe other versions. 6 | 7 | headers: external headers from MacOSX and some fake headers to support compilation. 8 | projectfiles: automake project files for cctools/ld64 9 | patches: needed patches for cctools/ld64 10 | cctools-ld64.sh: a shell scripts to auto generate cctools-ld64 porting for linux. 11 | -------------------------------------------------------------------------------- /svn-import/cctools-porting/headers/include/foreign/Availability.h: -------------------------------------------------------------------------------- 1 | //fake headers 2 | -------------------------------------------------------------------------------- /svn-import/cctools-porting/headers/include/foreign/AvailabilityMacros.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waneck/linux-ios-toolchain/c294172015b769fc21072f8e400c6d57cde7362a/svn-import/cctools-porting/headers/include/foreign/AvailabilityMacros.h -------------------------------------------------------------------------------- /svn-import/cctools-porting/headers/include/foreign/CommonCrypto/CommonDigest.h: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #define CC_MD5_DIGEST_LENGTH MD5_DIGEST_LENGTH 4 | #define CC_MD5_Init MD5_Init 5 | #define CC_MD5_Update MD5_Update 6 | #define CC_MD5_Final MD5_Final 7 | #define CC_MD5 MD5 8 | #define CC_MD5_Transform MD5_Transform 9 | #define CC_MD5_CTX MD5_CTX 10 | -------------------------------------------------------------------------------- /svn-import/cctools-porting/headers/include/foreign/architecture/i386/byte_order.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 1999-2002 Apple Computer, Inc. All rights reserved. 3 | * 4 | * @APPLE_LICENSE_HEADER_START@ 5 | * 6 | * This file contains Original Code and/or Modifications of Original Code 7 | * as defined in and that are subject to the Apple Public Source License 8 | * Version 2.0 (the 'License'). You may not use this file except in 9 | * compliance with the License. Please obtain a copy of the License at 10 | * http://www.opensource.apple.com/apsl/ and read it before using this 11 | * file. 12 | * 13 | * The Original Code and all software distributed under the License are 14 | * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 15 | * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 16 | * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 17 | * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 18 | * Please see the License for the specific language governing rights and 19 | * limitations under the License. 20 | * 21 | * @APPLE_LICENSE_HEADER_END@ 22 | */ 23 | 24 | #ifndef _ARCH_I386_BYTE_ORDER_H_ 25 | #define _ARCH_I386_BYTE_ORDER_H_ 26 | 27 | /* 28 | * Maintain source compatibility 29 | */ 30 | 31 | #include 32 | 33 | #endif /* _ARCH_I386_BYTE_ORDER_H_ */ 34 | -------------------------------------------------------------------------------- /svn-import/cctools-porting/headers/include/foreign/architecture/ppc/byte_order.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 1999-2002 Apple Computer, Inc. All rights reserved. 3 | * 4 | * @APPLE_LICENSE_HEADER_START@ 5 | * 6 | * This file contains Original Code and/or Modifications of Original Code 7 | * as defined in and that are subject to the Apple Public Source License 8 | * Version 2.0 (the 'License'). You may not use this file except in 9 | * compliance with the License. Please obtain a copy of the License at 10 | * http://www.opensource.apple.com/apsl/ and read it before using this 11 | * file. 12 | * 13 | * The Original Code and all software distributed under the License are 14 | * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 15 | * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 16 | * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 17 | * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 18 | * Please see the License for the specific language governing rights and 19 | * limitations under the License. 20 | * 21 | * @APPLE_LICENSE_HEADER_END@ 22 | */ 23 | 24 | /* 25 | * Maintain source compatibility 26 | */ 27 | 28 | #include 29 | -------------------------------------------------------------------------------- /svn-import/cctools-porting/headers/include/foreign/extern.h: -------------------------------------------------------------------------------- 1 | #define __private_extern__ __attribute__((visibility("hidden"))) 2 | -------------------------------------------------------------------------------- /svn-import/cctools-porting/headers/include/foreign/i386/_limits.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2004 Apple Computer, Inc. All rights reserved. 3 | * 4 | * @APPLE_LICENSE_HEADER_START@ 5 | * 6 | * The contents of this file constitute Original Code as defined in and 7 | * are subject to the Apple Public Source License Version 1.1 (the 8 | * "License"). You may not use this file except in compliance with the 9 | * License. Please obtain a copy of the License at 10 | * http://www.apple.com/publicsource and read it before using this file. 11 | * 12 | * This Original Code and all software distributed under the License are 13 | * distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, EITHER 14 | * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 15 | * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 16 | * FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT. Please see the 17 | * License for the specific language governing rights and limitations 18 | * under the License. 19 | * 20 | * @APPLE_LICENSE_HEADER_END@ 21 | */ 22 | #ifndef _I386__LIMITS_H_ 23 | #define _I386__LIMITS_H_ 24 | 25 | #define __DARWIN_CLK_TCK 100 /* ticks per second */ 26 | 27 | #endif /* _I386__LIMITS_H_ */ 28 | -------------------------------------------------------------------------------- /svn-import/cctools-porting/headers/include/foreign/libc.h: -------------------------------------------------------------------------------- 1 | #ifndef _LIBC_H 2 | #define _LIBC_H 3 | 4 | #include 5 | #include 6 | #include 7 | #include 8 | #include 9 | #include 10 | #include 11 | 12 | #include 13 | 14 | #include 15 | #include 16 | #include 17 | 18 | #endif 19 | -------------------------------------------------------------------------------- /svn-import/cctools-porting/headers/include/foreign/mach/machine/sdt.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2007 Apple Inc. All rights reserved. 3 | */ 4 | /* 5 | * CDDL HEADER START 6 | * 7 | * The contents of this file are subject to the terms of the 8 | * Common Development and Distribution License, Version 1.0 only 9 | * (the "License"). You may not use this file except in compliance 10 | * with the License. 11 | * 12 | * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 13 | * or http://www.opensolaris.org/os/licensing. 14 | * See the License for the specific language governing permissions 15 | * and limitations under the License. 16 | * 17 | * When distributing Covered Code, include this CDDL HEADER in each 18 | * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 19 | * If applicable, add the following below this CDDL HEADER, with the 20 | * fields enclosed by brackets "[]" replaced with your own identifying 21 | * information: Portions Copyright [yyyy] [name of copyright owner] 22 | * 23 | * CDDL HEADER END 24 | */ 25 | /* 26 | * Copyright 2004 Sun Microsystems, Inc. All rights reserved. 27 | * Use is subject to license terms. 28 | */ 29 | 30 | #ifndef _MACH_MACHINE_SYS_SDT_H 31 | #define _MACH_MACHINE_SYS_SDT_H 32 | 33 | #include 34 | 35 | 36 | #endif /* _MACH_MACHINE_SYS_SDT_H */ 37 | -------------------------------------------------------------------------------- /svn-import/cctools-porting/headers/include/foreign/mach/sdt.h: -------------------------------------------------------------------------------- 1 | /* 2 | * CDDL HEADER START 3 | * 4 | * The contents of this file are subject to the terms of the 5 | * Common Development and Distribution License, Version 1.0 only 6 | * (the "License"). You may not use this file except in compliance 7 | * with the License. 8 | * 9 | * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 10 | * or http://www.opensolaris.org/os/licensing. 11 | * See the License for the specific language governing permissions 12 | * and limitations under the License. 13 | * 14 | * When distributing Covered Code, include this CDDL HEADER in each 15 | * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 16 | * If applicable, add the following below this CDDL HEADER, with the 17 | * fields enclosed by brackets "[]" replaced with your own identifying 18 | * information: Portions Copyright [yyyy] [name of copyright owner] 19 | * 20 | * CDDL HEADER END 21 | */ 22 | /* 23 | * Copyright 2004 Sun Microsystems, Inc. All rights reserved. 24 | * Use is subject to license terms. 25 | */ 26 | 27 | #ifndef _MACH_SDT_H 28 | #define _MACH_SDT_H 29 | 30 | #include 31 | 32 | #endif /* _MACH_SDT_H */ 33 | -------------------------------------------------------------------------------- /svn-import/cctools-porting/headers/include/foreign/machine/limits.h: -------------------------------------------------------------------------------- 1 | /* This is the `system' limits.h, independent of any particular 2 | compiler. GCC provides its own limits.h which can be found in 3 | /usr/lib/gcc, although it is not very informative. 4 | This file is public domain. */ 5 | #if defined (__ppc__) || defined (__ppc64__) 6 | #include 7 | #elif defined (__i386__) || defined(__x86_64__) 8 | #include 9 | #elif defined (__arm__) 10 | #include 11 | #else 12 | #error architecture not supported 13 | #endif 14 | -------------------------------------------------------------------------------- /svn-import/cctools-porting/headers/include/foreign/malloc/malloc.h: -------------------------------------------------------------------------------- 1 | //fake headers 2 | -------------------------------------------------------------------------------- /svn-import/cctools-porting/headers/include/foreign/ppc/_limits.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2004 Apple Computer, Inc. All rights reserved. 3 | * 4 | * @APPLE_LICENSE_HEADER_START@ 5 | * 6 | * The contents of this file constitute Original Code as defined in and 7 | * are subject to the Apple Public Source License Version 1.1 (the 8 | * "License"). You may not use this file except in compliance with the 9 | * License. Please obtain a copy of the License at 10 | * http://www.apple.com/publicsource and read it before using this file. 11 | * 12 | * This Original Code and all software distributed under the License are 13 | * distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, EITHER 14 | * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 15 | * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 16 | * FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT. Please see the 17 | * License for the specific language governing rights and limitations 18 | * under the License. 19 | * 20 | * @APPLE_LICENSE_HEADER_END@ 21 | */ 22 | #ifndef _PPC__LIMITS_H_ 23 | #define _PPC__LIMITS_H_ 24 | 25 | #define __DARWIN_CLK_TCK 100 /* ticks per second */ 26 | 27 | #endif /* _PPC__LIMITS_H_ */ 28 | -------------------------------------------------------------------------------- /svn-import/cctools-porting/headers/include/foreign/servers/bootstrap.h: -------------------------------------------------------------------------------- 1 | //fake headers 2 | -------------------------------------------------------------------------------- /svn-import/cctools-porting/headers/include/foreign/sys/attr.h: -------------------------------------------------------------------------------- 1 | #ifndef _SYS_ATTR_H_ 2 | #define _SYS_ATTR_H_ 3 | 4 | #include 5 | #include 6 | 7 | typedef u_int32_t attrgroup_t; 8 | struct attrlist { 9 | u_short bitmapcount; /* number of attr. bit sets in list (should be 5) */ 10 | u_int16_t reserved; /* (to maintain 4-byte alignment) */ 11 | attrgroup_t commonattr; /* common attribute group */ 12 | attrgroup_t volattr; /* Volume attribute group */ 13 | attrgroup_t dirattr; /* directory attribute group */ 14 | attrgroup_t fileattr; /* file attribute group */ 15 | attrgroup_t forkattr; /* fork attribute group */ 16 | }; 17 | #define ATTR_BIT_MAP_COUNT 5 18 | 19 | #define ATTR_CMN_FNDRINFO 1 20 | #define ATTR_FILE_DATALENGTH 2 21 | #define ATTR_FILE_RSRCLENGTH 4 22 | 23 | int getattrlist(const char*,void*,void*,size_t,unsigned int); 24 | 25 | #endif 26 | -------------------------------------------------------------------------------- /svn-import/cctools-porting/headers/include/foreign/tzfile.h: -------------------------------------------------------------------------------- 1 | //fake headers, for ar 2 | #include 3 | -------------------------------------------------------------------------------- /svn-import/cctools-porting/patches/ld64-backward-support-for-llvm-gcc.patch: -------------------------------------------------------------------------------- 1 | diff -Nur ld64/src/ld/Options.cpp ld64n/src/ld/Options.cpp 2 | --- ld64/src/ld/Options.cpp 2012-12-07 04:50:25.619813657 +0800 3 | +++ ld64n/src/ld/Options.cpp 2012-12-07 04:50:41.463819583 +0800 4 | @@ -2207,6 +2207,10 @@ 5 | else if ( (strcmp(arg, "-ios_version_min") == 0) || (strcmp(arg, "-iphoneos_version_min") == 0) ) { 6 | setIOSVersionMin(argv[++i]); 7 | } 8 | + else if ( (strcmp(arg, "-aspen_version_min") == 0) ) { 9 | + //for backward compitable with llvm-gcc. 10 | + ++i; 11 | + } 12 | else if ( strcmp(arg, "-ios_simulator_version_min") == 0 ) { 13 | setIOSVersionMin(argv[++i]); 14 | } 15 | -------------------------------------------------------------------------------- /svn-import/cctools-porting/patches/libobjc-remove-dispatch.patch: -------------------------------------------------------------------------------- 1 | diff -Nur cctools-839/libobjc2/objc/toydispatch.h cctools-839n/libobjc2/objc/toydispatch.h 2 | --- cctools-839/libobjc2/objc/toydispatch.h 2012-12-08 15:37:43.812553986 +0800 3 | +++ cctools-839n/libobjc2/objc/toydispatch.h 2012-12-08 15:38:32.404563800 +0800 4 | @@ -11,12 +11,6 @@ 5 | */ 6 | 7 | /* If the real libdispatch exists, use that instead of the toy one. */ 8 | -#if !defined(__has_include) 9 | -#define __has_include(x) 0 10 | -#endif 11 | -#if __has_include() && !defined(__TOY_DISPATCH__) 12 | -# include 13 | -#else 14 | 15 | /** 16 | * Function type for functions that can be added to dispatch queues. 17 | @@ -44,4 +38,3 @@ 18 | 19 | #define dispatch_retain toy_dispatch_retain 20 | void dispatch_retain(dispatch_queue_t queue); 21 | -#endif 22 | -------------------------------------------------------------------------------- /svn-import/cctools-porting/projectfiles/Makefile.am: -------------------------------------------------------------------------------- 1 | SUBDIRS=libstuff ar as misc libobjc2 otool ld64 $(LD_CLASSIC) 2 | ACLOCAL_AMFLAGS = -I m4 3 | -------------------------------------------------------------------------------- /svn-import/cctools-porting/projectfiles/ar/Makefile.am: -------------------------------------------------------------------------------- 1 | bin_PROGRAMS = ar 2 | ar_LDADD = \ 3 | $(top_srcdir)/libstuff/libstuff.la 4 | 5 | ar_CFLAGS = -D__DARWIN_UNIX03 -I$(top_srcdir)/include -I$(top_srcdir)/include/foreign -I$(top_srcdir)/libstuff $(WARNINGS) $(LTO_DEFS) $(ENDIAN_FLAG) 6 | 7 | ar_SOURCES = \ 8 | append.c \ 9 | ar.c \ 10 | archive.c \ 11 | contents.c \ 12 | delete.c \ 13 | extract.c \ 14 | misc.c \ 15 | move.c \ 16 | print.c \ 17 | replace.c 18 | -------------------------------------------------------------------------------- /svn-import/cctools-porting/projectfiles/as/Makefile.am: -------------------------------------------------------------------------------- 1 | SUBDIRS=arm i386 x86_64 ppc ppc64 2 | 3 | bin_PROGRAMS = as 4 | as_LDADD = \ 5 | $(top_srcdir)/libstuff/libstuff.la 6 | 7 | as_CFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/include/foreign -I$(top_srcdir)/libstuff $(WARNINGS) $(LTO_DEFS) -DNeXT_MOD -DASLIBEXECDIR="\"$(ASLIBEXECDIR)/\"" -D__DARWIN_UNIX03 $(ENDIAN_FLAG) 8 | 9 | as_SOURCES = driver.c 10 | -------------------------------------------------------------------------------- /svn-import/cctools-porting/projectfiles/as/arm/Makefile.am: -------------------------------------------------------------------------------- 1 | libexec_PROGRAMS = arm-as 2 | 3 | arm_as_LDADD = \ 4 | $(top_srcdir)/libstuff/libstuff.la 5 | 6 | arm_as_CFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/include/foreign -I$(top_srcdir)/libstuff -I$(top_srcdir)/as $(WARNINGS) $(LTO_DEFS) -DNeXT_MOD -DASLIBEXECDIR="\"$(ASLIBEXECDIR)/\"" -D__DARWIN_UNIX03 -DARM 7 | 8 | arm_as_SOURCES = ../app.c ../as.c ../atof-generic.c ../atof-ieee.c ../expr.c ../fixes.c ../flonum-const.c \ 9 | ../flonum-copy.c ../flonum-mult.c ../frags.c ../hash.c ../hex-value.c ../input-file.c \ 10 | ../input-scrub.c ../layout.c ../messages.c ../obstack.c ../read.c ../sections.c \ 11 | ../symbols.c ../write_object.c ../xmalloc.c ../dwarf2dbg.c ../arm.c 12 | install-exec-hook: 13 | mkdir -p $(DESTDIR)/$(libexecdir)/as/arm 14 | mv $(DESTDIR)/$(libexecdir)/*arm-as $(DESTDIR)/$(libexecdir)/as/arm/as 15 | -------------------------------------------------------------------------------- /svn-import/cctools-porting/projectfiles/as/i386/Makefile.am: -------------------------------------------------------------------------------- 1 | libexec_PROGRAMS = i386-as 2 | 3 | i386_as_LDADD = \ 4 | $(top_srcdir)/libstuff/libstuff.la 5 | 6 | i386_as_CFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/include/foreign -I$(top_srcdir)/libstuff -I$(top_srcdir)/as $(WARNINGS) $(LTO_DEFS) -DNeXT_MOD -DASLIBEXECDIR="\"$(ASLIBEXECDIR)/\"" -D__DARWIN_UNIX03 -DI386 -Di486 -Di586 -Di686 7 | 8 | i386_as_SOURCES = ../app.c ../as.c ../atof-generic.c ../atof-ieee.c ../expr.c ../fixes.c ../flonum-const.c \ 9 | ../flonum-copy.c ../flonum-mult.c ../frags.c ../hash.c ../hex-value.c ../input-file.c \ 10 | ../input-scrub.c ../layout.c ../messages.c ../obstack.c ../read.c ../sections.c \ 11 | ../symbols.c ../write_object.c ../xmalloc.c ../dwarf2dbg.c ../i386.c 12 | install-exec-hook: 13 | mkdir -p $(DESTDIR)/$(libexecdir)/as/i386 14 | mv $(DESTDIR)/$(libexecdir)/*i386-as $(DESTDIR)/$(libexecdir)/as/i386/as 15 | -------------------------------------------------------------------------------- /svn-import/cctools-porting/projectfiles/as/ppc/Makefile.am: -------------------------------------------------------------------------------- 1 | libexec_PROGRAMS = ppc-as 2 | 3 | ppc_as_LDADD = \ 4 | $(top_srcdir)/libstuff/libstuff.la 5 | 6 | ppc_as_CFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/include/foreign -I$(top_srcdir)/libstuff -I$(top_srcdir)/as $(WARNINGS) $(LTO_DEFS) -DNeXT_MOD -DASLIBEXECDIR="\"$(ASLIBEXECDIR)/\"" -D__DARWIN_UNIX03 -DPPC 7 | 8 | ppc_as_SOURCES = ../app.c ../as.c ../atof-generic.c ../atof-ieee.c ../expr.c ../fixes.c ../flonum-const.c \ 9 | ../flonum-copy.c ../flonum-mult.c ../frags.c ../hash.c ../hex-value.c ../input-file.c \ 10 | ../input-scrub.c ../layout.c ../messages.c ../obstack.c ../read.c ../sections.c \ 11 | ../symbols.c ../write_object.c ../xmalloc.c ../dwarf2dbg.c ../ppc.c 12 | install-exec-hook: 13 | mkdir -p $(DESTDIR)/$(libexecdir)/as/ppc 14 | mv $(DESTDIR)/$(libexecdir)/*ppc-as $(DESTDIR)/$(libexecdir)/as/ppc/as 15 | -------------------------------------------------------------------------------- /svn-import/cctools-porting/projectfiles/as/ppc64/Makefile.am: -------------------------------------------------------------------------------- 1 | libexec_PROGRAMS = ppc64-as 2 | 3 | ppc64_as_LDADD = \ 4 | $(top_srcdir)/libstuff/libstuff.la 5 | 6 | ppc64_as_CFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/include/foreign -I$(top_srcdir)/libstuff -I$(top_srcdir)/as $(WARNINGS) $(LTO_DEFS) -DNeXT_MOD -DASLIBEXECDIR="\"$(ASLIBEXECDIR)/\"" -D__DARWIN_UNIX03 -DPPC -DARCH64 7 | 8 | ppc64_as_SOURCES = ../app.c ../as.c ../atof-generic.c ../atof-ieee.c ../expr.c ../fixes.c ../flonum-const.c \ 9 | ../flonum-copy.c ../flonum-mult.c ../frags.c ../hash.c ../hex-value.c ../input-file.c \ 10 | ../input-scrub.c ../layout.c ../messages.c ../obstack.c ../read.c ../sections.c \ 11 | ../symbols.c ../write_object.c ../xmalloc.c ../dwarf2dbg.c ../ppc.c 12 | 13 | install-exec-hook: 14 | mkdir -p $(DESTDIR)/$(libexecdir)/as/ppc64 15 | mv $(DESTDIR)/$(libexecdir)/*ppc64-as $(DESTDIR)/$(libexecdir)/as/ppc64/as 16 | -------------------------------------------------------------------------------- /svn-import/cctools-porting/projectfiles/as/x86_64/Makefile.am: -------------------------------------------------------------------------------- 1 | libexec_PROGRAMS = x86_64-as 2 | 3 | x86_64_as_LDADD = \ 4 | $(top_srcdir)/libstuff/libstuff.la 5 | 6 | x86_64_as_CFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/include/foreign -I$(top_srcdir)/libstuff -I$(top_srcdir)/as $(WARNINGS) $(LTO_DEFS) -DNeXT_MOD -DASLIBEXECDIR="\"$(ASLIBEXECDIR)/\"" -D__DARWIN_UNIX03 -DI386 -Di486 -Di586 -Di686 -DARCH64 7 | 8 | x86_64_as_SOURCES = ../app.c ../as.c ../atof-generic.c ../atof-ieee.c ../expr.c ../fixes.c ../flonum-const.c \ 9 | ../flonum-copy.c ../flonum-mult.c ../frags.c ../hash.c ../hex-value.c ../input-file.c \ 10 | ../input-scrub.c ../layout.c ../messages.c ../obstack.c ../read.c ../sections.c \ 11 | ../symbols.c ../write_object.c ../xmalloc.c ../dwarf2dbg.c ../i386.c 12 | install-exec-hook: 13 | mkdir -p $(DESTDIR)/$(libexecdir)/as/x86_64 14 | mv $(DESTDIR)/$(libexecdir)/*x86_64-as $(DESTDIR)/$(libexecdir)/as/x86_64/as 15 | -------------------------------------------------------------------------------- /svn-import/cctools-porting/projectfiles/autogen.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | mkdir -p m4 3 | aclocal 4 | autoconf 5 | libtoolize -c -i 6 | autoheader 7 | automake -a -c 8 | -------------------------------------------------------------------------------- /svn-import/cctools-porting/projectfiles/ld/Makefile.am: -------------------------------------------------------------------------------- 1 | bin_PROGRAMS = ld_classic 2 | ld_classic_LDADD = \ 3 | $(top_srcdir)/libstuff/libstuff.la $(UUID_LIBS) 4 | 5 | ld_classic_CFLAGS = -D__DARWIN_UNIX03 -I$(top_srcdir)/include -I$(top_srcdir)/include/foreign -I$(top_srcdir)/libstuff $(WARNINGS) $(LTO_DEFS) $(ENDIAN_FLAG) -DDEBUG 6 | 7 | ld_classic_SOURCES = \ 8 | ld.c pass1.c objects.c sections.c cstring_literals.c symbols.c \ 9 | fvmlibs.c layout.c specs.c pass2.c generic_reloc.c rld.c sets.c \ 10 | 4byte_literals.c 8byte_literals.c literal_pointers.c dylibs.c \ 11 | indirect_sections.c mod_sections.c i860_reloc.c ppc_reloc.c \ 12 | m88k_reloc.c hppa_reloc.c sparc_reloc.c coalesced_sections.c uuid.c \ 13 | debugcompunit.c debugline.c arm_reloc.c 14 | -------------------------------------------------------------------------------- /svn-import/cctools-porting/projectfiles/ld64/Makefile.am: -------------------------------------------------------------------------------- 1 | SUBDIRS = src 2 | ACLOCAL_AMFLAGS = -I m4 3 | -------------------------------------------------------------------------------- /svn-import/cctools-porting/projectfiles/ld64/src/3rd/BlocksRuntime/Makefile.am: -------------------------------------------------------------------------------- 1 | noinst_LTLIBRARIES = libBlocksRuntime.la 2 | 3 | noinst_HEADERS = \ 4 | Block.h \ 5 | Block_private.h \ 6 | config.h 7 | 8 | libBlocksRuntime_la_SOURCES = \ 9 | data.c \ 10 | runtime.c 11 | -------------------------------------------------------------------------------- /svn-import/cctools-porting/projectfiles/ld64/src/3rd/Makefile.am: -------------------------------------------------------------------------------- 1 | SUBDIRS = BlocksRuntime 2 | noinst_LTLIBRARIES = libhelper.la 3 | noinst_HEADERS = helper.h strlcat.h strlcpy.h qsort_r.h 4 | libhelper_la_CFLAGS=-I$(top_srcdir)/include -I$(top_srcdir)/include/foreign $(ENDIAN_FLAG) 5 | 6 | libhelper_la_SOURCES = \ 7 | helper.c \ 8 | qsort_r.c \ 9 | strlcat.c \ 10 | strlcpy.c 11 | -------------------------------------------------------------------------------- /svn-import/cctools-porting/projectfiles/ld64/src/Makefile.am: -------------------------------------------------------------------------------- 1 | SUBDIRS = 3rd ld other 2 | -------------------------------------------------------------------------------- /svn-import/cctools-porting/projectfiles/ld64/src/ld/parsers/Makefile.am: -------------------------------------------------------------------------------- 1 | noinst_LTLIBRARIES = libParsers.la 2 | 3 | noinst_HEADERS = \ 4 | archive_file.h \ 5 | lto_file.h \ 6 | macho_dylib_file.h \ 7 | macho_relocatable_file.h \ 8 | opaque_section_file.h 9 | 10 | libParsers_la_LIBADD = \ 11 | $(top_srcdir)/ld64/src/3rd/libhelper.la 12 | 13 | libParsers_la_CXXFLAGS = \ 14 | -fblocks \ 15 | -D__DARWIN_UNIX03 \ 16 | $(WARNINGS) \ 17 | $(LTO_DEFS) \ 18 | $(ENDIAN_FLAGS) \ 19 | -I$(top_srcdir)/include \ 20 | -I$(top_srcdir)/include/foreign \ 21 | -I$(top_srcdir)/ld64/src/abstraction \ 22 | -I$(top_srcdir)/ld64/src/ld \ 23 | -I$(top_srcdir)/ld64/src/3rd \ 24 | -I$(top_srcdir)/ld64/src 25 | 26 | libParsers_la_SOURCES = \ 27 | archive_file.cpp \ 28 | lto_file.cpp \ 29 | macho_dylib_file.cpp \ 30 | macho_relocatable_file.cpp \ 31 | opaque_section_file.cpp 32 | -------------------------------------------------------------------------------- /svn-import/cctools-porting/projectfiles/ld64/src/ld/passes/Makefile.am: -------------------------------------------------------------------------------- 1 | noinst_LTLIBRARIES = libPasses.la 2 | noinst_HEADERS = \ 3 | branch_island.h \ 4 | branch_shim.h \ 5 | compact_unwind.h \ 6 | dtrace_dof.h \ 7 | dylibs.h \ 8 | got.h \ 9 | huge.h \ 10 | objc.h \ 11 | order.h \ 12 | tlvp.h 13 | 14 | libPasses_la_CXXFLAGS = \ 15 | -fblocks \ 16 | -D__DARWIN_UNIX03 \ 17 | $(WARNINGS) \ 18 | $(LTO_DEFS) \ 19 | $(ENDIAN_FLAGS) \ 20 | -I$(top_srcdir)/include \ 21 | -I$(top_srcdir)/include/foreign \ 22 | -I$(top_srcdir)/ld64/src/abstraction \ 23 | -I$(top_srcdir)/ld64/src/ld \ 24 | -I$(top_srcdir)/ld64/src/3rd \ 25 | -I$(top_srcdir)/ld64/src 26 | 27 | libPasses_la_SOURCES = \ 28 | branch_island.cpp \ 29 | branch_shim.cpp \ 30 | compact_unwind.cpp \ 31 | dtrace_dof.cpp \ 32 | dylibs.cpp \ 33 | got.cpp \ 34 | huge.cpp \ 35 | objc.cpp \ 36 | order.cpp \ 37 | tlvp.cpp \ 38 | stubs/stubs.cpp 39 | -------------------------------------------------------------------------------- /svn-import/cctools-porting/projectfiles/libobjc2/Makefile.am: -------------------------------------------------------------------------------- 1 | noinst_LTLIBRARIES = libobjc.la 2 | 3 | libobjc_la_CFLAGS = -std=gnu99 -fPIC -fexceptions -Wno-deprecated-objc-isa-usage -DTYPE_DEPENDENT_DISPATCH -DGNUSTEP -D__OBJC_RUNTIME_INTERNAL__=1 -D_XOPEN_SOURCE=500 -D__BSD_VISIBLE=1 -D_BSD_SOURCE=1 -DNO_SELECTOR_MISMATCH_WARNINGS 4 | 5 | libobjc_la_SOURCES = \ 6 | NSBlocks.m\ 7 | Protocol2.m\ 8 | abi_version.c\ 9 | alias_table.c\ 10 | arc.m\ 11 | associate.m\ 12 | blocks_runtime.m\ 13 | block_to_imp.c\ 14 | block_trampolines.S\ 15 | objc_msgSend.S\ 16 | caps.c\ 17 | category_loader.c\ 18 | class_table.c\ 19 | dtable.c\ 20 | eh_personality.c\ 21 | encoding2.c\ 22 | gc_none.c\ 23 | hash_table.c\ 24 | hooks.c\ 25 | ivar.c\ 26 | legacy_malloc.c\ 27 | loader.c\ 28 | mutation.m\ 29 | properties.m\ 30 | protocol.c\ 31 | runtime.c\ 32 | sarray2.c\ 33 | selector_table.c\ 34 | sendmsg2.c\ 35 | statics_loader.c\ 36 | toydispatch.c 37 | -------------------------------------------------------------------------------- /svn-import/cctools-porting/projectfiles/libstuff/Makefile.am: -------------------------------------------------------------------------------- 1 | noinst_LTLIBRARIES = libstuff.la 2 | 3 | libstuff_la_CFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/include/foreign -D__DARWIN_UNIX03 $(WARNINGS) $(LTO_DEFS) -DPROGRAM_PREFIX="\"$(PROGRAM_PREFIX)\"" $(ENDIAN_FLAG) 4 | 5 | libstuff_la_SOURCES = \ 6 | allocate.c \ 7 | apple_version.c \ 8 | arch.c \ 9 | arch_usage.c \ 10 | best_arch.c \ 11 | breakout.c \ 12 | bytesex.c \ 13 | checkout.c \ 14 | crc32.c \ 15 | dylib_roots.c \ 16 | dylib_table.c \ 17 | emulated.c \ 18 | errors.c \ 19 | execute.c \ 20 | fatal_arch.c \ 21 | fatals.c \ 22 | get_arch_from_host.c \ 23 | get_toc_byte_sex.c \ 24 | guess_short_name.c \ 25 | hash_string.c \ 26 | hppa.c \ 27 | llvm.c \ 28 | lto.c \ 29 | macosx_deployment_target.c \ 30 | ofile.c \ 31 | ofile_error.c \ 32 | ofile_get_word.c \ 33 | print.c \ 34 | reloc.c \ 35 | rnd.c \ 36 | seg_addr_table.c \ 37 | set_arch_flag_name.c \ 38 | swap_headers.c \ 39 | symbol_list.c \ 40 | SymLoc.c \ 41 | unix_standard_mode.c \ 42 | version_number.c \ 43 | writeout.c 44 | 45 | -------------------------------------------------------------------------------- /svn-import/cctools-porting/projectfiles/misc/Makefile.am: -------------------------------------------------------------------------------- 1 | bin_PROGRAMS = \ 2 | checksyms \ 3 | lipo \ 4 | size \ 5 | strings \ 6 | nm \ 7 | libtool \ 8 | redo_prebinding \ 9 | seg_addr_table \ 10 | seg_hack \ 11 | install_name_tool \ 12 | indr \ 13 | strip \ 14 | nmedit \ 15 | segedit \ 16 | pagestuff \ 17 | ranlib \ 18 | codesign_allocate 19 | 20 | LDADD = \ 21 | $(top_srcdir)/libstuff/libstuff.la \ 22 | $(DL_LIBS) 23 | 24 | AM_CFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/include/foreign -I$(top_srcdir)/libstuff $(WARNINGS) $(LTO_DEFS) -D__DARWIN_UNIX03 $(ENDIAN_FLAG) 25 | 26 | checksyms_SOURCES = checksyms.c 27 | lipo_SOURCES = lipo.c 28 | size_SOURCES = size.c 29 | strings_SOURCES = strings.c 30 | nm_SOURCES = nm.c 31 | libtool_SOURCES = libtool.c 32 | redo_prebinding_SOURCES = redo_prebinding.c 33 | seg_addr_table_SOURCES = seg_addr_table.c 34 | seg_hack_SOURCES = seg_hack.c 35 | install_name_tool_SOURCES = install_name_tool.c 36 | indr_SOURCES = indr.c 37 | strip_SOURCES = strip.c 38 | nmedit_SOURCES = strip.c 39 | nmedit_CFLAGS = -DNMEDIT $(AM_CFLAGS) 40 | 41 | segedit_SOURCES = segedit.c 42 | pagestuff_SOURCES=pagestuff.c 43 | 44 | ranlib_SOURCES = libtool.c 45 | ranlib_CFLAGS = -DRANLIB $(AM_CFLAGS) 46 | codesign_allocate_SOURCES = codesign_allocate.c 47 | 48 | -------------------------------------------------------------------------------- /svn-import/cctools-porting/projectfiles/otool/Makefile.am: -------------------------------------------------------------------------------- 1 | bin_PROGRAMS = otool 2 | otool_LDADD = \ 3 | $(top_srcdir)/libstuff/libstuff.la \ 4 | $(top_srcdir)/libobjc2/libobjc.la \ 5 | $(DL_LIBS) 6 | 7 | otool_LDFLAGS = $(PTHREAD_FLAGS) 8 | 9 | otool_CFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/include/foreign -I$(top_srcdir)/libstuff -I$(top_srcdir)/libobjc2 $(WARNINGS) $(LTO_DEFS) -D__DARWIN_UNIX03 $(ENDIAN_FLAG) -DOTOOL 10 | 11 | otool_SOURCES = \ 12 | main.c \ 13 | $(top_srcdir)/libstuff/ofile.c \ 14 | ofile_print.c \ 15 | m68k_disasm.c \ 16 | i860_disasm.c \ 17 | m88k_disasm.c \ 18 | i386_disasm.c \ 19 | ppc_disasm.c \ 20 | hppa_disasm.c \ 21 | sparc_disasm.c \ 22 | arm_disasm.c \ 23 | print_objc.c \ 24 | print_objc2_32bit.c \ 25 | print_objc2_64bit.c 26 | 27 | -------------------------------------------------------------------------------- /svn-import/gdb-1822/externalheaders/architecture/i386/byte_order.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 1999-2002 Apple Computer, Inc. All rights reserved. 3 | * 4 | * @APPLE_LICENSE_HEADER_START@ 5 | * 6 | * This file contains Original Code and/or Modifications of Original Code 7 | * as defined in and that are subject to the Apple Public Source License 8 | * Version 2.0 (the 'License'). You may not use this file except in 9 | * compliance with the License. Please obtain a copy of the License at 10 | * http://www.opensource.apple.com/apsl/ and read it before using this 11 | * file. 12 | * 13 | * The Original Code and all software distributed under the License are 14 | * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 15 | * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 16 | * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 17 | * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 18 | * Please see the License for the specific language governing rights and 19 | * limitations under the License. 20 | * 21 | * @APPLE_LICENSE_HEADER_END@ 22 | */ 23 | 24 | #ifndef _ARCH_I386_BYTE_ORDER_H_ 25 | #define _ARCH_I386_BYTE_ORDER_H_ 26 | 27 | /* 28 | * Maintain source compatibility 29 | */ 30 | 31 | #include 32 | 33 | #endif /* _ARCH_I386_BYTE_ORDER_H_ */ 34 | -------------------------------------------------------------------------------- /svn-import/gdb-1822/externalheaders/architecture/ppc/byte_order.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 1999-2002 Apple Computer, Inc. All rights reserved. 3 | * 4 | * @APPLE_LICENSE_HEADER_START@ 5 | * 6 | * This file contains Original Code and/or Modifications of Original Code 7 | * as defined in and that are subject to the Apple Public Source License 8 | * Version 2.0 (the 'License'). You may not use this file except in 9 | * compliance with the License. Please obtain a copy of the License at 10 | * http://www.opensource.apple.com/apsl/ and read it before using this 11 | * file. 12 | * 13 | * The Original Code and all software distributed under the License are 14 | * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 15 | * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 16 | * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 17 | * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 18 | * Please see the License for the specific language governing rights and 19 | * limitations under the License. 20 | * 21 | * @APPLE_LICENSE_HEADER_END@ 22 | */ 23 | 24 | /* 25 | * Maintain source compatibility 26 | */ 27 | 28 | #include 29 | -------------------------------------------------------------------------------- /svn-import/gdb-1822/externalheaders/i386/_limits.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2004 Apple Computer, Inc. All rights reserved. 3 | * 4 | * @APPLE_LICENSE_HEADER_START@ 5 | * 6 | * The contents of this file constitute Original Code as defined in and 7 | * are subject to the Apple Public Source License Version 1.1 (the 8 | * "License"). You may not use this file except in compliance with the 9 | * License. Please obtain a copy of the License at 10 | * http://www.apple.com/publicsource and read it before using this file. 11 | * 12 | * This Original Code and all software distributed under the License are 13 | * distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, EITHER 14 | * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 15 | * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 16 | * FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT. Please see the 17 | * License for the specific language governing rights and limitations 18 | * under the License. 19 | * 20 | * @APPLE_LICENSE_HEADER_END@ 21 | */ 22 | #ifndef _I386__LIMITS_H_ 23 | #define _I386__LIMITS_H_ 24 | 25 | #define __DARWIN_CLK_TCK 100 /* ticks per second */ 26 | 27 | #endif /* _I386__LIMITS_H_ */ 28 | -------------------------------------------------------------------------------- /svn-import/gdb-1822/externalheaders/mach-o/i860/swap.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 1999 Apple Computer, Inc. All rights reserved. 3 | * 4 | * @APPLE_LICENSE_HEADER_START@ 5 | * 6 | * This file contains Original Code and/or Modifications of Original Code 7 | * as defined in and that are subject to the Apple Public Source License 8 | * Version 2.0 (the 'License'). You may not use this file except in 9 | * compliance with the License. Please obtain a copy of the License at 10 | * http://www.opensource.apple.com/apsl/ and read it before using this 11 | * file. 12 | * 13 | * The Original Code and all software distributed under the License are 14 | * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 15 | * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 16 | * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 17 | * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 18 | * Please see the License for the specific language governing rights and 19 | * limitations under the License. 20 | * 21 | * @APPLE_LICENSE_HEADER_END@ 22 | */ 23 | #include 24 | #include 25 | 26 | extern void swap_i860_thread_state_regs( 27 | struct i860_thread_state_regs *cpu, 28 | enum NXByteOrder target_byte_sex); 29 | -------------------------------------------------------------------------------- /svn-import/gdb-1822/externalheaders/mach-o/sparc/swap.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 1999 Apple Computer, Inc. All rights reserved. 3 | * 4 | * @APPLE_LICENSE_HEADER_START@ 5 | * 6 | * This file contains Original Code and/or Modifications of Original Code 7 | * as defined in and that are subject to the Apple Public Source License 8 | * Version 2.0 (the 'License'). You may not use this file except in 9 | * compliance with the License. Please obtain a copy of the License at 10 | * http://www.opensource.apple.com/apsl/ and read it before using this 11 | * file. 12 | * 13 | * The Original Code and all software distributed under the License are 14 | * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 15 | * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 16 | * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 17 | * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 18 | * Please see the License for the specific language governing rights and 19 | * limitations under the License. 20 | * 21 | * @APPLE_LICENSE_HEADER_END@ 22 | */ 23 | #include 24 | #include 25 | 26 | void swap_sparc_thread_state_regs( 27 | struct sparc_thread_state_regs *cpu, 28 | enum NXByteOrder target_byte_sex); 29 | 30 | void swap_sparc_thread_state_fpu( 31 | struct sparc_thread_state_fpu *fpu, 32 | enum NXByteOrder target_byte_sex); 33 | -------------------------------------------------------------------------------- /svn-import/gdb-1822/externalheaders/mach/machine/sdt.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2007 Apple Inc. All rights reserved. 3 | */ 4 | /* 5 | * CDDL HEADER START 6 | * 7 | * The contents of this file are subject to the terms of the 8 | * Common Development and Distribution License, Version 1.0 only 9 | * (the "License"). You may not use this file except in compliance 10 | * with the License. 11 | * 12 | * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 13 | * or http://www.opensolaris.org/os/licensing. 14 | * See the License for the specific language governing permissions 15 | * and limitations under the License. 16 | * 17 | * When distributing Covered Code, include this CDDL HEADER in each 18 | * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 19 | * If applicable, add the following below this CDDL HEADER, with the 20 | * fields enclosed by brackets "[]" replaced with your own identifying 21 | * information: Portions Copyright [yyyy] [name of copyright owner] 22 | * 23 | * CDDL HEADER END 24 | */ 25 | /* 26 | * Copyright 2004 Sun Microsystems, Inc. All rights reserved. 27 | * Use is subject to license terms. 28 | */ 29 | 30 | #ifndef _MACH_MACHINE_SYS_SDT_H 31 | #define _MACH_MACHINE_SYS_SDT_H 32 | 33 | #include 34 | 35 | 36 | #endif /* _MACH_MACHINE_SYS_SDT_H */ 37 | -------------------------------------------------------------------------------- /svn-import/gdb-1822/externalheaders/mach/sdt.h: -------------------------------------------------------------------------------- 1 | /* 2 | * CDDL HEADER START 3 | * 4 | * The contents of this file are subject to the terms of the 5 | * Common Development and Distribution License, Version 1.0 only 6 | * (the "License"). You may not use this file except in compliance 7 | * with the License. 8 | * 9 | * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 10 | * or http://www.opensolaris.org/os/licensing. 11 | * See the License for the specific language governing permissions 12 | * and limitations under the License. 13 | * 14 | * When distributing Covered Code, include this CDDL HEADER in each 15 | * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 16 | * If applicable, add the following below this CDDL HEADER, with the 17 | * fields enclosed by brackets "[]" replaced with your own identifying 18 | * information: Portions Copyright [yyyy] [name of copyright owner] 19 | * 20 | * CDDL HEADER END 21 | */ 22 | /* 23 | * Copyright 2004 Sun Microsystems, Inc. All rights reserved. 24 | * Use is subject to license terms. 25 | */ 26 | 27 | #ifndef _MACH_SDT_H 28 | #define _MACH_SDT_H 29 | 30 | #include 31 | 32 | #endif /* _MACH_SDT_H */ 33 | -------------------------------------------------------------------------------- /svn-import/gdb-1822/externalheaders/machine/limits.h: -------------------------------------------------------------------------------- 1 | /* This is the `system' limits.h, independent of any particular 2 | compiler. GCC provides its own limits.h which can be found in 3 | /usr/lib/gcc, although it is not very informative. 4 | This file is public domain. */ 5 | #if defined (__ppc__) || defined (__ppc64__) 6 | #include 7 | #elif defined (__i386__) || defined(__x86_64__) 8 | #include 9 | #elif defined (__arm__) 10 | #include 11 | #else 12 | #error architecture not supported 13 | #endif 14 | -------------------------------------------------------------------------------- /svn-import/gdb-1822/externalheaders/sys/attr.h: -------------------------------------------------------------------------------- 1 | #ifndef _SYS_ATTR_H_ 2 | #define _SYS_ATTR_H_ 3 | 4 | #include 5 | #include 6 | 7 | typedef u_int32_t attrgroup_t; 8 | struct attrlist { 9 | u_short bitmapcount; /* number of attr. bit sets in list (should be 5) */ 10 | u_int16_t reserved; /* (to maintain 4-byte alignment) */ 11 | attrgroup_t commonattr; /* common attribute group */ 12 | attrgroup_t volattr; /* Volume attribute group */ 13 | attrgroup_t dirattr; /* directory attribute group */ 14 | attrgroup_t fileattr; /* file attribute group */ 15 | attrgroup_t forkattr; /* fork attribute group */ 16 | }; 17 | #define ATTR_BIT_MAP_COUNT 5 18 | 19 | #define ATTR_CMN_FNDRINFO 1 20 | #define ATTR_FILE_DATALENGTH 2 21 | #define ATTR_FILE_RSRCLENGTH 4 22 | 23 | int getattrlist(const char*,void*,void*,size_t,unsigned int); 24 | 25 | #endif 26 | -------------------------------------------------------------------------------- /svn-import/gdb-1822/ld-mac-loader-path.patch: -------------------------------------------------------------------------------- 1 | diff -Nur maloader-master/ld-mac.cc maloader-master.new/ld-mac.cc 2 | --- maloader-master/ld-mac.cc 2012-12-15 00:30:09.561222516 +0800 3 | +++ maloader-master.new/ld-mac.cc 2012-12-15 00:30:45.973259474 +0800 4 | @@ -888,7 +888,7 @@ 5 | } 6 | 7 | static bool loadLibMac(const char* mypath) { 8 | - if (dlopen("libmac.so", RTLD_LAZY | RTLD_GLOBAL)) { 9 | + if (dlopen("/lib/libmac.so", RTLD_LAZY | RTLD_GLOBAL)) { 10 | return true; 11 | } 12 | 13 | -------------------------------------------------------------------------------- /svn-import/gdb-1822/ld-mac-missing-header.patch: -------------------------------------------------------------------------------- 1 | diff -Nur maloader-master/ld-mac.cc maloader-master.new/ld-mac.cc 2 | --- maloader-master/ld-mac.cc 2012-12-13 22:48:30.000000000 +0800 3 | +++ maloader-master.new/ld-mac.cc 2012-12-15 00:29:10.469162537 +0800 4 | @@ -42,6 +42,7 @@ 5 | #include 6 | #include 7 | #include 8 | +#include 9 | 10 | #include 11 | #include 12 | -------------------------------------------------------------------------------- /svn-import/iphonesdk-utils/AUTHORS: -------------------------------------------------------------------------------- 1 | cjacker 2 | yetist 3 | -------------------------------------------------------------------------------- /svn-import/iphonesdk-utils/ChangeLog: -------------------------------------------------------------------------------- 1 | 2013-09-23 Cjacker 2 | * add a patch from John Roark to handle HEADER_SEARCH_PATHS 3 | 2012-12-10 Cjacker 4 | * let getLocalization build with clang/llvm-3.1 release 5 | * refector all codes, move common functions to libhelper 6 | 7 | 2012-12-09 Cjacker 8 | * rewrite ios-genLocalizations, use clang lexer to parse source files. 9 | 10 | 2012-12-08 Cjacker 11 | * import plutil of libplist-1.8, rename it to plistutil to avoid 12 | name conflict with original libplist. 13 | http://cgit.sukimashita.com/libplist.git/ 14 | * rename iPhoneSDK to ios-clang-wrapper 15 | -------------------------------------------------------------------------------- /svn-import/iphonesdk-utils/Makefile.am: -------------------------------------------------------------------------------- 1 | SUBDIRS = libplutil libhelper ldid clangwrapper genLocalization2 createProject plutil pngcrush xcbuild 2 | 3 | #EXTRA_DIST = 4 | #DISTCLEANFILES = 5 | #DISTCHECK_CONFIGURE_FLAGS = --disable-scrollkeeper 6 | ACLOCAL_AMFLAGS = -I m4 7 | -------------------------------------------------------------------------------- /svn-import/iphonesdk-utils/NEWS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waneck/linux-ios-toolchain/c294172015b769fc21072f8e400c6d57cde7362a/svn-import/iphonesdk-utils/NEWS -------------------------------------------------------------------------------- /svn-import/iphonesdk-utils/README: -------------------------------------------------------------------------------- 1 | iOS development utilities for linux. 2 | 3 | include: 4 | 5 | clangwrapper, wrappers for clang to find SDK and proper compilation args. 6 | 7 | ldid, a modified version of ldid with armv7/armv7s support and other changes. 8 | 9 | proj2make, a convinent tool to translate xcodeproj Project files to Makefile. 10 | 11 | ios-pngcrush, just like pngcrush to optimize png files for iOS. 12 | 13 | ios-pngrevert, revert png crushed by ios-pngcrush. 14 | 15 | ios-genLocalization, a localization tool based on clang lexer and produce plist string files. 16 | 17 | ios-createProject, project templates. 18 | 19 | ios-plutil, plist compiler/decompiler. 20 | 21 | -------------------------------------------------------------------------------- /svn-import/iphonesdk-utils/autogen.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | aclocal 3 | autoconf 4 | libtoolize -c -i 5 | autoheader 6 | automake -a -c 7 | -------------------------------------------------------------------------------- /svn-import/iphonesdk-utils/clangwrapper/Makefile.am: -------------------------------------------------------------------------------- 1 | bin_PROGRAMS = ios-clang-wrapper 2 | 3 | ios_clang_wrapper_SOURCES = clangwrapper.cpp 4 | 5 | ios_clang_wrapper_CPPFLAGS = \ 6 | -I$(top_srcdir)/libhelper \ 7 | $(XML_CFLAGS) 8 | 9 | ios_clang_wrapper_LDADD = \ 10 | $(top_builddir)/libhelper/libhelper.la \ 11 | $(top_builddir)/libplutil/libplutil.la 12 | 13 | install-data-hook: 14 | ln -sf ios-clang-wrapper $(DESTDIR)/$(bindir)/ios-clang 15 | ln -sf ios-clang-wrapper $(DESTDIR)/$(bindir)/ios-clang++ 16 | ln -sf ios-clang-wrapper $(DESTDIR)/$(bindir)/ios-switchsdk 17 | -------------------------------------------------------------------------------- /svn-import/iphonesdk-utils/createProject/Makefile.am: -------------------------------------------------------------------------------- 1 | SUBDIRS = templates 2 | 3 | mkprog_in_files = ios-createProject.sh.in 4 | mkprog_file = $(mkprog_in_files:%.sh.in=%) 5 | $(mkprog_file): $(mkprog_in_files) 6 | sed -e "s|\@TEMPLATES_DIR\@|$(TEMPLATES_DIR)|" $<> $@ 7 | 8 | bin_SCRIPTS = $(mkprog_file) 9 | 10 | EXTRA_DIST = $(mkprog_in_files) 11 | 12 | CLEANFILES = $(mkprog_file) 13 | DISTCLEANFILES = $(mkprog_file) 14 | -------------------------------------------------------------------------------- /svn-import/iphonesdk-utils/createProject/templates/Application/Images/Default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waneck/linux-ios-toolchain/c294172015b769fc21072f8e400c6d57cde7362a/svn-import/iphonesdk-utils/createProject/templates/Application/Images/Default.png -------------------------------------------------------------------------------- /svn-import/iphonesdk-utils/createProject/templates/Application/Images/Default@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waneck/linux-ios-toolchain/c294172015b769fc21072f8e400c6d57cde7362a/svn-import/iphonesdk-utils/createProject/templates/Application/Images/Default@2x.png -------------------------------------------------------------------------------- /svn-import/iphonesdk-utils/createProject/templates/Application/Images/Icon-72.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waneck/linux-ios-toolchain/c294172015b769fc21072f8e400c6d57cde7362a/svn-import/iphonesdk-utils/createProject/templates/Application/Images/Icon-72.png -------------------------------------------------------------------------------- /svn-import/iphonesdk-utils/createProject/templates/Application/Images/Icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waneck/linux-ios-toolchain/c294172015b769fc21072f8e400c6d57cde7362a/svn-import/iphonesdk-utils/createProject/templates/Application/Images/Icon.png -------------------------------------------------------------------------------- /svn-import/iphonesdk-utils/createProject/templates/Application/Images/Icon@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waneck/linux-ios-toolchain/c294172015b769fc21072f8e400c6d57cde7362a/svn-import/iphonesdk-utils/createProject/templates/Application/Images/Icon@2x.png -------------------------------------------------------------------------------- /svn-import/iphonesdk-utils/createProject/templates/Application/Images/README.txt: -------------------------------------------------------------------------------- 1 | iPhone App Icon: 2 | Icon.png 57×57 App Store And iPhone、iPod touch Launcher Icon. (Needed) 3 | Icon@2x.png 114×114 Retina mode of Icon.png. (Needed) 4 | Icon-Small.png 29×29 Settings and Spotlight search icon. (Optional) 5 | Icon-Small@2x.png 58×58 Retina mode of Icon-Small.png. (Optional) 6 | 7 | iPad App Icon: 8 | Icon-72.png 72×72 iPad Launcher Icon. (Needed) 9 | Icon-50.png 50×50 Spotlight search icon. (Optional) 10 | Icon-29.png 29×29 Settings icon. (Optional) 11 | 12 | iPhone/iPad App Icon: 13 | Icon.png 57×57 App Store And iPhone、iPod touch Launcher Icon. (Needed) 14 | Icon-72.png 72×72 iPad Launcher Icon. (Needed) 15 | Icon-50.png 50×50 iPad Spotlight search icon. (Optional) 16 | Icon-29.png 29×29 Settings and iPhone Spotlight search icon. (Optional) 17 | 18 | -------------------------------------------------------------------------------- /svn-import/iphonesdk-utils/createProject/templates/Application/RootViewController.h: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | @interface RootViewController: UIViewController { 4 | } 5 | @end 6 | -------------------------------------------------------------------------------- /svn-import/iphonesdk-utils/createProject/templates/Application/RootViewController.m: -------------------------------------------------------------------------------- 1 | #import "RootViewController.h" 2 | 3 | @implementation RootViewController 4 | - (void)loadView { 5 | self.view = [[UIView alloc] initWithFrame:[[UIScreen mainScreen] applicationFrame]]; 6 | self.view.backgroundColor = [UIColor redColor]; 7 | 8 | UIButton *roundedRectButton = [UIButton buttonWithType:UIButtonTypeRoundedRect]; 9 | CGRect buttonRect = CGRectMake(100,50,100,35); 10 | [roundedRectButton setFrame:buttonRect]; 11 | [roundedRectButton setTitle:NSLocalizedString(@"Hello World", @"") forState:UIControlStateNormal]; 12 | [roundedRectButton addTarget:self action:@selector(showAlert:) forControlEvents:UIControlEventTouchUpInside]; 13 | [self.view addSubview:roundedRectButton]; 14 | } 15 | 16 | 17 | - (void)showAlert:(id)sender 18 | { 19 | UIAlertView *alert = [[UIAlertView alloc] initWithTitle:NSLocalizedString(@"UIAlertView", @"") message:NSLocalizedString(@"",@"") delegate:self cancelButtonTitle:@"OK" otherButtonTitles:nil]; 20 | [alert show]; 21 | } 22 | @end 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /svn-import/iphonesdk-utils/createProject/templates/Application/TEMPLATE_PROJECT-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | English 7 | CFBundleDisplayName 8 | TEMPLATE_PROJECT 9 | CFBundleExecutable 10 | TEMPLATE_PROJECT 11 | CFBundleIdentifier 12 | TEMPLATE_PACKAGE 13 | CFBundleName 14 | TEMPLATE_PROJECT 15 | CFBundlePackageType 16 | APPL 17 | CFBundleSignature 18 | ???? 19 | CFBundleInfoDictionaryVersion 20 | 6.0 21 | CFBundleVersion 22 | 1.7 23 | LSRequiresIPhoneOS 24 | 25 | CFBundleIconFile 26 | 27 | Icon.png 28 | Icon@2x.png 29 | Icon-72.png 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /svn-import/iphonesdk-utils/createProject/templates/Application/TEMPLATE_PROJECTApplication.h: -------------------------------------------------------------------------------- 1 | #import 2 | #import "RootViewController.h" 3 | 4 | @interface TEMPLATE_PROJECTApplication: NSObject { 5 | UIWindow *_window; 6 | RootViewController *_viewController; 7 | } 8 | @property (nonatomic, retain) UIWindow *window; 9 | @end 10 | 11 | -------------------------------------------------------------------------------- /svn-import/iphonesdk-utils/createProject/templates/Application/TEMPLATE_PROJECTApplication.m: -------------------------------------------------------------------------------- 1 | #import "TEMPLATE_PROJECTApplication.h" 2 | 3 | @implementation TEMPLATE_PROJECTApplication 4 | @synthesize window = _window; 5 | - (void)applicationDidFinishLaunching:(UIApplication *)application { 6 | _window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]]; 7 | _viewController = [[RootViewController alloc] init]; 8 | [_window setRootViewController:_viewController]; 9 | [_window makeKeyAndVisible]; 10 | } 11 | 12 | @end 13 | 14 | -------------------------------------------------------------------------------- /svn-import/iphonesdk-utils/createProject/templates/Application/main.m: -------------------------------------------------------------------------------- 1 | #import "TEMPLATE_PROJECTApplication.h" 2 | 3 | int main(int argc, char **argv) { 4 | @autoreleasepool{ 5 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([TEMPLATE_PROJECTApplication class])); 6 | } 7 | } 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /svn-import/iphonesdk-utils/createProject/templates/Command_line_utility/Makefile: -------------------------------------------------------------------------------- 1 | IPHONE_IP:= 2 | PROJECTNAME:=TEMPLATE_PROJECT 3 | 4 | CC:=ios-clang 5 | CPP:=ios-clang++ 6 | 7 | CFLAGS += -objc-arc 8 | CFLAGS += -fblocks 9 | CFLAGS += -g0 -O2 10 | 11 | CPPFLAGS += -objc-arc 12 | CPPFLAGS += -fblocks 13 | CPPFLAGS += -g0 -O2 14 | 15 | LDFLAGS += -framework Foundation 16 | 17 | SRCDIR=. 18 | OBJS+=$(patsubst %.m,%.o,$(wildcard $(SRCDIR)/*.m)) 19 | OBJS+=$(patsubst %.c,%.o,$(wildcard $(SRCDIR)/*.c)) 20 | OBJS+=$(patsubst %.cpp,%.o,$(wildcard $(SRCDIR)/*.cpp)) 21 | 22 | all: $(PROJECTNAME) 23 | 24 | $(PROJECTNAME): $(OBJS) 25 | $(CC) $(CFLAGS) $(LDFLAGS) $(filter %.o,$^) -o $@ 26 | 27 | %.o: %.m 28 | $(CC) -c $(CFLAGS) $< -o $@ 29 | 30 | %.o: %.c 31 | $(CC) -c $(CFLAGS) $< -o $@ 32 | 33 | %.o: %.cpp 34 | $(CPP) -c $(CPPFLAGS) $< -o $@ 35 | 36 | clean: 37 | find . -name \*.o|xargs rm -rf 38 | rm -f $(PROJECTNAME) 39 | 40 | .PHONY: all clean 41 | -------------------------------------------------------------------------------- /svn-import/iphonesdk-utils/createProject/templates/Command_line_utility/main.m: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | int main(int argc, char **argv) 4 | { 5 | @autoreleasepool { 6 | NSLog(@"Hello World"); 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /svn-import/iphonesdk-utils/createProject/templates/Dynamic_Framework/TEMPLATE_PROJECT.h: -------------------------------------------------------------------------------- 1 | #ifndef _TEMPLATE_PROJECT_FRAMEWORK_H 2 | #define _TEMPLATE_PROJECT_FRAMEWORK_H 3 | void testframework(); 4 | #endif 5 | -------------------------------------------------------------------------------- /svn-import/iphonesdk-utils/createProject/templates/Dynamic_Framework/TEMPLATE_PROJECT.m: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | void testframework() { 4 | NSLog(@"This is a TEMPLATE_PROJECT framework"); 5 | } 6 | -------------------------------------------------------------------------------- /svn-import/iphonesdk-utils/createProject/templates/Dynamic_Framework/test/Makefile: -------------------------------------------------------------------------------- 1 | all: 2 | ios-clang -o main main.m -framework TEMPLATE_PROJECT 3 | -------------------------------------------------------------------------------- /svn-import/iphonesdk-utils/createProject/templates/Dynamic_Framework/test/main.m: -------------------------------------------------------------------------------- 1 | #import "TEMPLATE_PROJECT/TEMPLATE_PROJECT.h" 2 | 3 | int main(int argc, char **argv) { 4 | testframework(); 5 | } 6 | -------------------------------------------------------------------------------- /svn-import/iphonesdk-utils/createProject/templates/Dynamic_Library/TEMPLATE_PROJECT.h: -------------------------------------------------------------------------------- 1 | #ifndef _TEMPLATE_PROJECT_DYLIB_H 2 | #define _TEMPLATE_PROJECT_DYLIB_H 3 | void testdylib(); 4 | #endif 5 | -------------------------------------------------------------------------------- /svn-import/iphonesdk-utils/createProject/templates/Dynamic_Library/TEMPLATE_PROJECT.m: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | void testdylib() { 4 | NSLog(@"This is a TEMPLATE_PROJECT dylib"); 5 | } 6 | -------------------------------------------------------------------------------- /svn-import/iphonesdk-utils/createProject/templates/Dynamic_Library/test/Makefile: -------------------------------------------------------------------------------- 1 | all: 2 | ios-clang -o main main.m -lTEMPLATE_PROJECT 3 | -------------------------------------------------------------------------------- /svn-import/iphonesdk-utils/createProject/templates/Dynamic_Library/test/main.m: -------------------------------------------------------------------------------- 1 | #import "TEMPLATE_PROJECT.h" 2 | 3 | int main(int argc, char **argv) { 4 | testdylib(); 5 | } 6 | -------------------------------------------------------------------------------- /svn-import/iphonesdk-utils/createProject/templates/Example_Player/AppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.h 3 | // MPPlayer 4 | // 5 | 6 | #import 7 | #import "ViewController.h" 8 | 9 | @interface AppDelegate : NSObject { 10 | 11 | UIWindow *window; 12 | ViewController *vc; 13 | } 14 | 15 | @property (nonatomic, retain) UIWindow *window; 16 | @property (nonatomic, retain) ViewController *vc; 17 | 18 | @end 19 | -------------------------------------------------------------------------------- /svn-import/iphonesdk-utils/createProject/templates/Example_Player/CustomMPViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // CustomMPViewController.h 3 | // MPPlayer 4 | // 5 | 6 | #import 7 | #import 8 | 9 | @interface CustomMPViewController : UIViewController 10 | { 11 | MPMoviePlayerController *mp; 12 | NSURL *movieURL; 13 | } 14 | 15 | - (id)initWithPath:(NSString *)moviePath; 16 | - (void)readyPlayer; 17 | 18 | @end 19 | -------------------------------------------------------------------------------- /svn-import/iphonesdk-utils/createProject/templates/Example_Player/Images/Icon-72.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waneck/linux-ios-toolchain/c294172015b769fc21072f8e400c6d57cde7362a/svn-import/iphonesdk-utils/createProject/templates/Example_Player/Images/Icon-72.png -------------------------------------------------------------------------------- /svn-import/iphonesdk-utils/createProject/templates/Example_Player/Images/Icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waneck/linux-ios-toolchain/c294172015b769fc21072f8e400c6d57cde7362a/svn-import/iphonesdk-utils/createProject/templates/Example_Player/Images/Icon.png -------------------------------------------------------------------------------- /svn-import/iphonesdk-utils/createProject/templates/Example_Player/Images/Icon@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waneck/linux-ios-toolchain/c294172015b769fc21072f8e400c6d57cde7362a/svn-import/iphonesdk-utils/createProject/templates/Example_Player/Images/Icon@2x.png -------------------------------------------------------------------------------- /svn-import/iphonesdk-utils/createProject/templates/Example_Player/Resources/Movie-1.mp4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waneck/linux-ios-toolchain/c294172015b769fc21072f8e400c6d57cde7362a/svn-import/iphonesdk-utils/createProject/templates/Example_Player/Resources/Movie-1.mp4 -------------------------------------------------------------------------------- /svn-import/iphonesdk-utils/createProject/templates/Example_Player/Resources/playButton.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waneck/linux-ios-toolchain/c294172015b769fc21072f8e400c6d57cde7362a/svn-import/iphonesdk-utils/createProject/templates/Example_Player/Resources/playButton.png -------------------------------------------------------------------------------- /svn-import/iphonesdk-utils/createProject/templates/Example_Player/ViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.h 3 | // MPPlayer 4 | // 5 | 6 | #import 7 | #import "CustomMPViewController.h" 8 | 9 | @interface ViewController : UIViewController 10 | { 11 | CustomMPViewController *moviePlayer; 12 | UIButton *playButton; 13 | } 14 | 15 | @end 16 | 17 | -------------------------------------------------------------------------------- /svn-import/iphonesdk-utils/createProject/templates/Example_Player/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // MPPlayer 4 | // 5 | 6 | #import 7 | 8 | int main(int argc, char *argv[]) 9 | { 10 | NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; 11 | int retVal = UIApplicationMain(argc, argv, nil, @"AppDelegate"); 12 | [pool release]; 13 | return retVal; 14 | } 15 | -------------------------------------------------------------------------------- /svn-import/iphonesdk-utils/createProject/templates/Example_UICatalog/Images/12-6AM.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waneck/linux-ios-toolchain/c294172015b769fc21072f8e400c6d57cde7362a/svn-import/iphonesdk-utils/createProject/templates/Example_UICatalog/Images/12-6AM.png -------------------------------------------------------------------------------- /svn-import/iphonesdk-utils/createProject/templates/Example_UICatalog/Images/12-6PM.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waneck/linux-ios-toolchain/c294172015b769fc21072f8e400c6d57cde7362a/svn-import/iphonesdk-utils/createProject/templates/Example_UICatalog/Images/12-6PM.png -------------------------------------------------------------------------------- /svn-import/iphonesdk-utils/createProject/templates/Example_UICatalog/Images/6-12AM.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waneck/linux-ios-toolchain/c294172015b769fc21072f8e400c6d57cde7362a/svn-import/iphonesdk-utils/createProject/templates/Example_UICatalog/Images/6-12AM.png -------------------------------------------------------------------------------- /svn-import/iphonesdk-utils/createProject/templates/Example_UICatalog/Images/6-12PM.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waneck/linux-ios-toolchain/c294172015b769fc21072f8e400c6d57cde7362a/svn-import/iphonesdk-utils/createProject/templates/Example_UICatalog/Images/6-12PM.png -------------------------------------------------------------------------------- /svn-import/iphonesdk-utils/createProject/templates/Example_UICatalog/Images/Default-568h@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waneck/linux-ios-toolchain/c294172015b769fc21072f8e400c6d57cde7362a/svn-import/iphonesdk-utils/createProject/templates/Example_UICatalog/Images/Default-568h@2x.png -------------------------------------------------------------------------------- /svn-import/iphonesdk-utils/createProject/templates/Example_UICatalog/Images/Default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waneck/linux-ios-toolchain/c294172015b769fc21072f8e400c6d57cde7362a/svn-import/iphonesdk-utils/createProject/templates/Example_UICatalog/Images/Default.png -------------------------------------------------------------------------------- /svn-import/iphonesdk-utils/createProject/templates/Example_UICatalog/Images/Default@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waneck/linux-ios-toolchain/c294172015b769fc21072f8e400c6d57cde7362a/svn-import/iphonesdk-utils/createProject/templates/Example_UICatalog/Images/Default@2x.png -------------------------------------------------------------------------------- /svn-import/iphonesdk-utils/createProject/templates/Example_UICatalog/Images/Icon-72.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waneck/linux-ios-toolchain/c294172015b769fc21072f8e400c6d57cde7362a/svn-import/iphonesdk-utils/createProject/templates/Example_UICatalog/Images/Icon-72.png -------------------------------------------------------------------------------- /svn-import/iphonesdk-utils/createProject/templates/Example_UICatalog/Images/Icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waneck/linux-ios-toolchain/c294172015b769fc21072f8e400c6d57cde7362a/svn-import/iphonesdk-utils/createProject/templates/Example_UICatalog/Images/Icon.png -------------------------------------------------------------------------------- /svn-import/iphonesdk-utils/createProject/templates/Example_UICatalog/Images/Icon@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waneck/linux-ios-toolchain/c294172015b769fc21072f8e400c6d57cde7362a/svn-import/iphonesdk-utils/createProject/templates/Example_UICatalog/Images/Icon@2x.png -------------------------------------------------------------------------------- /svn-import/iphonesdk-utils/createProject/templates/Example_UICatalog/Images/UIButton_custom.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waneck/linux-ios-toolchain/c294172015b769fc21072f8e400c6d57cde7362a/svn-import/iphonesdk-utils/createProject/templates/Example_UICatalog/Images/UIButton_custom.png -------------------------------------------------------------------------------- /svn-import/iphonesdk-utils/createProject/templates/Example_UICatalog/Images/blueButton.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waneck/linux-ios-toolchain/c294172015b769fc21072f8e400c6d57cde7362a/svn-import/iphonesdk-utils/createProject/templates/Example_UICatalog/Images/blueButton.png -------------------------------------------------------------------------------- /svn-import/iphonesdk-utils/createProject/templates/Example_UICatalog/Images/orangeslide.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waneck/linux-ios-toolchain/c294172015b769fc21072f8e400c6d57cde7362a/svn-import/iphonesdk-utils/createProject/templates/Example_UICatalog/Images/orangeslide.png -------------------------------------------------------------------------------- /svn-import/iphonesdk-utils/createProject/templates/Example_UICatalog/Images/scene1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waneck/linux-ios-toolchain/c294172015b769fc21072f8e400c6d57cde7362a/svn-import/iphonesdk-utils/createProject/templates/Example_UICatalog/Images/scene1.jpg -------------------------------------------------------------------------------- /svn-import/iphonesdk-utils/createProject/templates/Example_UICatalog/Images/scene2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waneck/linux-ios-toolchain/c294172015b769fc21072f8e400c6d57cde7362a/svn-import/iphonesdk-utils/createProject/templates/Example_UICatalog/Images/scene2.jpg -------------------------------------------------------------------------------- /svn-import/iphonesdk-utils/createProject/templates/Example_UICatalog/Images/scene3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waneck/linux-ios-toolchain/c294172015b769fc21072f8e400c6d57cde7362a/svn-import/iphonesdk-utils/createProject/templates/Example_UICatalog/Images/scene3.jpg -------------------------------------------------------------------------------- /svn-import/iphonesdk-utils/createProject/templates/Example_UICatalog/Images/scene4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waneck/linux-ios-toolchain/c294172015b769fc21072f8e400c6d57cde7362a/svn-import/iphonesdk-utils/createProject/templates/Example_UICatalog/Images/scene4.jpg -------------------------------------------------------------------------------- /svn-import/iphonesdk-utils/createProject/templates/Example_UICatalog/Images/scene5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waneck/linux-ios-toolchain/c294172015b769fc21072f8e400c6d57cde7362a/svn-import/iphonesdk-utils/createProject/templates/Example_UICatalog/Images/scene5.jpg -------------------------------------------------------------------------------- /svn-import/iphonesdk-utils/createProject/templates/Example_UICatalog/Images/segment_check.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waneck/linux-ios-toolchain/c294172015b769fc21072f8e400c6d57cde7362a/svn-import/iphonesdk-utils/createProject/templates/Example_UICatalog/Images/segment_check.png -------------------------------------------------------------------------------- /svn-import/iphonesdk-utils/createProject/templates/Example_UICatalog/Images/segment_search.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waneck/linux-ios-toolchain/c294172015b769fc21072f8e400c6d57cde7362a/svn-import/iphonesdk-utils/createProject/templates/Example_UICatalog/Images/segment_search.png -------------------------------------------------------------------------------- /svn-import/iphonesdk-utils/createProject/templates/Example_UICatalog/Images/segment_tools.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waneck/linux-ios-toolchain/c294172015b769fc21072f8e400c6d57cde7362a/svn-import/iphonesdk-utils/createProject/templates/Example_UICatalog/Images/segment_tools.png -------------------------------------------------------------------------------- /svn-import/iphonesdk-utils/createProject/templates/Example_UICatalog/Images/slider_ball.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waneck/linux-ios-toolchain/c294172015b769fc21072f8e400c6d57cde7362a/svn-import/iphonesdk-utils/createProject/templates/Example_UICatalog/Images/slider_ball.png -------------------------------------------------------------------------------- /svn-import/iphonesdk-utils/createProject/templates/Example_UICatalog/Images/whiteButton.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waneck/linux-ios-toolchain/c294172015b769fc21072f8e400c6d57cde7362a/svn-import/iphonesdk-utils/createProject/templates/Example_UICatalog/Images/whiteButton.png -------------------------------------------------------------------------------- /svn-import/iphonesdk-utils/createProject/templates/Example_UICatalog/Images/yellowslide.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waneck/linux-ios-toolchain/c294172015b769fc21072f8e400c6d57cde7362a/svn-import/iphonesdk-utils/createProject/templates/Example_UICatalog/Images/yellowslide.png -------------------------------------------------------------------------------- /svn-import/iphonesdk-utils/createProject/templates/Example_UICatalog/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleDisplayName 8 | UICatalog 9 | CFBundleExecutable 10 | UICatalog 11 | CFBundleIconFile 12 | Icon.png 13 | CFBundleIdentifier 14 | com.yourcompany.UICatalog 15 | CFBundleInfoDictionaryVersion 16 | 6.0 17 | CFBundleName 18 | UICatalog 19 | CFBundlePackageType 20 | APPL 21 | CFBundleSignature 22 | ???? 23 | CFBundleVersion 24 | 1.7 25 | LSRequiresIPhoneOS 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /svn-import/iphonesdk-utils/createProject/templates/Example_UICatalog/Localizations/en.lproj/Localizable.strings: -------------------------------------------------------------------------------- 1 | "UICatalogTitle" = "UICatalog"; 2 | "ButtonsTitle" = "Buttons"; 3 | "ControlsTitle" = "Controls"; 4 | "TextFieldTitle" = "TextFields"; 5 | "SearchBarTitle" = "SearchBar"; 6 | "TextViewTitle" = "TextView"; 7 | "SegmentTitle" = "Segment"; 8 | "ToolbarTitle" = "Toolbar"; 9 | "PickerTitle" = "Pickers"; 10 | "ImagesTitle" = "Images"; 11 | "WebTitle" = "Web"; 12 | "AlertTitle" = "Alerts"; 13 | "TransitionsTitle" = "Transitions"; 14 | "AboutTitle" = "About"; 15 | 16 | "StartTitle" = "Start"; 17 | "StopTitle" = "Stop"; 18 | 19 | "StyleTitle" = "Style"; 20 | "ChooseStyleTitle" = "Choose a UIBarStyle for the bottom toolbar:"; 21 | 22 | "FlipTitle" = "Flip Image"; 23 | "CurlTitle" = "Curl Image"; 24 | 25 | "LeftView" = "Left View:"; 26 | -------------------------------------------------------------------------------- /svn-import/iphonesdk-utils/createProject/templates/Example_UICatalog/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // UICatalog 4 | // 5 | // Created by CK on 23/9/12. 6 | // 7 | // 8 | 9 | #import 10 | 11 | #import "AppDelegate.h" 12 | 13 | int main(int argc, char *argv[]) 14 | { 15 | NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; 16 | int retVal = UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 17 | [pool release]; 18 | return retVal; 19 | 20 | } 21 | -------------------------------------------------------------------------------- /svn-import/iphonesdk-utils/createProject/templates/Makefile.am: -------------------------------------------------------------------------------- 1 | TEMPLATES = Application \ 2 | Command_line_utility \ 3 | Example_Player \ 4 | Example_UICatalog \ 5 | Notification_Center_widget \ 6 | Dynamic_Library \ 7 | Static_Library \ 8 | Dynamic_Framework \ 9 | Static_Framework 10 | 11 | TEMPLATE_FILES = $(TEMPLATES:%=%.template) 12 | 13 | templatedir = $(TEMPLATES_DIR) 14 | template_DATA = $(TEMPLATE_FILES) 15 | %.template:% 16 | @cd $(abs_srcdir)/$^; tar --exclude-vcs -zcf $(abs_builddir)/$@ * 17 | @echo $@ genarated. 18 | 19 | EXTRA_DIST = $(TEMPLATE_FILES) 20 | CLEANFILES = $(TEMPLATE_FILES) 21 | DISTCLEANFILES = $(TEMPLATE_FILES) 22 | -------------------------------------------------------------------------------- /svn-import/iphonesdk-utils/createProject/templates/Notification_Center_widget/BBWeeAppController-Protocol.h: -------------------------------------------------------------------------------- 1 | #import 2 | #import 3 | 4 | @protocol BBWeeAppController 5 | @required 6 | - (id)view; 7 | @optional 8 | - (void)loadPlaceholderView; 9 | - (void)loadFullView; 10 | - (void)loadView; 11 | - (void)unloadView; 12 | - (void)clearShapshotImage; 13 | - (id)launchURL; 14 | - (id)launchURLForTapLocation:(CGPoint)tapLocation; 15 | - (float)viewHeight; 16 | - (void)viewWillAppear; 17 | - (void)viewDidAppear; 18 | - (void)viewWillDisappear; 19 | - (void)viewDidDisappear; 20 | - (void)willAnimateRotationToInterfaceOrientation:(int)interfaceOrientation; 21 | - (void)willRotateToInterfaceOrientation:(int)interfaceOrientation; 22 | - (void)didRotateFromInterfaceOrientation:(int)interfaceOrientation; 23 | @end 24 | -------------------------------------------------------------------------------- /svn-import/iphonesdk-utils/createProject/templates/Notification_Center_widget/Localizations/English.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | TEMPLATE_PROJECT 6 | TEMPLATE_PROJECT 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /svn-import/iphonesdk-utils/createProject/templates/Notification_Center_widget/Resources/Icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waneck/linux-ios-toolchain/c294172015b769fc21072f8e400c6d57cde7362a/svn-import/iphonesdk-utils/createProject/templates/Notification_Center_widget/Resources/Icon.png -------------------------------------------------------------------------------- /svn-import/iphonesdk-utils/createProject/templates/Notification_Center_widget/Resources/Icon@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waneck/linux-ios-toolchain/c294172015b769fc21072f8e400c6d57cde7362a/svn-import/iphonesdk-utils/createProject/templates/Notification_Center_widget/Resources/Icon@2x.png -------------------------------------------------------------------------------- /svn-import/iphonesdk-utils/createProject/templates/Notification_Center_widget/TEMPLATE_PROJECT-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleName 6 | TEMPLATE_PROJECT 7 | CFBundleIdentifier 8 | TEMPLATE_PACKAGE 9 | CFBundleInfoDictionaryVersion 10 | 6.0 11 | CFBundleVersion 12 | 1 13 | CFBundleDisplayName 14 | TEMPLATE_PROJECT 15 | MinimumOSVersion 16 | 5.0 17 | CFBundleIconFile 18 | Icon.png 19 | CFBundleSupportedPlatforms 20 | 21 | iPhoneOS 22 | 23 | CFBundlePackageType 24 | BNDL 25 | CFBundleSignature 26 | ???? 27 | AppBundleID 28 | TEMPLATE_PACKAGE 29 | UIDeviceFamily 30 | 31 | 1 32 | 2 33 | 34 | CFBundleShortVersionString 35 | 1.0 36 | 37 | 38 | -------------------------------------------------------------------------------- /svn-import/iphonesdk-utils/createProject/templates/Static_Framework/TEMPLATE_PROJECT.h: -------------------------------------------------------------------------------- 1 | #ifndef _TEMPLATE_PROJECT_FRAMEWORK_H 2 | #define _TEMPLATE_PROJECT_FRAMEWORK_H 3 | void teststaticframework(); 4 | #endif 5 | -------------------------------------------------------------------------------- /svn-import/iphonesdk-utils/createProject/templates/Static_Framework/TEMPLATE_PROJECT.m: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | void teststaticframework() { 4 | NSLog(@"This is a TEMPLATE_PROJECT framework"); 5 | } 6 | -------------------------------------------------------------------------------- /svn-import/iphonesdk-utils/createProject/templates/Static_Framework/test/Makefile: -------------------------------------------------------------------------------- 1 | all: 2 | ios-clang -o main main.m -framework TEMPLATE_PROJECT -framework Foundation 3 | -------------------------------------------------------------------------------- /svn-import/iphonesdk-utils/createProject/templates/Static_Framework/test/main.m: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | int main(int argc, char **argv) { 4 | teststaticframework(); 5 | } 6 | -------------------------------------------------------------------------------- /svn-import/iphonesdk-utils/createProject/templates/Static_Library/Makefile: -------------------------------------------------------------------------------- 1 | PROJECTNAME:=libTEMPLATE_PROJECT 2 | 3 | CC:=ios-clang 4 | CPP:=ios-clang++ 5 | AR:=arm-apple-darwin11-ar 6 | 7 | CFLAGS += -objc-arc 8 | CFLAGS += -fblocks 9 | CFLAGS += -g0 -O2 10 | CFLAGS += -I"$(SRCDIR)" 11 | 12 | CPPFLAGS += -objc-arc 13 | CPPFLAGS += -fblocks 14 | CPPFLAGS += -g0 -O2 15 | CPPLAGS += -I"$(SRCDIR)" 16 | 17 | SRCDIR=. 18 | OBJS+=$(patsubst %.m,%.o,$(wildcard $(SRCDIR)/*.m)) 19 | OBJS+=$(patsubst %.c,%.o,$(wildcard $(SRCDIR)/*.c)) 20 | OBJS+=$(patsubst %.cpp,%.o,$(wildcard $(SRCDIR)/*.cpp)) 21 | 22 | all: $(PROJECTNAME) 23 | 24 | $(PROJECTNAME): $(OBJS) 25 | $(AR) cr $@.a $(filter %.o,$^) 26 | 27 | %.o: %.m 28 | $(CC) -c $(CFLAGS) $< -o $@ 29 | 30 | %.o: %.c 31 | $(CC) -c $(CFLAGS) $< -o $@ 32 | 33 | %.o: %.cpp 34 | $(CPP) -c $(CPPFLAGS) $< -o $@ 35 | 36 | 37 | clean: 38 | find . -name \*.o|xargs rm -rf 39 | rm -f $(PROJECTNAME).a 40 | 41 | .PHONY: all dist install uninstall clean 42 | -------------------------------------------------------------------------------- /svn-import/iphonesdk-utils/createProject/templates/Static_Library/TEMPLATE_PROJECT.h: -------------------------------------------------------------------------------- 1 | #ifndef _TEMPLATE_PROJECT_STATICLIB_H 2 | #define _TEMPLATE_PROJECT_STATICLIB_H 3 | void teststaticlib(); 4 | #endif 5 | -------------------------------------------------------------------------------- /svn-import/iphonesdk-utils/createProject/templates/Static_Library/TEMPLATE_PROJECT.m: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | void teststaticlib() { 4 | NSLog(@"This is a TEMPLATE_PROJECT static library"); 5 | } 6 | -------------------------------------------------------------------------------- /svn-import/iphonesdk-utils/createProject/templates/Static_Library/test/Makefile: -------------------------------------------------------------------------------- 1 | all: 2 | ios-clang -o main main.m ../libTEMPLATE_PROJECT.a -framework Foundation 3 | -------------------------------------------------------------------------------- /svn-import/iphonesdk-utils/createProject/templates/Static_Library/test/main.m: -------------------------------------------------------------------------------- 1 | #import "../TEMPLATE_PROJECT.h" 2 | 3 | int main(int argc, char **argv) { 4 | teststaticlib(); 5 | } 6 | -------------------------------------------------------------------------------- /svn-import/iphonesdk-utils/genLocalization2/Makefile.am: -------------------------------------------------------------------------------- 1 | bin_PROGRAMS = ios-genLocalization 2 | 3 | CLANG_LIBS = \ 4 | -lclangTooling\ 5 | -lclangFrontendTool\ 6 | -lclangFrontend\ 7 | -lclangDriver\ 8 | -lclangSerialization\ 9 | -lclangCodeGen\ 10 | -lclangParse\ 11 | -lclangSema\ 12 | -lclangStaticAnalyzerFrontend\ 13 | -lclangStaticAnalyzerCheckers\ 14 | -lclangStaticAnalyzerCore\ 15 | -lclangAnalysis\ 16 | -lclangARCMigrate\ 17 | -lclangEdit\ 18 | -lclangAST\ 19 | -lclangLex\ 20 | -lclangBasic 21 | 22 | ios_genLocalization_CPPFLAGS = \ 23 | $(LLVM_CXX_FLAGS) \ 24 | -I$(top_srcdir)/libhelper \ 25 | -I$(top_srcdir)/libplutil \ 26 | -fno-rtti 27 | 28 | ios_genLocalization_LDADD = \ 29 | $(top_builddir)/libplutil/libplutil.la \ 30 | $(top_builddir)/libhelper/libhelper.la \ 31 | $(CLANG_LIBS) \ 32 | $(LLVM_LIBS) \ 33 | -ldl 34 | 35 | ios_genLocalization_SOURCES = \ 36 | main.cpp \ 37 | getLocalizedStringFromFile.cpp 38 | 39 | EXTRA_DIST = getLocalizedStringFromFile.h 40 | -------------------------------------------------------------------------------- /svn-import/iphonesdk-utils/genLocalization2/getLocalizedStringFromFile.h: -------------------------------------------------------------------------------- 1 | #ifndef _GET_LOCALIZED_STRING_FROM_FILE_H 2 | #define _GET_LOCALIZED_STRING_FROM_FILE_H 3 | #include 4 | using namespace std; 5 | std::vector getLocalizedStringFromFile(std::string filename, std::string triple, std::vector includepaths); 6 | #endif 7 | -------------------------------------------------------------------------------- /svn-import/iphonesdk-utils/ldid/Makefile.am: -------------------------------------------------------------------------------- 1 | bin_PROGRAMS = ldid 2 | ldid_SOURCES = \ 3 | ldid.cpp \ 4 | lookup2.c \ 5 | sha1.c 6 | 7 | ldid_CPPFLAGS = -I$(top_srcdir)/libhelper 8 | ldid_LDADD = $(top_builddir)/libhelper/libhelper.la 9 | 10 | EXTRA_DIST = \ 11 | sha1.h \ 12 | minimal/hexdump.h \ 13 | minimal/mapping.h \ 14 | minimal/sqlite3.h \ 15 | minimal/stdlib.h \ 16 | minimal/string.h 17 | -------------------------------------------------------------------------------- /svn-import/iphonesdk-utils/libhelper/Makefile.am: -------------------------------------------------------------------------------- 1 | #AM_CPPFLAGS = $(XML_CFLAGS) 2 | 3 | noinst_LTLIBRARIES = libhelper.la 4 | noinst_HEADERS = helper.h 5 | 6 | libhelper_la_LIBADD = $(XML_LIBS) $(top_builddir)/libplutil/libplutil.la 7 | libhelper_la_CPPFLAGS = $(XML_CFLAGS) -I$(top_srcdir)/libplutil 8 | 9 | libhelper_la_SOURCES = \ 10 | xmlutil.cpp \ 11 | stringutil.cpp \ 12 | pathutil.cpp \ 13 | sdkutil.cpp 14 | -------------------------------------------------------------------------------- /svn-import/iphonesdk-utils/libplutil/Makefile.am: -------------------------------------------------------------------------------- 1 | noinst_LTLIBRARIES=libplutil.la 2 | 3 | libplutil_la_CFLAGS = $(XML_CFLAGS) 4 | 5 | #this must check 6 | libplutil_la_CFLAGS += -DPLIST_BYTE_ORDER=0 7 | libplutil_la_LIBADD = $(XML_LIBS) 8 | 9 | libplutil_la_SOURCES=base64.c \ 10 | bplist.c \ 11 | bytearray.c \ 12 | hashtable.c \ 13 | iterator.c \ 14 | list.c \ 15 | node.c \ 16 | node_iterator.c \ 17 | node_list.c \ 18 | plist.c \ 19 | ptrarray.c \ 20 | xplist.c 21 | 22 | noinst_HEADERS = \ 23 | base64.h \ 24 | bytearray.h \ 25 | common.h \ 26 | hashtable.h \ 27 | iterator.h \ 28 | list.h \ 29 | node.h \ 30 | node_iterator.h \ 31 | node_list.h \ 32 | object.h \ 33 | plist.h \ 34 | plutil.h \ 35 | ptrarray.h \ 36 | plist/Array.h \ 37 | plist/Boolean.h \ 38 | plist/Data.h \ 39 | plist/Date.h \ 40 | plist/Dictionary.h \ 41 | plist/Integer.h \ 42 | plist/Node.h \ 43 | plist/plist.h \ 44 | plist/plist++.h \ 45 | plist/Real.h \ 46 | plist/String.h \ 47 | plist/Structure.h 48 | 49 | -------------------------------------------------------------------------------- /svn-import/iphonesdk-utils/libplutil/base64.h: -------------------------------------------------------------------------------- 1 | /* 2 | * base64.h 3 | * base64 encode/decode implementation 4 | * 5 | * Copyright (c) 2011 Nikias Bassen, All Rights Reserved. 6 | * 7 | * This library is free software; you can redistribute it and/or 8 | * modify it under the terms of the GNU Lesser General Public 9 | * License as published by the Free Software Foundation; either 10 | * version 2.1 of the License, or (at your option) any later version. 11 | * 12 | * This library is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 | * Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public 18 | * License along with this library; if not, write to the Free Software 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 20 | */ 21 | #ifndef BASE64_H 22 | #define BASE64_H 23 | #include 24 | #include "common.h" 25 | 26 | _PLIST_INTERNAL char *base64encode(const unsigned char *buf, size_t *size); 27 | _PLIST_INTERNAL unsigned char *base64decode(const char *buf, size_t *size); 28 | 29 | #endif 30 | -------------------------------------------------------------------------------- /svn-import/iphonesdk-utils/libplutil/bytearray.h: -------------------------------------------------------------------------------- 1 | /* 2 | * bytearray.h 3 | * header file for simple byte array implementation 4 | * 5 | * Copyright (c) 2011 Nikias Bassen, All Rights Reserved. 6 | * 7 | * This library is free software; you can redistribute it and/or 8 | * modify it under the terms of the GNU Lesser General Public 9 | * License as published by the Free Software Foundation; either 10 | * version 2.1 of the License, or (at your option) any later version. 11 | * 12 | * This library is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 | * Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public 18 | * License along with this library; if not, write to the Free Software 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 20 | */ 21 | #ifndef BYTEARRAY_H 22 | #define BYTEARRAY_H 23 | #include 24 | #include "common.h" 25 | 26 | typedef struct bytearray_t { 27 | void *data; 28 | size_t len; 29 | size_t capacity; 30 | } bytearray_t; 31 | 32 | _PLIST_INTERNAL bytearray_t *byte_array_new(); 33 | _PLIST_INTERNAL void byte_array_free(bytearray_t *ba); 34 | _PLIST_INTERNAL void byte_array_append(bytearray_t *ba, void *buf, size_t len); 35 | 36 | #endif 37 | -------------------------------------------------------------------------------- /svn-import/iphonesdk-utils/libplutil/common.h: -------------------------------------------------------------------------------- 1 | #ifndef COMMON_H 2 | #define COMMON_H 3 | 4 | #define PLIST_LITTLE_ENDIAN 0 5 | #define PLIST_BIG_ENDIAN 1 6 | 7 | #if defined(__GNUC__) && (__GNUC__ >= 4) && !defined(__CYGWIN__) && !defined(WIN32) 8 | # define _PLIST_INTERNAL __attribute__((visibility("hidden"))) 9 | #elif defined(__SUNPRO_C) && (__SUNPRO_C >= 0x550) 10 | # define _PLIST_INTERNAL __hidden 11 | #else /* not gcc >= 4 and not Sun Studio >= 8 */ 12 | # define _PLIST_INTERNAL 13 | #endif /* GNUC >= 4 */ 14 | 15 | #endif 16 | -------------------------------------------------------------------------------- /svn-import/iphonesdk-utils/libplutil/list.c: -------------------------------------------------------------------------------- 1 | /* 2 | * list.c 3 | * 4 | * Created on: Mar 8, 2011 5 | * Author: posixninja 6 | * 7 | * Copyright (c) 2011 Joshua Hill. All Rights Reserved. 8 | * 9 | * This library is free software; you can redistribute it and/or 10 | * modify it under the terms of the GNU Lesser General Public 11 | * License as published by the Free Software Foundation; either 12 | * version 2.1 of the License, or (at your option) any later version. 13 | * 14 | * This library is distributed in the hope that it will be useful, 15 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 17 | * Lesser General Public License for more details. 18 | * 19 | * You should have received a copy of the GNU Lesser General Public 20 | * License along with this library; if not, write to the Free Software 21 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 22 | */ 23 | 24 | #include 25 | #include 26 | 27 | #include "list.h" 28 | 29 | void list_init(list_t* list) { 30 | list->next = NULL; 31 | list->prev = list; 32 | } 33 | 34 | 35 | void list_destroy(list_t* list) { 36 | if(list) { 37 | free(list); 38 | } 39 | } 40 | 41 | int list_add(list_t* list, object_t* object) { 42 | return -1; 43 | } 44 | 45 | int list_remove(list_t* list, object_t* object) { 46 | return -1; 47 | } 48 | -------------------------------------------------------------------------------- /svn-import/iphonesdk-utils/libplutil/list.h: -------------------------------------------------------------------------------- 1 | /* 2 | * list.h 3 | * 4 | * Created on: Mar 8, 2011 5 | * Author: posixninja 6 | * 7 | * Copyright (c) 2011 Joshua Hill. All Rights Reserved. 8 | * 9 | * This library is free software; you can redistribute it and/or 10 | * modify it under the terms of the GNU Lesser General Public 11 | * License as published by the Free Software Foundation; either 12 | * version 2.1 of the License, or (at your option) any later version. 13 | * 14 | * This library is distributed in the hope that it will be useful, 15 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 17 | * Lesser General Public License for more details. 18 | * 19 | * You should have received a copy of the GNU Lesser General Public 20 | * License along with this library; if not, write to the Free Software 21 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 22 | */ 23 | 24 | #ifndef LIST_H_ 25 | #define LIST_H_ 26 | 27 | #include "object.h" 28 | 29 | typedef struct list_t { 30 | void* next; 31 | void* prev; 32 | } list_t; 33 | 34 | void list_init(struct list_t* list); 35 | void list_destroy(struct list_t* list); 36 | 37 | int list_add(struct list_t* list, struct object_t* object); 38 | int list_remove(struct list_t* list, struct object_t* object); 39 | 40 | #endif /* LIST_H_ */ 41 | -------------------------------------------------------------------------------- /svn-import/iphonesdk-utils/libplutil/object.h: -------------------------------------------------------------------------------- 1 | /* 2 | * object.h 3 | * 4 | * Created on: Mar 8, 2011 5 | * Author: posixninja 6 | * 7 | * Copyright (c) 2011 Joshua Hill. All Rights Reserved. 8 | * 9 | * This library is free software; you can redistribute it and/or 10 | * modify it under the terms of the GNU Lesser General Public 11 | * License as published by the Free Software Foundation; either 12 | * version 2.1 of the License, or (at your option) any later version. 13 | * 14 | * This library is distributed in the hope that it will be useful, 15 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 17 | * Lesser General Public License for more details. 18 | * 19 | * You should have received a copy of the GNU Lesser General Public 20 | * License along with this library; if not, write to the Free Software 21 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 22 | */ 23 | 24 | #ifndef OBJECT_H_ 25 | #define OBJECT_H_ 26 | 27 | #ifndef TRUE 28 | #define TRUE 1 29 | #endif 30 | 31 | #ifndef FALSE 32 | #define FALSE 0 33 | #endif 34 | 35 | typedef struct object_t { 36 | void* value; 37 | unsigned int type; 38 | unsigned int size; 39 | } object_t; 40 | 41 | #endif /* OBJECT_H_ */ 42 | -------------------------------------------------------------------------------- /svn-import/iphonesdk-utils/libplutil/plist/plist++.h: -------------------------------------------------------------------------------- 1 | /* 2 | * plist++.h 3 | * Main include of libplist C++ binding 4 | * 5 | * Copyright (c) 2009 Jonathan Beck All Rights Reserved. 6 | * 7 | * This library is free software; you can redistribute it and/or 8 | * modify it under the terms of the GNU Lesser General Public 9 | * License as published by the Free Software Foundation; either 10 | * version 2.1 of the License, or (at your option) any later version. 11 | * 12 | * This library is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 | * Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public 18 | * License along with this library; if not, write to the Free Software 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 20 | */ 21 | 22 | #ifndef LIBPLISTXX_H 23 | #define LIBPLISTXX_H 24 | 25 | #include "plist.h" 26 | #include "Array.h" 27 | #include "Boolean.h" 28 | #include "Data.h" 29 | #include "Date.h" 30 | #include "Dictionary.h" 31 | #include "Integer.h" 32 | #include "Node.h" 33 | #include "Real.h" 34 | #include "String.h" 35 | #include "Structure.h" 36 | 37 | #endif 38 | -------------------------------------------------------------------------------- /svn-import/iphonesdk-utils/libplutil/plutil.h: -------------------------------------------------------------------------------- 1 | /* 2 | * plutil.h 3 | * header for plist convertion tool 4 | * 5 | * Copyright (c) 2008 Zach C. All Rights Reserved. 6 | * 7 | * This library is free software; you can redistribute it and/or 8 | * modify it under the terms of the GNU Lesser General Public 9 | * License as published by the Free Software Foundation; either 10 | * version 2.1 of the License, or (at your option) any later version. 11 | * 12 | * This library is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 | * Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public 18 | * License along with this library; if not, write to the Free Software 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 20 | */ 21 | 22 | typedef struct _options 23 | { 24 | char *in_file, *out_file; 25 | uint8_t debug, in_fmt, out_fmt; 26 | } Options; 27 | 28 | Options *parse_arguments(int argc, char *argv[]); 29 | void print_usage(); 30 | -------------------------------------------------------------------------------- /svn-import/iphonesdk-utils/plutil/Makefile.am: -------------------------------------------------------------------------------- 1 | bin_PROGRAMS = ios-plutil 2 | 3 | ios_plutil_SOURCES = plutil.c 4 | 5 | ios_plutil_CFLAGS = \ 6 | $(XML_CFLAGS) \ 7 | -I$(top_srcdir)/libplutil 8 | 9 | ios_plutil_LDADD = \ 10 | $(top_builddir)/libplutil/libplutil.la 11 | -------------------------------------------------------------------------------- /svn-import/iphonesdk-utils/pngcrush/Makefile.am: -------------------------------------------------------------------------------- 1 | AM_CPPFLAGS = \ 2 | -I$(srcdir)/libpng \ 3 | -DPNG_CONFIGURE_LIBPNG \ 4 | -DPNG_NO_PROGRESSIVE_READ \ 5 | -DPNG_NO_EASY_ACCESS 6 | 7 | bin_PROGRAMS = ios-pngcrush 8 | 9 | ios_pngcrush_SOURCES = main.c crush.c decrush.c \ 10 | libpng/png.c \ 11 | libpng/pngerror.c \ 12 | libpng/pngget.c \ 13 | libpng/pngmem.c \ 14 | libpng/pngpread.c \ 15 | libpng/pngread.c \ 16 | libpng/pngrio.c \ 17 | libpng/pngrtran.c \ 18 | libpng/pngrutil.c \ 19 | libpng/pngset.c \ 20 | libpng/pngtrans.c \ 21 | libpng/pngwio.c \ 22 | libpng/pngwrite.c \ 23 | libpng/pngwtran.c \ 24 | libpng/pngwutil.c 25 | 26 | ios_pngcrush_LDADD = $(ZLIB_LIBS) $(M_LIBS) 27 | 28 | EXTRA_DIST = \ 29 | libpng/pngconf.h \ 30 | libpng/png.h \ 31 | libpng/pngpriv.h 32 | -------------------------------------------------------------------------------- /svn-import/iphonesdk-utils/pngcrush/libpng/.gitignore: -------------------------------------------------------------------------------- 1 | obj 2 | -------------------------------------------------------------------------------- /svn-import/iphonesdk-utils/xcbuild/Makefile.am: -------------------------------------------------------------------------------- 1 | bin_PROGRAMS = ios-xcbuild 2 | 3 | ios_xcbuild_SOURCES = xcbuild.cpp \ 4 | libxcodeutils/lex.yy.c \ 5 | libxcodeutils/pbxproj.cpp \ 6 | libxcodeutils/pbxprojdef.cpp 7 | 8 | AM_CPPFLAGS = -fPIC -I$(srcdir)/xcbuild/libxcodeutils 9 | 10 | EXTRA_DIST = \ 11 | libxcodeutils/pbxprojdef.h \ 12 | libxcodeutils/pbxproj.hpp \ 13 | libxcodeutils/pbxproj.l \ 14 | libxcodeutils/pbxproj.y \ 15 | libxcodeutils/README \ 16 | xcdump.cpp 17 | -------------------------------------------------------------------------------- /svn-import/iphonesdk-utils/xcbuild/README: -------------------------------------------------------------------------------- 1 | A new xcodeproj builder and convertor, more smart, more useful. 2 | Hope we can directly build xcodeproj under linux. 3 | 4 | Almost works. 5 | -------------------------------------------------------------------------------- /svn-import/iphonesdk-utils/xcbuild/libxcodeutils/Makefile: -------------------------------------------------------------------------------- 1 | all: libxcodeutils 2 | 3 | libxcodeutils: 4 | lex pbxproj.l 5 | bison -d pbxproj.y -o pbxproj.cpp 6 | clang++ -g -c pbx*.cpp -fPIC 7 | clang -g -c *.c -fPIC 8 | clang++ -shared -o libxcodeutils.so *.o -fPIC 9 | ar cr libxcodeutils.a *.o 10 | install: 11 | mkdir -p $(DESTDIR)/usr/include 12 | mkdir -p $(DESTDIR)/usr/lib 13 | install -m 0644 pbxprojdef.h $(DESTDIR)/usr/include/ 14 | install -m 0644 *.so $(DESTDIR)/usr/lib 15 | install -m 0644 *.a $(DESTDIR)/usr/lib 16 | clean: 17 | rm -rf lex.yy.c pbxproj.cpp pbxproj.hpp 18 | rm -rf *.o 19 | rm -rf libxcodeutils.so 20 | rm -rf libxcodeutils.a 21 | -------------------------------------------------------------------------------- /svn-import/iphonesdk-utils/xcbuild/libxcodeutils/README: -------------------------------------------------------------------------------- 1 | lex pbxproj.l 2 | bison -d pbxproj.y -o pbxproj.cpp 3 | -------------------------------------------------------------------------------- /svn-import/ld64-128.2/README: -------------------------------------------------------------------------------- 1 | standalone ld64-128.2 patches, need copy the "include" folder from cctools-836-for-linux. 2 | 3 | -------------------------------------------------------------------------------- /svn-import/ld64-134.9/README: -------------------------------------------------------------------------------- 1 | Standalone ld64-134.9 patches, need copy the "include" folder from cctools-836-for-linux. 2 | The patch also works with ld64-133.3 3 | 4 | http://www.opensource.apple.com/tarballs/ld64/ld64-133.3.tar.gz 5 | http://www.opensource.apple.com/tarballs/ld64/ld64-134.9.tar.gz 6 | 7 | -------------------------------------------------------------------------------- /svn-import/libsublime/Makefile: -------------------------------------------------------------------------------- 1 | all: 2 | clang -shared -o libsublime-imfix.so sublime-imfix.c `pkg-config --libs --cflags gtk+-2.0` -fPIC 3 | clean: 4 | rm -rf *.so 5 | -------------------------------------------------------------------------------- /svn-import/libsublime/README: -------------------------------------------------------------------------------- 1 | fix sublime input method issue under linux. 2 | 3 | LD_PRELOAD=./libsumlime_imfix.so sublime 4 | -------------------------------------------------------------------------------- /svn-import/lldb-ios/README: -------------------------------------------------------------------------------- 1 | lldb-fix-header.patch: 2 | missing header include. 3 | 4 | 5 | lldb-should_initialize-m_done-to-false.patch: 6 | m_done should be initialized before used. 7 | 8 | 9 | ============================================== 10 | If you want to enable remote-ios support. 11 | you need: 12 | 13 | 1, lldb-enable-remoteios.patch 14 | Apply this patch. 15 | 2, copy externalheaders/* to llvm/include. 16 | -------------------------------------------------------------------------------- /svn-import/lldb-ios/externalheaders/Availability.h: -------------------------------------------------------------------------------- 1 | //fake headers 2 | -------------------------------------------------------------------------------- /svn-import/lldb-ios/externalheaders/architecture/i386/byte_order.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 1999-2002 Apple Computer, Inc. All rights reserved. 3 | * 4 | * @APPLE_LICENSE_HEADER_START@ 5 | * 6 | * This file contains Original Code and/or Modifications of Original Code 7 | * as defined in and that are subject to the Apple Public Source License 8 | * Version 2.0 (the 'License'). You may not use this file except in 9 | * compliance with the License. Please obtain a copy of the License at 10 | * http://www.opensource.apple.com/apsl/ and read it before using this 11 | * file. 12 | * 13 | * The Original Code and all software distributed under the License are 14 | * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 15 | * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 16 | * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 17 | * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 18 | * Please see the License for the specific language governing rights and 19 | * limitations under the License. 20 | * 21 | * @APPLE_LICENSE_HEADER_END@ 22 | */ 23 | 24 | #ifndef _ARCH_I386_BYTE_ORDER_H_ 25 | #define _ARCH_I386_BYTE_ORDER_H_ 26 | 27 | /* 28 | * Maintain source compatibility 29 | */ 30 | 31 | #include 32 | 33 | #endif /* _ARCH_I386_BYTE_ORDER_H_ */ 34 | -------------------------------------------------------------------------------- /svn-import/lldb-ios/externalheaders/architecture/ppc/byte_order.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 1999-2002 Apple Computer, Inc. All rights reserved. 3 | * 4 | * @APPLE_LICENSE_HEADER_START@ 5 | * 6 | * This file contains Original Code and/or Modifications of Original Code 7 | * as defined in and that are subject to the Apple Public Source License 8 | * Version 2.0 (the 'License'). You may not use this file except in 9 | * compliance with the License. Please obtain a copy of the License at 10 | * http://www.opensource.apple.com/apsl/ and read it before using this 11 | * file. 12 | * 13 | * The Original Code and all software distributed under the License are 14 | * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 15 | * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 16 | * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 17 | * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 18 | * Please see the License for the specific language governing rights and 19 | * limitations under the License. 20 | * 21 | * @APPLE_LICENSE_HEADER_END@ 22 | */ 23 | 24 | /* 25 | * Maintain source compatibility 26 | */ 27 | 28 | #include 29 | -------------------------------------------------------------------------------- /svn-import/lldb-ios/externalheaders/i386/_limits.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2004 Apple Computer, Inc. All rights reserved. 3 | * 4 | * @APPLE_LICENSE_HEADER_START@ 5 | * 6 | * The contents of this file constitute Original Code as defined in and 7 | * are subject to the Apple Public Source License Version 1.1 (the 8 | * "License"). You may not use this file except in compliance with the 9 | * License. Please obtain a copy of the License at 10 | * http://www.apple.com/publicsource and read it before using this file. 11 | * 12 | * This Original Code and all software distributed under the License are 13 | * distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, EITHER 14 | * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 15 | * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 16 | * FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT. Please see the 17 | * License for the specific language governing rights and limitations 18 | * under the License. 19 | * 20 | * @APPLE_LICENSE_HEADER_END@ 21 | */ 22 | #ifndef _I386__LIMITS_H_ 23 | #define _I386__LIMITS_H_ 24 | 25 | #define __DARWIN_CLK_TCK 100 /* ticks per second */ 26 | 27 | #endif /* _I386__LIMITS_H_ */ 28 | -------------------------------------------------------------------------------- /svn-import/lldb-ios/externalheaders/mach-o/i860/swap.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 1999 Apple Computer, Inc. All rights reserved. 3 | * 4 | * @APPLE_LICENSE_HEADER_START@ 5 | * 6 | * This file contains Original Code and/or Modifications of Original Code 7 | * as defined in and that are subject to the Apple Public Source License 8 | * Version 2.0 (the 'License'). You may not use this file except in 9 | * compliance with the License. Please obtain a copy of the License at 10 | * http://www.opensource.apple.com/apsl/ and read it before using this 11 | * file. 12 | * 13 | * The Original Code and all software distributed under the License are 14 | * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 15 | * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 16 | * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 17 | * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 18 | * Please see the License for the specific language governing rights and 19 | * limitations under the License. 20 | * 21 | * @APPLE_LICENSE_HEADER_END@ 22 | */ 23 | #include 24 | #include 25 | 26 | extern void swap_i860_thread_state_regs( 27 | struct i860_thread_state_regs *cpu, 28 | enum NXByteOrder target_byte_sex); 29 | -------------------------------------------------------------------------------- /svn-import/lldb-ios/externalheaders/mach/machine/sdt.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2007 Apple Inc. All rights reserved. 3 | */ 4 | /* 5 | * CDDL HEADER START 6 | * 7 | * The contents of this file are subject to the terms of the 8 | * Common Development and Distribution License, Version 1.0 only 9 | * (the "License"). You may not use this file except in compliance 10 | * with the License. 11 | * 12 | * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 13 | * or http://www.opensolaris.org/os/licensing. 14 | * See the License for the specific language governing permissions 15 | * and limitations under the License. 16 | * 17 | * When distributing Covered Code, include this CDDL HEADER in each 18 | * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 19 | * If applicable, add the following below this CDDL HEADER, with the 20 | * fields enclosed by brackets "[]" replaced with your own identifying 21 | * information: Portions Copyright [yyyy] [name of copyright owner] 22 | * 23 | * CDDL HEADER END 24 | */ 25 | /* 26 | * Copyright 2004 Sun Microsystems, Inc. All rights reserved. 27 | * Use is subject to license terms. 28 | */ 29 | 30 | #ifndef _MACH_MACHINE_SYS_SDT_H 31 | #define _MACH_MACHINE_SYS_SDT_H 32 | 33 | #include 34 | 35 | 36 | #endif /* _MACH_MACHINE_SYS_SDT_H */ 37 | -------------------------------------------------------------------------------- /svn-import/lldb-ios/externalheaders/mach/sdt.h: -------------------------------------------------------------------------------- 1 | /* 2 | * CDDL HEADER START 3 | * 4 | * The contents of this file are subject to the terms of the 5 | * Common Development and Distribution License, Version 1.0 only 6 | * (the "License"). You may not use this file except in compliance 7 | * with the License. 8 | * 9 | * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 10 | * or http://www.opensolaris.org/os/licensing. 11 | * See the License for the specific language governing permissions 12 | * and limitations under the License. 13 | * 14 | * When distributing Covered Code, include this CDDL HEADER in each 15 | * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 16 | * If applicable, add the following below this CDDL HEADER, with the 17 | * fields enclosed by brackets "[]" replaced with your own identifying 18 | * information: Portions Copyright [yyyy] [name of copyright owner] 19 | * 20 | * CDDL HEADER END 21 | */ 22 | /* 23 | * Copyright 2004 Sun Microsystems, Inc. All rights reserved. 24 | * Use is subject to license terms. 25 | */ 26 | 27 | #ifndef _MACH_SDT_H 28 | #define _MACH_SDT_H 29 | 30 | #include 31 | 32 | #endif /* _MACH_SDT_H */ 33 | -------------------------------------------------------------------------------- /svn-import/lldb-ios/externalheaders/machine/limits.h: -------------------------------------------------------------------------------- 1 | /* This is the `system' limits.h, independent of any particular 2 | compiler. GCC provides its own limits.h which can be found in 3 | /usr/lib/gcc, although it is not very informative. 4 | This file is public domain. */ 5 | #if defined (__ppc__) || defined (__ppc64__) 6 | #include 7 | #elif defined (__i386__) || defined(__x86_64__) 8 | #include 9 | #elif defined (__arm__) 10 | #include 11 | #else 12 | #error architecture not supported 13 | #endif 14 | -------------------------------------------------------------------------------- /svn-import/lldb-ios/externalheaders/sys/attr.h: -------------------------------------------------------------------------------- 1 | #ifndef _SYS_ATTR_H_ 2 | #define _SYS_ATTR_H_ 3 | 4 | #include 5 | #include 6 | 7 | typedef u_int32_t attrgroup_t; 8 | struct attrlist { 9 | u_short bitmapcount; /* number of attr. bit sets in list (should be 5) */ 10 | u_int16_t reserved; /* (to maintain 4-byte alignment) */ 11 | attrgroup_t commonattr; /* common attribute group */ 12 | attrgroup_t volattr; /* Volume attribute group */ 13 | attrgroup_t dirattr; /* directory attribute group */ 14 | attrgroup_t fileattr; /* file attribute group */ 15 | attrgroup_t forkattr; /* fork attribute group */ 16 | }; 17 | #define ATTR_BIT_MAP_COUNT 5 18 | 19 | #define ATTR_CMN_FNDRINFO 1 20 | #define ATTR_FILE_DATALENGTH 2 21 | #define ATTR_FILE_RSRCLENGTH 4 22 | 23 | int getattrlist(const char*,void*,void*,size_t,unsigned int); 24 | 25 | #endif 26 | -------------------------------------------------------------------------------- /svn-import/lldb-ios/patches/lldb-fix-header.patch: -------------------------------------------------------------------------------- 1 | diff -Nur llvm-3.3/tools/lldb/source/Core/Mangled.cpp llvm-3.3.new/tools/lldb/source/Core/Mangled.cpp 2 | --- llvm-3.3/tools/lldb/source/Core/Mangled.cpp 2012-12-11 22:26:58.000000000 +0800 3 | +++ llvm-3.3.new/tools/lldb/source/Core/Mangled.cpp 2012-12-12 10:06:21.254882664 +0800 4 | @@ -19,7 +19,7 @@ 5 | #include 6 | #include 7 | #endif 8 | - 9 | +#include 10 | 11 | #include "llvm/ADT/DenseMap.h" 12 | 13 | -------------------------------------------------------------------------------- /svn-import/lldb-ios/patches/lldb-should_initialize-m_done-to-false.patch: -------------------------------------------------------------------------------- 1 | diff -Nur lldb/tools/driver/Driver.cpp lldbn/tools/driver/Driver.cpp 2 | --- lldb/tools/driver/Driver.cpp 2012-12-14 18:26:37.000000000 +0800 3 | +++ lldbn/tools/driver/Driver.cpp 2012-12-15 21:54:07.307702543 +0800 4 | @@ -118,7 +118,8 @@ 5 | m_editline_reader (), 6 | m_io_channel_ap (), 7 | m_option_data (), 8 | - m_waiting_for_command (false) 9 | + m_waiting_for_command (false), 10 | + m_done(false) 11 | { 12 | // We want to be able to handle CTRL+D in the terminal to have it terminate 13 | // certain input 14 | -------------------------------------------------------------------------------- /svn-import/temp/corefoundation/README: -------------------------------------------------------------------------------- 1 | A patch for CF-744.12 from Opensource Apple. 2 | 3 | you need: 4 | libdispatch, libBlocksRuntime, icu 50.1 5 | 6 | make -f MakefileLinux 7 | -------------------------------------------------------------------------------- /svn-import/temp/editor/filedock.cpp: -------------------------------------------------------------------------------- 1 | #include "filedock.h" 2 | #include 3 | 4 | FileDock::FileDock(QString title, QWidget *parent) : 5 | QDockWidget(title,parent) 6 | { 7 | QStyleOptionDockWidget *dockstyle = new QStyleOptionDockWidget(); 8 | dockstyle->closable=false; 9 | dockstyle->floatable=false; 10 | dockstyle->movable=false; 11 | this->initStyleOption(dockstyle); 12 | 13 | } 14 | -------------------------------------------------------------------------------- /svn-import/temp/editor/filedock.h: -------------------------------------------------------------------------------- 1 | #ifndef FILEDOCK_H 2 | #define FILEDOCK_H 3 | 4 | #include 5 | 6 | class FileDock : public QDockWidget 7 | { 8 | Q_OBJECT 9 | public: 10 | FileDock(QString title, QWidget *parent = 0); 11 | 12 | signals: 13 | 14 | public slots: 15 | 16 | }; 17 | 18 | #endif // FILEDOCK_H 19 | -------------------------------------------------------------------------------- /svn-import/temp/editor/highlight.h: -------------------------------------------------------------------------------- 1 | #ifndef HIGHLIGHT_H 2 | #define HIGHLIGHT_H 3 | #include 4 | #include 5 | #include 6 | #include 7 | #include 8 | 9 | class QTextDocument; 10 | 11 | class Highlight : public QSyntaxHighlighter 12 | { 13 | Q_OBJECT 14 | public: 15 | Highlight(QTextDocument* document = NULL); 16 | CXIndex cx_index; 17 | CXTranslationUnit cx_tu; 18 | CXSourceRange range; 19 | 20 | void setCXFile(CXFile f); 21 | void setCXTranslationUnit(CXTranslationUnit tu); 22 | void setCXSourceRange(CXSourceRange r); 23 | protected: 24 | void highlightBlock(QString const& text); 25 | // formats 26 | QTextCharFormat m_formatFunction; 27 | QTextCharFormat m_formatSingleLineComment; 28 | QTextCharFormat m_formatMultiLineComment; 29 | QTextCharFormat m_formatKeyword; 30 | QTextCharFormat m_formatUserKeyword; 31 | QTextCharFormat m_formatOperator; 32 | QTextCharFormat m_formatNumber; 33 | QTextCharFormat m_formatEscapeChar; 34 | QTextCharFormat m_formatMacro; 35 | QTextCharFormat m_formatString; 36 | CXFile file; 37 | 38 | 39 | signals: 40 | 41 | public slots: 42 | 43 | }; 44 | 45 | #endif // HIGHLIGHT_H 46 | -------------------------------------------------------------------------------- /svn-import/temp/editor/images/install.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waneck/linux-ios-toolchain/c294172015b769fc21072f8e400c6d57cde7362a/svn-import/temp/editor/images/install.png -------------------------------------------------------------------------------- /svn-import/temp/editor/images/new.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waneck/linux-ios-toolchain/c294172015b769fc21072f8e400c6d57cde7362a/svn-import/temp/editor/images/new.png -------------------------------------------------------------------------------- /svn-import/temp/editor/images/open.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waneck/linux-ios-toolchain/c294172015b769fc21072f8e400c6d57cde7362a/svn-import/temp/editor/images/open.png -------------------------------------------------------------------------------- /svn-import/temp/editor/images/save.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waneck/linux-ios-toolchain/c294172015b769fc21072f8e400c6d57cde7362a/svn-import/temp/editor/images/save.png -------------------------------------------------------------------------------- /svn-import/temp/editor/main.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #include "mainwindow.h" 4 | 5 | 6 | int main(int argc, char **argv) 7 | { 8 | QApplication app(argc, argv); 9 | 10 | MainWindow *window = new MainWindow(); 11 | 12 | window->setMinimumSize(800, 600); 13 | //editor->show(); 14 | window->show(); 15 | return app.exec(); 16 | } 17 | -------------------------------------------------------------------------------- /svn-import/temp/editor/mainwindow.h: -------------------------------------------------------------------------------- 1 | #ifndef MAINWINDOW_H 2 | #define MAINWINDOW_H 3 | 4 | #include 5 | #include "textedit.h" 6 | #include 7 | 8 | class MainWindow : public QMainWindow 9 | { 10 | Q_OBJECT 11 | public: 12 | explicit MainWindow(QWidget *parent = 0); 13 | 14 | signals: 15 | 16 | public slots: 17 | void slotOpen(); 18 | void slotSave(); 19 | private: 20 | TextEdit *editor; 21 | QAction *open; 22 | QAction *save; 23 | QAction *create; 24 | 25 | 26 | }; 27 | 28 | #endif // MAINWINDOW_H 29 | -------------------------------------------------------------------------------- /svn-import/temp/editor/resources.qrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | images/open.png 4 | images/save.png 5 | images/new.png 6 | 7 | 8 | -------------------------------------------------------------------------------- /svn-import/temp/editor/textedit.h: -------------------------------------------------------------------------------- 1 | /* -*-C++-*- */ 2 | #ifndef _TEXT_EDIT_H 3 | #define _TEXT_EDIT_H 4 | #include 5 | #include 6 | #include 7 | #include 8 | #include 9 | 10 | class TextEdit : public QTextEdit 11 | { 12 | Q_OBJECT 13 | public: 14 | TextEdit(QWidget *parent); 15 | ~TextEdit(); 16 | void save(); 17 | protected: 18 | void paintEvent(QPaintEvent *e); 19 | void keyPressEvent(QKeyEvent *e); 20 | private slots: 21 | void slotCursorPositionChanged(); 22 | void slotReparse(); 23 | 24 | private: 25 | void autoPair(QChar c); 26 | void autoIndent(); 27 | QListWidget *completionList; 28 | 29 | CXIndex cx_index; 30 | CXTranslationUnit cx_tu; 31 | 32 | QTextCharFormat m_formatFunction; 33 | QTextCharFormat m_formatSingleLineComment; 34 | QTextCharFormat m_formatMultiLineComment; 35 | QTextCharFormat m_formatKeyword; 36 | QTextCharFormat m_formatUserKeyword; 37 | QTextCharFormat m_formatOperator; 38 | QTextCharFormat m_formatNumber; 39 | QTextCharFormat m_formatEscapeChar; 40 | QTextCharFormat m_formatMacro; 41 | QTextCharFormat m_formatString; 42 | }; 43 | 44 | #endif 45 | --------------------------------------------------------------------------------