### -*-makefile-*- ### ### Build script for data structures ### ### (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 = libstruct.la libstruct_la_SOURCES = ###-------------------------------------------------------------------------- ### Component files. ## Dynamic strings. pkginclude_HEADERS += dstr.h dspool.h libstruct_la_SOURCES += dstr.c dstr-putf.c dspool.c LIBMANS += dstr.3 dspool.3 check_PROGRAMS += t/dstr-putf.t t_dstr_putf_t_SOURCES = t/dstr-putf-test.c t_dstr_putf_t_LDFLAGS = -static ## Buffers. pkginclude_HEADERS += buf.h libstruct_la_SOURCES += buf.c buf-dstr.c LIBMANS += buf.3 ## Dynamic arrays. pkginclude_HEADERS += darray.h libstruct_la_SOURCES += darray.c LIBMANS += darray.3 check_PROGRAMS += t/darray.t t_darray_t_SOURCES = t/da-test.c t_darray_t_CPPFLAGS = $(TEST_CPPFLAGS) t_darray_t_LDFLAGS = -static EXTRA_DIST += t/da-gtest.py ## Hash tables. pkginclude_HEADERS += hash.h libstruct_la_SOURCES += hash.c LIBMANS += hash.3 ## Symbol tables. pkginclude_HEADERS += sym.h libstruct_la_SOURCES += sym.c LIBMANS += sym.3 check_PROGRAMS += t/sym.t t_sym_t_SOURCES = t/sym-test.c t_sym_t_CPPFLAGS = $(TEST_CPPFLAGS) t_sym_t_LDFLAGS = -static EXTRA_DIST += t/sym-gtest.py ## Atoms. pkginclude_HEADERS += atom.h libstruct_la_SOURCES += atom.c LIBMANS += atom.3 ## Association tables. pkginclude_HEADERS += assoc.h libstruct_la_SOURCES += assoc.c LIBMANS += assoc.3 check_PROGRAMS += t/assoc.t t_assoc_t_SOURCES = t/assoc-test.c t_assoc_t_CPPFLAGS = $(TEST_CPPFLAGS) t_assoc_t_LDFLAGS = -static ###----- That's all, folks --------------------------------------------------