chiark / gitweb /
struct/dstr-putf.c (dstr_vputf): Rewrite to support `%n$...' specs.
[mLib] / struct / Makefile.am
CommitLineData
18c831dc
MW
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
27include $(top_srcdir)/vars.am
28
29noinst_LTLIBRARIES = libstruct.la
30libstruct_la_SOURCES =
31
32###--------------------------------------------------------------------------
33### Component files.
34
35## Dynamic strings.
36pkginclude_HEADERS += dstr.h dspool.h
37libstruct_la_SOURCES += dstr.c dstr-putf.c dspool.c
38LIBMANS += dstr.3 dspool.3
39
eff136f6
MW
40check_PROGRAMS += t/dstr-putf.t
41t_dstr_putf_t_SOURCES = t/dstr-putf-test.c
42t_dstr_putf_t_LDFLAGS = -static
43
18c831dc
MW
44## Buffers.
45pkginclude_HEADERS += buf.h
46libstruct_la_SOURCES += buf.c buf-dstr.c
47LIBMANS += buf.3
48
49## Dynamic arrays.
50pkginclude_HEADERS += darray.h
51libstruct_la_SOURCES += darray.c
52LIBMANS += darray.3
53
7cf5c72a
MW
54check_PROGRAMS += t/darray.t
55t_darray_t_SOURCES = t/da-test.c
56t_darray_t_CPPFLAGS = $(TEST_CPPFLAGS)
57t_darray_t_LDFLAGS = -static
58
59EXTRA_DIST += t/da-gtest.py
18c831dc
MW
60
61## Hash tables.
62pkginclude_HEADERS += hash.h
63libstruct_la_SOURCES += hash.c
64LIBMANS += hash.3
65
66## Symbol tables.
67pkginclude_HEADERS += sym.h
68libstruct_la_SOURCES += sym.c
69LIBMANS += sym.3
70
7cf5c72a
MW
71check_PROGRAMS += t/sym.t
72t_sym_t_SOURCES = t/sym-test.c
73t_sym_t_CPPFLAGS = $(TEST_CPPFLAGS)
74t_sym_t_LDFLAGS = -static
18c831dc 75
7cf5c72a 76EXTRA_DIST += t/sym-gtest.py
18c831dc
MW
77
78## Atoms.
79pkginclude_HEADERS += atom.h
80libstruct_la_SOURCES += atom.c
81LIBMANS += atom.3
82
83## Association tables.
84pkginclude_HEADERS += assoc.h
85libstruct_la_SOURCES += assoc.c
86LIBMANS += assoc.3
87
7cf5c72a
MW
88check_PROGRAMS += t/assoc.t
89t_assoc_t_SOURCES = t/assoc-test.c
90t_assoc_t_CPPFLAGS = $(TEST_CPPFLAGS)
91t_assoc_t_LDFLAGS = -static
18c831dc
MW
92
93###----- That's all, folks --------------------------------------------------