# Copyright (c) 2005-2006 Andre Merzky (andre@merzky.net) # # Use, modification and distribution is subject to the Boost Software # License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at # http://www.boost.org/LICENSE_1_0.txt) SAGA_ROOT = ../../ include $(SAGA_ROOT)/make/saga.config.mk ifneq "x$(SAGA_HAVE_PACKAGE_FILE)" "xyes" $(warning " file lite build test is disabled - file package is missing") else SAGA_SRC += lite-test-file.cpp SAGA_TEST_BIN = lite-test-file endif ifneq "x$(SAGA_HAVE_PACKAGE_SD)" "xyes" $(warning " sd lite build test is disabled - sd package is missing") else SAGA_SRC += lite-test-sd.cpp SAGA_TEST_BIN = lite-test-sd endif ifeq "x$(SAGA_SRC)" "x" include $(SAGA_ROOT)/make/saga.nothing.mk nothing:: @$(ECHO) " ======================================================" @$(ECHO) " saga-lite build test disabled: no mathing packages " @$(ECHO) " ======================================================" else SAGA_OBJ = $(SAGA_SRC:%.cpp=%.o) SAGA_USE_LITE = yes include $(SAGA_ROOT)/make/saga.test.mk SAGA_LD_LIBRARY_PATH += :$(SAGA_PWD)/.. check:: $(SAGA_TEST_BIN) @$(ECHO) " check saga-lite based build done" endif