### -*-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 EXTRA_DIST += bits.in bits-testgen.c tests:: bits.t bits.in ./bits.t -f $(srcdir)/bits.in check_PROGRAMS += bits.t bits_t_SOURCES = bits.c bits_t_CPPFLAGS = $(TEST_CPPFLAGS) bits_t_LDFLAGS = -static ## Exceptions. pkginclude_HEADERS += exc.h libutils_la_SOURCES += exc.c LIBMANS += exc.3 ## 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 EXTRA_DIST += versioncmp.in tests:: versioncmp.t versioncmp.in ./versioncmp.t -f $(srcdir)/versioncmp.in check_PROGRAMS += versioncmp.t versioncmp_t_SOURCES = versioncmp-test.c versioncmp_t_CPPFLAGS = $(TEST_CPPFLAGS) versioncmp_t_LDFLAGS = -static ###----- That's all, folks --------------------------------------------------