radare2/libr/Makefile
pancake 4fcf226269 * Lot of random work on multiple fronts
* Add 'var' in build liblist and 'vapi/t' for make clean
* Add ^C handler for r_cons. support for callbacks
* Add support for ./m ELF for example to interpret the output of commands
* Fix a bug in the regexp algorithm that can get into infinite loop
* Binmask can now contain non hexpair values
* Add '/m' search regexp matches using the new R_SEARCH_REGEXP algorithm
  - Handle ^C in search loop..needs to use callback method
* Properly cleanup the flag names
* Added asm.bits and asm.os eval vars
* Added some random tips for debug in README
  - Stupid snippets for import/export data between modules
  - Register support requires a rethink
* Initial work on the integration of r_io_undo() api
2009-02-17 00:09:40 +01:00

52 lines
1.4 KiB
Makefile

# XXX
PREFIX=../prefix
# Libraries
LIBLIST=io util lib meta lang flags bin macro hash line cons line print config syscall range socket cmd asm anal search diff debug reg core var
# Under development
#LIBLIST+=print
#LIBLIST+=util
#LIBLIST+=search
# TODO : generate single library linking against the rest
#LIBSO=libr.so
#LIBAR=libr.a
all:
for lib in ${LIBLIST}; do ( cd $${lib} && ${MAKE} all ); done
@echo Build done for: ${LIBLIST}
install:
# libraries
@mkdir -p ${PREFIX}/lib
@for a in `find * | grep -e '\.so$$' | grep lib` ; do \
echo " $$a "; cp $$a ${PREFIX}/lib ; done
# object archives
@for a in `find * | grep -e '\.a$$'` ; do \
echo " $$a"; cp $$a ${PREFIX}/lib ; done
# includes
@mkdir -p ${PREFIX}/include
cp -f include/* ${PREFIX}/include
# programs
@mkdir -p ${PREFIX}/bin
@for a in `find */t -perm /u+x -type f | grep 2`; \
do echo " $$a"; cp $$a ${PREFIX}/bin ; done
# plugins
@mkdir -p ${PREFIX}/lib/radare2
@for a in `find */p -perm /u+x -type f`; \
do echo " $$a"; cp $$a ${PREFIX}/lib/radare2 ; done
# test programs
@mkdir -p ${PREFIX}/bin-test
@for a in `find */t -perm /u+x -type f | grep -v 2`; \
do echo " $$a"; cp $$a ${PREFIX}/bin-test ; done
@echo libr aka radare2 has been installed in PREFIX=${PREFIX}
todo:
grep -re TODO *
clean:
for lib in ${LIBLIST}; do ( cd $${lib} && ${MAKE} clean ); done
cd vapi/t && ${MAKE} clean