blob: 18c80d95085152d02210019777d8b45ad69dfd3f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
|
# This file is part of GDBM. -*- Makefile -*-
# Copyright (C) 2007, 2011, 2016-2019 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
nodist_include_HEADERS = gdbm.h
noinst_HEADERS = \
gdbmconst.h\
gdbmdefs.h\
gettext.h\
gram.h\
proto.h\
systems.h
EXTRA_DIST = gdbm.h.in gdbm.magic
BUILT_SOURCES = gdbm.h gram.h
gram.h: gram.c
# The libraries
VI_CURRENT = 6
VI_REVISION = 0
VI_AGE = 0
lib_LTLIBRARIES = libgdbm.la
libgdbm_la_LIBADD = @LTLIBINTL@
libgdbm_la_SOURCES = \
cachetree.c\
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\
recover.c\
update.c\
version.c
if GDBM_COND_DEBUG_ENABLE
libgdbm_la_SOURCES += debug.c
endif
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\
@READLINE_LIBS@
gdbmtool_SOURCES = \
datconv.c\
gram.y\
input-argv.c\
input-file.c\
lex.l\
gdbmtool.h\
gdbmtool.c\
var.c\
util.c
if GDBM_COND_READLINE
gdbmtool_SOURCES += input-rl.c
else
gdbmtool_SOURCES += input-std.c
endif
AM_YFLAGS = -dv $(YFLAGS_DEBUG)
AM_LFLAGS = $(LFLAGS_DEBUG)
if COND_GDBMTOOL_DEBUG
AM_CPPFLAGS += -DGDBMTOOL_DEBUG=1
endif
gdbm_load_LDADD = ./libgdbmapp.a ./libgdbm.la
gdbm_dump_LDADD = ./libgdbmapp.a ./libgdbm.la
|