radare2/Makefile
pancake d41e40ba05 * Huge build system refactoring
- Make proper use of the config-user.mk
  - Accelerate build by manually checking timestamps of bin/lib to objs/srcs
  - Use '-MD' by default
  - Lot of minor fixups done in multiple places
  - Fix PREFIX/LIBDIR installation/loading problems for plugins
  - Some segfaults has been fixed
  - Use R_API in r_core and r_lib
* Add 'vm' to be build by libr by default
* Add 'libs.c' in core/ to manage plugins from core
  - Added 'dir.plugins'
  - Make '-e' and '-L' radare2 flags work
  - Plugins are not loaded multiple times now
* Added r_lib_types string array containing plugin types strings
* Minor fixups in r_debug
  - Properly check 'contsc' delegate
  - Separate r_debug_wait()
* Rename dbg-ptrace into dbg_ptrace

--HG--
rename : libr/debug/p/dbg-ptrace.c => libr/debug/p/dbg_ptrace.c
2009-04-01 00:28:13 +00:00

30 lines
779 B
Makefile

include config-user.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