source: swig/python/Makefile @ c987819

abac0-leakabac0-meicompt_changesgec13mei-idmei-rt0-nmei_rt0mei_rt2mei_rt2_fix_1meiyap-rt1meiyap1rt2tvf-new-xml
Last change on this file since c987819 was 06e2fc5, checked in by Mike Ryan <mikeryan@…>, 14 years ago

add swig

  • Property mode set to 100644
File size: 315 bytes
Line 
1all: _ABAC.so ABAC.py
2
3_ABAC.so: abac_wrap.o
4        g++ -shared abac_wrap.o -labac -lstrongswan -o _ABAC.so
5
6abac_wrap.o: abac_wrap.cxx
7        g++ -g -c abac_wrap.cxx -I/usr/include/python2.6
8
9abac_wrap.cxx ABAC.py: abac.i language.i
10        swig -c++ -python abac.i
11
12clean:
13        rm -f _ABAC.so ABAC.py ABAC.pyc abac_wrap.o abac_wrap.cxx
Note: See TracBrowser for help on using the repository browser.