1 # This file is part of GDBM. -*- Makefile -*-
2 # Copyright (C) 2007, 2011 Free Software Foundation, Inc.
4 # GDBM is free software; you can redistribute it and/or modify
5 # it under the terms of the GNU General Public License as published by
6 # the Free Software Foundation; either version 3, or (at your option)
9 # GDBM is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 # GNU General Public License for more details.
14 # You should have received a copy of the GNU General Public License
15 # along with GDBM. If not, see <http://www.gnu.org/licenses/>.
18 AM_CPPFLAGS=-DIN_GDBM -DLOCALEDIR=\"$(localedir)\"
21 include_HEADERS = gdbm.h
29 EXTRA_DIST = gdbm.h.in gram.h
36 lib_LTLIBRARIES = libgdbm.la
37 libgdbm_la_LIBADD = @LTLIBINTL@
39 libgdbm_la_SOURCES = \
68 libgdbm_la_LDFLAGS = -version-info $(VI_CURRENT):$(VI_REVISION):$(VI_AGE)
70 noinst_LIBRARIES = libgdbmapp.a
72 libgdbmapp_a_SOURCES =\
80 bin_PROGRAMS = gdbmtool gdbm_load gdbm_dump
82 gdbmtool_LDADD = ./libgdbmapp.a ./libgdbm.la
95 gdbm_load_LDADD = ./libgdbmapp.a ./libgdbm.la
96 gdbm_dump_LDADD = ./libgdbmapp.a ./libgdbm.la