Debian Codegraph @

Xpjproject/pjsip-apps/src/swig/Makefile

raw symbols SCIP
1 include ../../../build.mak
2
3 ifneq ($(findstring android,$(TARGET_NAME)),)
4 # no python for android
5 LANG = java csharp
6 else
7 ifneq ($(findstring ios,$(TARGET_NAME)),)
8 LANG = csharp
9 else
10 LANG = python java
11 endif
12 endif
13
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))
18
19 .PHONY: all clean dep depend distclean print realclean install uninstall csharp java python
20
21 all: symbols.i
22
23 all clean dep depend distclean print realclean install uninstall: $(LANG)
24
25 java python csharp:
26 ifeq ($(CMD_is_lang),)
27 $(MAKE) $(MAKE_FLAGS) --no-print-directory -C $@ $(MAKECMDGOALS)
28 else
29 $(MAKE) $(MAKE_FLAGS) --no-print-directory -C $@
30 endif
31
32 symbols.i: symbols.lst
33 @echo warning: file symbols.i is out of date. Run 'make symbol'.
34
35 symbol symbols:
36 python importsym.py