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 LIBMANS += dstr.3 dspool.3
40 check_PROGRAMS += t/dstr-putf.t
41 t_dstr_putf_t_SOURCES = t/dstr-putf-test.c
42 t_dstr_putf_t_LDFLAGS = -static
45 pkginclude_HEADERS += buf.h
46 libstruct_la_SOURCES += buf.c buf-dstr.c buf-float.c buf-putf.c
50 pkginclude_HEADERS += darray.h
51 libstruct_la_SOURCES += darray.c
54 check_PROGRAMS += t/darray.t
55 t_darray_t_SOURCES = t/da-test.c
56 t_darray_t_CPPFLAGS = $(TEST_CPPFLAGS)
57 t_darray_t_LDFLAGS = -static
59 EXTRA_DIST += t/da-gtest.py
62 pkginclude_HEADERS += hash.h
63 libstruct_la_SOURCES += hash.c
67 pkginclude_HEADERS += sym.h
68 libstruct_la_SOURCES += sym.c
71 check_PROGRAMS += t/sym.t
72 t_sym_t_SOURCES = t/sym-test.c
73 t_sym_t_CPPFLAGS = $(TEST_CPPFLAGS)
74 t_sym_t_LDFLAGS = -static
76 EXTRA_DIST += t/sym-gtest.py
79 pkginclude_HEADERS += atom.h
80 libstruct_la_SOURCES += atom.c
83 ## Association tables.
84 pkginclude_HEADERS += assoc.h
85 libstruct_la_SOURCES += assoc.c
88 check_PROGRAMS += t/assoc.t
89 t_assoc_t_SOURCES = t/assoc-test.c
90 t_assoc_t_CPPFLAGS = $(TEST_CPPFLAGS)
91 t_assoc_t_LDFLAGS = -static
93 ###----- That's all, folks --------------------------------------------------