mirror of
https://github.com/radareorg/radare2.git
synced 2025-01-22 13:51:30 +00:00
1129f1a2fc
* Add 'autogen.sh' to ease the use of 'acr' - Added USERCC and USEROSTYPE configuration flags --with-compiler : select a compiler from mk/ --with-ostype : select a target OS (not required for ming32 f.ex) * Add language bindings APIs from radare1 - Fix some issues from the ruby language binding - Checks if file exists before slurping and causing a ruby segfault - Added language destructor (.fini pointer) * Rename str_clean into r_str_chop * Initial work on the port for ming-w32 * Show flags instead of bytes in disassembly (smart disasm) * New r_sys_{get|set}env (for portability issues * Added flags -i and -l to radare2 * Fix warnings and random code cleanup * Added r_flag_get_i
30 lines
795 B
Makefile
30 lines
795 B
Makefile
include config-user.mk
|
|
|
|
all:
|
|
cd libr && make
|
|
|
|
clean:
|
|
cd libr && make clean
|
|
|
|
install:
|
|
mkdir -p ${DESTDIR}${PREFIX}/share/doc/radare2
|
|
for a in doc/* ; do cp $$a ${DESTDIR}/${PREFIX}/share/doc/radare2 ; done
|
|
cd libr && make install PARENT=1 PREFIX=${DESTDIR}${PREFIX}
|
|
|
|
uninstall:
|
|
rm -rf prefix
|
|
|
|
deinstall: uninstall
|
|
cd libr && make uninstall PARENT=1 PREFIX=${DESTDIR}${PREFIX}
|
|
rm -rf ${DESTDIR}${PREFIX}/share/doc/radare2
|
|
|
|
dist:
|
|
FILES=`hg st -mc .| cut -c 3-|sed -e s,^,radare2-${VERSION}/,` ; \
|
|
cd .. && mv radare2 radare2-${VERSION} && \
|
|
tar czvf radare2-${VERSION}.tar.gz $${FILES} ;\
|
|
mv radare2-${VERSION} radare2
|
|
if [ ${RELEASE} = 1 ]; then \
|
|
scp radare2-$${DATE}.tar.gz news.nopcode.org:/home/www/radarenopcode/get/shot ; fi
|
|
|
|
.PHONY: all clean install uninstall deinstall dist
|