chiark / gitweb /
precomp: New directory for precomputed files.
[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
35## Utility macros.
36pkginclude_HEADERS += macros.h
37LIBMANS += macros.3
38
39## Alignment.
40pkginclude_HEADERS += align.h
41LIBMANS += align.3
42
43## Bit manipulation.
44pkginclude_HEADERS += bits.h
45LIBMANS += bits.3
46
47EXTRA_DIST += bits.in bits-testgen.c
48tests:: bits.t bits.in
49 ./bits.t -f $(srcdir)/bits.in
50
51check_PROGRAMS += bits.t
52bits_t_SOURCES = bits.c
53bits_t_CPPFLAGS = $(TEST_CPPFLAGS)
54bits_t_LDFLAGS = -static
55
56## Exceptions.
57pkginclude_HEADERS += exc.h
58libutils_la_SOURCES += exc.c
59LIBMANS += exc.3
60
61## String handling.
62pkginclude_HEADERS += str.h
63libutils_la_SOURCES += str.c
64LIBMANS += str.3
65
66## Version comparison.
67pkginclude_HEADERS += versioncmp.h
68libutils_la_SOURCES += versioncmp.c
69LIBMANS += versioncmp.3
70
71EXTRA_DIST += versioncmp.in
72tests:: versioncmp.t versioncmp.in
73 ./versioncmp.t -f $(srcdir)/versioncmp.in
74
75check_PROGRAMS += versioncmp.t
76versioncmp_t_SOURCES = versioncmp-test.c
77versioncmp_t_CPPFLAGS = $(TEST_CPPFLAGS)
78versioncmp_t_LDFLAGS = -static
79
80###----- That's all, folks --------------------------------------------------