diff options
-rw-r--r-- | common.mk | 106 |
1 files changed, 53 insertions, 53 deletions
@@ -1,53 +1,53 @@ | |||
1 | ###################### QNX DCE Build Config ####################### | 1 | ###################### QNX DCE Build Config ####################### |
2 | 2 | ||
3 | #### Include qconfig.mk | 3 | #### Include qconfig.mk |
4 | ifndef QCONFIG | 4 | ifndef QCONFIG |
5 | QCONFIG=qconfig.mk | 5 | QCONFIG=qconfig.mk |
6 | endif | 6 | endif |
7 | 7 | ||
8 | include $(QCONFIG) | 8 | include $(QCONFIG) |
9 | 9 | ||
10 | #### Overriding qrules.mk macros before including qtargets.mk | 10 | #### Overriding qrules.mk macros before including qtargets.mk |
11 | 11 | ||
12 | # Flags to add to the C compiler command line | 12 | # Flags to add to the C compiler command line |
13 | CCFLAGS+=-O2 -DBUILDOS_QNX=1 -DDCE_DEBUG_ENABLE=1 -DDCE_DEBUG_LEVEL=1 | 13 | CCFLAGS+=-O2 -DBUILDOS_QNX=1 -DDCE_DEBUG_ENABLE=1 -DDCE_DEBUG_LEVEL=1 |
14 | 14 | ||
15 | # To get final library name as "libdce". Needed as project name is not dce | 15 | # To get final library name as "libdce". Needed as project name is not dce |
16 | NAME=dce | 16 | NAME=dce |
17 | 17 | ||
18 | # Path to IPC Header files | 18 | # Path to IPC Header files |
19 | IPCHEADERS ?= $(INSTALL_ROOT_nto) | 19 | IPCHEADERS ?= $(INSTALL_ROOT_nto) |
20 | 20 | ||
21 | EXTRA_INCVPATH += $(PROJECT_ROOT)/packages/codec_engine | 21 | EXTRA_INCVPATH += $(PROJECT_ROOT)/packages/codec_engine |
22 | EXTRA_INCVPATH += $(PROJECT_ROOT)/packages/ivahd_codecs | 22 | EXTRA_INCVPATH += $(PROJECT_ROOT)/packages/ivahd_codecs |
23 | EXTRA_INCVPATH += $(PROJECT_ROOT)/packages/xdais | 23 | EXTRA_INCVPATH += $(PROJECT_ROOT)/packages/xdais |
24 | EXTRA_INCVPATH += $(PROJECT_ROOT)/packages/xdctools | 24 | EXTRA_INCVPATH += $(PROJECT_ROOT)/packages/xdctools |
25 | EXTRA_INCVPATH += $(PROJECT_ROOT)/packages/framework_components | 25 | EXTRA_INCVPATH += $(PROJECT_ROOT)/packages/framework_components |
26 | 26 | ||
27 | EXTRA_INCVPATH += $(IPCHEADERS)/usr/include/memmgr | 27 | EXTRA_INCVPATH += $(IPCHEADERS)/usr/include/memmgr |
28 | EXTRA_INCVPATH += $(IPCHEADERS)/usr/include/ti/syslink/ | 28 | EXTRA_INCVPATH += $(IPCHEADERS)/usr/include/ti/syslink/ |
29 | EXTRA_INCVPATH += $(IPCHEADERS)/usr/include/ti/ipc/mm | 29 | EXTRA_INCVPATH += $(IPCHEADERS)/usr/include/ti/ipc/mm |
30 | EXTRA_INCVPATH += $(IPCHEADERS)/usr/include/ti/shmemallocator | 30 | EXTRA_INCVPATH += $(IPCHEADERS)/usr/include/ti/shmemallocator |
31 | EXTRA_INCVPATH += $(IPCHEADERS)/usr/include/ | 31 | EXTRA_INCVPATH += $(IPCHEADERS)/usr/include/ |
32 | 32 | ||
33 | # Include IPC libraries | 33 | # Include IPC libraries |
34 | LIBS += memmgr mmrpc sharedmemallocatorS | 34 | LIBS += memmgr mmrpc sharedmemallocatorS |
35 | 35 | ||
36 | # Exclude Linux & Android files for compile | 36 | # Exclude Linux & Android files for compile |
37 | EXCLUDE_OBJS=memplugin_linux.o memplugin_android.o libdce_linux.o libdce_android.o | 37 | EXCLUDE_OBJS=memplugin_linux.o memplugin_android.o libdce_linux.o libdce_android.o |
38 | 38 | ||
39 | # Include qmacros.mk | 39 | # Include qmacros.mk |
40 | include $(MKFILES_ROOT)/qmacros.mk | 40 | include $(MKFILES_ROOT)/qmacros.mk |
41 | 41 | ||
42 | #### Overriding qtargets.mk macros before including qtargets.mk | 42 | #### Overriding qtargets.mk macros before including qtargets.mk |
43 | INSTALLDIR=usr/lib | 43 | INSTALLDIR=usr/lib |
44 | INSTALLDIR+=usr/local | 44 | INSTALLDIR+=usr/local |
45 | 45 | ||
46 | define PINFO | 46 | define PINFO |
47 | PINFO DESCRIPTION = libdce codec | 47 | PINFO DESCRIPTION = libdce codec |
48 | endef | 48 | endef |
49 | 49 | ||
50 | #### Include qtargets.mk, it internally includes qrules.mk | 50 | #### Include qtargets.mk, it internally includes qrules.mk |
51 | include $(MKFILES_ROOT)/qtargets.mk | 51 | include $(MKFILES_ROOT)/qtargets.mk |
52 | 52 | ||
53 | #### Post-set make macros after including qtargets.mk (if-any) | 53 | #### Post-set make macros after including qtargets.mk (if-any) |