Changeset 4744
- Timestamp:
- Feb 14, 2014 9:09:11 AM (11 years ago)
- Location:
- pjproject/trunk/pjsip-apps/src/swig/python
- Files:
-
- 1 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip-apps/src/swig/python
- Property svn:ignore
-
old new 4 4 pjsua2_wrap.h 5 5 _pjsua2.pyd 6 *.exe
-
- Property svn:ignore
-
pjproject/trunk/pjsip-apps/src/swig/python/Makefile
r4704 r4744 4 4 ifeq ($(OS),Windows_NT) 5 5 PYTHON_SETUP_FLAGS += --compiler=mingw32 6 GCC_EXE=gcc.exe 7 else 8 GCC_EXE= 6 9 endif 7 10 … … 12 15 all: $(PYTHON_SO) 13 16 14 $(PYTHON_SO): pjsua2_wrap.cpp setup.py 17 $(PYTHON_SO): pjsua2_wrap.cpp setup.py $(GCC_EXE) 15 18 python setup.py build $(PYTHON_SETUP_FLAGS) 19 20 gcc.exe: cc_mingw.c 21 gcc -o gcc.exe cc_mingw.c 22 cp gcc.exe g++.exe 16 23 17 24 pjsua2_wrap.cpp: ../pjsua2.i ../symbols.i Makefile $(SRCS) … … 20 27 clean distclean realclean: 21 28 rm -rf $(PYTHON_SO) pjsua2_wrap.cpp pjsua2_wrap.h pjsua2.py build *.pyc 29 rm -f gcc.exe g++.exe 22 30 23 31 install: -
pjproject/trunk/pjsip-apps/src/swig/python/helper.mak
r4704 r4744 3 3 lib_dir: 4 4 @for token in `echo $(APP_LDFLAGS)`; do \ 5 echo $$token | grep L | sed 's/-L//'; \5 echo $$token | grep \\-L | sed 's/-L//'; \ 6 6 done 7 7 8 8 inc_dir: 9 9 @for token in `echo $(APP_CFLAGS)`; do \ 10 echo $$token | grep I | sed 's/-I//'; \10 echo $$token | grep \\-I | sed 's/-I//'; \ 11 11 done 12 12 -
pjproject/trunk/pjsip-apps/src/swig/python/setup.py
r4741 r4744 99 99 extra_link_args += ["-framework", "AudioUnit"] 100 100 101 # MinGW specific action: put current working dir to PATH, so Python distutils 102 # will invoke our dummy gcc/g++ instead, which is in the current working dir. 103 if platform.system()=='Windows' and os.environ["MSYSTEM"].find('MINGW')!=-1: 104 os.environ["PATH"] = "." + os.pathsep + os.environ["PATH"] 101 105 102 106 setup(name="pjsua2",
Note: See TracChangeset
for help on using the changeset viewer.