# Makefile - makefile for target/src/hwdb
#
# modification history
# --------------------
# 01h,18oct06,rlp  Removed dbgRtpLib, dbgTaskLib and wdbDbgLib objects.
# 01g,20sep05,pch  add support for building a single CPU_VARIANT
# 01f,21apr04,pch  SPR 94932: add include of defs.library
# 01e,09feb04,pch  PPC32 variant build, temporary until code supports runtime
#                  selection among single-step, emulation using breakpoints,
#                  and hands-off mode.
# 01d,11dec03,elg  Add wdbRtpBpLib.o
# 01c,19nov03,elg  Add dbgRtpLib.o
# 01b,31jul03,pch  Adjusted for Base 6 merge
# 01a,25feb03,pch  Created, from target/src/wdb vn 01i
#
# DESCRIPTION
# This file contains the makefile rules for building the hwdb library
# This library contains files whose build is affected by hardware debug
#
#*/

TGT_DIR=$(WIND_BASE)/target

LIB_BASE_NAME   = hwdb

# DOC_FILES= dbgLib.c

# EXTRA_INCLUDE= -I../../../share/src/agents/wdb

OBJS =	wdbBpLib.o

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

# dbgLib.o, and wdbTaskBpLib.o are built here for all PPC,
# including PPC32.  For all other CPU types, they are built in their
# home directories, target/src/ostool/shell and target/src/wdb/vxWorks.
ifeq ($(VX_CPU_FAMILY),ppc)
    OBJS += dbgLib.o wdbRtpBpLib.o wdbTaskBpLib.o
    include $(TGT_DIR)/h/make/defs.pal
endif

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