rizin/r2-bindings/php5/Makefile
pancake 55f5dc283e * Initial support for php5 bindings
- Does not link on OSX. maybe in Linux it does..
  - Requires valabind-hg
* Add mp.py to get python module path (magic!)
  - Fixes install-python target in
  - Add purge-python makefile target
* Check for */*cxx to autodetect support
2011-10-26 01:52:05 +02:00

13 lines
378 B
Makefile

LANG=php5
LANG_EXT=php5
LIBS_PFX=
include ../rules.mk
tri:
valaswig -o r_debug.i -m r_debug --vapidir ../../libr/vapi/ r_debug
swig -lua -I/usr/include/libr r_debug.i
gcc r_debug_wrap.c -shared -fPIC -I /usr/include/libr -I /usr/include/lua5.1/ -o _r_debug.so -lr_debug -lr_bp -lr_reg -lr_util
bis:
valaswig-cc lua r_io -I../../libr/include r_io `pkg-config --libs r_io`