# Makefile - makefile for dshm/util
#
# modification history
# --------------------
# 01e,07jul08,jpb  Changed SMP conditional.
# 01d,29jun07,bwa  disabled SMP
# 01c,10may07,bwa  removed dshmHash.o
# 01b,04apr07,bwa  removed -g option
# 01a,18may06,bwa  written
#
# DESCRIPTION
# This file contains the makefile rules for building the adapatation layer for
# the dSHM sub-system
#

TGT_DIR=$(WIND_BASE)/target

LIB_BASE_NAME=dshm

# 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

EXTRA_INCLUDE=-I$(WIND_BASE)/target/h/
#EXTRA_DEFINE+=

ifndef _WRS_CONFIG_SMP
OBJS=	\
        dshmMem.o \
	dshmNowRing.o \
	dshmOwRing.o \
	dshmPow2.o \
	dshmRwLock.o \
	dshmSm.o \
	dshmSpinLock.o
else
OBJS=
endif

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