# Makefile - makefile for src/hwif/spd
#
# Copyright (c) 2013 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
# --------------------
# 01d,26mar13,syt added spdLib.c and fslI2cInit.c for DOC_FILES
# 01c,14mar13,syt corrected a typo.
# 01b,16feb12,syt changed OBJS_COMMON to OBJS_PPC32
# 01a,08feb13,syt created

# DESCRIPTION
# This file contains the makefile rules for building the VxBus library
#

TGT_DIR=$(WIND_BASE)/target

LIB_BASE_NAME = drv

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

DOC_FILES =     fslDdrCtlr.c spdLib.c fslI2cInit.c

EXTRA_INCLUDE = -I$(TGT_DIR)/src/hwif/h

OBJS_PPC32 = fslDdrCtlr.o

OBJS= $(OBJS_COMMON) $(OBJS_$(CPU))

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

CC_OPTIM=$(CC_OPTIM_NORMAL)
include  $(TGT_DIR)/h/make/defs.drivers

