• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Get the current local path as the first operation
2LOCAL_PATH := $(call get_makefile_dir)
3
4# Clear out the variables used in the local makefiles
5include $(MK)/clear.mk
6
7TARGET := pv2wayengine
8
9
10
11XCXXFLAGS += $(FLAG_COMPILE_WARNINGS_AS_ERRORS)
12XCPPFLAGS +=  -DPV_DISABLE_VIDRECNODE -DPV_DISABLE_DEVSOUNDNODES -DPV_DISABLE_DEVVIDEOPLAYNODE
13
14ifdef NO2WAYSIP
15XCPPFLAGS += -DNO_2WAY_SIP
16else
17XCPPFLAGS += -DSIP_VOIP_PROJECT=1
18endif
19
20ifdef NO2WAY324
21XCPPFLAGS += -DNO_2WAY_324
22endif
23
24ifeq ($(USING_OMX),1)
25XCPPFLAGS += -DPV2WAY_USE_OMX
26else
27XCPPFLAGS += -DPV_USE_AMR_CODECS
28endif
29
30
31XINCDIRS +=  ../../src  ../../include  ../../../common/include  \
32../../../../common/pvdebug/src \
33 ../../../../protocols/systems/3g-324m_pvterminal/h324/tsc/include \
34 ../../../../protocols/systems/3g-324m_pvterminal/common/include \
35 ../../../../protocols/systems/3g-324m_pvterminal/h245/cmn/include \
36 ../../../../protocols/systems/3g-324m_pvterminal/h245/per/include \
37 ../../../../protocols/systems/3g-324m_pvterminal/h245/se/include \
38 ../../../../protocols/systems/3g-324m_pvterminal/h324/srp/include  \
39../../../../protocols/systems/3g-324m_pvterminal/h324/tsc/include  \
40../../../../protocols/systems/3g-324m_pvterminal/h223/include  \
41../../../../protocols/systems/common/include  \
42../../../../protocols/systems/tools/general/common/include  \
43../../../../nodes/streaming/common/include \
44../../../../nodes/pvmediainputnode/include
45
46ifeq ($(USING_OMX),1)
47XINCDIRS +=  ../../../../extern_libs_v2/khronos/openmax/include \
48  ../../../../nodes/pvomxvideodecnode/include \
49  ../../../../nodes/pvomxbasedecnode/include \
50  ../../../../nodes/pvomxaudiodecnode/include \
51  ../../../../nodes/pvomxencnode/include
52endif
53
54
55SRCDIR := ../../src
56INCSRCDIR := ../../include
57
58SRCS := pv_2way_datapath.cpp \
59	pv_2way_engine.cpp \
60	pv_2way_data_channel_datapath.cpp \
61	pv_2way_cmd_control_datapath.cpp \
62	pv_2way_dec_data_channel_datapath.cpp \
63	pv_2way_enc_data_channel_datapath.cpp \
64	pv_2way_mux_datapath.cpp \
65	pv_2way_preview_datapath.cpp \
66	pv_2way_rec_datapath.cpp \
67	pv_2way_engine_factory.cpp \
68	pv_2way_proxy_adapter.cpp \
69	pv_2way_proxy_factory.cpp
70
71HDRS := pv_2way_interface.h \
72	pv_2way_engine_factory.h \
73	pv_2way_proxy_factory.h
74
75## This file is need by PLATFORM_EXTRAS in library.mk
76sdkinfo_header_name := pv_2way_sdkinfo.h
77
78include $(MK)/library.mk
79
80doc_target := pv2way_engine
81doc_title := "PV2Way Engine"
82doc_paths := "$(SRC_ROOT)/engines/2way/include $(SRC_ROOT)/protocols/systems/common/include/pv_2way_basic_types.h $(SRC_ROOT)/protocols/systems/3g-324m_pvterminal/common/include/pv_2way_h324m_types.h $(SRC_ROOT)/protocols/systems/3g-324m_pvterminal/common/include/pv_2way_h324m_interface.h"
83doc_version := $(PV2WAY_ENGINE_VERSION)
84
85include $(MK)/doc.mk
86
87sdkinfo_target := $(LOCAL_SRCDIR)/pv_2way_engine.cpp
88sdkinfo_header_filename := $(LOCAL_SRCDIR)/$(sdkinfo_header_name)
89sdkinfo_header_macro := PV_2WAY_SDKINFO
90sdkinfo_label_macro := PV2WAY_ENGINE_SDKINFO_LABEL
91sdkinfo_date_macro := PV2WAY_ENGINE_SDKINFO_DATE
92
93include $(MK)/sdkinfo_nr.mk
94