blob: 71f97bb9f80328ec80288759e7d68e81f97f08dc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
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
@echo ** Warning **: file symbols.i is out of date. Run 'make symbol'.
symbol symbols:
python importsym.py
|