# Makefile - makefile for target/src/demo/smp/
#
# Copyright (c) 2006-2008 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
# --------------------
# 01g,07jul08,jpb  Changed SMP conditional.
# 01f,14feb08,kk   remove phil.o from OBJS, moved into phil directory
# 01e,10aug07,mmi  define smpdemo in SMP mode only
# 01d,29nov06,lei  removed phil_2.o smpFuncDemo.o from OBJS
# 01c,28nov06,mmi  added smpLockDemo to OBJS smpLockDemo.c to DOC_FILES
# 01b,22nov06,aeg  added graphLib.o to OBJS
# 01a,21oct06,lei  created 
#
# 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 = smpLockDemo.c

EXTRA_DEFINE = 

ifdef _WRS_CONFIG_SMP
OBJS = smpDemo.o graphLib.o smpLockDemo.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

