# Makefile - makefile for target/src/hwif/busCtlr/usb/hcd/ohcd
#
# modification history
# --------------------
# 01f,07jan11,ghs  Ignore warning (etoa:1546)
# 01e,19nov08,mze  do not build for simulator
# 01d,27may08,jrp  Optimization change.
# 01c,28oct04,tpw  Add include of defs.docs for doc build settings.
# 01b,28jul04,hch  adding documentation build for usbOhciDebug.c
# 01a,25jan00,cfc  created
#
# DESCRIPTION
# This file contains the makefile rules for building the usb2 usbd library
#
#*/


TGT_DIR=$(WIND_BASE)/target

DOC_FILES=	usbOhci.c usbOhciDebug.c

LIB_BASE_NAME	= usb2

EXTRA_INCLUDE=-I$(TGT_DIR)/src/hwif/busCtlr/usb/hcd/ohcd -I$(TGT_DIR)/h/drv/pci

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

ifeq ($(findstring $(VX_CPU_FAMILY), simlinux simpc simso),)
OBJS=		usbOhci.o
else
OBJS=
endif

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

#
# Removed as part of the vxBus optimizations
#CC_OPTIM = $(CC_OPTIM_DRIVER)
#

CC_OPTIM += -ei1546

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
