mirror of
https://github.com/radareorg/radare2.git
synced 2024-10-07 02:23:58 +00:00
e76216e92a
* Add STATIC_DEBUG and RUNTIME_DEBUG config.mk variables - Mirrored in C as R_DEBUG and R_RTDEBUG - Defines IFDBG and IFRTDBG macros - used in r_lib, checks for RLIB_RTDEBUG environment variable * Added -f and -L flags to radare2 * Added initial dummy work on r_crypto module - Added 'aes' algorithm * Added EXTRA_TARGETS and EXTRA_CLEAN targets in makefiles to build extra programs or libraries in a single directory * Initial working stuff with hg's bdiff.c - Working as a line based diffing tool. 'linediff' - Added 2 files for testing linediff * Prefix io plugins with io_ - Added ewf and shm io plugins * Prefix lang plugins with lang_
30 lines
774 B
Makefile
30 lines
774 B
Makefile
include config.mk
|
|
|
|
all:
|
|
cd libr && make
|
|
|
|
clean:
|
|
cd libr && make clean
|
|
|
|
install:
|
|
mkdir -p ${DESTDIR}${PREFIX}
|
|
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}
|
|
|
|
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
|