# Makefile - makefile for target/src/hwif/busCtlr/usb/hcd/xhcd
#
# modification history
# --------------------
# 01a,16may11,w_x  created
#
# DESCRIPTION
# This file contains the makefile rules for building the usb2 usbd library
#
#*/


TGT_DIR=$(WIND_BASE)/target

DOC_FILES=	usbXhcd.c \
			usbXhcdCore.c \
			usbXhcdRootHub.c \
			usbXhcdEvent.c \
			usbXhcdUtil.c \
			usbXhcdDebug.c

LIB_BASE_NAME	= usb2

EXTRA_INCLUDE=-I$(TGT_DIR)/src/hwif/busCtlr/usb/hcd/xhcd

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

ifeq ($(findstring $(VX_CPU_FAMILY), simlinux simpc simso),)
OBJS=	usbXhcd.o \
		usbXhcdCore.o \
		usbXhcdRootHub.o \
		usbXhcdEvent.o \
		usbXhcdUtil.o \
		usbXhcdDebug.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
