# Makefile - makefile for target/src/wdb
#
# Copyright (c) 1996,1998,2000-2001,2003-2005,2007-2008,2010-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
# --------------------
# 01w,31jan11,rlp  System mode support for LP64.
# 01v,01mar10,rlp  Removed some object files for LP64.
# 01u,18jun08,dbt  Added wdbDynPrintfLib.c
# 01t,18apr08,dbt  Added dwarf directory to build.
# 01s,26jun07,tbu  Added 64 bit support
#            +p_b  completed support
# 01r,06dec05,dbt  Added wdbXdrLib.o.
# 01q,28nov05,dbt  Added wdbExternLib.o.
# 01p,07nov05,dbt  Removed wdbBpSyncLib.o.
#		   Added wdbFuncBind.o
# 01o,02jul04,pch  remove wdbAltivecLib, wdbDspLib, and wdbFpLib
# 01n,04feb04,pch  PPC32 floating-point adjustments
# 01m,09jan04,elg  Add wdbBpSyncLib.o.
# 01l,29sep03,fle  Added subdirs since linux directory
# 01k,27aug03,elg  Add wdbCtxEvtLib.o.
# 01j,31jan03,pch  Add PPC32 support; move wdbBpLib, wdbTaskBpLib, & wdbDbgLib
#		   to target/src/hwdb
# 01i,22jan03,elg  Move OS specific files to vxWorks directory.
# 01h,12oct01,tam  added repackaging support
# 01g,29jan01,dtr  Adding altivec register support library.
# 01f,03mar00,zl   merged SH support from T1
# 01e,25mar98,dbt  added wdbLib.c in doc for wdbSystemSuspend() routine.
# 01d,27feb98,dbt  added wdbCtxStartLib.o and wdbUserEvtLib.o
#		   added wdbUserEvtLib.c in DOC_FILES.
# 01c,26jan98,dbt  added wdbEvtptLib.o
# 01b,13jan98,dbt  added wdbDbgLib.o
# 01a,17aug96,yp   derived from 01c of MakeSkel
#
# DESCRIPTION
# This file contains the makefile rules for building the vx library
#
#*/

TGT_DIR=$(WIND_BASE)/target

LIB_BASE_NAME	=	wdb
DOC_FILES	=	wdbLib.c wdbUserEvtLib.c
EXTRA_INCLUDE	=	-I../../../share/src/agents/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

OBJS	=	wdbCallLib.o wdbCnctLib.o \
		wdbCtxEvtLib.o wdbCtxExitLib.o wdbCtxLib.o wdbCtxStartLib.o \
		wdbDirectCallLib.o wdbDynPrintfLib.o wdbEvtLib.o wdbEvtptLib.o \
		wdbExcLib.o wdbFuncBind.o wdbGopherLib.o \
		wdbLib.o wdbMemCoreLib.o wdbExternLib.o \
		wdbMemLib.o wdbRegLib.o wdbRpcLib.o wdbSvcLib.o \
		wdbTgtInfoLib.o wdbUserEvtLib.o wdbXdrLib.o

SUBDIRS	= xdr vxWorks dwarf

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