3 ### Build script for data structures
5 ### (c) 2009 Straylight/Edgeware
8 ###----- Licensing notice ---------------------------------------------------
10 ### This file is part of the mLib utilities library.
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.
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.
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.
27 include $(top_srcdir)/vars.am
29 noinst_LTLIBRARIES = libstruct.la
30 libstruct_la_SOURCES =
32 ###--------------------------------------------------------------------------
36 pkginclude_HEADERS += dstr.h dspool.h
37 libstruct_la_SOURCES += dstr.c dstr-putf.c dspool.c
38 EXTRA_DIST += dstr.3.in dspool.3.in
39 LIBMANS += dstr.3 dspool.3
41 check_PROGRAMS += t/dstr-putf.t
42 t_dstr_putf_t_SOURCES = t/dstr-putf-test.c
43 t_dstr_putf_t_LDFLAGS = -static
46 pkginclude_HEADERS += buf.h
47 libstruct_la_SOURCES += buf.c buf-dstr.c buf-float.c buf-putf.c
48 EXTRA_DIST += buf.3.in
52 pkginclude_HEADERS += darray.h
53 libstruct_la_SOURCES += darray.c
54 EXTRA_DIST += darray.3.in
57 check_PROGRAMS += t/darray.t
58 t_darray_t_SOURCES = t/da-test.c
59 t_darray_t_CPPFLAGS = $(TEST_CPPFLAGS)
60 t_darray_t_LDFLAGS = -static
62 EXTRA_DIST += t/da-gtest
65 pkginclude_HEADERS += hash.h
66 libstruct_la_SOURCES += hash.c
67 EXTRA_DIST += hash.3.in
71 pkginclude_HEADERS += sym.h
72 libstruct_la_SOURCES += sym.c
73 EXTRA_DIST += sym.3.in
76 check_PROGRAMS += t/sym.t
77 t_sym_t_SOURCES = t/sym-test.c
78 t_sym_t_CPPFLAGS = $(TEST_CPPFLAGS)
79 t_sym_t_LDFLAGS = -static
81 EXTRA_DIST += t/sym-gtest
84 pkginclude_HEADERS += atom.h
85 libstruct_la_SOURCES += atom.c
86 EXTRA_DIST += atom.3.in
89 ## Association tables.
90 pkginclude_HEADERS += assoc.h
91 libstruct_la_SOURCES += assoc.c
92 EXTRA_DIST += assoc.3.in
95 check_PROGRAMS += t/assoc.t
96 t_assoc_t_SOURCES = t/assoc-test.c
97 t_assoc_t_CPPFLAGS = $(TEST_CPPFLAGS)
98 t_assoc_t_LDFLAGS = -static
100 ###----- That's all, folks --------------------------------------------------