2009-03-26 03:53:26 +08:00
|
|
|
PKGNAME radare2
|
2009-09-25 10:13:40 +08:00
|
|
|
VERSION 0.3b
|
2009-03-26 03:53:26 +08:00
|
|
|
CONTACT pancake ; pancake@nopcode.org
|
|
|
|
|
|
|
|
LANG_C!
|
|
|
|
|
2009-04-20 04:55:25 +08:00
|
|
|
ARG_WITHOUT DEBUGGER debugger disable native debugger features ;
|
|
|
|
|
2010-01-15 20:02:54 +08:00
|
|
|
(( -ldl -dynamic ... ))
|
|
|
|
USE_DL
|
|
|
|
|
2010-01-13 02:57:33 +08:00
|
|
|
CHECK_ENDIAN
|
2009-03-31 08:57:39 +08:00
|
|
|
CHKLIB ewf
|
|
|
|
ARG_WITHOUT HAVE_EWF ewf disable EWF dependency ;
|
|
|
|
IF HAVE_EWF { HAVE_LIB_EWF = 0 ; }
|
|
|
|
|
2009-04-07 06:53:25 +08:00
|
|
|
CHKLIB tcc
|
|
|
|
|
2009-04-03 19:11:17 +08:00
|
|
|
(( rules for the compiler ))
|
|
|
|
ARG_WITH USERCC=gcc compiler Define compiler to use (see mk/) ;
|
|
|
|
ARG_WITH USEROSTYPE=gnulinux ostype Choose OS type ( gnulinux windows osx ) ;
|
|
|
|
|
2010-01-13 02:57:33 +08:00
|
|
|
ARG_WITHOUT WANT_VALASWIG valaswig disables the build of the valaswig bindings for python, perl, ruby ;
|
|
|
|
CHKPRG VALASWIG valaswig
|
|
|
|
CHKPRG SWIG swig
|
|
|
|
|
|
|
|
IF WANT_VALASWIG {
|
|
|
|
IFNOT HAVE_SWIG {
|
|
|
|
ECHO valaswig depends on swig ;
|
|
|
|
HAVE_VALASWIG = 0 ;
|
|
|
|
}
|
|
|
|
}{
|
|
|
|
HAVE_VALASWIG = 0 ;
|
|
|
|
}
|
|
|
|
|
2009-04-01 09:30:36 +08:00
|
|
|
ARG_WITHOUT WANT_VALA vala disables the build of all the vala-dependant parts ;
|
2009-03-31 08:57:39 +08:00
|
|
|
CHKPRG VALAC valac
|
2009-04-01 09:30:36 +08:00
|
|
|
|
2009-03-31 08:57:39 +08:00
|
|
|
(( temporary fix to avoid vala ))
|
2009-04-01 09:30:36 +08:00
|
|
|
IF WANT_VALA {
|
|
|
|
CHKVER vala-1.0 0.5.0
|
|
|
|
IFNOT HAVE_VALA_1_0_VERSION_0_5_0 {
|
|
|
|
ECHO Needs vala 0.5.0 at least ;
|
|
|
|
HAVE_VALAC = 0 ;
|
|
|
|
VALAC = '' ;
|
|
|
|
}
|
|
|
|
}{
|
|
|
|
HAVE_VALAC = 0 ;
|
2009-03-31 08:57:39 +08:00
|
|
|
}
|
|
|
|
|
2010-01-13 02:57:33 +08:00
|
|
|
REPORT PREFIX HAVE_VALASWIG HAVE_LIB_EWF HAVE_LIB_TCC HAVE_VALAC DEBUGGER USERCC USEROSTYPE ;
|
2009-03-31 08:57:39 +08:00
|
|
|
|
2009-07-16 08:30:20 +08:00
|
|
|
(( TODO: Add the rest of .pc files here.. add a rule for acr? ))
|
|
|
|
SUBDIRS ./config-user.mk libr/include/r_userconf.h
|
|
|
|
pkgcfg/libr.pc
|
2009-07-16 17:40:00 +08:00
|
|
|
pkgcfg/r_io.pc
|
2009-07-16 08:30:20 +08:00
|
|
|
pkgcfg/r_asm.pc
|
|
|
|
pkgcfg/r_bin.pc
|
2009-07-16 17:40:00 +08:00
|
|
|
pkgcfg/r_cons.pc
|
|
|
|
pkgcfg/r_diff.pc
|
|
|
|
pkgcfg/r_core.pc
|
2009-09-20 07:03:57 +08:00
|
|
|
pkgcfg/r_lang.pc
|
2009-07-16 17:40:00 +08:00
|
|
|
pkgcfg/r_socket.pc
|
2009-09-20 06:28:06 +08:00
|
|
|
pkgcfg/r_debug.pc
|
|
|
|
pkgcfg/r_reg.pc
|
2009-07-16 17:40:00 +08:00
|
|
|
pkgcfg/r_line.pc
|
|
|
|
pkgcfg/r_syscall.pc
|
|
|
|
pkgcfg/r_macro.pc
|
2009-07-16 08:30:20 +08:00
|
|
|
pkgcfg/r_util.pc
|
|
|
|
pkgcfg/r_search.pc
|
2009-07-16 17:40:00 +08:00
|
|
|
pkgcfg/r_vm.pc
|
2009-07-22 06:59:34 +08:00
|
|
|
pkgcfg/r_th.pc
|
|
|
|
pkgcfg/r_bp.pc
|
|
|
|
pkgcfg/r_db.pc
|
2009-07-16 08:30:20 +08:00
|
|
|
;
|