# Copyright (c) 2005-2007 Chris Miceli (cmicel1@cct.lsu.edu) # # Distributed under the Boost Software License, # Version 1.0. (See accompanying LICENSE file # or copy at http://www.boost.org/LICENSE_1_0.txt) ifndef SAGA_LOCATION $(error "SAGA_LOCATION must be set for this Makefile to work") endif SAGA_SRC = $(wildcard *.cpp) SAGA_OBJ = $(SAGA_SRC:%.cpp=%.o) SAGA_ADAPTOR_TYPE = file SAGA_ADAPTOR_NAME = hdfs_file SAGA_ADAPTOR_INI = hdfs_file_adaptor.ini SAGA_ADAPTOR_OBJ = $(SAGA_OBJ) SAGA_ADAPTOR_PACKAGES = file namespace include $(SAGA_LOCATION)/share/saga/make/saga.adaptor.mk SAGA_CPPINCS += -I$(JAVA_HOME)/include SAGA_CPPINCS += -I$(JAVA_HOME)/include/linux SAGA_CPPINCS += -I$(HADOOP_HOME)/src/c++/libhdfs/ SAGA_LDFLAGS += -L$(HADOOP_HOME)/src/c++/libhdfs -lhdfs