# Makefile - makefile for target/src/test
#
# Copyright (c) 1995,1996,1998,2001,2002,2005,2008 Wind River Systems, Inc.
#
# modification history
# --------------------
# 01k,22jan13,jpb  Added mils test directory.
# 01j,11mar09,mze  adding benchmarks
# 01i,20jul08,mze  adding viper VSB hook
# 01h,10apr08,d_c  Add vxTestV2 to target/src build
# 01g,06apr05,mem  Removed vxdcom & vxcom, CodeTEST
# 01f,10jan02,dcb  Remove benchmarks from the subdirs.
# 01f,09jan02,tcr  add WindView
# 01e,11dec01,tam  set the list of directories to build with ALL_TEST=1
# 01d,17nov98,jmp  added wtxtcl build, by default only wtxtcl objects
#		   will be built, to build everything use ALL_TEST=1.
# 01c,19nov96,yp   removed SIBLING_CPUS support
# 01b,06nov96,yp   added support for SIBLING_CPUS
# 01a,15jul95,yp   created from 01b of MakeSkel
#
# DESCRIPTION
# This file contains the makefile rules for building the target/src/test 
# objects.
#
#*/

TGT_DIR=$(WIND_BASE)/target
include $(TGT_DIR)/h/make/defs.library

# By default only wtxtcl objects (shipped objects),
# to build everything add ALL_TEST=1 to your make command line

ifneq ($(ALL_TEST),1)
SUBDIRS=wtxtcl

ifdef _WRS_CONFIG_COMPONENT_VXTESTV2
SUBDIRS=wtxtcl vxTestV2
endif
ifdef _WRS_CONFIG_COMPONENT_VIPER
SUBDIRS+=profiles/vip
endif
ifdef _WRS_CONFIG_COMPONENT_BENCHMARK
SUBDIRS+=benchmarks
endif
ifdef _WRS_CONFIG_MILS_VBI
SUBDIRS+=mils
endif

else
# The following directories are excluded:
# 	bspVal intTest os scsi util: have no Makefile
SUBDIRS = C++ gdb tgtsvr vxTest vxTestV2 vxwRegression windsh \
	  windview wtxJava wtxtcl
endif

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