- Timestamp:
- Nov 1, 2013 7:11:48 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/projects/pjsua2/pjsip-apps/src/swig/python/Makefile
r4619 r4639 1 1 PYTHON_SO=_pjsua2.so 2 2 3 PYTHON_SETUP_FLAGS = --inplace3 #PYTHON_SETUP_FLAGS = --inplace 4 4 ifeq ($(OS),Windows_NT) 5 5 PYTHON_SETUP_FLAGS += --compiler=mingw32 6 6 endif 7 7 8 .PHONY: all 8 SWIG_FLAGS += -w312 9 10 .PHONY: all install uninstall 9 11 10 12 all: $(PYTHON_SO) 11 13 12 14 $(PYTHON_SO): pjsua2_wrap.cpp setup.py 13 python setup.py build _ext$(PYTHON_SETUP_FLAGS)15 python setup.py build $(PYTHON_SETUP_FLAGS) 14 16 15 pjsua2_wrap.cpp: ../pjsua2.i $(SRCS)17 pjsua2_wrap.cpp: ../pjsua2.i ../symbols.i Makefile $(SRCS) 16 18 swig $(SWIG_FLAGS) -python -o pjsua2_wrap.cpp ../pjsua2.i 17 19 18 20 clean distclean realclean: 19 21 rm -rf $(PYTHON_SO) pjsua2_wrap.cpp pjsua2_wrap.h pjsua2.py build *.pyc 22 23 install: 24 python setup.py install --user 25 26 uninstall: 27 rm -f $(HOME)/.local/lib/python2.7/site-packages/pjsua2* 28 rm -f $(HOME)/.local/lib/python2.7/site-packages/_pjsua2* 29
Note: See TracChangeset
for help on using the changeset viewer.