# Makefile - makefile for target/src/hwif/nvram
#
# Copyright (c) 2007, 2016 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,17jun16,l_z  include defs.drivers to correct document directory. (VXW6-5624)
# 01c,05sep07,pdg  added DOC_FILES entry
# 01b,10aug07,h_k  changed the LIB_BASE_NAME to drv.
# 01a,18jul07,tor  created
#
# DESCRIPTION
# This file contains the makefile rules for building VxBus non
# volatile RAM drivers into the VxWorks library.
#

TGT_DIR=$(WIND_BASE)/target

DOC_FILES= vxbFileNvRam.c vxbNonVolLib.c

LIB_BASE_NAME=drv

EXTRA_INCLUDE=-I$(TGT_DIR)/h/

OBJS_COMMON=	vxbNonVolLib.o vxbFileNvRam.o

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

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

EXTRA_DEFINE += -DINCLUDE_VXBUS
CC_OPTIM=$(CC_OPTIM_NORMAL)

