# Makefile - makefile for src/hwif/mf
#
# Copyright (c) 2007-2009 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
# --------------------
# 01e,26feb09,b_m  support makefile stubs.
# 01d,10mar08,h_k  changed CC_OPTIM_DRIVER to CC_OPTIM_NORMAL.
# 01c,05sep07,vik  Apigen changes
# 01b,24may07,h_k  added g64120aMf.o.
# 01a,01mar07,h_k  written.
#
# DESCRIPTION
# This file contains the makefile rules for building the vxBus library
#
#*/

TGT_DIR=$(WIND_BASE)/target

DOC_FILES=vxbSmcFdc37x.c g64120aMf.c

LIB_BASE_NAME=drv

EXTRA_INCLUDE=-I$(TGT_DIR)/h/

OBJS_COMMON	= vxbSmcFdc37x.o

OBJS_MIPSI2	= g64120aMf.o
OBJS_MIPSI3	= g64120aMf.o
OBJS_MIPSI32	= g64120aMf.o
OBJS_MIPSI32R2	= g64120aMf.o
OBJS_MIPSI64	= g64120aMf.o
OBJS_MIPSI64R2	= g64120aMf.o

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
