Changeset 6156
- Timestamp:
- Feb 4, 2020 11:14:21 AM (5 years ago)
- Location:
- pjproject/trunk/pjsip-apps/src/swig
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip-apps/src/swig/Makefile
r5776 r6156 3 3 ifneq ($(findstring android,$(TARGET_NAME)),) 4 4 # no python for android 5 DIRS= java csharp5 LANG = java csharp 6 6 else 7 7 ifneq ($(findstring ios,$(TARGET_NAME)),) 8 DIRS= csharp8 LANG = csharp 9 9 else 10 DIRS= python java10 LANG = python java 11 11 endif 12 12 endif 13 13 14 export SWIG_FLAGS=-I../../../../pjlib/include \ 15 -I../../../../pjlib-util/include \ 16 -I../../../../pjmedia/include \ 17 -I../../../../pjsip/include \ 18 -I../../../../pjnath/include -c++ 19 export SRC_DIR=../../../../pjsip/include 20 export SRCS=$(SRC_DIR)/pjsua2/endpoint.hpp $(SRC_DIR)/pjsua2/types.hpp 14 CMD_is_java := $(findstring java, $(MAKECMDGOALS)) 15 CMD_is_python := $(findstring python, $(MAKECMDGOALS)) 16 CMD_is_csharp := $(findstring csharp, $(MAKECMDGOALS)) 17 CMD_is_lang := $(or $(CMD_is_java), $(CMD_is_python), $(CMD_is_csharp)) 21 18 22 .PHONY: all clean dep depend distclean print realclean install uninstall 19 .PHONY: all clean dep depend distclean print realclean install uninstall csharp java python 23 20 24 21 all: symbols.i 22 23 all clean dep depend distclean print realclean install uninstall: $(LANG) 25 24 26 all clean dep depend distclean print realclean install uninstall: 27 for dir in $(DIRS); do \ 28 if $(MAKE) $(MAKE_FLAGS) -C $$dir $@; then \ 29 true; \ 30 else \ 31 exit 1; \ 32 fi; \ 33 done 34 35 csharp: 36 $(MAKE) $(MAKE_FLAGS) -C csharp $@ 25 java python csharp: 26 ifeq ($(CMD_is_lang),) 27 $(MAKE) $(MAKE_FLAGS) -C $@ $(MAKECMDGOALS) 28 else 29 $(MAKE) $(MAKE_FLAGS) -C $@ 30 endif 37 31 38 32 symbols.i: symbols.lst … … 41 35 symbol symbols: 42 36 python importsym.py 43 -
pjproject/trunk/pjsip-apps/src/swig/csharp/Makefile
r5735 r6156 9 9 endif 10 10 endif 11 SWIG_FLAGS=-I../../../../pjlib/include \ 12 -I../../../../pjlib-util/include \ 13 -I../../../../pjmedia/include \ 14 -I../../../../pjsip/include \ 15 -I../../../../pjnath/include -c++ 16 SRC_DIR=../../../../pjsip/include 17 SRCS=$(SRC_DIR)/pjsua2/endpoint.hpp $(SRC_DIR)/pjsua2/types.hpp 11 18 12 19 SWIG_FLAGS += -w312 -
pjproject/trunk/pjsip-apps/src/swig/java/Makefile
r6120 r6156 1 1 include ../../../../build.mak 2 2 include ../../../../build/common.mak 3 4 SWIG_FLAGS=-I../../../../pjlib/include \ 5 -I../../../../pjlib-util/include \ 6 -I../../../../pjmedia/include \ 7 -I../../../../pjsip/include \ 8 -I../../../../pjnath/include -c++ 9 SRC_DIR=../../../../pjsip/include 10 SRCS=$(SRC_DIR)/pjsua2/endpoint.hpp $(SRC_DIR)/pjsua2/types.hpp 3 11 4 12 ifneq ($(findstring android,$(TARGET_NAME)),) -
pjproject/trunk/pjsip-apps/src/swig/python/Makefile
r6152 r6156 18 18 GCC_EXE= 19 19 endif 20 21 SWIG_FLAGS=-I../../../../pjlib/include \ 22 -I../../../../pjlib-util/include \ 23 -I../../../../pjmedia/include \ 24 -I../../../../pjsip/include \ 25 -I../../../../pjnath/include -c++ 26 SRC_DIR=../../../../pjsip/include 27 SRCS=$(SRC_DIR)/pjsua2/endpoint.hpp $(SRC_DIR)/pjsua2/types.hpp 20 28 21 29 #USE_THREADS = -threads -DSWIG_NO_EXPORT_ITERATOR_METHODS
Note: See TracChangeset
for help on using the changeset viewer.