1 |
## Prefered emacs editing mode: -*- Makefile -*- |
2 |
## |
3 |
## Copyright (C) 2002 by Kevin L. Mitchell <klmitch@mit.edu> |
4 |
## |
5 |
## This library is free software; you can redistribute it and/or |
6 |
## modify it under the terms of the GNU Library General Public |
7 |
## License as published by the Free Software Foundation; either |
8 |
## version 2 of the License, or (at your option) any later version. |
9 |
## |
10 |
## This library is distributed in the hope that it will be useful, |
11 |
## but WITHOUT ANY WARRANTY; without even the implied warranty of |
12 |
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
13 |
## Library General Public License for more details. |
14 |
## |
15 |
## You should have received a copy of the GNU Library General Public |
16 |
## License along with this library; if not, write to the Free |
17 |
## Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, |
18 |
## MA 02111-1307, USA |
19 |
## |
20 |
## @(#)$Id: Makefile.am,v 1.9 2003/12/11 06:33:58 klmitch Exp $ |
21 |
## |
22 |
## Process this file with automake to generate Makefile.in |
23 |
|
24 |
AUTOMAKE_OPTIONS = foreign |
25 |
|
26 |
# The . here forces prefix ordering, so make check rebuilds the |
27 |
# library first if necessary |
28 |
SUBDIRS = . tests |
29 |
|
30 |
noinst_LTLIBRARIES = libdbprim.la |
31 |
libdbprim_la_SOURCES = dbprim.h dbprim_err.h dbprim_int.h dbprim_version.c \ |
32 |
\ |
33 |
_hash_prime.c he_init.c ht_add.c ht_find.c ht_flush.c \ |
34 |
ht_free.c ht_init.c ht_iter.c ht_move.c ht_remove.c \ |
35 |
ht_resize.c \ |
36 |
\ |
37 |
le_init.c ll_add.c ll_find.c ll_flush.c ll_init.c \ |
38 |
ll_iter.c ll_move.c ll_remove.c \ |
39 |
\ |
40 |
_rb_locate.c _rb_rotate.c rn_init.c rt_add.c rt_find.c \ |
41 |
rt_flush.c rt_init.c rt_iter.c rt_move.c rt_next.c \ |
42 |
rt_remove.c \ |
43 |
\ |
44 |
sh_find.c sh_flush.c sh_init.c sh_iter.c sh_move.c \ |
45 |
_smat_comp.c smat_freelist.c _smat_hash.c \ |
46 |
_smat_resize.c st_add.c st_find.c st_flush.c st_free.c \ |
47 |
st_init.c st_iter.c st_remove.c st_resize.c |
48 |
libdbprim_la_LIBADD = @DBPRIM_ET_OBJS@ |
49 |
libdbprim_la_DEPENDENCIES = @DBPRIM_ET_OBJS@ |
50 |
libdbprim_la_LDFLAGS = -version-info 2:0:0 |
51 |
|
52 |
noinst_HEADERS = dbprim.h dbprim_err.h dbprim_version.h |
53 |
|
54 |
noinst_SCRIPTS = dbprim-config |
55 |
|
56 |
BUILT_SOURCES = dbprim_err.h |
57 |
|
58 |
docmandir = doc/man/man3 |
59 |
|
60 |
noinst_MANS = $(docmandir)/dbprim_hash.3 \ |
61 |
$(docmandir)/dbprim.3 \ |
62 |
$(docmandir)/dbprim_link.3 \ |
63 |
$(docmandir)/dbprim_rbtree.3 \ |
64 |
$(docmandir)/dbprim_smat.3 \ |
65 |
\ |
66 |
$(docmandir)/DB_KEY_INIT.3 \ |
67 |
$(docmandir)/db_key_t.3 \ |
68 |
$(docmandir)/dk_key.3 \ |
69 |
$(docmandir)/dk_len.3 \ |
70 |
$(docmandir)/hash_comp_t.3 \ |
71 |
$(docmandir)/HASH_ENTRY_INIT.3 \ |
72 |
$(docmandir)/hash_entry_t.3 \ |
73 |
$(docmandir)/hash_func_t.3 \ |
74 |
$(docmandir)/hash_iter_t.3 \ |
75 |
$(docmandir)/hash_resize_t.3 \ |
76 |
$(docmandir)/HASH_TABLE_INIT.3 \ |
77 |
$(docmandir)/hash_table_t.3 \ |
78 |
$(docmandir)/he_flags.3 \ |
79 |
$(docmandir)/he_hash.3 \ |
80 |
$(docmandir)/he_init.3 \ |
81 |
$(docmandir)/he_key.3 \ |
82 |
$(docmandir)/he_link.3 \ |
83 |
$(docmandir)/he_table.3 \ |
84 |
$(docmandir)/he_value.3 \ |
85 |
$(docmandir)/he_verify.3 \ |
86 |
$(docmandir)/ht_add.3 \ |
87 |
$(docmandir)/ht_comp.3 \ |
88 |
$(docmandir)/ht_count.3 \ |
89 |
$(docmandir)/ht_extra.3 \ |
90 |
$(docmandir)/ht_find.3 \ |
91 |
$(docmandir)/ht_flags.3 \ |
92 |
$(docmandir)/ht_flush.3 \ |
93 |
$(docmandir)/ht_free.3 \ |
94 |
$(docmandir)/ht_frozen.3 \ |
95 |
$(docmandir)/ht_func.3 \ |
96 |
$(docmandir)/ht_init.3 \ |
97 |
$(docmandir)/ht_iter.3 \ |
98 |
$(docmandir)/ht_modulus.3 \ |
99 |
$(docmandir)/ht_move.3 \ |
100 |
$(docmandir)/ht_remove.3 \ |
101 |
$(docmandir)/ht_resize.3 \ |
102 |
$(docmandir)/ht_rsize.3 \ |
103 |
$(docmandir)/ht_size.3 \ |
104 |
$(docmandir)/ht_verify.3 \ |
105 |
$(docmandir)/le_flags.3 \ |
106 |
$(docmandir)/le_head.3 \ |
107 |
$(docmandir)/le_init.3 \ |
108 |
$(docmandir)/le_next.3 \ |
109 |
$(docmandir)/le_object.3 \ |
110 |
$(docmandir)/le_prev.3 \ |
111 |
$(docmandir)/le_verify.3 \ |
112 |
$(docmandir)/link_comp_t.3 \ |
113 |
$(docmandir)/LINK_ELEM_INIT.3 \ |
114 |
$(docmandir)/link_elem_t.3 \ |
115 |
$(docmandir)/LINK_HEAD_INIT.3 \ |
116 |
$(docmandir)/link_head_t.3 \ |
117 |
$(docmandir)/link_iter_t.3 \ |
118 |
$(docmandir)/link_loc_t.3 \ |
119 |
$(docmandir)/ll_add.3 \ |
120 |
$(docmandir)/ll_count.3 \ |
121 |
$(docmandir)/ll_extra.3 \ |
122 |
$(docmandir)/ll_find.3 \ |
123 |
$(docmandir)/ll_first.3 \ |
124 |
$(docmandir)/ll_flush.3 \ |
125 |
$(docmandir)/ll_init.3 \ |
126 |
$(docmandir)/ll_iter.3 \ |
127 |
$(docmandir)/ll_last.3 \ |
128 |
$(docmandir)/ll_move.3 \ |
129 |
$(docmandir)/ll_remove.3 \ |
130 |
$(docmandir)/ll_verify.3 \ |
131 |
$(docmandir)/rb_color_t.3 \ |
132 |
$(docmandir)/rb_comp_t.3 \ |
133 |
$(docmandir)/rb_iter_t.3 \ |
134 |
$(docmandir)/RB_NODE_INIT.3 \ |
135 |
$(docmandir)/rb_node_t.3 \ |
136 |
$(docmandir)/RB_TREE_INIT.3 \ |
137 |
$(docmandir)/rb_tree_t.3 \ |
138 |
$(docmandir)/rn_color.3 \ |
139 |
$(docmandir)/rn_init.3 \ |
140 |
$(docmandir)/rn_isblack.3 \ |
141 |
$(docmandir)/rn_isleft.3 \ |
142 |
$(docmandir)/rn_isred.3 \ |
143 |
$(docmandir)/rn_isright.3 \ |
144 |
$(docmandir)/rn_key.3 \ |
145 |
$(docmandir)/rn_left.3 \ |
146 |
$(docmandir)/rn_parent.3 \ |
147 |
$(docmandir)/rn_right.3 \ |
148 |
$(docmandir)/rn_tree.3 \ |
149 |
$(docmandir)/rn_value.3 \ |
150 |
$(docmandir)/rn_verify.3 \ |
151 |
$(docmandir)/rt_add.3 \ |
152 |
$(docmandir)/rt_comp.3 \ |
153 |
$(docmandir)/rt_count.3 \ |
154 |
$(docmandir)/rt_extra.3 \ |
155 |
$(docmandir)/rt_find.3 \ |
156 |
$(docmandir)/rt_flush.3 \ |
157 |
$(docmandir)/rt_frozen.3 \ |
158 |
$(docmandir)/rt_init.3 \ |
159 |
$(docmandir)/rt_iter.3 \ |
160 |
$(docmandir)/rt_move.3 \ |
161 |
$(docmandir)/rt_next.3 \ |
162 |
$(docmandir)/rt_prev.3 \ |
163 |
$(docmandir)/rt_remove.3 \ |
164 |
$(docmandir)/rt_root.3 \ |
165 |
$(docmandir)/rt_verify.3 \ |
166 |
$(docmandir)/se_flags.3 \ |
167 |
$(docmandir)/se_hash.3 \ |
168 |
$(docmandir)/se_lflags.3 \ |
169 |
$(docmandir)/se_next.3 \ |
170 |
$(docmandir)/se_object.3 \ |
171 |
$(docmandir)/se_prev.3 \ |
172 |
$(docmandir)/se_table.3 \ |
173 |
$(docmandir)/se_verify.3 \ |
174 |
$(docmandir)/sh_count.3 \ |
175 |
$(docmandir)/sh_elem.3 \ |
176 |
$(docmandir)/sh_find.3 \ |
177 |
$(docmandir)/sh_first.3 \ |
178 |
$(docmandir)/sh_frozen.3 \ |
179 |
$(docmandir)/sh_init.3 \ |
180 |
$(docmandir)/sh_iter.3 \ |
181 |
$(docmandir)/sh_last.3 \ |
182 |
$(docmandir)/sh_move.3 \ |
183 |
$(docmandir)/sh_object.3 \ |
184 |
$(docmandir)/sh_size.3 \ |
185 |
$(docmandir)/sh_table.3 \ |
186 |
$(docmandir)/sh_verify.3 \ |
187 |
$(docmandir)/smat_cleanup.3 \ |
188 |
$(docmandir)/smat_comp_t.3 \ |
189 |
$(docmandir)/smat_entry_t.3 \ |
190 |
$(docmandir)/smat_freemem.3 \ |
191 |
$(docmandir)/SMAT_HEAD_INIT.3 \ |
192 |
$(docmandir)/smat_head_t.3 \ |
193 |
$(docmandir)/smat_iter_t.3 \ |
194 |
$(docmandir)/smat_loc_t.3 \ |
195 |
$(docmandir)/smat_resize_t.3 \ |
196 |
$(docmandir)/smat_table_t.3 \ |
197 |
$(docmandir)/st_add.3 \ |
198 |
$(docmandir)/st_count.3 \ |
199 |
$(docmandir)/st_extra.3 \ |
200 |
$(docmandir)/st_find.3 \ |
201 |
$(docmandir)/st_flags.3 \ |
202 |
$(docmandir)/st_flush.3 \ |
203 |
$(docmandir)/st_free.3 \ |
204 |
$(docmandir)/st_frozen.3 \ |
205 |
$(docmandir)/st_init.3 \ |
206 |
$(docmandir)/st_iter.3 \ |
207 |
$(docmandir)/st_modulus.3 \ |
208 |
$(docmandir)/st_remove.3 \ |
209 |
$(docmandir)/st_resize.3 \ |
210 |
$(docmandir)/st_rsize.3 \ |
211 |
$(docmandir)/st_size.3 \ |
212 |
$(docmandir)/st_verify.3 |
213 |
|
214 |
EXTRA_DIST = dbprim_err.et dbprim.spec dbprim.spec.in \ |
215 |
autogen.sh comp_et-sh.in COPYING INSTALL \ |
216 |
doc/Doxyfile doc/Doxyfile.in doc/html doc/latex doc/man |
217 |
|
218 |
SUFFIXES = .et .h |
219 |
|
220 |
CLEANFILES = dbprim_version.c dbprim_version.h \ |
221 |
dbprim_err.c dbprim_err.h |
222 |
|
223 |
DISTCLEANFILES = dbprim-config.in |
224 |
|
225 |
DISTHOOKCLEANFILES = dbprim_err.c \ |
226 |
dbprim_err.h \ |
227 |
dbprim_version.c \ |
228 |
dbprim_version.h |
229 |
|
230 |
.et.c .et.h: comp_et-sh |
231 |
$(SHELL) comp_et-sh --com_err=@COM_ERR@ --dir=$(top_builddir) $< |
232 |
|
233 |
dbprim_err.c dbprim_err.h: dbprim_err.et |
234 |
|
235 |
dist-hook: |
236 |
for file in $(DISTHOOKCLEANFILES) ; do \ |
237 |
rm -f $(distdir)/$$file ; \ |
238 |
done ; \ |
239 |
find $(distdir) -name CVS -print -prune | xargs rm -rf |