### -*-makefile-*- ### ### Build script for utilities ### ### (c) 2009 Straylight/Edgeware ### ###----- Licensing notice --------------------------------------------------- ### ### This file is part of the mLib utilities library. ### ### mLib is free software; you can redistribute it and/or modify ### it under the terms of the GNU Library General Public License as ### published by the Free Software Foundation; either version 2 of the ### License, or (at your option) any later version. ### ### mLib is distributed in the hope that it will be useful, ### but WITHOUT ANY WARRANTY; without even the implied warranty of ### MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ### GNU Library General Public License for more details. ### ### You should have received a copy of the GNU Library General Public ### License along with mLib; if not, write to the Free ### Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, ### MA 02111-1307, USA. include $(top_srcdir)/vars.am noinst_LTLIBRARIES = libutils.la libutils_la_SOURCES = ###-------------------------------------------------------------------------- ### Component files. ## Utility macros. pkginclude_HEADERS += macros.h LIBMANS += macros.3 ## Alignment. pkginclude_HEADERS += align.h LIBMANS += align.3 ## Bit manipulation. pkginclude_HEADERS += bits.h LIBMANS += bits.3 check_PROGRAMS += t/bits.t t_bits_t_SOURCES = t/bits-test.c t_bits_t_CPPFLAGS = $(TEST_CPPFLAGS) t_bits_t_LDFLAGS = -static EXTRA_DIST += t/bits-testgen.py ## Exceptions. pkginclude_HEADERS += exc.h libutils_la_SOURCES += exc.c LIBMANS += exc.3 check_PROGRAMS += t/exc.t t_exc_t_SOURCES = t/exc-test.c t_exc_t_LDFLAGS = -static ## String handling. pkginclude_HEADERS += str.h libutils_la_SOURCES += str.c LIBMANS += str.3 ## Version comparison. pkginclude_HEADERS += versioncmp.h libutils_la_SOURCES += versioncmp.c LIBMANS += versioncmp.3 check_PROGRAMS += t/versioncmp.t t_versioncmp_t_SOURCES = t/versioncmp-test.c t_versioncmp_t_CPPFLAGS = $(TEST_CPPFLAGS) t_versioncmp_t_LDFLAGS = -static EXTRA_DIST += t/versioncmp.tests ###----- That's all, folks --------------------------------------------------