blob: 815e0e18017511068cfbe893901049fe8eeb82dd [file] [log] [blame]
include ../../../build.mak
ifneq ($(findstring android,$(TARGET_NAME)),)
# no python for android
DIRS = java
else
DIRS = python java
endif
export SWIG_FLAGS=-I../../../../pjlib/include \
-I../../../../pjlib-util/include \
-I../../../../pjmedia/include \
-I../../../../pjsip/include \
-I../../../../pjnath/include -c++
export SRC_DIR=../../../../pjsip/include
export SRCS=$(SRC_DIR)/pjsua2/endpoint.hpp $(SRC_DIR)/pjsua2/types.hpp
.PHONY: all clean dep depend distclean print realclean install uninstall
all: symbols.i
all clean dep depend distclean print realclean install uninstall:
for dir in $(DIRS); do \
if $(MAKE) $(MAKE_FLAGS) -C $$dir $@; then \
true; \
else \
exit 1; \
fi; \
done
symbols.i: symbols.lst
python importsym.py