mirror of
https://github.com/radareorg/radare2.git
synced 2025-02-02 03:32:04 +00:00
1ea43bbc10
- Many fixes in r_core, r_lib, r_cmd and r_anal - Needs patched vala head with #618933 https://bugzilla.gnome.org/show_bug.cgi?id=618933 * Fix RCmd plugin handlers user data pointer
30 lines
696 B
Makefile
30 lines
696 B
Makefile
LIBS=r_util.so r_bp.so r_asm.so r_diff.so r_core.so r_bin.so r_cons.so r_anal.so r_cmd.so
|
|
LIBS+=r_debug.so r_config.so r_io.so r_syscall.so r_search.so r_lib.so libr.so r_flags.so
|
|
|
|
.SUFFIXES: .so
|
|
|
|
all: ${LIBS}
|
|
|
|
%.so:
|
|
@-test ../../libr/vapi/`echo $@|sed -e s,.so,.vapi,` -nt ${LIBS_PFX}$@ ; \
|
|
if [ ! $$? = 0 ]; then \
|
|
if [ ! -e ${LIBS_PFX}$@ ]; then \
|
|
true ; \
|
|
else \
|
|
false ; \
|
|
fi ; \
|
|
fi ; \
|
|
if [ $$? = 0 ]; then \
|
|
(cd .. && sh do-swig.sh ${LANG} `echo $@ | sed -e s,.so,,`) ; \
|
|
fi
|
|
|
|
test:
|
|
-${LANG} test-r_bp.${LANG_EXT}
|
|
-${LANG} test-r_asm.${LANG_EXT}
|
|
-${LANG} test-r_hash.${LANG_EXT}
|
|
|
|
clean:
|
|
rm -f *.so r_* libr*
|
|
|
|
.PHONY: all test clean
|