# Makefile - makefile for target/src/hwif/busCtlr/usb/target/function/storage
#
# modification history
# --------------------
# 01b,12may12,s_z  Add the function common include file
# 01a,19oct10,m_y  created
#
# DESCRIPTION
# This file contains the makefile rules for building the usb2 usbd library
#
#*/


TGT_DIR=$(WIND_BASE)/target
DOC_FILES=	usbTgtMscInit.c usbTgtMscCallback.c usbTgtMscCmd.c usbTgtMscUtil.c usbTgtMscLib.c

LIB_BASE_NAME	= usb2

EXTRA_INCLUDE+=-I$(TGT_DIR)/src/hwif/busCtlr/usb/target/function/storage
EXTRA_INCLUDE+=-I$(TGT_DIR)/src/hwif/busCtlr/usb/target/h

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

ifeq ($(findstring $(VX_CPU_FAMILY), simlinux simpc simso),)

OBJS=		 usbTgtMscInit.o usbTgtMscCallback.o usbTgtMscCmd.o usbTgtMscUtil.o usbTgtMscLib.o
else
OBJS=
endif

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

#
# Removed as part of vxBus optimization
#CC_OPTIM = $(CC_OPTIM_DRIVER)
#
DOC_DIR         = $(DOCS_ROOT)/vxworks/ref/usb2
DOC_CHAPTER     = USB2_libraries
DOC_OPTS        = $(DOC_OPTS_MAN) -category USB2

DOC_AREA_USB	= usb2
-include $(TGT_DIR)/h/make/config/comps/usb/defs.docs
