2012-02-18 00:49:59 +00:00
|
|
|
-include config-user.mk
|
2010-01-15 00:32:28 +00:00
|
|
|
include global.mk
|
2009-03-05 12:15:28 +00:00
|
|
|
|
2014-06-26 18:09:59 +00:00
|
|
|
DESTDIR:=$(call rmbdlslash,$(DESTDIR))
|
|
|
|
WWWROOT:=$(call rmbdlslash,$(WWWROOT))
|
2013-12-19 22:54:52 +00:00
|
|
|
R2R=radare2-regressions
|
2013-12-20 01:10:36 +00:00
|
|
|
R2R_URL=$(shell doc/repo REGRESSIONS)
|
2014-06-26 18:09:59 +00:00
|
|
|
DLIBDIR=$(call rmdblslash,$(DESTDIR)/$(LIBDIR))
|
|
|
|
WWWROOT=${DATADIR}/radare2/${VERSION}/www
|
2014-10-04 12:54:35 +00:00
|
|
|
R2BINS=$(shell cd binr ; echo r*2 r2agent)
|
2014-10-21 09:49:33 +00:00
|
|
|
DATADIRS=libr/cons/d libr/bin/d libr/asm/d libr/syscall/d libr/magic/d
|
2015-04-03 15:36:42 +00:00
|
|
|
R2VC=$(shell git rev-list --all --count)
|
2015-05-25 16:27:59 +00:00
|
|
|
USE_ZIP=YES
|
|
|
|
ZIP=zip
|
2015-04-28 21:47:44 +00:00
|
|
|
ifeq ($(R2VC),)
|
|
|
|
R2VC=9999999
|
|
|
|
endif
|
2012-10-03 12:31:35 +00:00
|
|
|
#binr/ragg2/d
|
2012-02-17 12:55:54 +00:00
|
|
|
STRIP?=strip
|
2013-07-07 21:03:10 +00:00
|
|
|
#ifneq ($(shell bsdtar -h 2>/dev/null|grep bsdtar),)
|
|
|
|
ifneq ($(shell xz --help 2>/dev/null|grep improve),)
|
|
|
|
TAR=tar -cvf
|
|
|
|
TAREXT=tar.xz
|
|
|
|
CZ=xz -f
|
2011-07-18 22:12:36 +00:00
|
|
|
else
|
2013-07-07 21:03:10 +00:00
|
|
|
TAR=bsdtar cvf
|
|
|
|
TAREXT=tar.gz
|
|
|
|
CZ=gzip -f
|
2011-07-18 22:12:36 +00:00
|
|
|
endif
|
2014-09-01 13:50:04 +00:00
|
|
|
PWD=$(shell pwd)
|
2010-10-29 01:38:43 +00:00
|
|
|
|
2015-02-06 23:09:14 +00:00
|
|
|
all: plugins.cfg libr/include/r_version.h
|
2014-08-10 23:06:21 +00:00
|
|
|
${MAKE} -C shlr/zip
|
2013-06-25 15:35:36 +00:00
|
|
|
${MAKE} -C libr/util
|
2014-07-17 08:34:53 +00:00
|
|
|
${MAKE} -C libr/socket
|
2014-05-08 00:58:20 +00:00
|
|
|
${MAKE} -C shlr
|
|
|
|
${MAKE} -C libr
|
|
|
|
${MAKE} -C binr
|
2010-01-13 22:42:49 +00:00
|
|
|
|
2015-02-06 23:09:14 +00:00
|
|
|
.PHONY: libr/include/r_version.h
|
|
|
|
libr/include/r_version.h:
|
|
|
|
echo "#define R2_VERSION_COMMIT $(R2VC)" > $@.tmp
|
2015-04-10 09:22:45 +00:00
|
|
|
cmp $@.tmp $@ > /dev/null 2>&1 || mv $@.tmp $@
|
2015-02-06 23:09:14 +00:00
|
|
|
|
2010-01-13 22:42:49 +00:00
|
|
|
plugins.cfg:
|
2011-05-15 23:47:01 +00:00
|
|
|
@if [ ! -e config-user.mk ]; then echo ; \
|
|
|
|
echo " Please, run ./configure first" ; echo ; exit 1 ; fi
|
2010-01-13 22:42:49 +00:00
|
|
|
./configure-plugins
|
2010-01-12 18:57:33 +00:00
|
|
|
|
2010-10-17 23:51:00 +00:00
|
|
|
w32:
|
2013-07-04 01:34:28 +00:00
|
|
|
sys/mingw32.sh
|
2010-10-17 23:51:00 +00:00
|
|
|
|
2012-09-02 23:27:52 +00:00
|
|
|
depgraph.png:
|
|
|
|
cd libr ; perl depgraph.pl | dot -Tpng -odepgraph.png
|
|
|
|
|
|
|
|
android:
|
|
|
|
@if [ -z "$(NDK_ARCH)" ]; then echo "Set NDK_ARCH=[arm|mips|x86]" ; false; fi
|
|
|
|
sys/android-${NDK_ARCH}.sh
|
|
|
|
|
2010-01-15 16:02:04 +00:00
|
|
|
w32dist:
|
2015-03-20 12:07:56 +00:00
|
|
|
${MAKE} windist WINBITS=w32
|
|
|
|
|
|
|
|
w64dist:
|
|
|
|
${MAKE} windist WINBITS=w64
|
|
|
|
|
|
|
|
WINDIST=${WINBITS}dist
|
|
|
|
|
|
|
|
windist:
|
|
|
|
[ -n "${WINBITS}" ] || exit 1
|
|
|
|
rm -rf radare2-${WINBITS}-${VERSION} ${WINDIST}
|
|
|
|
mkdir ${WINDIST}
|
|
|
|
for a in `find libr | grep -e dll$$`; do cp $$a ${WINDIST} ; done
|
|
|
|
for a in `find binr | grep -e exe$$`; do cp $$a ${WINDIST} ; done
|
|
|
|
rm -f ${WINDIST}/plugin.dll
|
|
|
|
mkdir -p ${WINDIST}/www
|
|
|
|
cp -rf shlr/www/* ${WINDIST}/www
|
|
|
|
mkdir -p ${WINDIST}/radare2/${VERSION}/magic
|
|
|
|
cp -f libr/magic/d/default/* ${WINDIST}/radare2/${VERSION}/magic
|
|
|
|
mkdir -p ${WINDIST}/radare2/${VERSION}/syscall
|
|
|
|
cp -f libr/syscall/d/*.sdb ${WINDIST}/radare2/${VERSION}/syscall
|
|
|
|
mkdir -p ${WINDIST}/radare2/${VERSION}/opcodes
|
|
|
|
cp -f libr/asm/d/*.sdb ${WINDIST}/radare2/${VERSION}/opcodes
|
|
|
|
mkdir -p ${WINDIST}/share/doc/radare2
|
2015-04-03 18:48:06 +00:00
|
|
|
mkdir -p ${WINDIST}/include/libr/sdb
|
|
|
|
cp -f libr/include/sdb/*.h ${WINDIST}/include/libr/sdb/
|
|
|
|
cp -f libr/include/*.h ${WINDIST}/include/libr
|
2015-03-20 12:07:56 +00:00
|
|
|
#mkdir -p ${WINDIST}/include/libr/sflib
|
|
|
|
cp -f doc/fortunes.* ${WINDIST}/share/doc/radare2
|
2015-04-24 13:48:28 +00:00
|
|
|
mkdir -p ${WINDIST}/share/radare2/${VERSION}/cons
|
|
|
|
cp -f libr/cons/d/* ${WINDIST}/share/radare2/${VERSION}/cons
|
|
|
|
mkdir -p ${WINDIST}/radare2/${VERSION}/hud
|
|
|
|
cp -f doc/hud ${WINDIST}/radare2/${VERSION}/hud/main
|
2015-03-20 12:07:56 +00:00
|
|
|
mv ${WINDIST} radare2-${WINBITS}-${VERSION}
|
|
|
|
rm -f radare2-${WINBITS}-${VERSION}.zip
|
2015-05-25 16:27:59 +00:00
|
|
|
ifneq ($(USE_ZIP),NO)
|
|
|
|
$(ZIP) -r radare2-${WINBITS}-${VERSION}.zip radare2-${WINBITS}-${VERSION}
|
|
|
|
endif
|
2010-01-15 16:02:04 +00:00
|
|
|
|
2014-11-22 01:51:35 +00:00
|
|
|
clean: rmd
|
2013-04-26 01:15:39 +00:00
|
|
|
for a in shlr libr binr ; do (cd $$a ; ${MAKE} clean) ; done
|
2010-01-13 22:42:49 +00:00
|
|
|
|
2013-01-23 00:53:32 +00:00
|
|
|
distclean mrproper:
|
2014-10-28 08:46:24 +00:00
|
|
|
-rm -f `find . -type f -name *.d`
|
2012-09-04 00:09:01 +00:00
|
|
|
for a in libr binr shlr ; do ( cd $$a ; ${MAKE} mrproper) ; done
|
2012-09-03 23:46:12 +00:00
|
|
|
rm -f config-user.mk plugins.cfg libr/config.h
|
|
|
|
rm -f libr/include/r_userconf.h libr/config.mk
|
2010-06-15 12:10:42 +00:00
|
|
|
rm -f pkgcfg/*.pc
|
2009-06-15 02:44:05 +00:00
|
|
|
|
2009-07-16 00:30:20 +00:00
|
|
|
pkgcfg:
|
2010-01-22 13:19:10 +00:00
|
|
|
cd libr && ${MAKE} pkgcfg
|
2009-07-16 00:30:20 +00:00
|
|
|
|
2010-03-12 17:46:11 +00:00
|
|
|
install-man:
|
2014-07-09 23:13:04 +00:00
|
|
|
mkdir -p "${MDR}/man1"
|
|
|
|
for a in man/*.1 ; do ${INSTALL_MAN} "$$a" "${MDR}/man1" ; done
|
|
|
|
cd "${MDR}/man1" && ln -fs radare2.1 r2.1
|
2010-06-18 15:52:30 +00:00
|
|
|
|
|
|
|
install-man-symlink:
|
2014-07-09 23:13:04 +00:00
|
|
|
mkdir -p "${MDR}/man1"
|
|
|
|
cd man && for a in *.1 ; do \
|
|
|
|
ln -fs "${PWD}/man/$$a" "${MDR}/man1/$$a" ; done
|
|
|
|
cd "${MDR}/man1" && ln -fs radare2.1 r2.1
|
2010-03-12 17:46:11 +00:00
|
|
|
|
2011-02-17 00:22:15 +00:00
|
|
|
install-doc:
|
2014-07-09 23:13:04 +00:00
|
|
|
${INSTALL_DIR} "${PFX}/share/doc/radare2"
|
|
|
|
for a in doc/* ; do ${INSTALL_DATA} $$a "${PFX}/share/doc/radare2" ; done
|
2011-02-17 00:22:15 +00:00
|
|
|
|
|
|
|
install-doc-symlink:
|
2014-07-09 23:13:04 +00:00
|
|
|
${INSTALL_DIR} "${PFX}/share/doc/radare2"
|
2013-04-18 21:11:12 +00:00
|
|
|
cd doc ; for a in * ; do \
|
2014-07-09 23:13:04 +00:00
|
|
|
ln -fs "${PWD}/doc/$$a" "${PFX}/share/doc/radare2" ; done
|
2011-02-17 00:22:15 +00:00
|
|
|
|
2015-04-18 08:35:57 +00:00
|
|
|
install love: install-doc install-man install-www
|
2014-07-09 23:13:04 +00:00
|
|
|
cd libr && ${MAKE} install PREFIX="${PREFIX}" DESTDIR="${DESTDIR}" PARENT=1
|
|
|
|
cd binr && ${MAKE} install PREFIX="${PREFIX}" DESTDIR="${DESTDIR}"
|
|
|
|
cd shlr && ${MAKE} install PREFIX="${PREFIX}" DESTDIR="${DESTDIR}"
|
2011-11-29 02:14:27 +00:00
|
|
|
for a in ${DATADIRS} ; do \
|
2014-07-09 23:13:04 +00:00
|
|
|
(cd $$a ; ${MAKE} install LIBDIR="${LIBDIR}" PREFIX="${PREFIX}" DESTDIR="${DESTDIR}" ); \
|
2011-11-29 02:14:27 +00:00
|
|
|
done
|
2014-07-09 23:13:04 +00:00
|
|
|
mkdir -p "${DLIBDIR}/radare2/${VERSION}/hud"
|
|
|
|
cp -f doc/hud "${DLIBDIR}/radare2/${VERSION}/hud/main"
|
2014-06-26 18:09:59 +00:00
|
|
|
mkdir -p $(call rmdblslash,${DESTDIR}/${PREFIX}/share/radare2/${VERSION}/)
|
2013-06-16 23:39:49 +00:00
|
|
|
sys/ldconfig.sh
|
2009-02-05 21:28:33 +00:00
|
|
|
|
2014-11-22 01:51:35 +00:00
|
|
|
# Remove make .d files. fixes build when .c files are removed
|
|
|
|
rmd:
|
|
|
|
rm -vf `find . -type f -iname *.d`
|
|
|
|
|
2012-09-06 01:12:54 +00:00
|
|
|
install-www:
|
2014-06-26 18:09:59 +00:00
|
|
|
rm -rf $(call rmdblslash,${DESTDIR}/${WWWROOT})
|
2013-04-18 21:11:12 +00:00
|
|
|
rm -rf ${DLIBDIR}/radare2/${VERSION}/www # old dir
|
2014-06-26 18:09:59 +00:00
|
|
|
mkdir -p $(call rmdblslash,${DESTDIR}/${WWWROOT})
|
|
|
|
cp -rf shlr/www/* $(call rmdblslash,${DESTDIR}/${WWWROOT})
|
2012-09-06 01:12:54 +00:00
|
|
|
|
2014-07-09 23:13:04 +00:00
|
|
|
WWWDIR=$(call rmdblslash,${DESTDIR}/${DATADIR}/radare2/${VERSION}/www)
|
2012-09-06 01:12:54 +00:00
|
|
|
symstall-www:
|
2014-06-26 18:09:59 +00:00
|
|
|
rm -rf $(call rmdblslash,${DESTDIR}/${WWWROOT})
|
2013-04-18 21:11:12 +00:00
|
|
|
rm -rf ${DLIBDIR}/radare2/${VERSION}/www # old dir
|
2014-07-09 23:13:04 +00:00
|
|
|
mkdir -p "$(call rmdblslash,${DESTDIR}/${WWWROOT})"
|
|
|
|
cd $(call rmdblslash,${DESTDIR}/${WWWROOT}) ; \
|
|
|
|
for a in "${PWD}/shlr/www/"* ; do \
|
|
|
|
ln -fs $$a "$(WWWDIR)" ; done
|
2012-09-06 01:12:54 +00:00
|
|
|
|
2011-02-27 20:56:13 +00:00
|
|
|
install-pkgconfig-symlink:
|
2014-07-09 23:13:04 +00:00
|
|
|
@${INSTALL_DIR} "${DLIBDIR}/pkgconfig"
|
|
|
|
cd pkgcfg ; for a in *.pc ; do \
|
|
|
|
ln -fs "$${PWD}/$$a" "${DLIBDIR}/pkgconfig/$$a" ; done
|
|
|
|
|
2011-02-27 20:56:13 +00:00
|
|
|
|
2012-09-06 01:12:54 +00:00
|
|
|
symstall install-symlink: install-man-symlink install-doc-symlink install-pkgconfig-symlink symstall-www
|
2014-07-09 23:13:04 +00:00
|
|
|
cd libr && ${MAKE} install-symlink PREFIX=${PREFIX} DESTDIR="${DESTDIR}"
|
|
|
|
cd binr && ${MAKE} install-symlink PREFIX=${PREFIX} DESTDIR="${DESTDIR}"
|
|
|
|
cd shlr && ${MAKE} install-symlink PREFIX=${PREFIX} DESTDIR="${DESTDIR}"
|
2012-09-03 23:46:12 +00:00
|
|
|
for a in ${DATADIRS} ; do (\
|
|
|
|
cd $$a ; \
|
|
|
|
echo $$a ; \
|
2014-07-09 23:13:04 +00:00
|
|
|
${MAKE} install-symlink LIBDIR="${LIBDIR}" \
|
|
|
|
PREFIX="${PREFIX}" DESTDIR="${DESTDIR}" ); \
|
2011-11-29 02:14:27 +00:00
|
|
|
done
|
2014-07-09 23:13:04 +00:00
|
|
|
mkdir -p "${DLIBDIR}/radare2/${VERSION}/hud"
|
|
|
|
cd "$(call rmdblslash,$(DESTDIR)/$(PREFIX)/lib/radare2/)" ;\
|
|
|
|
rm -f last ; ln -fs $(VERSION) last
|
|
|
|
cd "$(call rmdblslash,$(DESTDIR)/$(PREFIX)/share/radare2/)" ;\
|
|
|
|
rm -f last ; ln -fs $(VERSION) last
|
2014-09-06 00:22:38 +00:00
|
|
|
ln -fs "${PWD}/doc/hud" "${DLIBDIR}/radare2/${VERSION}/hud/main"
|
2014-07-09 23:13:04 +00:00
|
|
|
mkdir -p "$(call rmdblslash,${DESTDIR}/${PREFIX}/share/radare2/${VERSION}/)"
|
2013-06-16 23:39:49 +00:00
|
|
|
sys/ldconfig.sh
|
2010-05-24 15:51:51 +00:00
|
|
|
|
2011-03-28 08:24:01 +00:00
|
|
|
deinstall uninstall:
|
2010-02-21 19:21:36 +00:00
|
|
|
cd libr && ${MAKE} uninstall PARENT=1 PREFIX=${PREFIX} DESTDIR=${DESTDIR}
|
2010-06-15 11:10:46 +00:00
|
|
|
cd binr && ${MAKE} uninstall PARENT=1 PREFIX=${PREFIX} DESTDIR=${DESTDIR}
|
2013-06-05 07:29:27 +00:00
|
|
|
cd shlr && ${MAKE} uninstall PARENT=1 PREFIX=${PREFIX} DESTDIR=${DESTDIR}
|
2011-10-14 08:09:53 +00:00
|
|
|
cd libr/syscall/d && ${MAKE} uninstall PARENT=1 PREFIX=${PREFIX} DESTDIR=${DESTDIR} LIBDIR=${LIBDIR}
|
2011-03-28 08:24:01 +00:00
|
|
|
@echo
|
|
|
|
@echo "Run 'make purge' to also remove installed files from previous versions of r2"
|
|
|
|
@echo
|
|
|
|
|
2012-02-17 12:23:58 +00:00
|
|
|
purge-doc:
|
|
|
|
rm -rf ${DESTDIR}/${PREFIX}/share/doc/radare2
|
2014-07-09 23:13:04 +00:00
|
|
|
cd man ; for a in *.1 ; do rm -f "${MDR}/man1/$$a" ; done
|
2012-02-17 12:23:58 +00:00
|
|
|
rm -f ${MDR}/man1/r2.1
|
|
|
|
|
2014-12-22 03:50:08 +00:00
|
|
|
user-wrap=echo "\#!/bin/sh" > ~/bin/$1 \
|
|
|
|
; echo "${PWD}/env.sh ${PREFIX} $1" >> ~/bin/$1 \
|
|
|
|
; chmod +x ~/bin/$1 ;
|
|
|
|
|
|
|
|
user-install:
|
|
|
|
mkdir -p ~/bin
|
|
|
|
$(foreach mod,$(R2BINS),$(call user-wrap,$(mod)))
|
|
|
|
|
|
|
|
user-uninstall:
|
|
|
|
$(foreach mod,$(R2BINS),rm -f ~/bin/$(mod))
|
|
|
|
-rmdir ~/bin
|
|
|
|
|
2012-02-17 12:23:58 +00:00
|
|
|
purge-dev:
|
2014-10-04 12:54:35 +00:00
|
|
|
rm -f ${DESTDIR}/${LIBDIR}/libr_*.${EXT_AR}
|
|
|
|
rm -f ${DESTDIR}/${LIBDIR}/pkgconfig/r_*.pc
|
2012-02-17 12:23:58 +00:00
|
|
|
rm -rf ${DESTDIR}/${INCLUDEDIR}/libr
|
|
|
|
rm -f ${DESTDIR}/${LIBDIR}/radare2/${VERSION}/-*
|
2014-10-04 12:54:35 +00:00
|
|
|
|
2014-11-22 01:51:35 +00:00
|
|
|
strip:
|
2012-08-06 15:34:01 +00:00
|
|
|
-for a in ${R2BINS} ; do ${STRIP} -s ${DESTDIR}/${BINDIR}/$$a 2> /dev/null ; done
|
2014-10-04 12:54:35 +00:00
|
|
|
-for a in ${DESTDIR}/${LIBDIR}/libr_*.${EXT_SO} \
|
|
|
|
${DESTDIR}/${LIBDIR}/libr2.${EXT_SO} ; do ${STRIP} -s $$a ; done
|
2012-02-17 12:23:58 +00:00
|
|
|
|
|
|
|
purge: purge-doc purge-dev
|
2012-08-06 15:34:01 +00:00
|
|
|
for a in ${R2BINS} ; do rm -f ${DESTDIR}/${BINDIR}/$$a ; done
|
2011-11-26 04:14:03 +00:00
|
|
|
rm -f ${DESTDIR}/${BINDIR}/ragg2-cc
|
2013-12-29 01:11:40 +00:00
|
|
|
rm -f ${DESTDIR}/${BINDIR}/r2
|
2011-11-02 01:01:24 +00:00
|
|
|
rm -f ${DESTDIR}/${LIBDIR}/libr_*
|
2014-10-04 12:54:35 +00:00
|
|
|
rm -f ${DESTDIR}/${LIBDIR}/libr2.${EXT_SO}
|
2011-07-19 09:25:11 +00:00
|
|
|
rm -rf ${DESTDIR}/${LIBDIR}/radare2
|
|
|
|
rm -rf ${DESTDIR}/${INCLUDEDIR}/libr
|
2009-03-06 00:38:23 +00:00
|
|
|
|
2009-03-05 12:15:28 +00:00
|
|
|
dist:
|
2013-11-10 23:55:34 +00:00
|
|
|
-[ configure -nt config-user.mk ] && ./configure --prefix=${PREFIX}
|
2012-08-13 16:06:24 +00:00
|
|
|
git log $$(git show-ref `git tag |tail -n1`)..HEAD > ChangeLog
|
2014-06-14 00:44:31 +00:00
|
|
|
cd shlr && ${MAKE} capstone-sync
|
2012-09-03 23:46:12 +00:00
|
|
|
DIR=`basename $$PWD` ; \
|
2012-08-13 23:48:39 +00:00
|
|
|
FILES=`git ls-files | sed -e s,^,radare2-${VERSION}/,` ; \
|
2015-06-04 22:53:36 +00:00
|
|
|
CS_FILES=`cd shlr/capstone ; git ls-files | grep -v pdf | grep -v xcode | grep -v msvc | grep -v suite | grep -v bindings | grep -v tests | sed -e s,^,radare2-${VERSION}/shlr/capstone/,` ; \
|
2012-09-03 23:46:12 +00:00
|
|
|
cd .. && mv $${DIR} radare2-${VERSION} && \
|
2014-05-25 01:58:58 +00:00
|
|
|
${TAR} radare2-${VERSION}.tar $${FILES} $${CS_FILES} radare2-${VERSION}/ChangeLog ;\
|
2013-07-07 21:03:10 +00:00
|
|
|
${CZ} radare2-${VERSION}.tar ; \
|
2012-09-03 23:46:12 +00:00
|
|
|
mv radare2-${VERSION} $${DIR}
|
2009-04-25 11:29:39 +00:00
|
|
|
|
|
|
|
shot:
|
|
|
|
DATE=`date '+%Y%m%d'` ; \
|
2012-08-13 16:06:24 +00:00
|
|
|
FILES=`git ls-files | sed -e s,^,radare2-${DATE}/,` ; \
|
2009-04-25 11:29:39 +00:00
|
|
|
cd .. && mv radare2 radare2-$${DATE} && \
|
2013-07-07 21:03:10 +00:00
|
|
|
${TAR} radare2-$${DATE}.tar $${FILES} ;\
|
|
|
|
${CZ} radare2-$${DATE}.tar ;\
|
2009-04-25 11:29:39 +00:00
|
|
|
mv radare2-$${DATE} radare2 && \
|
2013-07-07 21:03:10 +00:00
|
|
|
scp radare2-$${DATE}.${TAREXT} \
|
|
|
|
radare.org:/srv/http/radareorg/get/shot
|
2009-08-22 01:54:24 +00:00
|
|
|
|
2012-09-03 23:46:12 +00:00
|
|
|
tests:
|
2013-12-19 22:54:52 +00:00
|
|
|
@if [ -d $(R2R) ]; then \
|
|
|
|
cd $(R2R) ; git clean -xdf ; git pull ; \
|
2012-02-03 15:28:52 +00:00
|
|
|
else \
|
2014-12-30 04:19:50 +00:00
|
|
|
git clone --depth 1 ${R2R_URL} $(R2R); \
|
2012-02-03 15:28:52 +00:00
|
|
|
fi
|
2013-12-19 22:54:52 +00:00
|
|
|
cd $(R2R) ; ${MAKE}
|
2012-02-03 15:28:52 +00:00
|
|
|
|
2015-04-17 19:12:30 +00:00
|
|
|
quality:
|
|
|
|
./sys/shellcheck.sh
|
|
|
|
|
2009-08-22 01:54:24 +00:00
|
|
|
include ${MKPLUGINS}
|
2009-03-05 12:15:28 +00:00
|
|
|
|
2014-11-22 01:51:35 +00:00
|
|
|
.PHONY: all clean distclean mrproper install symstall uninstall deinstall strip
|
2015-04-18 08:35:57 +00:00
|
|
|
.PHONY: libr binr install-man w32dist tests dist shot pkgcfg depgraph.png love
|