Commit Graph

76 Commits

Author SHA1 Message Date
Riccardo Schirone
db6247ac5a Fix linker flags issue on darwin, when USE_RPATH=1 2014-11-20 09:59:29 +01:00
pancake
f384d6e871 Fix LDFLAGS -L override issue? 2014-07-09 02:08:06 +02:00
Anton Kochkov
9a3184ded1 Fix build 2014-05-17 11:59:57 +04:00
pancake
ea0c2caa59 Add sys/ios-sdk build scripts 2014-05-17 04:41:33 +02:00
David Holm
f0dbeb9950 Fix solib file name on MacOS X
On MacOS X the library version goes before the library extension (dylib).  This
patch adds two helper functions that are used by the install rule to get the
correct library file name.
2014-03-08 23:13:18 +01:00
pancake
bf1d0ff08a Fix build and various random fixes 2013-12-20 04:32:38 +01:00
pancake
7855f4952f Initial work supporting emscripten compilation 2013-09-07 00:39:08 +02:00
pancake
472a9014fd Disable utf8 on w32 console, refix visual 'C' toggle-color key
- Update sdb and make rules.mk less strict
2013-08-26 03:17:29 +02:00
pancake
bc0104563b Initial support for runtime versioned libraries
- This check will ensure you are running the latest r2 version.
2013-06-14 02:51:33 +02:00
capi_x
c9eb90adbc Add initial Haiku support 2013-06-06 00:21:52 +02:00
pancake
fe6cb8c378 Added '-' to create command aliases and lowercase i8080
Lowercase i8080 disassembler (use e asm.ucase=true)
Add Alexander in AUTHORS
Extend r_cmd api to support aliases
Add new '-' command to register and call command aliases
Use RList in RCmd instead of kernel's list.h
Autocomplete aliases with <tab>
Add 'make DEBUG=1' to compile with -g
Do not strip symbols when compiling in debug mode
2012-10-30 02:49:05 +01:00
pancake
9440560f92 More build fixes 2012-10-11 13:09:33 +02:00
pancake
3540924f40 Better paralelization of build system 2012-10-04 01:20:00 +02:00
pancake
69a12884ed Simplify the build system
doc.sw has been moved to radare2-extras
2012-10-03 14:31:35 +02:00
pancake
f74b74ab6c Do not build libr/*/t by default 2012-10-02 11:33:09 +02:00
pancake
4ffdaeb04f Fix warnings and refactor 'p' subcommands (pw -> pxw ..) 2012-09-27 19:35:19 +02:00
pancake
dba5de4416 Fix build (R) 2012-09-26 23:58:55 +02:00
pancake
7cdb0dc0d7 Fix w32 build 2012-09-26 23:30:46 +02:00
pancake
a8757a695f Fix android build and add r_core->anal_define api
Fix static build (libr.a)
Fix android build farm scripts
Build system is still hacky
2012-09-03 01:27:52 +02:00
pancake
7b627d24a2 Fix mingw32 build 2012-09-01 01:06:24 +02:00
pancake
e241d81f4a Add --with-rpath to fix build on linux with !/usr
Do some changes in sys/ to make it happy
2012-08-27 17:02:58 +02:00
pancake
0e82165bf7 Honor make -s and lot of build cleanups 2012-08-14 15:44:17 +02:00
pancake
6b991786ab Show git-tip hash in r2 -v
dist now contains r2-bindings directory
use more parse locks in mk files
do not add invalid functions at UT64_MAX
Use -j8 in sys/install.sh again
2012-08-14 01:48:39 +02:00
pancake
1586c29785 Fix race conditions in makefiles and clean TODO 2012-08-10 15:59:37 +02:00
pancake
28428438f6 Lot of build fixes for --as-needed and mingw32
Fix z80 assembler
Add r_sys_truncate() for portability
Fail build if tests compilation is wrong
2012-08-10 11:35:38 +02:00
Roi Martin (@nibble_ds)
46d82f2600 Create folder shrl/ for shared libs
Move udis86 to shrl/
Add variable SHARED_OBJ to rules.mk
Add plugin anal/p/anal_x86_udis86.c (dummy)
2012-08-06 12:57:48 +02:00
pancake
db1135b405 * Apply patches from ac1d3. Thanks!
- include directory in CFLAGS and waitfordeps.sh
  - fixed VERSION macro
2012-03-09 01:03:19 +01:00
pancake
0c0984a382 * Fix --without-ewf
* Fix r_types.h for FreeBSD-clang
* Fix android sys build scripts
2012-02-18 01:49:59 +01:00
pancake
048e9ea8ce * Fix some warnings related to alloca(), %llx and O_BINARY for w32
* sync sdb
* Add some more eval var descriptions
2011-11-29 12:28:02 +01:00
pancake
e0fc376dab * Fix some t-*.sh scripts (rollback)
* Initial working version of shellcodes inside r_egg
  $ ragg2 -i x86.osx.binsh -b 64 -k osx -f mach064 -o a.out
  ragg2 -L : list all plugins
  ragg2 -i <shellcode-plugin> : select shellcode
  ragg2 -r : show raw bytes
  ragg2 -x : execute -- fails :(
* Use r_lib in r_egg
  - User defined shellcode plugins can now be loaded on runtime
* Fix append_bytes in r_egg api
* Implement r_egg option_{get|set}
* Use working shellcode for x86.osx.binsh example (64bit)
* Update pkgconfig templates
* Add -D flag to rasm2 (show hex and asm)

--HG--
rename : libr/egg/p/x86_osx_binsh.c => libr/egg/p/egg_x86_osx_binsh.c
2011-11-13 04:08:08 +01:00
pancake
14f85bd76f * Import Glyn Kennington's patch for the build system
- Use absolute paths everywhere and simplify Makefiles
2011-11-03 11:49:50 +01:00
pancake
521f63a03f * Fix pkgconfig files for embedded r_magic 2011-10-19 00:56:56 +02:00
pancake
3b9420fad8 * More stuff to make --with-sysmagic work 2011-10-18 18:12:17 +02:00
pancake
ed460fe2a4 * Initial import of external dependency sdb in r_db
* Fix segmentation fault in command = 033h
* Fix r_db for 64 bits
* Initial import of the RPair API on top of SDB
* Minor fix in r_num_get parser
2011-09-03 05:09:31 +02:00
pancake
8e102353ec * Honor LIBDIR and VERSION in pkgcfg 2011-07-19 13:19:09 +02:00
pancake
205a9285a4 * Apply some fixes for kFreeBSD debugger and OS detection
* Add --with-libversion flag to configure
  - Make OpenBSD version numbering system happy
* Force -ldl for HURD
* Fix off by one bug in grub/fs/fat.c
2011-04-20 13:56:58 +02:00
pancake
7df412ae25 * Fix build on W32
* Added --without-magic flag
2011-03-10 11:36:16 +01:00
pancake
9c55e3694b * Fix build of r_fs 2011-01-26 22:10:35 +01:00
pancake
4bc2043d78 * Fix build order for r_fs 2011-01-17 08:35:57 +01:00
pancake
a6629c610c * Fix static compilation on Linux systems
- Not really portable, needs some work to fix w32 build
2010-11-10 03:55:27 +01:00
pancake
9dc6a049b1 * Fix make -j for paralel builds
- use hacky 'waitfordeps.sh' helper script
  - speed up the build process
* Do not build libr2.so by default
  - Do not generate library archives (.a)
  - Fix build dependencies in vm/p/plugins.h
* Added --with-nonpic
  - Enable the .a generation
2010-10-29 03:10:10 +02:00
pancake
85232f4936 * Fix build on w32 2010-10-28 14:11:19 +02:00
pancake
63be7d8070 * Use relative symlinks in versioned libs
* Add r_meta stuff inside r_anal api
2010-10-28 12:10:21 +02:00
Nibble
414f5a38bc * More fixes on build system
- 'make mrproper' now works like 'hg purge --all'
  - More fixes on 'make clean'
  - Remove some missing -Wl,-R
2010-06-15 14:10:42 +02:00
pancake
c2bc7e0377 * Initial split of r_search_keyword
* Fix -soname of osx linker (-install_name)
* Added OSX build instructions in doc/osx
2010-04-05 22:49:22 +02:00
pancake
728bd1f817 * Fix w32 build 2010-03-25 10:18:59 +01:00
pancake
9e8f0be91b * Do not use version numbering in library names
* Remove DESTDIR in swig/config.mk.acr
2010-03-14 22:19:58 +01:00
pancake
0b0887d48f * Move vapi directory into swig/
- Two splitted distribution files:
    - radare2 and radare2-swig
    - Making it more debian friendly for packaging

--HG--
rename : libr/vapi/libr.deps => swig/vapi/libr.deps
rename : libr/vapi/libr.vapi => swig/vapi/libr.vapi
rename : libr/vapi/r_anal.vapi => swig/vapi/r_anal.vapi
rename : libr/vapi/r_asm.vapi => swig/vapi/r_asm.vapi
rename : libr/vapi/r_bin.deps => swig/vapi/r_bin.deps
rename : libr/vapi/r_bin.vapi => swig/vapi/r_bin.vapi
rename : libr/vapi/r_bp.vapi => swig/vapi/r_bp.vapi
rename : libr/vapi/r_config.vapi => swig/vapi/r_config.vapi
rename : libr/vapi/r_cons.vapi => swig/vapi/r_cons.vapi
rename : libr/vapi/r_core.vapi => swig/vapi/r_core.vapi
rename : libr/vapi/r_crypto.vapi => swig/vapi/r_crypto.vapi
rename : libr/vapi/r_db.vapi => swig/vapi/r_db.vapi
rename : libr/vapi/r_debug.deps => swig/vapi/r_debug.deps
rename : libr/vapi/r_debug.vapi => swig/vapi/r_debug.vapi
rename : libr/vapi/r_diff.vapi => swig/vapi/r_diff.vapi
rename : libr/vapi/r_hash.vapi => swig/vapi/r_hash.vapi
rename : libr/vapi/r_io.deps => swig/vapi/r_io.deps
rename : libr/vapi/r_io.vapi => swig/vapi/r_io.vapi
rename : libr/vapi/r_lang.vapi => swig/vapi/r_lang.vapi
rename : libr/vapi/r_lib.vapi => swig/vapi/r_lib.vapi
rename : libr/vapi/r_line.vapi => swig/vapi/r_line.vapi
rename : libr/vapi/r_parse.vapi => swig/vapi/r_parse.vapi
rename : libr/vapi/r_reg.vapi => swig/vapi/r_reg.vapi
rename : libr/vapi/r_search.vapi => swig/vapi/r_search.vapi
rename : libr/vapi/r_socket.vapi => swig/vapi/r_socket.vapi
rename : libr/vapi/r_syscall.vapi => swig/vapi/r_syscall.vapi
rename : libr/vapi/r_util.vapi => swig/vapi/r_util.vapi
rename : libr/vapi/t/Makefile => swig/vapi/t/Makefile
rename : libr/vapi/t/array.vala => swig/vapi/t/array.vala
rename : libr/vapi/t/asm.gs => swig/vapi/t/asm.gs
rename : libr/vapi/t/asm.vala => swig/vapi/t/asm.vala
rename : libr/vapi/t/bin.vala => swig/vapi/t/bin.vala
rename : libr/vapi/t/bintest.vala => swig/vapi/t/bintest.vala
rename : libr/vapi/t/core.vala => swig/vapi/t/core.vala
rename : libr/vapi/t/db.vala => swig/vapi/t/db.vala
rename : libr/vapi/t/hash.vala => swig/vapi/t/hash.vala
rename : libr/vapi/t/io.vala => swig/vapi/t/io.vala
rename : libr/vapi/t/lang.vala => swig/vapi/t/lang.vala
rename : libr/vapi/t/list.vala => swig/vapi/t/list.vala
rename : libr/vapi/t/list.vapi => swig/vapi/t/list.vapi
rename : libr/vapi/t/regs.vala => swig/vapi/t/regs.vala
rename : libr/vapi/t/sc.vala => swig/vapi/t/sc.vala
rename : libr/vapi/t/search.gs => swig/vapi/t/search.gs
rename : libr/vapi/t/search.vala => swig/vapi/t/search.vala
rename : libr/vapi/t/socket.vala => swig/vapi/t/socket.vala
2010-03-14 19:36:44 +01:00
pancake/imac
c6c829add1 * Do not link libr2.dylib in OSX
- Adapt -Wl,-R -> -L in OSX
* Comment some useless mk includes
2010-02-21 21:34:10 +01:00
pancake/imac
9890c6e8b0 * Fix build in OSX
- env.sh now also uses DYLD_LIBRARY_PATH
  - Fixes in ollyasm/dis to link with no global variables
    - Remove double definition of global _state
    - Same for asm_java
  - Split -shared and -Wl,-R into LDFLAGS_{LIB|LINKPATH}
    - Fixes linkage in osx
  - anal_x86_bea plugin now links correctly against BeaEgine.o
  - dietline is now #include'd from line.c
  - no debugger support yet
  - Do not externalize any variable. Some linkage does not support it
* Remove bininfo dependency .. aims to be merged into bin soon
* Added r_str_case() method to change to lower/upper case a string
2010-02-21 20:21:36 +01:00