[libDCE] Add IPC 3.x Adapted code to Repository
[glsdk/libdce2.git] / test_qnx / common.mk
1 ###################### QNX DCE Test App Build Config #######################\r
2 \r
3 #### Include qconfig.mk\r
4 ifndef QCONFIG\r
5 QCONFIG=qconfig.mk\r
6 endif\r
7 include $(QCONFIG)\r
8 \r
9 define PINFO\r
10 PINFO DESCRIPTION=DCE Test\r
11 endef\r
12 \r
13 NAME = dce_test\r
14 INSTALLDIR = bin\r
15 \r
16 # Different tool versions can easily be programmed by defining below variables\r
17 # in your environment.\r
18 CEVERSION       ?= codec_engine_3_23_00_07\r
19 FCVERSION       ?= framework_components_3_23_03_17\r
20 XDAISVERSION    ?= xdais_7_23_00_06\r
21 XDCVERSION      ?= xdctools_3_25_00_48\r
22 IPCHEADERS      ?= $(INSTALL_ROOT_nto)\r
23 IVAHDCODECS ?= ipumm/extrel/ti/ivahd_codecs\r
24 \r
25 # Generate the full package paths for tools\r
26 CEPROD          = $(TIVIDEOTOOLSROOT)/$(CEVERSION)\r
27 FCPROD          = $(TIVIDEOTOOLSROOT)/$(FCVERSION)\r
28 XDAISPROD       = $(TITOOLSROOT)/$(XDAISVERSION)\r
29 XDCPROD     = $(TITOOLSROOT)/$(XDCVERSION)\r
30 \r
31 #Add extra include path\r
32 EXTRA_INCVPATH += $(CEPROD)/packages\r
33 EXTRA_INCVPATH += $(FCPROD)/packages\r
34 EXTRA_INCVPATH += $(XDAISPROD)/packages\r
35 EXTRA_INCVPATH += $(XDCPROD)/packages\r
36 EXTRA_INCVPATH += $(IVAHDCODECS)/packages\r
37 EXTRA_INCVPATH += $(PROJECT_ROOT)/../\r
38 EXTRA_INCVPATH += $(IPCHEADERS)/usr/include/memmgr\r
39 EXTRA_INCVPATH += $(IPCHEADERS)/usr/include/ti/syslink\r
40 EXTRA_INCVPATH += $(IPCHEADERS)/usr/include\r
41 \r
42 CCOPTS+=-g -O0 -Dxdc_target_types__=qnx/targets/arm/std.h\r
43 \r
44 EXTRA_LIBVPATH += $(PROJECT_ROOT)/../nto/arm/so.le.v7 \\r
45                   $(INSTALL_ROOT_nto)/armle-v7/usr/lib\r
46 \r
47 LDOPTS+= -ldce -lmemmgr -ltilerusr -lsyslink_client -lsharedmemallocator\r
48 \r
49 include $(MKFILES_ROOT)/qtargets.mk\r
50 \r