only build tests when ENABLE_TESTS (i.e. --enable-tests) is turned on

This commit is contained in:
alecf%netscape.com 1999-03-04 01:36:25 +00:00
parent eed69a0350
commit f4568a3e25
8 changed files with 38 additions and 5 deletions

View File

@ -25,6 +25,10 @@ include $(DEPTH)/config/autoconf.mk
# no src yet, or tests or build
DIRS = public
ifdef ENABLE_TESTS
# DIRS += tests
endif
include $(topsrcdir)/config/config.mk
include $(topsrcdir)/config/rules.mk

View File

@ -22,7 +22,12 @@ srcdir = @srcdir@
include $(DEPTH)/config/autoconf.mk
DIRS = public src build tests
DIRS = public src build
ifdef ENABLE_TESTS
DIRS += tests
endif
include $(topsrcdir)/config/config.mk

View File

@ -22,7 +22,11 @@ srcdir = @srcdir@
include $(DEPTH)/config/autoconf.mk
DIRS = public src build tests
DIRS = public src build
ifdef ENABLE_TESTS
DIRS += tests
endif
include $(topsrcdir)/config/config.mk

View File

@ -25,6 +25,10 @@ include $(DEPTH)/config/autoconf.mk
# no src yet, or tests or build
DIRS = public
ifdef ENABLE_TESTS
# DIRS += tests
endif
include $(topsrcdir)/config/config.mk
include $(topsrcdir)/config/rules.mk

View File

@ -22,7 +22,11 @@ srcdir = @srcdir@
include $(DEPTH)/config/autoconf.mk
DIRS = public src # tests
DIRS = public src
ifdef ENABLE_TESTS
DIRS += tests
endif
include $(topsrcdir)/config/config.mk

View File

@ -22,7 +22,11 @@ srcdir = @srcdir@
include $(DEPTH)/config/autoconf.mk
DIRS = public src tests
DIRS = public src
ifdef ENABLE_TESTS
DIRS += tests
endif
include $(topsrcdir)/config/config.mk

View File

@ -22,7 +22,11 @@ srcdir = @srcdir@
include $(DEPTH)/config/autoconf.mk
DIRS = public src cthandlers tests
DIRS = public src cthandlers
ifdef ENABLE_TESTS
DIRS += tests
endif
include $(topsrcdir)/config/config.mk

View File

@ -24,6 +24,10 @@ include $(DEPTH)/config/autoconf.mk
DIRS = public src tests
ifdef ENABLE_TESTS
DIRS += tests
endif
include $(topsrcdir)/config/config.mk
include $(topsrcdir)/config/rules.mk