# Makefile - Makefile for target/src/demo/smp/perf
#
# Copyright (c) 2006-2011 Wind River Systems, Inc.
#
# The right to copy, distribute, modify or otherwise make use
# of this software may be licensed only pursuant to the terms
# of an applicable Wind River license agreement.

# modification history
# --------------------
# 01f,13may11,zl   added smtPerfDemo
# 01e,29apr09,kk   remove define of GRAPHICAL_DISPLAY_ENABLED
# 01d,22jan09,jpb  Added enable graphical display.  This is done so when
#                  running application benchmarks, it just displays numbers.
# 01c,07jul08,jpb  Changed SMP conditional.
# 01b,14aug07,mmi  create smpdemo library only for SMP mode
# 01a,21nov06,aeg  written
#
# DESCRIPTION
# This file contains the makefile rules for building the SMP demo 
# objects. 
#
#*/

TGT_DIR=$(WIND_BASE)/target

LIB_BASE_NAME = smpdemo

# Including defs.library to see if _WRS_CONFIG_SMP is defined.
# It must be after LIB_BASE_NAME
include $(TGT_DIR)/h/make/defs.library

DOC_FILES = rawPerfDemo.c primesDemo.c smtPerfDemo.c

ifdef _WRS_CONFIG_SMP
OBJS = rawPerfDemo.o primesDemo.o smtPerfDemo.o
else
OBJS =
endif

include $(TGT_DIR)/h/make/rules.library

# The normal end when using makeLibrary is to create a lib, but here, we 
# don't need lib creation. The following settings prevent lib creation.
# AR=echo
# RANLIB=echo

