# 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 "lite build test is disabled - file package is missing") include $(SAGA_ROOT)/make/saga.nothing.mk nothing:: @$(ECHO) " ======================================================" @$(ECHO) " saga-lite build test disabled: no file package " @$(ECHO) " ======================================================" else SAGA_SRC = $(wildcard *.cpp) SAGA_OBJ = $(SAGA_SRC:%.cpp=%.o) SAGA_TEST_BIN = lite-test 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