Only build the xpcom sample component if ENABLE_TESTS is set (or only if DISABLE_TESTS isn't set, on windows). sr=cls.

git-svn-id: svn://10.0.0.236/trunk@84919 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bryner%uiuc.edu 2001-01-13 05:26:02 +00:00
parent f648f888f5
commit a90fd3113f
2 changed files with 3 additions and 2 deletions

View File

@ -26,10 +26,11 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
DIRS = typelib base ds io components threads reflect proxy build tools sample
DIRS = typelib base ds io components threads reflect proxy build tools
ifdef ENABLE_TESTS
DIRS += \
sample \
typelib/xpt/tests \
reflect/xptinfo/tests \
reflect/xptcall/tests \

View File

@ -34,8 +34,8 @@ DIRS= typelib \
build \
appshell \
tools \
sample \
!if !defined(DISABLE_TESTS)
sample \
tests \
reflect\xptinfo\tests \
reflect\xptcall\tests \