2011-06-12 22:00:51 +00:00
|
|
|
#
|
2009-05-19 04:30:38 +00:00
|
|
|
# Licensed to the Apache Software Foundation (ASF) under one or more
|
|
|
|
# contributor license agreements. See the NOTICE file distributed with
|
|
|
|
# this work for additional information regarding copyright ownership.
|
|
|
|
# The ASF licenses this file to You under the Apache License, Version 2.0
|
|
|
|
# (the "License"); you may not use this file except in compliance with
|
|
|
|
# the License. You may obtain a copy of the License at
|
|
|
|
#
|
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
#
|
|
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
# See the License for the specific language governing permissions and
|
|
|
|
# limitations under the License.
|
2011-06-12 22:00:51 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
@PRODUCT_MK@
|
|
|
|
|
|
|
|
#AM_CPPFLAGS = -I$(top_srcdir)
|
|
|
|
ACLOCAL_AMFLAGS = -I m4
|
|
|
|
|
|
|
|
lib_LTLIBRARIES = libhdfs.la
|
|
|
|
libhdfs_la_SOURCES = hdfs.c hdfsJniHelper.c hdfs.h
|
2009-05-19 04:30:38 +00:00
|
|
|
|
2011-06-12 22:00:51 +00:00
|
|
|
#check_PROGRAMS = hdfs_test hdfs_read hdfs_write
|
|
|
|
check_PROGRAMS = hdfs_test hdfs_read hdfs_write
|
2009-05-19 04:30:38 +00:00
|
|
|
|
2011-06-12 22:00:51 +00:00
|
|
|
hdfs_test_SOURCES = hdfs_test.c hdfs.h
|
|
|
|
hdfs_test_LDADD = ${libdir}/libhdfs.la
|
2009-05-19 04:30:38 +00:00
|
|
|
|
2011-06-12 22:00:51 +00:00
|
|
|
hdfs_read_SOURCES = hdfs_read.c
|
|
|
|
hdfs_read_LDADD = ${libdir}/libhdfs.la
|
2009-05-19 04:30:38 +00:00
|
|
|
|
2011-06-12 22:00:51 +00:00
|
|
|
hdfs_write_SOURCES = hdfs_write.c
|
|
|
|
hdfs_write_LDADD = ${libdir}/libhdfs.la
|
2009-05-19 04:30:38 +00:00
|
|
|
|
2011-06-12 22:00:51 +00:00
|
|
|
test: hdfs_test hdfs_read hdfs_write
|
|
|
|
${LIBHDFS_SRC_DIR}/tests/test-libhdfs.sh
|
2009-05-19 04:30:38 +00:00
|
|
|
|
|
|
|
|
2011-06-12 22:00:51 +00:00
|
|
|
# vim: sw=4: ts=4: noet
|