# Makefile - makefile for target/src/wdb/xdr
#
# Copyright 1996,2001,2003,2004,2007,2010,2012 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
# --------------------
# 01j,31jan12,rlp  CQ:WIND00330415. Renamed connect.c to xdrconnect.c
# 01i,26feb10,rlp  Removed obsolete module (i.e usrsvc.o)
# 01h,03feb10,rlp  Removed some object files for LP64.
# 01g,06jul07,p_b  Added 64 bits support
# 01f,22jun04,elg  Replace relative path by an absolute one in EXTRA_INCLUDE.
# 01e,17feb04,pch  remove PPC32 hack, no longer needed
# 01d,31jan03,pch  Add PPC32 support
# 01c,13feb03,elg  Add files ctxkill.c, directcall.c, module.c and usrsvc.c.
# 01b,16oct01,tam  updated for re-pack
# 01a,17aug96,yp   derived from 01b of MakeSkel
#
# DESCRIPTION
# This file contains the makefile rules for building the wdb library
#*/

TGT_DIR=$(WIND_BASE)/target

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

DOC_FILES=

EXTRA_INCLUDE= -I $(WIND_BASE)/share/src/agents/wdb

OBJS=	xdrconnect.o ctx.o ctxcreat.o ctxkill.o ctxstep.o directcall.o \
	evtdata.o evtpoint.o memory.o regs.o rpccksum.o tgtinfo.o \
	wrapper.o xdrcore.o 

ifndef _WRS_CONFIG_LP64
OBJS += module.o
endif

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