chiark / gitweb /
codec/{base32,hex}.h: Include `codec.h'.
[mLib] / struct / Makefile.am
1 ### -*-makefile-*-
2 ###
3 ### Build script for data structures
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       = libstruct.la
30 libstruct_la_SOURCES     =
31
32 ###--------------------------------------------------------------------------
33 ### Component files.
34
35 ## Dynamic strings.
36 pkginclude_HEADERS      += dstr.h dspool.h
37 libstruct_la_SOURCES    += dstr.c dstr-putf.c dspool.c
38 LIBMANS                 += dstr.3 dspool.3
39
40 ## Buffers.
41 pkginclude_HEADERS      += buf.h
42 libstruct_la_SOURCES    += buf.c buf-dstr.c
43 LIBMANS                 += buf.3
44
45 ## Dynamic arrays.
46 pkginclude_HEADERS      += darray.h
47 libstruct_la_SOURCES    += darray.c
48 LIBMANS                 += darray.3
49
50 check_PROGRAMS          += t/darray.t
51 t_darray_t_SOURCES       = t/da-test.c
52 t_darray_t_CPPFLAGS      = $(TEST_CPPFLAGS)
53 t_darray_t_LDFLAGS       = -static
54
55 EXTRA_DIST              += t/da-gtest.py
56
57 ## Hash tables.
58 pkginclude_HEADERS      += hash.h
59 libstruct_la_SOURCES    += hash.c
60 LIBMANS                 += hash.3
61
62 ## Symbol tables.
63 pkginclude_HEADERS      += sym.h
64 libstruct_la_SOURCES    += sym.c
65 LIBMANS                 += sym.3
66
67 check_PROGRAMS          += t/sym.t
68 t_sym_t_SOURCES          = t/sym-test.c
69 t_sym_t_CPPFLAGS         = $(TEST_CPPFLAGS)
70 t_sym_t_LDFLAGS          = -static
71
72 EXTRA_DIST              += t/sym-gtest.py
73
74 ## Atoms.
75 pkginclude_HEADERS      += atom.h
76 libstruct_la_SOURCES    += atom.c
77 LIBMANS                 += atom.3
78
79 ## Association tables.
80 pkginclude_HEADERS      += assoc.h
81 libstruct_la_SOURCES    += assoc.c
82 LIBMANS                 += assoc.3
83
84 check_PROGRAMS          += t/assoc.t
85 t_assoc_t_SOURCES        = t/assoc-test.c
86 t_assoc_t_CPPFLAGS       = $(TEST_CPPFLAGS)
87 t_assoc_t_LDFLAGS        = -static
88
89 ###----- That's all, folks --------------------------------------------------