# Makefile - makefile for src/hwif/rapidio
#
# Copyright (c) 2012 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
# --------------------
# 01a,30nov12,j_z 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 =

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

OBJS_COMMON =

include $(wildcard $(sort *.mk))

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

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

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