# Makefile - makefile for target/src/hwif/console
#
# Copyright (c) 2007, 2016 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
# --------------------
# 01b,17jun16,l_z  include defs.drivers to correct document directory. (VXW6-5624)
# 01a,12feb07,pmr  Written
#
# DESCRIPTION
# This file contains the makefile rules for building VxBus console drivers
# into the VxWorks library.
#

TGT_DIR=$(WIND_BASE)/target
LIB_BASE_NAME=drv

EXTRA_INCLUDE=-I$(TGT_DIR)/h/

DOC_FILES=      vxbI8042Kbd.c vxbM6845Vga.c vxbPcConsole.c
OBJS_COMMON=	vxbI8042Kbd.o vxbM6845Vga.o vxbPcConsole.o

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

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

EXTRA_DEFINE += -DINCLUDE_VXBUS
CC_OPTIM=$(CC_OPTIM_NORMAL)

