# Makefile - makefile for target/src/event
#
# modification history
# --------------------
# 02d,04feb10,tcr  add svFuncBind
# 02c,29sep08,tcr  exclude triggering when OBJECT_CLASS_LIST not present
# 02b,19aug08,tcr  build eventPointStubLib for non-instrumented builds
# 02a,14aug08,tcr  remove development objects
# 01z,30jul08,tcr  don't build some objects if _WRS_CONFIG_SV_INSTRUMENTATION
#                  excluded
# 01y,25jul08,tcr  remove top functionality
# 01x,16jun08,aim  added topShow
# 01w,03jun08,tcr  add eventPointLib to doc
# 01w,05jun08,aim  added topLib.c
# 01v,21may08,tcr  rename dataCollectorShowLib
# 01u,13mar08,tcr  update logging macros
# 01t,19jun06,tcr  add wvHashTblLib.o
# 01s,07jun04,dgp  change output directory and TOC structure
# 01r,23feb04,tcr add wvScLib
# 01r,17feb04,pch  remove PPC32 hack, no longer needed
# 01q,09oct03,tcr  rename wvShowLib.c to wvShow.c
# 01p,03oct03,tcr  added wvShowLib
# 01o,31jan03,pch  Add PPC32 support
# 01n,12oct01,tam  added repackaging support
# 01m,09oct98,fle  updated DOC_FILES
# 01l,06aug98,cth  removed build for wvHostLib.o
# 01n,19aug98,pr   restored vx libs for building and commented out "echo"
# 01m,10aug98,pr   temporarily restored vxwv libs for building
# 01l,29jul98,pr   removed ADDED_CFLAGS. Changed lib from wv.a to vx.a.
# 01k,10feb98,pr   Added trgShow.o 
# 01j,03feb98,cth  fixed missing build of wvTsfsUploadPathLib.c
# 01i,19dec97,cth  changed names of wvXxxxUploadPath.c to wvXxxxUploadPathLib.c
# 01h,16nov97,cth  removed build for evtTsfsSockLib.o, evtSockLib.o, 
#		   wvRpc_xdr.c, wvRpcSvc.o, wvServer.o
#		   added build for wvTsfsUploadPath.o, wvSockUploadPath.o
# 01g,16nov97,cth  removed build for evtBufferLib.o, scrPadLib.o, connLib.o
#		   added build for wvFileUploadPath.c
# 01f,21aug97,cth  added build for evtTsfsSockLib
# 01e,13aug97,pr   Added trgLib.c for WindView 2.0
# 01d,31jul97,nps  Removed scrPadLib.o for WindView 2.0
# 01c,07feb97,dvs  updating reference to wv archive and obj dir name
# 01b.25nov96,ms   suppress archive generation
# 01a.12jul96,yp   created from 01h of MakeSkel
#
# DESCRIPTION
# This file contains the makefile rules for building the vx library
#
#

TGT_DIR=$(WIND_BASE)/target

LIB_BASE_NAME	= windview

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

DOC_FILES= trgLib.c trgShow.c wvTmrLib.c wvFileUploadPathLib.c \
	   wvSockUploadPathLib.c wvTsfsUploadPathLib.c wvLib.c \
	   dataCollectorLib.c svDataCollectorLib.c \
	   dataCollectorShow.c eventPointLib.c eventPointStubLib.c
DOC_BOOK	= Wind_River_Workbench_Components
DOC_CHAPTER	= Wind_River_System_Viewer
DOC_CATEGORY	= System_Viewer_Utilities_APIs
DOC_DIR		= $(DOCS_ROOT)/com.windriver.ide.doc.wr_system_viewer_4.1/wr_sys_view_utilities_api

OBJS=	wvHashTblLib.o wvScLib.o wvTmrLib.o seqDrv.o eventPointStubLib.o


ifdef _WRS_CONFIG_SV_INSTRUMENTATION
OBJS += wvLib.o evtLogLib.o wvTsfsUploadPathLib.o \
	wvSockUploadPathLib.o wvFileUploadPathLib.o \
	wvShow.o dataCollectorLib.o \
	svDataCollectorLib.o \
	dataCollectorShow.o eventPointLib.o svFuncBind.o


ifdef _WRS_CONFIG_OBJECT_CLASS_LIST
OBJS += trgShow.o  trgLib.o trgDataCollectorLib.o
endif

endif

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

# The normal end when using makeLibrary is to create a lib, but here, we
# don't need lib creation. The following settings prevent lib creation.
#AR=echo
#RANLIB=echo
