@@@ much mess, mostly manpages
[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
c4ccbbf9 38EXTRA_DIST += dstr.3.in dspool.3.in
18c831dc
MW
39LIBMANS += dstr.3 dspool.3
40
eff136f6
MW
41check_PROGRAMS += t/dstr-putf.t
42t_dstr_putf_t_SOURCES = t/dstr-putf-test.c
43t_dstr_putf_t_LDFLAGS = -static
44
18c831dc
MW
45## Buffers.
46pkginclude_HEADERS += buf.h
e63124bc 47libstruct_la_SOURCES += buf.c buf-dstr.c buf-float.c buf-putf.c
c4ccbbf9 48EXTRA_DIST += buf.3.in
18c831dc
MW
49LIBMANS += buf.3
50
51## Dynamic arrays.
52pkginclude_HEADERS += darray.h
53libstruct_la_SOURCES += darray.c
c4ccbbf9 54EXTRA_DIST += darray.3.in
18c831dc
MW
55LIBMANS += darray.3
56
7cf5c72a
MW
57check_PROGRAMS += t/darray.t
58t_darray_t_SOURCES = t/da-test.c
59t_darray_t_CPPFLAGS = $(TEST_CPPFLAGS)
60t_darray_t_LDFLAGS = -static
61
c81c35df 62EXTRA_DIST += t/da-gtest
18c831dc
MW
63
64## Hash tables.
65pkginclude_HEADERS += hash.h
66libstruct_la_SOURCES += hash.c
c4ccbbf9 67EXTRA_DIST += hash.3.in
18c831dc
MW
68LIBMANS += hash.3
69
70## Symbol tables.
71pkginclude_HEADERS += sym.h
72libstruct_la_SOURCES += sym.c
c4ccbbf9 73EXTRA_DIST += sym.3.in
18c831dc
MW
74LIBMANS += sym.3
75
7cf5c72a
MW
76check_PROGRAMS += t/sym.t
77t_sym_t_SOURCES = t/sym-test.c
78t_sym_t_CPPFLAGS = $(TEST_CPPFLAGS)
79t_sym_t_LDFLAGS = -static
18c831dc 80
c81c35df 81EXTRA_DIST += t/sym-gtest
18c831dc
MW
82
83## Atoms.
84pkginclude_HEADERS += atom.h
85libstruct_la_SOURCES += atom.c
c4ccbbf9 86EXTRA_DIST += atom.3.in
18c831dc
MW
87LIBMANS += atom.3
88
89## Association tables.
90pkginclude_HEADERS += assoc.h
91libstruct_la_SOURCES += assoc.c
c4ccbbf9 92EXTRA_DIST += assoc.3.in
18c831dc
MW
93LIBMANS += assoc.3
94
7cf5c72a
MW
95check_PROGRAMS += t/assoc.t
96t_assoc_t_SOURCES = t/assoc-test.c
97t_assoc_t_CPPFLAGS = $(TEST_CPPFLAGS)
98t_assoc_t_LDFLAGS = -static
18c831dc
MW
99
100###----- That's all, folks --------------------------------------------------