radare2/Makefile

197 lines
6.1 KiB
Makefile
Raw Normal View History

include config-user.mk
include global.mk
2011-07-21 06:50:16 +08:00
ifneq ($(shell bsdtar -h 2>/dev/null|grep bsdtar),)
TAR=bsdtar czvf
else
TAR=tar -czvf
endif
PWD=$(shell pwd)
REMOTE=radare.org:/srv/http/radareorg/get/beta
all: plugins.cfg
${MAKE} libr
${MAKE} binr
* Initial import of the 'configure-plugins' script - accepts --static and --shared to setup which plugins you want to build statically in the library or dynamically - normalize .mk and plugin file names to adopt a single standard - WARNING: huge commit * Added 'mk/sloc.mk' with 'sloc' target to count lines with sloccount everywhere (yeah!) --HG-- rename : libr/asm/p/x86bea.mk => libr/asm/p/x86_bea.mk rename : libr/asm/p/x86nasm.mk => libr/asm/p/x86_nasm.mk rename : libr/asm/p/x86olly.mk => libr/asm/p/x86_olly.mk rename : libr/config.h => libr/config.h.head rename : libr/config.mk => libr/config.mk.head rename : libr/debug/p/dbg_gdb.c => libr/debug/p/debug_gdb.c rename : libr/debug/p/dbg_ptrace.c => libr/debug/p/debug_ptrace.c rename : libr/debug/p/dbg_libgdbwrap/Makefile => libr/debug/p/libgdbwrap/Makefile rename : libr/debug/p/dbg_libgdbwrap/README => libr/debug/p/libgdbwrap/README rename : libr/debug/p/dbg_libgdbwrap/client.c => libr/debug/p/libgdbwrap/client.c rename : libr/debug/p/dbg_libgdbwrap/gdbwrapper.c => libr/debug/p/libgdbwrap/gdbwrapper.c rename : libr/debug/p/dbg_libgdbwrap/include/gdbwrapper-internals.h => libr/debug/p/libgdbwrap/include/gdbwrapper-internals.h rename : libr/debug/p/dbg_libgdbwrap/include/gdbwrapper-stddef.h => libr/debug/p/libgdbwrap/include/gdbwrapper-stddef.h rename : libr/debug/p/dbg_libgdbwrap/include/gdbwrapper.h => libr/debug/p/libgdbwrap/include/gdbwrapper.h rename : libr/debug/p/dbg_libgdbwrap/include/libaspect.h => libr/debug/p/libgdbwrap/include/libaspect.h rename : libr/debug/p/dbg_libgdbwrap/include/libe2dbg.h => libr/debug/p/libgdbwrap/include/libe2dbg.h rename : libr/debug/p/dbg_libgdbwrap/include/revm.h => libr/debug/p/libgdbwrap/include/revm.h rename : libr/debug/p/dbg_libgdbwrap/interface.c => libr/debug/p/libgdbwrap/interface.c rename : libr/io/p/dbg.mk => libr/io/p/debug.mk rename : libr/io/p/io_dbg.c => libr/io/p/io_debug.c
2010-01-14 06:42:49 +08:00
plugins.cfg:
@if [ ! -e config-user.mk ]; then echo ; \
echo " Please, run ./configure first" ; echo ; exit 1 ; fi
* Initial import of the 'configure-plugins' script - accepts --static and --shared to setup which plugins you want to build statically in the library or dynamically - normalize .mk and plugin file names to adopt a single standard - WARNING: huge commit * Added 'mk/sloc.mk' with 'sloc' target to count lines with sloccount everywhere (yeah!) --HG-- rename : libr/asm/p/x86bea.mk => libr/asm/p/x86_bea.mk rename : libr/asm/p/x86nasm.mk => libr/asm/p/x86_nasm.mk rename : libr/asm/p/x86olly.mk => libr/asm/p/x86_olly.mk rename : libr/config.h => libr/config.h.head rename : libr/config.mk => libr/config.mk.head rename : libr/debug/p/dbg_gdb.c => libr/debug/p/debug_gdb.c rename : libr/debug/p/dbg_ptrace.c => libr/debug/p/debug_ptrace.c rename : libr/debug/p/dbg_libgdbwrap/Makefile => libr/debug/p/libgdbwrap/Makefile rename : libr/debug/p/dbg_libgdbwrap/README => libr/debug/p/libgdbwrap/README rename : libr/debug/p/dbg_libgdbwrap/client.c => libr/debug/p/libgdbwrap/client.c rename : libr/debug/p/dbg_libgdbwrap/gdbwrapper.c => libr/debug/p/libgdbwrap/gdbwrapper.c rename : libr/debug/p/dbg_libgdbwrap/include/gdbwrapper-internals.h => libr/debug/p/libgdbwrap/include/gdbwrapper-internals.h rename : libr/debug/p/dbg_libgdbwrap/include/gdbwrapper-stddef.h => libr/debug/p/libgdbwrap/include/gdbwrapper-stddef.h rename : libr/debug/p/dbg_libgdbwrap/include/gdbwrapper.h => libr/debug/p/libgdbwrap/include/gdbwrapper.h rename : libr/debug/p/dbg_libgdbwrap/include/libaspect.h => libr/debug/p/libgdbwrap/include/libaspect.h rename : libr/debug/p/dbg_libgdbwrap/include/libe2dbg.h => libr/debug/p/libgdbwrap/include/libe2dbg.h rename : libr/debug/p/dbg_libgdbwrap/include/revm.h => libr/debug/p/libgdbwrap/include/revm.h rename : libr/debug/p/dbg_libgdbwrap/interface.c => libr/debug/p/libgdbwrap/interface.c rename : libr/io/p/dbg.mk => libr/io/p/debug.mk rename : libr/io/p/io_dbg.c => libr/io/p/io_debug.c
2010-01-14 06:42:49 +08:00
./configure-plugins
gitpush:
sh mk/gitpush.sh
libr:
cd libr && ${MAKE} all
binr:
cd binr && ${MAKE} all
R=$(shell hg tags|head -n2 | tail -n1|awk '{print $$2}' |cut -d : -f 1)
T=$(shell hg tip|grep changeset:|cut -d : -f 2)
.PHONY: chlog
chlog:
@hg log -v -r tip:$R > chlog
@echo "-=== release ${VERSION} ===-"
@echo "hg tag -r $T ${VERSION}"
@printf "last commit: "
@hg log -r tip | grep date: |cut -d : -f 2- |sed -e 's,^\ *,,g'
@printf "oldest commit: "
@hg log -r $R | grep date: |cut -d : -f 2- |sed -e 's,^\ *,,g'
@printf "Commits: "
@grep changeset: chlog |wc -l
@grep -v : chlog | grep -v '^$$'
w32:
make clean
# TODO: add support for debian
2010-10-28 20:11:19 +08:00
./configure --without-ssl --without-gmp --with-compiler=i486-mingw32-gcc --with-ostype=windows --host=i486-unknown-windows
make
w32dist:
rm -rf radare2-w32-${VERSION} w32dist
mkdir w32dist
for a in `find libr | grep -e dll$$`; do cp $$a w32dist ; done
for a in `find binr | grep -e exe$$`; do cp $$a w32dist ; done
rm w32dist/plugin.dll
mkdir -p w32dist/radare2/${VERSION}/magic
cp -f libr/magic/d/default/* w32dist/radare2/${VERSION}/magic
mkdir -p w32dist/radare2/${VERSION}/syscall
cp -f libr/syscall/d/*.sdb w32dist/radare2/${VERSION}/syscall
mkdir -p w32dist/radare2/${VERSION}/opcodes
cp -f libr/asm/d/*.sdb w32dist/radare2/${VERSION}/opcodes
mkdir -p w32dist/share/doc/radare2
* Install includes in windows dist * Import linux-x86-32/64 and darwin-x86-32 sflib includedirs * Simplify data installation for magic, egg, syscall and asm * Set R2_INCDIR in r_userconf * Make ragg2-cc much smarter - use ragg2 -v to get paths and version - accept new flags -a -b -k for arch, bits and kernel - supports crosscompilation --HG-- rename : libr/magic/d/OpenBSD => libr/magic/d/default/OpenBSD rename : libr/magic/d/archive => libr/magic/d/default/archive rename : libr/magic/d/cafebabe => libr/magic/d/default/cafebabe rename : libr/magic/d/cisco => libr/magic/d/default/cisco rename : libr/magic/d/database => libr/magic/d/default/database rename : libr/magic/d/editors => libr/magic/d/default/editors rename : libr/magic/d/elf => libr/magic/d/default/elf rename : libr/magic/d/filesystems => libr/magic/d/default/filesystems rename : libr/magic/d/flash => libr/magic/d/default/flash rename : libr/magic/d/freebsd => libr/magic/d/default/freebsd rename : libr/magic/d/gimp => libr/magic/d/default/gimp rename : libr/magic/d/images => libr/magic/d/default/images rename : libr/magic/d/java => libr/magic/d/default/java rename : libr/magic/d/jpeg => libr/magic/d/default/jpeg rename : libr/magic/d/linux => libr/magic/d/default/linux rename : libr/magic/d/mail.news => libr/magic/d/default/mail.news rename : libr/magic/d/matroska => libr/magic/d/default/matroska rename : libr/magic/d/mime => libr/magic/d/default/mime rename : libr/magic/d/msdos => libr/magic/d/default/msdos rename : libr/magic/d/netbsd => libr/magic/d/default/netbsd rename : libr/magic/d/pdf => libr/magic/d/default/pdf rename : libr/magic/d/perl => libr/magic/d/default/perl rename : libr/magic/d/python => libr/magic/d/default/python rename : libr/magic/d/riff => libr/magic/d/default/riff rename : libr/magic/d/sniffer => libr/magic/d/default/sniffer rename : libr/magic/d/sql => libr/magic/d/default/sql rename : libr/magic/d/sun => libr/magic/d/default/sun rename : libr/magic/d/uuencode => libr/magic/d/default/uuencode
2011-11-29 10:14:27 +08:00
mkdir -p w32dist/include/libr
cp libr/include/*.h w32dist/include/libr
#mkdir -p w32dist/include/libr/sflib
cp -f doc/fortunes w32dist/share/doc/radare2
mv w32dist radare2-w32-${VERSION}
rm -f radare2-w32-${VERSION}.zip
zip -r radare2-w32-${VERSION}.zip radare2-w32-${VERSION}
w32beta: w32dist
scp radare2-w32-${VERSION}.zip ${REMOTE}
* Rename swig/ to r2-bindings - Avoid confusions with the name :) --HG-- rename : swig/Makefile => r2-bindings/Makefile rename : swig/README => r2-bindings/README rename : swig/autogen.sh => r2-bindings/autogen.sh rename : swig/check-langs.sh => r2-bindings/check-langs.sh rename : swig/config.mk.acr => r2-bindings/config.mk.acr rename : swig/configure => r2-bindings/configure rename : swig/configure.acr => r2-bindings/configure.acr rename : swig/cxx/Makefile => r2-bindings/cxx/Makefile rename : swig/do-swig.sh => r2-bindings/do-swig.sh rename : swig/do-test.sh => r2-bindings/do-test.sh rename : swig/go/Makefile => r2-bindings/go/Makefile rename : swig/go/fixgoswig.sh => r2-bindings/go/fixgoswig.sh rename : swig/go/test-r_bin.go => r2-bindings/go/test-r_bin.go rename : swig/guile/Makefile => r2-bindings/guile/Makefile rename : swig/guile/test-asm.scm => r2-bindings/guile/test-asm.scm rename : swig/guile/test-util.scm => r2-bindings/guile/test-util.scm rename : swig/guile/vapi.patch => r2-bindings/guile/vapi.patch rename : swig/java/Makefile => r2-bindings/java/Makefile rename : swig/java/TestRBin.java => r2-bindings/java/TestRBin.java rename : swig/lua/Makefile => r2-bindings/lua/Makefile rename : swig/lua/test-r_asm.lua => r2-bindings/lua/test-r_asm.lua rename : swig/lua/test-r_bin.lua => r2-bindings/lua/test-r_bin.lua rename : swig/lua/test-r_bp.lua => r2-bindings/lua/test-r_bp.lua rename : swig/lua/test-r_core.lua => r2-bindings/lua/test-r_core.lua rename : swig/perl/Makefile => r2-bindings/perl/Makefile rename : swig/perl/test-r_asm.pl => r2-bindings/perl/test-r_asm.pl rename : swig/perl/test-r_bin.pl => r2-bindings/perl/test-r_bin.pl rename : swig/perl/test-r_bp.pl => r2-bindings/perl/test-r_bp.pl rename : swig/python-config-wrapper => r2-bindings/python-config-wrapper rename : swig/python/Makefile => r2-bindings/python/Makefile rename : swig/python/r_cons.i.experimental => r2-bindings/python/r_cons.i.experimental rename : swig/python/remote.py => r2-bindings/python/remote.py rename : swig/python/test-r2rc.py => r2-bindings/python/test-r2rc.py rename : swig/python/test-r_asm.py => r2-bindings/python/test-r_asm.py rename : swig/python/test-r_bin.py => r2-bindings/python/test-r_bin.py rename : swig/python/test-r_bp.py => r2-bindings/python/test-r_bp.py rename : swig/python/test-r_bp2.py => r2-bindings/python/test-r_bp2.py rename : swig/python/test-r_cons.py => r2-bindings/python/test-r_cons.py rename : swig/python/test-r_core.py => r2-bindings/python/test-r_core.py rename : swig/python/test-r_flags.py => r2-bindings/python/test-r_flags.py rename : swig/python/test-r_hash.py => r2-bindings/python/test-r_hash.py rename : swig/python/test-r_num.py => r2-bindings/python/test-r_num.py rename : swig/python/test-r_util.py => r2-bindings/python/test-r_util.py rename : swig/python/test-ragdiff2.py => r2-bindings/python/test-ragdiff2.py rename : swig/ruby/Makefile => r2-bindings/ruby/Makefile rename : swig/ruby/test-r_bin.rb => r2-bindings/ruby/test-r_bin.rb rename : swig/ruby/test-r_bp.rb => r2-bindings/ruby/test-r_bp.rb rename : swig/ruby/test-r_core.rb => r2-bindings/ruby/test-r_core.rb rename : swig/rules.mk => r2-bindings/rules.mk rename : swig/vapi/libr.deps => r2-bindings/vapi/libr.deps rename : swig/vapi/libr.vapi => r2-bindings/vapi/libr.vapi rename : swig/vapi/r_anal.deps => r2-bindings/vapi/r_anal.deps rename : swig/vapi/r_anal.vapi => r2-bindings/vapi/r_anal.vapi rename : swig/vapi/r_asm.deps => r2-bindings/vapi/r_asm.deps rename : swig/vapi/r_asm.vapi => r2-bindings/vapi/r_asm.vapi rename : swig/vapi/r_bin.deps => r2-bindings/vapi/r_bin.deps rename : swig/vapi/r_bin.vapi => r2-bindings/vapi/r_bin.vapi rename : swig/vapi/r_bp.deps => r2-bindings/vapi/r_bp.deps rename : swig/vapi/r_bp.vapi => r2-bindings/vapi/r_bp.vapi rename : swig/vapi/r_cmd.deps => r2-bindings/vapi/r_cmd.deps rename : swig/vapi/r_cmd.vapi => r2-bindings/vapi/r_cmd.vapi rename : swig/vapi/r_config.vapi => r2-bindings/vapi/r_config.vapi rename : swig/vapi/r_cons.vapi => r2-bindings/vapi/r_cons.vapi rename : swig/vapi/r_core.deps => r2-bindings/vapi/r_core.deps rename : swig/vapi/r_core.vapi => r2-bindings/vapi/r_core.vapi rename : swig/vapi/r_crypto.vapi => r2-bindings/vapi/r_crypto.vapi rename : swig/vapi/r_db.vapi => r2-bindings/vapi/r_db.vapi rename : swig/vapi/r_debug.deps => r2-bindings/vapi/r_debug.deps rename : swig/vapi/r_debug.vapi => r2-bindings/vapi/r_debug.vapi rename : swig/vapi/r_diff.vapi => r2-bindings/vapi/r_diff.vapi rename : swig/vapi/r_flags.deps => r2-bindings/vapi/r_flags.deps rename : swig/vapi/r_flags.vapi => r2-bindings/vapi/r_flags.vapi rename : swig/vapi/r_fs.deps => r2-bindings/vapi/r_fs.deps rename : swig/vapi/r_fs.vapi => r2-bindings/vapi/r_fs.vapi rename : swig/vapi/r_hash.vapi => r2-bindings/vapi/r_hash.vapi rename : swig/vapi/r_io.deps => r2-bindings/vapi/r_io.deps rename : swig/vapi/r_io.vapi => r2-bindings/vapi/r_io.vapi rename : swig/vapi/r_lang.vapi => r2-bindings/vapi/r_lang.vapi rename : swig/vapi/r_lib.vapi => r2-bindings/vapi/r_lib.vapi rename : swig/vapi/r_line.vapi => r2-bindings/vapi/r_line.vapi rename : swig/vapi/r_parse.deps => r2-bindings/vapi/r_parse.deps rename : swig/vapi/r_parse.vapi => r2-bindings/vapi/r_parse.vapi rename : swig/vapi/r_print.vapi => r2-bindings/vapi/r_print.vapi rename : swig/vapi/r_reg.deps => r2-bindings/vapi/r_reg.deps rename : swig/vapi/r_reg.vapi => r2-bindings/vapi/r_reg.vapi rename : swig/vapi/r_search.deps => r2-bindings/vapi/r_search.deps rename : swig/vapi/r_search.vapi => r2-bindings/vapi/r_search.vapi rename : swig/vapi/r_sign.vapi => r2-bindings/vapi/r_sign.vapi rename : swig/vapi/r_socket.vapi => r2-bindings/vapi/r_socket.vapi rename : swig/vapi/r_syscall.vapi => r2-bindings/vapi/r_syscall.vapi rename : swig/vapi/r_util.vapi => r2-bindings/vapi/r_util.vapi rename : swig/vapi/t/Makefile => r2-bindings/vapi/t/Makefile rename : swig/vapi/t/array.vala => r2-bindings/vapi/t/array.vala rename : swig/vapi/t/asm.gs => r2-bindings/vapi/t/asm.gs rename : swig/vapi/t/asm.vala => r2-bindings/vapi/t/asm.vala rename : swig/vapi/t/asmsearch.vala => r2-bindings/vapi/t/asmsearch.vala rename : swig/vapi/t/bin.vala => r2-bindings/vapi/t/bin.vala rename : swig/vapi/t/bintest.vala => r2-bindings/vapi/t/bintest.vala rename : swig/vapi/t/bwdisassemble.vala => r2-bindings/vapi/t/bwdisassemble.vala rename : swig/vapi/t/core.vala => r2-bindings/vapi/t/core.vala rename : swig/vapi/t/db.vala => r2-bindings/vapi/t/db.vala rename : swig/vapi/t/findops.vala => r2-bindings/vapi/t/findops.vala rename : swig/vapi/t/hash.vala => r2-bindings/vapi/t/hash.vala rename : swig/vapi/t/io.vala => r2-bindings/vapi/t/io.vala rename : swig/vapi/t/lang.vala => r2-bindings/vapi/t/lang.vala rename : swig/vapi/t/list.vala => r2-bindings/vapi/t/list.vala rename : swig/vapi/t/list.vapi => r2-bindings/vapi/t/list.vapi rename : swig/vapi/t/plugin.vala => r2-bindings/vapi/t/plugin.vala rename : swig/vapi/t/pluginwrap.c => r2-bindings/vapi/t/pluginwrap.c rename : swig/vapi/t/regs.vala => r2-bindings/vapi/t/regs.vala rename : swig/vapi/t/reloc.vala => r2-bindings/vapi/t/reloc.vala rename : swig/vapi/t/rgot.vala => r2-bindings/vapi/t/rgot.vala rename : swig/vapi/t/sc.vala => r2-bindings/vapi/t/sc.vala rename : swig/vapi/t/search.gs => r2-bindings/vapi/t/search.gs rename : swig/vapi/t/search.vala => r2-bindings/vapi/t/search.vala rename : swig/vapi/t/socket.vala => r2-bindings/vapi/t/socket.vala
2011-05-18 07:35:52 +08:00
cd r2-bindings ; $(MAKE) w32dist
scp radare2-bindings-w32-${VERSION}.zip ${REMOTE}
* Initial import of the 'configure-plugins' script - accepts --static and --shared to setup which plugins you want to build statically in the library or dynamically - normalize .mk and plugin file names to adopt a single standard - WARNING: huge commit * Added 'mk/sloc.mk' with 'sloc' target to count lines with sloccount everywhere (yeah!) --HG-- rename : libr/asm/p/x86bea.mk => libr/asm/p/x86_bea.mk rename : libr/asm/p/x86nasm.mk => libr/asm/p/x86_nasm.mk rename : libr/asm/p/x86olly.mk => libr/asm/p/x86_olly.mk rename : libr/config.h => libr/config.h.head rename : libr/config.mk => libr/config.mk.head rename : libr/debug/p/dbg_gdb.c => libr/debug/p/debug_gdb.c rename : libr/debug/p/dbg_ptrace.c => libr/debug/p/debug_ptrace.c rename : libr/debug/p/dbg_libgdbwrap/Makefile => libr/debug/p/libgdbwrap/Makefile rename : libr/debug/p/dbg_libgdbwrap/README => libr/debug/p/libgdbwrap/README rename : libr/debug/p/dbg_libgdbwrap/client.c => libr/debug/p/libgdbwrap/client.c rename : libr/debug/p/dbg_libgdbwrap/gdbwrapper.c => libr/debug/p/libgdbwrap/gdbwrapper.c rename : libr/debug/p/dbg_libgdbwrap/include/gdbwrapper-internals.h => libr/debug/p/libgdbwrap/include/gdbwrapper-internals.h rename : libr/debug/p/dbg_libgdbwrap/include/gdbwrapper-stddef.h => libr/debug/p/libgdbwrap/include/gdbwrapper-stddef.h rename : libr/debug/p/dbg_libgdbwrap/include/gdbwrapper.h => libr/debug/p/libgdbwrap/include/gdbwrapper.h rename : libr/debug/p/dbg_libgdbwrap/include/libaspect.h => libr/debug/p/libgdbwrap/include/libaspect.h rename : libr/debug/p/dbg_libgdbwrap/include/libe2dbg.h => libr/debug/p/libgdbwrap/include/libe2dbg.h rename : libr/debug/p/dbg_libgdbwrap/include/revm.h => libr/debug/p/libgdbwrap/include/revm.h rename : libr/debug/p/dbg_libgdbwrap/interface.c => libr/debug/p/libgdbwrap/interface.c rename : libr/io/p/dbg.mk => libr/io/p/debug.mk rename : libr/io/p/io_dbg.c => libr/io/p/io_debug.c
2010-01-14 06:42:49 +08:00
clean:
cd libr && ${MAKE} clean
cd binr && ${MAKE} clean
* Initial import of the 'configure-plugins' script - accepts --static and --shared to setup which plugins you want to build statically in the library or dynamically - normalize .mk and plugin file names to adopt a single standard - WARNING: huge commit * Added 'mk/sloc.mk' with 'sloc' target to count lines with sloccount everywhere (yeah!) --HG-- rename : libr/asm/p/x86bea.mk => libr/asm/p/x86_bea.mk rename : libr/asm/p/x86nasm.mk => libr/asm/p/x86_nasm.mk rename : libr/asm/p/x86olly.mk => libr/asm/p/x86_olly.mk rename : libr/config.h => libr/config.h.head rename : libr/config.mk => libr/config.mk.head rename : libr/debug/p/dbg_gdb.c => libr/debug/p/debug_gdb.c rename : libr/debug/p/dbg_ptrace.c => libr/debug/p/debug_ptrace.c rename : libr/debug/p/dbg_libgdbwrap/Makefile => libr/debug/p/libgdbwrap/Makefile rename : libr/debug/p/dbg_libgdbwrap/README => libr/debug/p/libgdbwrap/README rename : libr/debug/p/dbg_libgdbwrap/client.c => libr/debug/p/libgdbwrap/client.c rename : libr/debug/p/dbg_libgdbwrap/gdbwrapper.c => libr/debug/p/libgdbwrap/gdbwrapper.c rename : libr/debug/p/dbg_libgdbwrap/include/gdbwrapper-internals.h => libr/debug/p/libgdbwrap/include/gdbwrapper-internals.h rename : libr/debug/p/dbg_libgdbwrap/include/gdbwrapper-stddef.h => libr/debug/p/libgdbwrap/include/gdbwrapper-stddef.h rename : libr/debug/p/dbg_libgdbwrap/include/gdbwrapper.h => libr/debug/p/libgdbwrap/include/gdbwrapper.h rename : libr/debug/p/dbg_libgdbwrap/include/libaspect.h => libr/debug/p/libgdbwrap/include/libaspect.h rename : libr/debug/p/dbg_libgdbwrap/include/libe2dbg.h => libr/debug/p/libgdbwrap/include/libe2dbg.h rename : libr/debug/p/dbg_libgdbwrap/include/revm.h => libr/debug/p/libgdbwrap/include/revm.h rename : libr/debug/p/dbg_libgdbwrap/interface.c => libr/debug/p/libgdbwrap/interface.c rename : libr/io/p/dbg.mk => libr/io/p/debug.mk rename : libr/io/p/io_dbg.c => libr/io/p/io_debug.c
2010-01-14 06:42:49 +08:00
2010-07-13 17:59:55 +08:00
mrproper:
cd libr && ${MAKE} mrproper
cd binr && ${MAKE} mrproper
rm -f config-user.mk plugins.cfg libr/config.h libr/include/r_userconf.h libr/config.mk
rm -f pkgcfg/*.pc
2009-06-15 10:44:05 +08:00
mrpopper:
@echo 8====================D
pkgcfg:
cd libr && ${MAKE} pkgcfg
install-man:
2011-07-03 19:06:16 +08:00
mkdir -p ${MDR}/man1
for a in man/*.1 ; do ${INSTALL_MAN} $$a ${MDR}/man1 ; done
cd ${MDR}/man1 && ln -fs radare2.1 r2.1
install-man-symlink:
2011-07-03 19:06:16 +08:00
mkdir -p ${MDR}/man1
cd man && for a in *.1 ; do ln -fs ${PWD}/man/$$a ${MDR}/man1/$$a ; done
2011-07-03 19:06:16 +08:00
cd ${MDR}/man1 && ln -fs radare2.1 r2.1
install-doc:
${INSTALL_DIR} ${PFX}/share/doc/radare2
for a in doc/* ; do ${INSTALL_DATA} $$a ${PFX}/share/doc/radare2 ; done
install-doc-symlink:
${INSTALL_DIR} ${PFX}/share/doc/radare2
cd doc ; for a in * ; do ln -fs ${PWD}/$$a ${PFX}/share/doc/radare2 ; done
DATADIRS=libr/asm/d libr/syscall/d libr/magic/d
#binr/ragg2/d
install: install-doc install-man
cd libr && ${MAKE} install PARENT=1 PREFIX=${PREFIX} DESTDIR=${DESTDIR}
cd binr && ${MAKE} install PREFIX=${PREFIX} DESTDIR=${DESTDIR}
* Install includes in windows dist * Import linux-x86-32/64 and darwin-x86-32 sflib includedirs * Simplify data installation for magic, egg, syscall and asm * Set R2_INCDIR in r_userconf * Make ragg2-cc much smarter - use ragg2 -v to get paths and version - accept new flags -a -b -k for arch, bits and kernel - supports crosscompilation --HG-- rename : libr/magic/d/OpenBSD => libr/magic/d/default/OpenBSD rename : libr/magic/d/archive => libr/magic/d/default/archive rename : libr/magic/d/cafebabe => libr/magic/d/default/cafebabe rename : libr/magic/d/cisco => libr/magic/d/default/cisco rename : libr/magic/d/database => libr/magic/d/default/database rename : libr/magic/d/editors => libr/magic/d/default/editors rename : libr/magic/d/elf => libr/magic/d/default/elf rename : libr/magic/d/filesystems => libr/magic/d/default/filesystems rename : libr/magic/d/flash => libr/magic/d/default/flash rename : libr/magic/d/freebsd => libr/magic/d/default/freebsd rename : libr/magic/d/gimp => libr/magic/d/default/gimp rename : libr/magic/d/images => libr/magic/d/default/images rename : libr/magic/d/java => libr/magic/d/default/java rename : libr/magic/d/jpeg => libr/magic/d/default/jpeg rename : libr/magic/d/linux => libr/magic/d/default/linux rename : libr/magic/d/mail.news => libr/magic/d/default/mail.news rename : libr/magic/d/matroska => libr/magic/d/default/matroska rename : libr/magic/d/mime => libr/magic/d/default/mime rename : libr/magic/d/msdos => libr/magic/d/default/msdos rename : libr/magic/d/netbsd => libr/magic/d/default/netbsd rename : libr/magic/d/pdf => libr/magic/d/default/pdf rename : libr/magic/d/perl => libr/magic/d/default/perl rename : libr/magic/d/python => libr/magic/d/default/python rename : libr/magic/d/riff => libr/magic/d/default/riff rename : libr/magic/d/sniffer => libr/magic/d/default/sniffer rename : libr/magic/d/sql => libr/magic/d/default/sql rename : libr/magic/d/sun => libr/magic/d/default/sun rename : libr/magic/d/uuencode => libr/magic/d/default/uuencode
2011-11-29 10:14:27 +08:00
for a in ${DATADIRS} ; do \
(cd $$a ; ${MAKE} install LIBDIR=${LIBDIR} PREFIX=${PREFIX} DESTDIR=${DESTDIR} ); \
done
mkdir -p ${DESTDIR}/${LIBDIR}/radare2/${VERSION}/hud
cp -f libr/core/hud/main ${DESTDIR}/${LIBDIR}/radare2/${VERSION}/hud/
install-pkgconfig-symlink:
@${INSTALL_DIR} ${DESTDIR}/${LIBDIR}/pkgconfig
cd pkgcfg ; for a in *.pc ; do ln -fs $${PWD}/$$a ${DESTDIR}/${LIBDIR}/pkgconfig/$$a ; done
symstall install-symlink: install-man-symlink install-doc-symlink install-pkgconfig-symlink
cd libr && ${MAKE} install-symlink PREFIX=${PREFIX} DESTDIR=${DESTDIR}
cd binr && ${MAKE} install-symlink PREFIX=${PREFIX} DESTDIR=${DESTDIR}
* Install includes in windows dist * Import linux-x86-32/64 and darwin-x86-32 sflib includedirs * Simplify data installation for magic, egg, syscall and asm * Set R2_INCDIR in r_userconf * Make ragg2-cc much smarter - use ragg2 -v to get paths and version - accept new flags -a -b -k for arch, bits and kernel - supports crosscompilation --HG-- rename : libr/magic/d/OpenBSD => libr/magic/d/default/OpenBSD rename : libr/magic/d/archive => libr/magic/d/default/archive rename : libr/magic/d/cafebabe => libr/magic/d/default/cafebabe rename : libr/magic/d/cisco => libr/magic/d/default/cisco rename : libr/magic/d/database => libr/magic/d/default/database rename : libr/magic/d/editors => libr/magic/d/default/editors rename : libr/magic/d/elf => libr/magic/d/default/elf rename : libr/magic/d/filesystems => libr/magic/d/default/filesystems rename : libr/magic/d/flash => libr/magic/d/default/flash rename : libr/magic/d/freebsd => libr/magic/d/default/freebsd rename : libr/magic/d/gimp => libr/magic/d/default/gimp rename : libr/magic/d/images => libr/magic/d/default/images rename : libr/magic/d/java => libr/magic/d/default/java rename : libr/magic/d/jpeg => libr/magic/d/default/jpeg rename : libr/magic/d/linux => libr/magic/d/default/linux rename : libr/magic/d/mail.news => libr/magic/d/default/mail.news rename : libr/magic/d/matroska => libr/magic/d/default/matroska rename : libr/magic/d/mime => libr/magic/d/default/mime rename : libr/magic/d/msdos => libr/magic/d/default/msdos rename : libr/magic/d/netbsd => libr/magic/d/default/netbsd rename : libr/magic/d/pdf => libr/magic/d/default/pdf rename : libr/magic/d/perl => libr/magic/d/default/perl rename : libr/magic/d/python => libr/magic/d/default/python rename : libr/magic/d/riff => libr/magic/d/default/riff rename : libr/magic/d/sniffer => libr/magic/d/default/sniffer rename : libr/magic/d/sql => libr/magic/d/default/sql rename : libr/magic/d/sun => libr/magic/d/default/sun rename : libr/magic/d/uuencode => libr/magic/d/default/uuencode
2011-11-29 10:14:27 +08:00
for a in ${DATADIRS} ; do \
(cd $$a ; echo $$a ; ${MAKE} install-symlink LIBDIR=${LIBDIR} PREFIX=${PREFIX} DESTDIR=${DESTDIR} ); \
done
mkdir -p ${DESTDIR}/${LIBDIR}/radare2/${VERSION}/hud
ln -fs ${PWD}/libr/core/hud/main ${DESTDIR}/${LIBDIR}/radare2/${VERSION}/hud/main
deinstall uninstall:
cd libr && ${MAKE} uninstall PARENT=1 PREFIX=${PREFIX} DESTDIR=${DESTDIR}
cd binr && ${MAKE} uninstall PARENT=1 PREFIX=${PREFIX} DESTDIR=${DESTDIR}
cd libr/syscall/d && ${MAKE} uninstall PARENT=1 PREFIX=${PREFIX} DESTDIR=${DESTDIR} LIBDIR=${LIBDIR}
@echo
@echo "Run 'make purge' to also remove installed files from previous versions of r2"
@echo
purge:
rm -f ${DESTDIR}/${BINDIR}/r2
rm -f ${DESTDIR}/${BINDIR}/radare2
rm -f ${DESTDIR}/${BINDIR}/rabin2
rm -f ${DESTDIR}/${BINDIR}/rafind2
rm -f ${DESTDIR}/${BINDIR}/ranal2
rm -f ${DESTDIR}/${BINDIR}/rax2
rm -f ${DESTDIR}/${BINDIR}/rsc2
rm -f ${DESTDIR}/${BINDIR}/rasm2
rm -f ${DESTDIR}/${BINDIR}/rarc2
rm -f ${DESTDIR}/${BINDIR}/rahash2
rm -f ${DESTDIR}/${BINDIR}/ragg2
rm -f ${DESTDIR}/${BINDIR}/ragg2-cc
rm -f ${DESTDIR}/${BINDIR}/rarun2
rm -f ${DESTDIR}/${BINDIR}/rasc2
rm -f ${DESTDIR}/${BINDIR}/radiff2
2011-11-02 09:01:24 +08:00
rm -f ${DESTDIR}/${LIBDIR}/libr_*
rm -rf ${DESTDIR}/${LIBDIR}/radare2
rm -rf ${DESTDIR}/${INCLUDEDIR}/libr
cd man ; for a in *.1 ; do rm -f ${MDR}/man1/$$a ; done
rm -f ${MDR}/man1/r2.1
* Rename swig/ to r2-bindings - Avoid confusions with the name :) --HG-- rename : swig/Makefile => r2-bindings/Makefile rename : swig/README => r2-bindings/README rename : swig/autogen.sh => r2-bindings/autogen.sh rename : swig/check-langs.sh => r2-bindings/check-langs.sh rename : swig/config.mk.acr => r2-bindings/config.mk.acr rename : swig/configure => r2-bindings/configure rename : swig/configure.acr => r2-bindings/configure.acr rename : swig/cxx/Makefile => r2-bindings/cxx/Makefile rename : swig/do-swig.sh => r2-bindings/do-swig.sh rename : swig/do-test.sh => r2-bindings/do-test.sh rename : swig/go/Makefile => r2-bindings/go/Makefile rename : swig/go/fixgoswig.sh => r2-bindings/go/fixgoswig.sh rename : swig/go/test-r_bin.go => r2-bindings/go/test-r_bin.go rename : swig/guile/Makefile => r2-bindings/guile/Makefile rename : swig/guile/test-asm.scm => r2-bindings/guile/test-asm.scm rename : swig/guile/test-util.scm => r2-bindings/guile/test-util.scm rename : swig/guile/vapi.patch => r2-bindings/guile/vapi.patch rename : swig/java/Makefile => r2-bindings/java/Makefile rename : swig/java/TestRBin.java => r2-bindings/java/TestRBin.java rename : swig/lua/Makefile => r2-bindings/lua/Makefile rename : swig/lua/test-r_asm.lua => r2-bindings/lua/test-r_asm.lua rename : swig/lua/test-r_bin.lua => r2-bindings/lua/test-r_bin.lua rename : swig/lua/test-r_bp.lua => r2-bindings/lua/test-r_bp.lua rename : swig/lua/test-r_core.lua => r2-bindings/lua/test-r_core.lua rename : swig/perl/Makefile => r2-bindings/perl/Makefile rename : swig/perl/test-r_asm.pl => r2-bindings/perl/test-r_asm.pl rename : swig/perl/test-r_bin.pl => r2-bindings/perl/test-r_bin.pl rename : swig/perl/test-r_bp.pl => r2-bindings/perl/test-r_bp.pl rename : swig/python-config-wrapper => r2-bindings/python-config-wrapper rename : swig/python/Makefile => r2-bindings/python/Makefile rename : swig/python/r_cons.i.experimental => r2-bindings/python/r_cons.i.experimental rename : swig/python/remote.py => r2-bindings/python/remote.py rename : swig/python/test-r2rc.py => r2-bindings/python/test-r2rc.py rename : swig/python/test-r_asm.py => r2-bindings/python/test-r_asm.py rename : swig/python/test-r_bin.py => r2-bindings/python/test-r_bin.py rename : swig/python/test-r_bp.py => r2-bindings/python/test-r_bp.py rename : swig/python/test-r_bp2.py => r2-bindings/python/test-r_bp2.py rename : swig/python/test-r_cons.py => r2-bindings/python/test-r_cons.py rename : swig/python/test-r_core.py => r2-bindings/python/test-r_core.py rename : swig/python/test-r_flags.py => r2-bindings/python/test-r_flags.py rename : swig/python/test-r_hash.py => r2-bindings/python/test-r_hash.py rename : swig/python/test-r_num.py => r2-bindings/python/test-r_num.py rename : swig/python/test-r_util.py => r2-bindings/python/test-r_util.py rename : swig/python/test-ragdiff2.py => r2-bindings/python/test-ragdiff2.py rename : swig/ruby/Makefile => r2-bindings/ruby/Makefile rename : swig/ruby/test-r_bin.rb => r2-bindings/ruby/test-r_bin.rb rename : swig/ruby/test-r_bp.rb => r2-bindings/ruby/test-r_bp.rb rename : swig/ruby/test-r_core.rb => r2-bindings/ruby/test-r_core.rb rename : swig/rules.mk => r2-bindings/rules.mk rename : swig/vapi/libr.deps => r2-bindings/vapi/libr.deps rename : swig/vapi/libr.vapi => r2-bindings/vapi/libr.vapi rename : swig/vapi/r_anal.deps => r2-bindings/vapi/r_anal.deps rename : swig/vapi/r_anal.vapi => r2-bindings/vapi/r_anal.vapi rename : swig/vapi/r_asm.deps => r2-bindings/vapi/r_asm.deps rename : swig/vapi/r_asm.vapi => r2-bindings/vapi/r_asm.vapi rename : swig/vapi/r_bin.deps => r2-bindings/vapi/r_bin.deps rename : swig/vapi/r_bin.vapi => r2-bindings/vapi/r_bin.vapi rename : swig/vapi/r_bp.deps => r2-bindings/vapi/r_bp.deps rename : swig/vapi/r_bp.vapi => r2-bindings/vapi/r_bp.vapi rename : swig/vapi/r_cmd.deps => r2-bindings/vapi/r_cmd.deps rename : swig/vapi/r_cmd.vapi => r2-bindings/vapi/r_cmd.vapi rename : swig/vapi/r_config.vapi => r2-bindings/vapi/r_config.vapi rename : swig/vapi/r_cons.vapi => r2-bindings/vapi/r_cons.vapi rename : swig/vapi/r_core.deps => r2-bindings/vapi/r_core.deps rename : swig/vapi/r_core.vapi => r2-bindings/vapi/r_core.vapi rename : swig/vapi/r_crypto.vapi => r2-bindings/vapi/r_crypto.vapi rename : swig/vapi/r_db.vapi => r2-bindings/vapi/r_db.vapi rename : swig/vapi/r_debug.deps => r2-bindings/vapi/r_debug.deps rename : swig/vapi/r_debug.vapi => r2-bindings/vapi/r_debug.vapi rename : swig/vapi/r_diff.vapi => r2-bindings/vapi/r_diff.vapi rename : swig/vapi/r_flags.deps => r2-bindings/vapi/r_flags.deps rename : swig/vapi/r_flags.vapi => r2-bindings/vapi/r_flags.vapi rename : swig/vapi/r_fs.deps => r2-bindings/vapi/r_fs.deps rename : swig/vapi/r_fs.vapi => r2-bindings/vapi/r_fs.vapi rename : swig/vapi/r_hash.vapi => r2-bindings/vapi/r_hash.vapi rename : swig/vapi/r_io.deps => r2-bindings/vapi/r_io.deps rename : swig/vapi/r_io.vapi => r2-bindings/vapi/r_io.vapi rename : swig/vapi/r_lang.vapi => r2-bindings/vapi/r_lang.vapi rename : swig/vapi/r_lib.vapi => r2-bindings/vapi/r_lib.vapi rename : swig/vapi/r_line.vapi => r2-bindings/vapi/r_line.vapi rename : swig/vapi/r_parse.deps => r2-bindings/vapi/r_parse.deps rename : swig/vapi/r_parse.vapi => r2-bindings/vapi/r_parse.vapi rename : swig/vapi/r_print.vapi => r2-bindings/vapi/r_print.vapi rename : swig/vapi/r_reg.deps => r2-bindings/vapi/r_reg.deps rename : swig/vapi/r_reg.vapi => r2-bindings/vapi/r_reg.vapi rename : swig/vapi/r_search.deps => r2-bindings/vapi/r_search.deps rename : swig/vapi/r_search.vapi => r2-bindings/vapi/r_search.vapi rename : swig/vapi/r_sign.vapi => r2-bindings/vapi/r_sign.vapi rename : swig/vapi/r_socket.vapi => r2-bindings/vapi/r_socket.vapi rename : swig/vapi/r_syscall.vapi => r2-bindings/vapi/r_syscall.vapi rename : swig/vapi/r_util.vapi => r2-bindings/vapi/r_util.vapi rename : swig/vapi/t/Makefile => r2-bindings/vapi/t/Makefile rename : swig/vapi/t/array.vala => r2-bindings/vapi/t/array.vala rename : swig/vapi/t/asm.gs => r2-bindings/vapi/t/asm.gs rename : swig/vapi/t/asm.vala => r2-bindings/vapi/t/asm.vala rename : swig/vapi/t/asmsearch.vala => r2-bindings/vapi/t/asmsearch.vala rename : swig/vapi/t/bin.vala => r2-bindings/vapi/t/bin.vala rename : swig/vapi/t/bintest.vala => r2-bindings/vapi/t/bintest.vala rename : swig/vapi/t/bwdisassemble.vala => r2-bindings/vapi/t/bwdisassemble.vala rename : swig/vapi/t/core.vala => r2-bindings/vapi/t/core.vala rename : swig/vapi/t/db.vala => r2-bindings/vapi/t/db.vala rename : swig/vapi/t/findops.vala => r2-bindings/vapi/t/findops.vala rename : swig/vapi/t/hash.vala => r2-bindings/vapi/t/hash.vala rename : swig/vapi/t/io.vala => r2-bindings/vapi/t/io.vala rename : swig/vapi/t/lang.vala => r2-bindings/vapi/t/lang.vala rename : swig/vapi/t/list.vala => r2-bindings/vapi/t/list.vala rename : swig/vapi/t/list.vapi => r2-bindings/vapi/t/list.vapi rename : swig/vapi/t/plugin.vala => r2-bindings/vapi/t/plugin.vala rename : swig/vapi/t/pluginwrap.c => r2-bindings/vapi/t/pluginwrap.c rename : swig/vapi/t/regs.vala => r2-bindings/vapi/t/regs.vala rename : swig/vapi/t/reloc.vala => r2-bindings/vapi/t/reloc.vala rename : swig/vapi/t/rgot.vala => r2-bindings/vapi/t/rgot.vala rename : swig/vapi/t/sc.vala => r2-bindings/vapi/t/sc.vala rename : swig/vapi/t/search.gs => r2-bindings/vapi/t/search.gs rename : swig/vapi/t/search.vala => r2-bindings/vapi/t/search.vala rename : swig/vapi/t/socket.vala => r2-bindings/vapi/t/socket.vala
2011-05-18 07:35:52 +08:00
beta: dist r2-bindings-dist
2010-10-28 09:30:15 +08:00
scp ../radare2-${VERSION}.tar.gz ${REMOTE}
scp r2-bindings-${VERSION}.tar.gz ${REMOTE}
2010-10-28 09:30:15 +08:00
version:
@echo ${VERSION}
* Rename swig/ to r2-bindings - Avoid confusions with the name :) --HG-- rename : swig/Makefile => r2-bindings/Makefile rename : swig/README => r2-bindings/README rename : swig/autogen.sh => r2-bindings/autogen.sh rename : swig/check-langs.sh => r2-bindings/check-langs.sh rename : swig/config.mk.acr => r2-bindings/config.mk.acr rename : swig/configure => r2-bindings/configure rename : swig/configure.acr => r2-bindings/configure.acr rename : swig/cxx/Makefile => r2-bindings/cxx/Makefile rename : swig/do-swig.sh => r2-bindings/do-swig.sh rename : swig/do-test.sh => r2-bindings/do-test.sh rename : swig/go/Makefile => r2-bindings/go/Makefile rename : swig/go/fixgoswig.sh => r2-bindings/go/fixgoswig.sh rename : swig/go/test-r_bin.go => r2-bindings/go/test-r_bin.go rename : swig/guile/Makefile => r2-bindings/guile/Makefile rename : swig/guile/test-asm.scm => r2-bindings/guile/test-asm.scm rename : swig/guile/test-util.scm => r2-bindings/guile/test-util.scm rename : swig/guile/vapi.patch => r2-bindings/guile/vapi.patch rename : swig/java/Makefile => r2-bindings/java/Makefile rename : swig/java/TestRBin.java => r2-bindings/java/TestRBin.java rename : swig/lua/Makefile => r2-bindings/lua/Makefile rename : swig/lua/test-r_asm.lua => r2-bindings/lua/test-r_asm.lua rename : swig/lua/test-r_bin.lua => r2-bindings/lua/test-r_bin.lua rename : swig/lua/test-r_bp.lua => r2-bindings/lua/test-r_bp.lua rename : swig/lua/test-r_core.lua => r2-bindings/lua/test-r_core.lua rename : swig/perl/Makefile => r2-bindings/perl/Makefile rename : swig/perl/test-r_asm.pl => r2-bindings/perl/test-r_asm.pl rename : swig/perl/test-r_bin.pl => r2-bindings/perl/test-r_bin.pl rename : swig/perl/test-r_bp.pl => r2-bindings/perl/test-r_bp.pl rename : swig/python-config-wrapper => r2-bindings/python-config-wrapper rename : swig/python/Makefile => r2-bindings/python/Makefile rename : swig/python/r_cons.i.experimental => r2-bindings/python/r_cons.i.experimental rename : swig/python/remote.py => r2-bindings/python/remote.py rename : swig/python/test-r2rc.py => r2-bindings/python/test-r2rc.py rename : swig/python/test-r_asm.py => r2-bindings/python/test-r_asm.py rename : swig/python/test-r_bin.py => r2-bindings/python/test-r_bin.py rename : swig/python/test-r_bp.py => r2-bindings/python/test-r_bp.py rename : swig/python/test-r_bp2.py => r2-bindings/python/test-r_bp2.py rename : swig/python/test-r_cons.py => r2-bindings/python/test-r_cons.py rename : swig/python/test-r_core.py => r2-bindings/python/test-r_core.py rename : swig/python/test-r_flags.py => r2-bindings/python/test-r_flags.py rename : swig/python/test-r_hash.py => r2-bindings/python/test-r_hash.py rename : swig/python/test-r_num.py => r2-bindings/python/test-r_num.py rename : swig/python/test-r_util.py => r2-bindings/python/test-r_util.py rename : swig/python/test-ragdiff2.py => r2-bindings/python/test-ragdiff2.py rename : swig/ruby/Makefile => r2-bindings/ruby/Makefile rename : swig/ruby/test-r_bin.rb => r2-bindings/ruby/test-r_bin.rb rename : swig/ruby/test-r_bp.rb => r2-bindings/ruby/test-r_bp.rb rename : swig/ruby/test-r_core.rb => r2-bindings/ruby/test-r_core.rb rename : swig/rules.mk => r2-bindings/rules.mk rename : swig/vapi/libr.deps => r2-bindings/vapi/libr.deps rename : swig/vapi/libr.vapi => r2-bindings/vapi/libr.vapi rename : swig/vapi/r_anal.deps => r2-bindings/vapi/r_anal.deps rename : swig/vapi/r_anal.vapi => r2-bindings/vapi/r_anal.vapi rename : swig/vapi/r_asm.deps => r2-bindings/vapi/r_asm.deps rename : swig/vapi/r_asm.vapi => r2-bindings/vapi/r_asm.vapi rename : swig/vapi/r_bin.deps => r2-bindings/vapi/r_bin.deps rename : swig/vapi/r_bin.vapi => r2-bindings/vapi/r_bin.vapi rename : swig/vapi/r_bp.deps => r2-bindings/vapi/r_bp.deps rename : swig/vapi/r_bp.vapi => r2-bindings/vapi/r_bp.vapi rename : swig/vapi/r_cmd.deps => r2-bindings/vapi/r_cmd.deps rename : swig/vapi/r_cmd.vapi => r2-bindings/vapi/r_cmd.vapi rename : swig/vapi/r_config.vapi => r2-bindings/vapi/r_config.vapi rename : swig/vapi/r_cons.vapi => r2-bindings/vapi/r_cons.vapi rename : swig/vapi/r_core.deps => r2-bindings/vapi/r_core.deps rename : swig/vapi/r_core.vapi => r2-bindings/vapi/r_core.vapi rename : swig/vapi/r_crypto.vapi => r2-bindings/vapi/r_crypto.vapi rename : swig/vapi/r_db.vapi => r2-bindings/vapi/r_db.vapi rename : swig/vapi/r_debug.deps => r2-bindings/vapi/r_debug.deps rename : swig/vapi/r_debug.vapi => r2-bindings/vapi/r_debug.vapi rename : swig/vapi/r_diff.vapi => r2-bindings/vapi/r_diff.vapi rename : swig/vapi/r_flags.deps => r2-bindings/vapi/r_flags.deps rename : swig/vapi/r_flags.vapi => r2-bindings/vapi/r_flags.vapi rename : swig/vapi/r_fs.deps => r2-bindings/vapi/r_fs.deps rename : swig/vapi/r_fs.vapi => r2-bindings/vapi/r_fs.vapi rename : swig/vapi/r_hash.vapi => r2-bindings/vapi/r_hash.vapi rename : swig/vapi/r_io.deps => r2-bindings/vapi/r_io.deps rename : swig/vapi/r_io.vapi => r2-bindings/vapi/r_io.vapi rename : swig/vapi/r_lang.vapi => r2-bindings/vapi/r_lang.vapi rename : swig/vapi/r_lib.vapi => r2-bindings/vapi/r_lib.vapi rename : swig/vapi/r_line.vapi => r2-bindings/vapi/r_line.vapi rename : swig/vapi/r_parse.deps => r2-bindings/vapi/r_parse.deps rename : swig/vapi/r_parse.vapi => r2-bindings/vapi/r_parse.vapi rename : swig/vapi/r_print.vapi => r2-bindings/vapi/r_print.vapi rename : swig/vapi/r_reg.deps => r2-bindings/vapi/r_reg.deps rename : swig/vapi/r_reg.vapi => r2-bindings/vapi/r_reg.vapi rename : swig/vapi/r_search.deps => r2-bindings/vapi/r_search.deps rename : swig/vapi/r_search.vapi => r2-bindings/vapi/r_search.vapi rename : swig/vapi/r_sign.vapi => r2-bindings/vapi/r_sign.vapi rename : swig/vapi/r_socket.vapi => r2-bindings/vapi/r_socket.vapi rename : swig/vapi/r_syscall.vapi => r2-bindings/vapi/r_syscall.vapi rename : swig/vapi/r_util.vapi => r2-bindings/vapi/r_util.vapi rename : swig/vapi/t/Makefile => r2-bindings/vapi/t/Makefile rename : swig/vapi/t/array.vala => r2-bindings/vapi/t/array.vala rename : swig/vapi/t/asm.gs => r2-bindings/vapi/t/asm.gs rename : swig/vapi/t/asm.vala => r2-bindings/vapi/t/asm.vala rename : swig/vapi/t/asmsearch.vala => r2-bindings/vapi/t/asmsearch.vala rename : swig/vapi/t/bin.vala => r2-bindings/vapi/t/bin.vala rename : swig/vapi/t/bintest.vala => r2-bindings/vapi/t/bintest.vala rename : swig/vapi/t/bwdisassemble.vala => r2-bindings/vapi/t/bwdisassemble.vala rename : swig/vapi/t/core.vala => r2-bindings/vapi/t/core.vala rename : swig/vapi/t/db.vala => r2-bindings/vapi/t/db.vala rename : swig/vapi/t/findops.vala => r2-bindings/vapi/t/findops.vala rename : swig/vapi/t/hash.vala => r2-bindings/vapi/t/hash.vala rename : swig/vapi/t/io.vala => r2-bindings/vapi/t/io.vala rename : swig/vapi/t/lang.vala => r2-bindings/vapi/t/lang.vala rename : swig/vapi/t/list.vala => r2-bindings/vapi/t/list.vala rename : swig/vapi/t/list.vapi => r2-bindings/vapi/t/list.vapi rename : swig/vapi/t/plugin.vala => r2-bindings/vapi/t/plugin.vala rename : swig/vapi/t/pluginwrap.c => r2-bindings/vapi/t/pluginwrap.c rename : swig/vapi/t/regs.vala => r2-bindings/vapi/t/regs.vala rename : swig/vapi/t/reloc.vala => r2-bindings/vapi/t/reloc.vala rename : swig/vapi/t/rgot.vala => r2-bindings/vapi/t/rgot.vala rename : swig/vapi/t/sc.vala => r2-bindings/vapi/t/sc.vala rename : swig/vapi/t/search.gs => r2-bindings/vapi/t/search.gs rename : swig/vapi/t/search.vala => r2-bindings/vapi/t/search.vala rename : swig/vapi/t/socket.vala => r2-bindings/vapi/t/socket.vala
2011-05-18 07:35:52 +08:00
r2-bindings-dist:
cd r2-bindings && ${MAKE} dist
* 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-15 02:36:44 +08:00
dist:
2009-04-26 03:43:47 +08:00
VERSION=${VERSION} ; \
FILES=`hg manifest | grep -v r2-bindings | sed -e s,^,radare2-${VERSION}/,` ; \
cd .. && mv radare2 radare2-${VERSION} && \
${TAR} radare2-${VERSION}.tar.gz $${FILES} ;\
mv radare2-${VERSION} radare2
2010-10-28 09:30:15 +08:00
pub:
scp ../radare2-${VERSION}.tar.gz radare.org:/srv/http/radareorg/get
shot:
DATE=`date '+%Y%m%d'` ; \
FILES=`hg manifest | sed -e s,^,radare2-${DATE}/,` ; \
cd .. && mv radare2 radare2-$${DATE} && \
${TAR} radare2-$${DATE}.tar.gz $${FILES} ;\
mv radare2-$${DATE} radare2 && \
scp radare2-$${DATE}.tar.gz radare.org:/srv/http/radareorg/get/shot
include ${MKPLUGINS}
.PHONY: all clean mrproper install symstall uninstall deinstall dist shot pkgcfg
.PHONY: r2-bindings r2-bindings-dist libr binr install-man version