diff options
Diffstat (limited to 'src/Makefile.am')
-rw-r--r-- | src/Makefile.am | 96 |
1 files changed, 96 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am new file mode 100644 index 0000000..6a05634 --- /dev/null +++ b/src/Makefile.am @@ -0,0 +1,96 @@ +# This file is part of GDBM. -*- Makefile -*- +# Copyright (C) 2007, 2011 Free Software Foundation, Inc. +# +# GDBM is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3, or (at your option) +# any later version. +# +# GDBM 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with GDBM. If not, see <http://www.gnu.org/licenses/>. + +# Flags +AM_CPPFLAGS=-DIN_GDBM -DLOCALEDIR=\"$(localedir)\" + +# Headers +include_HEADERS = gdbm.h +noinst_HEADERS = \ + gdbmconst.h\ + gdbmdefs.h\ + gettext.h\ + proto.h\ + systems.h + +EXTRA_DIST = gdbm.h.in gram.h + +# The libraries +VI_CURRENT = 4 +VI_REVISION = 0 +VI_AGE = 0 + +lib_LTLIBRARIES = libgdbm.la +libgdbm_la_LIBADD = @LTLIBINTL@ + +libgdbm_la_SOURCES = \ + gdbmclose.c\ + gdbmcount.c\ + gdbmdelete.c\ + gdbmdump.c\ + gdbmerrno.c\ + gdbmexists.c\ + gdbmexp.c\ + gdbmfdesc.c\ + gdbmfetch.c\ + gdbmload.c\ + gdbmopen.c\ + gdbmimp.c\ + gdbmreorg.c\ + gdbmseq.c\ + gdbmsetopt.c\ + gdbmstore.c\ + gdbmsync.c\ + base64.c\ + bucket.c\ + falloc.c\ + findkey.c\ + fullio.c\ + hash.c\ + lock.c\ + mmap.c\ + update.c\ + version.c + +libgdbm_la_LDFLAGS = -version-info $(VI_CURRENT):$(VI_REVISION):$(VI_AGE) + +noinst_LIBRARIES = libgdbmapp.a + +libgdbmapp_a_SOURCES =\ + err.c\ + mem.c\ + gdbmapp.h\ + parseopt.c\ + progname.c + +# Programs +bin_PROGRAMS = gdbmtool gdbm_load gdbm_dump + +gdbmtool_LDADD = ./libgdbmapp.a ./libgdbm.la +gdbmtool_SOURCES = \ + datconv.c\ + gram.y\ + lex.l\ + gdbmtool.h\ + gdbmtool.c\ + var.c\ + util.c + +AM_YFLAGS = -dtv +#AM_LFLAGS = -d + +gdbm_load_LDADD = ./libgdbmapp.a ./libgdbm.la +gdbm_dump_LDADD = ./libgdbmapp.a ./libgdbm.la |