chiark / gitweb /
@@@ much mess, mostly manpages
[mLib] / mem / Makefile.am
1 ### -*-makefile-*-
2 ###
3 ### Build script for memory allocation
4 ###
5 ### (c) 2009 Straylight/Edgeware
6 ###
7
8 ###----- Licensing notice ---------------------------------------------------
9 ###
10 ### This file is part of the mLib utilities library.
11 ###
12 ### mLib is free software; you can redistribute it and/or modify
13 ### it under the terms of the GNU Library General Public License as
14 ### published by the Free Software Foundation; either version 2 of the
15 ### License, or (at your option) any later version.
16 ###
17 ### mLib is distributed in the hope that it will be useful,
18 ### but WITHOUT ANY WARRANTY; without even the implied warranty of
19 ### MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
20 ### GNU Library General Public License for more details.
21 ###
22 ### You should have received a copy of the GNU Library General Public
23 ### License along with mLib; if not, write to the Free
24 ### Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
25 ### MA 02111-1307, USA.
26
27 include $(top_srcdir)/vars.am
28
29 noinst_LTLIBRARIES       = libmem.la
30 libmem_la_SOURCES        =
31
32 ###--------------------------------------------------------------------------
33 ### Component files.
34
35 ## Arena abstraction.
36 pkginclude_HEADERS      += arena.h
37 libmem_la_SOURCES       += arena.c
38 EXTRA_DIST              += arena.3.in
39 LIBMANS                 += arena.3
40
41 ## Memory allocation with exceptions.
42 pkginclude_HEADERS      += alloc.h
43 libmem_la_SOURCES       += alloc.c
44 EXTRA_DIST              += alloc.3.in
45 LIBMANS                 += alloc.3
46
47 ## Buffer extension.
48 pkginclude_HEADERS      += growbuf.h
49 EXTRA_DIST              += growbuf.3.in
50 LIBMANS                 += growbuf.3
51
52 ## Slab allocator.
53 pkginclude_HEADERS      += sub.h
54 libmem_la_SOURCES       += sub.c
55 EXTRA_DIST              += sub.3.in
56 LIBMANS                 += sub.3
57
58 ## Pool allocator.
59 pkginclude_HEADERS      += pool.h
60 libmem_la_SOURCES       += pool.c pool-file.c pool-sub.c
61 EXTRA_DIST              += pool.3.in
62 LIBMANS                 += pool.3
63
64 ###----- That's all, folks --------------------------------------------------