###############################################################################
### Makefile for BroadOn Whitepages Module VOIP Demo 
###############################################################################

include ../../../../devroot/include/make/SDKdefs

###########################################
### Module-specific definitions
###########################################

USB_MIC_ROOT = ../../imported_libs/usbmic-0.85/

###########################################
### Required variables
###########################################

# MODULENAME should be name of current directory; it is the name of the app
# as far as the build is concerned
MODULENAME = voipNew

###########################################
### Required for NANDAPP=1
###########################################

# The lower 32 bits of the full title id in hexadecimal, encoding 4 ASCII chars.
# 0x56495032 == 'VIP2'
TITLE_ID           = 56495032

BANNER             = voipBanner.met

##############################################################
### Only for publishing (not exported as part of the P2P SDK)
##############################################################

# PRODUCTNAME does NOT have to be same as MODULENAME, but often should be as
# a matter of convenience.  It's the name that the Shop Channel will use.
PRODUCTNAME = BCC_VOIP2

APP_TYPE    = RVL_APP

###########################################
### Optional variables
###########################################

MODULE_C_SOURCES   = $(patsubst src/%,%,$(wildcard src/*.c))
 
MODULE_CPP_SOURCES = $(patsubst src/%,%,$(wildcard src/*.cpp))

MODULE_ASM_SOURCES = 

MODULE_PRIVATE_INCLUDES = 

MODULE_SYSTEM_INCLUDES  = $(USB_MIC_ROOT)/include

MODULE_ADDITIONAL_LIBS = $(USB_MIC_ROOT)/lib/$(ARCH_TARGET)/usbmic$(LIBSUFFIX)

# (these are also used for CXX)
CCFLAGS_WARNING += -w full -w err -W nopadding

###########################################
### Optional overrides
###########################################

#REX_TITLEID = 34
#REX_TITLEFW = noFW

###########################################
### Include the common part
###########################################

include ../common/demos_common.mk
