#-------------------------------------------------------------------------------
# Host SW Linux Userspace Module Makefile
#
# This is the makefile for individual modules (basically folders) that make up
# the Host SW userspace application. This makefile is responsible for creating
# .o files.
# 
# Build options:
# 
# -CONFIG=Release|Debug
# A release build will be created by default. 
#
# Copyright (c) Teradici Corporation (2013)
#-------------------------------------------------------------------------------

include ../common/build/makefile.common

# Location of headers
INCLUDES += -Iinc
INCLUDES += -I../common/inc
INCLUDES += -I../log/inc
INCLUDES += -I../../../common/linux/inc

# Location of sources
VPATH += src:

# Based on the build configuration, we have to use the proper WX Widget compile
# and library flags/path. The 'wx-config' command is a symbolic link to an 
# application that returns the proper component names and paths based on the
# WX Widget properties.
ifeq ($(CONFIG),Release)
EXTRA_DEFINES = $(shell wx-config  --version=2.8 --unicode=yes --debug=no --static=yes --cflags)
else
EXTRA_DEFINES = $(shell wx-config  --version=2.8 --unicode=yes --debug=yes --static=yes --cflags)
endif

# Objects that need to be created
OBJS_RAW += tera_netif.o

include ../common/build/makefile.module
