# Makefile - makefile for bsp/src/drv/wdb
#
# Copyright 1996-1998, 2001-2005, 2009-2011 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
# --------------------
# 01p,16oct12,kch  Exclude wdbEndPktDrv.o if no networking libraries is
#                  configured.
# 01o,03feb11,rlp  Added back object files for LP64.
# 01n,03feb10,rlp  Removed some object files for LP64.
# 01m,12feb09,rlp  Removed unsupported drivers.
# 01l,15aug05,kkz  Updating doc values
# 01k,29apr05,kkz  Updating for new doc directory
# 01j,27may04,dgp  change output dir and TOC structure (DOC_CHAPTER & DOC_DIR)
# 01i,17feb04,pch  remove PPC32 hack, no longer needed
# 01h,18aug03,dbt  Removed obsolete wdbUlipPktDrv.c
# 01g,31jan03,pch  Add PPC32 support
# 01f,12mar02,dat  SPR 72518 Drivers docs in separate directory
# 01e,12oct01,tam  added repackaging support
# 01d,12jun98,dat  added wdbTsfsDrv.c to doc files
# 01c,11mar98,pdn  added wdbPipePktDrv.c
# 01c,02mar97,vin  added wdbEndPktDrv.c merge to tor1_0_1
# 01b,12nov96,c_s  add target server file system support
# 01a,18jun96,yp   created from 01d of MakeSkel
#
# DESCRIPTION
# This file contains the makefile rules for building the vx library
#

TGT_DIR=$(WIND_BASE)/target

DOC_FILES= 	wdbVioDrv.c wdbSlipPktDrv.c wdbEndPktDrv.c wdbPipePktDrv.c \
		wdbTsfsDrv.c

LIB_BASE_NAME	= wdb

# Including defs.library to see if _WRS_CONFIG_LP64 is defined.
# It must be after LIB_BASE_NAME
include $(TGT_DIR)/h/make/defs.library

EXTRA_INCLUDE= -I$(TGT_DIR)/src/drv/

OBJS =  wdbVioDrv.o wdbSlipPktDrv.o wdbTsfsDrv.o wdbPipePktDrv.o

ifndef _WRS_CONFIG_NO_IP
OBJS += wdbEndPktDrv.o
endif

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