@@@ man wip
[mLib] / utils / Makefile.am
CommitLineData
18c831dc
MW
1### -*-makefile-*-
2###
3### Build script for utilities
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 = libutils.la
30libutils_la_SOURCES =
31
32###--------------------------------------------------------------------------
33### Component files.
34
33e3ac90
MW
35## Compiler checking.
36pkginclude_HEADERS += compiler.h
37LIBMANS += compiler.3
38
18c831dc
MW
39## Utility macros.
40pkginclude_HEADERS += macros.h
41LIBMANS += macros.3
42
43## Alignment.
44pkginclude_HEADERS += align.h
45LIBMANS += align.3
46
47## Bit manipulation.
48pkginclude_HEADERS += bits.h
49LIBMANS += bits.3
50
7cf5c72a
MW
51check_PROGRAMS += t/bits.t
52t_bits_t_SOURCES = t/bits-test.c
53t_bits_t_CPPFLAGS = $(TEST_CPPFLAGS)
54t_bits_t_LDFLAGS = -static
c81c35df 55EXTRA_DIST += t/bits-testgen
18c831dc 56
e6591bec
MW
57## Control flow.
58pkginclude_HEADERS += control.h
adec5584 59LIBMANS += control.3
e6591bec
MW
60
61check_PROGRAMS += t/control.t
62t_control_t_SOURCES = t/control-test.c
63t_control_t_CPPFLAGS = $(TEST_CPPFLAGS)
64t_control_t_LDFLAGS = -static
65
18c831dc
MW
66## Exceptions.
67pkginclude_HEADERS += exc.h
68libutils_la_SOURCES += exc.c
69LIBMANS += exc.3
70
7cf5c72a
MW
71check_PROGRAMS += t/exc.t
72t_exc_t_SOURCES = t/exc-test.c
73t_exc_t_LDFLAGS = -static
74
e63124bc
MW
75## Generalized formatting.
76pkginclude_HEADERS += gprintf.h
77libutils_la_SOURCES += gprintf.c
adec5584 78LIBMANS += gprintf.3
e63124bc 79
b64eb60f
MW
80## Linear regression.
81pkginclude_HEADERS += linreg.h
82libutils_la_SOURCES += linreg.c
adec5584 83LIBMANS += linreg.3
b64eb60f 84
67b5031e
MW
85## Mathematics.
86pkginclude_HEADERS += maths.h
adec5584 87LIBMANS += maths.3
67b5031e 88
18c831dc
MW
89## String handling.
90pkginclude_HEADERS += str.h
91libutils_la_SOURCES += str.c
92LIBMANS += str.3
93
94## Version comparison.
95pkginclude_HEADERS += versioncmp.h
96libutils_la_SOURCES += versioncmp.c
97LIBMANS += versioncmp.3
98
7cf5c72a
MW
99check_PROGRAMS += t/versioncmp.t
100t_versioncmp_t_SOURCES = t/versioncmp-test.c
101t_versioncmp_t_CPPFLAGS = $(TEST_CPPFLAGS)
102t_versioncmp_t_LDFLAGS = -static
103EXTRA_DIST += t/versioncmp.tests
18c831dc
MW
104
105###----- That's all, folks --------------------------------------------------