mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-27 23:20:40 +00:00
b881d4b080
* Fix x86-linux using sys/user.h and getoffset() macro * Some more work on r_mem_copybits - Bit level registers are now working (get/set) - reg/t test example is now getting/settings bit flags * Added support for full serialization of all registers
53 lines
1.4 KiB
Makefile
53 lines
1.4 KiB
Makefile
include config-user.mk
|
|
include config.mk
|
|
|
|
all:
|
|
cd libr && ${MAKE} all
|
|
|
|
clean:
|
|
cd libr && make clean
|
|
|
|
vdoc:
|
|
rm -rf vdoc
|
|
valadoc -o vdoc libr/vapi/*.vapi
|
|
# rsync -avz vdoc/* pancake@radare.org:/srv/http/radareorg/vdoc/
|
|
|
|
mrproper:
|
|
cd libr && make mrproper
|
|
|
|
pkgcfg:
|
|
cd libr && make pkgcfg
|
|
|
|
install:
|
|
${INSTALL_DIR} ${DESTDIR}${PREFIX}/share/doc/radare2
|
|
for a in doc/* ; do ${INSTALL_DATA} $$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:
|
|
VERSION=${VERSION} ; \
|
|
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-${VERSION}.tar.gz news.nopcode.org:/home/www/radarenopcode/get/shot ; fi
|
|
|
|
shot:
|
|
DATE=`date '+%Y%m%d'` ; \
|
|
FILES=`hg status -mc|cut -c 3-|sed -e s,^,radare2-$${DATE}/,`; \
|
|
cd .. && mv radare2 radare2-$${DATE} && \
|
|
tar czvf radare2-$${DATE}.tar.gz $${FILES} ;\
|
|
mv radare2-$${DATE} radare2 && \
|
|
scp radare2-$${DATE}.tar.gz news.nopcode.org:/home/www/radarenopcode/get/shot
|
|
|
|
include ${MKPLUGINS}
|
|
|
|
.PHONY: all clean mrproper install uninstall deinstall dist shot pkgcfg vdoc
|