~contact-philipashmore/treedb/master

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
# Copyright (C) 2009  Philip Ashmore (contact@philipashmore.com)
# License: LGPLv3.  See LICENSE.txt for the full license.

# One source for the package name and version information - here.
export package_name=treedb
export package_description=on-disk memory library
define package_long_description
 The package treedb provides malloc functionality, and much more!
 Need a heap that allocates from a fixed size chunk of memory? No problem.
 But where treedb comes into its own is when it comes to allocating from a
 mmap()ed disk file - the memory becomes persistent.
 .
 If you follow the tests/examples, you too can store dictionaries, trees
 , lists or whatever you can think of in disk-based memory, just an open()
 and mmap() away.
 .
 Treedb comes with an AVL tree, doubly-linked-list and
  variable-entry-sized-array implementations for you to use in your data.
endef
export package_long_description

# The package version number, (as distinct from shared library version)
# An odd micro number indicates in-progress development, (eg. from GIT)
# An even micro number indicates a released version.
export package_major_version=1
export package_minor_version=3
export package_micro_version=1
export package_version=$(package_major_version).$(package_minor_version).$(package_micro_version)-01
# increase the interface age by 2 for each release;
# if the API changes, set to 0
export package_interface_age=0

# This is the version clients may need to re-code for.
export package_next_major_version=1
export package_next_minor_version=4
export package_next_micro_version=0
export package_next_version=$(package_next_major_version).$(package_next_minor_version).$(package_next_micro_version)

# used by Debian package boilerplate in v3c_mak.sh
export package_license=lgpl
export package_author=Philip Ashmore
export package_email=contact@philipashmore.com
#export package_is_lib=1
export package_is_lib=0
#export package_url=http://sourceforge.net/projects/$(package_name)/
export package_support_url=http://sourceforge.net/projects/$(package_name)/support/

v3c_filter_priority?=* %MODE% v3c

ifneq ($(wildcard $(prefix)/include/v3c/v3c.mak)$(wildcard /usr/include/v3c/v3c.mak)$(wildcard /usr/local/include/v3c/v3c.mak),)
include v3c/v3c.mak
else
$(warning VPATH = [$(VPATH)])
$(warning prefix = [$(prefix)])
$(warning You need to install v3c.)
$(warning You can download it from http://sourceforge.net/projects/v3c/)
$(error )
endif