3 ### Build script for utilities
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 = libutils.la
32 ###--------------------------------------------------------------------------
36 pkginclude_HEADERS += macros.h
40 pkginclude_HEADERS += align.h
44 pkginclude_HEADERS += bits.h
47 EXTRA_DIST += bits.in bits-testgen.c
48 tests:: bits.t bits.in
49 ./bits.t -f $(srcdir)/bits.in
51 check_PROGRAMS += bits.t
52 bits_t_SOURCES = bits.c
53 bits_t_CPPFLAGS = $(TEST_CPPFLAGS)
54 bits_t_LDFLAGS = -static
57 pkginclude_HEADERS += exc.h
58 libutils_la_SOURCES += exc.c
62 pkginclude_HEADERS += str.h
63 libutils_la_SOURCES += str.c
66 ## Version comparison.
67 pkginclude_HEADERS += versioncmp.h
68 libutils_la_SOURCES += versioncmp.c
69 LIBMANS += versioncmp.3
71 EXTRA_DIST += versioncmp.in
72 tests:: versioncmp.t versioncmp.in
73 ./versioncmp.t -f $(srcdir)/versioncmp.in
75 check_PROGRAMS += versioncmp.t
76 versioncmp_t_SOURCES = versioncmp-test.c
77 versioncmp_t_CPPFLAGS = $(TEST_CPPFLAGS)
78 versioncmp_t_LDFLAGS = -static
80 ###----- That's all, folks --------------------------------------------------