Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 120 lines (88 sloc) 3.512 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119
# libvbucket
# Copyright (C) 2010 NorthScale, Inc
# All rights reserved.
#
# Use and distribution licensed under the BSD license. See
# the COPYING file in this directory for full text.
ACLOCAL_AMFLAGS = -I m4 --force

bin_PROGRAMS = vbuckettool vbucketkeygen
EXTRA_DIST = docs Doxyfile LICENSE README.markdown

pkginclude_HEADERS = \
                     include/libvbucket/vbucket.h \
                     include/libvbucket/visibility.h

man_MANS =
if BUILD_DOCS
man_MANS += libvbucket.3lib \
            libvbucket.4 \
            vbucket_config_destroy.3vbucket \
            vbucket_config_get_num_replicas.3vbucket \
            vbucket_config_get_num_servers.3vbucket \
            vbucket_config_get_num_vbuckets.3vbucket \
            vbucket_config_get_server.3vbucket \
            vbucket_config_parse_file.3vbucket \
            vbucket_config_parse_string.3vbucket \
            vbucket_get_error.3vbucket \
            vbucket_get_master.3vbucket \
            vbucket_get_replica.3vbucket \
            vbucket_get_vbucket_by_key.3vbucket
endif

CLEANFILES= ${man_MANS}

libvbucket.3lib: docs/libvbucket.pod
${POD2MAN} -c "$*" -r "" -s 3lib $< $@

libvbucket.4: docs/fileformat.pod
${POD2MAN} -c "$*" -r "" -s 4 $< $@

vbucket_config_parse_file.3vbucket: docs/allocation.pod
${POD2MAN} -c "$*" -r "" -s 3lib $< $@

vbucket_config_parse_string.3vbucket: docs/allocation.pod
${POD2MAN} -c "$*" -r "" -s 3lib $< $@

vbucket_config_destroy.3vbucket: docs/allocation.pod
${POD2MAN} -c "$*" -r "" -s 3lib $< $@

vbucket_get_error.3vbucket: docs/misc.pod
${POD2MAN} -c "$*" -r "" -s 3lib $< $@

vbucket_config_get_num_replicas.3vbucket: docs/config.pod
${POD2MAN} -c "$*" -r "" -s 3lib $< $@

vbucket_config_get_num_vbuckets.3vbucket: docs/config.pod
${POD2MAN} -c "$*" -r "" -s 3lib $< $@

vbucket_config_get_num_servers.3vbucket: docs/config.pod
${POD2MAN} -c "$*" -r "" -s 3lib $< $@

vbucket_config_get_server.3vbucket: docs/config.pod
${POD2MAN} -c "$*" -r "" -s 3lib $< $@

vbucket_get_vbucket_by_key.3vbucket: docs/vbucket.pod
${POD2MAN} -c "$*" -r "" -s 3lib $< $@

vbucket_get_master.3vbucket: docs/vbucket.pod
${POD2MAN} -c "$*" -r "" -s 3lib $< $@

vbucket_get_replica.3vbucket: docs/vbucket.pod
${POD2MAN} -c "$*" -r "" -s 3lib $< $@



lib_LTLIBRARIES = libvbucket.la

pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libvbucket.pc

check_PROGRAMS= testapp regression
TESTS = ${check_PROGRAMS}

# Test application to test stuff from C
testapp_SOURCES = tests/testapp.c
testapp_DEPENDENCIES= libvbucket.la
testapp_LDADD= libvbucket.la ${LTLIBHASHKIT}

regression_SOURCES = tests/regression.c
regression_DEPENDENCIES= libvbucket.la
regression_LDADD= libvbucket.la ${LTLIBHASHKIT}


libvbucket_la_SOURCES= \
                        src/cJSON.c \
                        src/cJSON.h \
                        src/vbucket.c

#
# To ensure that we don't break applications in mysterious ways we need
# to version our library. For a detailed description, check out:
# http://www.gnu.org/software/libtool/manual/libtool.html#Libtool-versioning
#
current=0
revision=0
age=0
libvbucket_la_LDFLAGS= -version-info $(current):$(revision):$(age) -no-undefined
libvbucket_la_LIBADD= ${LTLIBHASHKIT}

vbuckettool_SOURCES = src/vbuckettool.c
vbuckettool_DEPENDENCIES= libvbucket.la
vbuckettool_LDADD= libvbucket.la ${LTLIBHASHKIT}

vbucketkeygen_SOURCES = src/vbucketkeygen.c
vbucketkeygen_DEPENDENCIES= libvbucket.la
vbucketkeygen_LDADD= libvbucket.la ${LTLIBHASHKIT}

test: check-TESTS

Something went wrong with that request. Please try again.