1 ## Prefered emacs editing mode: -*- Makefile -*-
3 ## Copyright (C) 2002 by Kevin L. Mitchell <klmitch@mit.edu>
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.
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.
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,
22 ## Process this file with automake to generate Makefile.in
24 AUTOMAKE_OPTIONS = foreign
26 INCLUDES = -I.. -I$(srcdir)/..
28 EXTRA_PROGRAMS = test-harness \
30 t_ll_init t_ll_add t_ll_move t_ll_remove t_ll_find \
31 t_ll_iter t_ll_flush t_le_init \
33 t_ht_init t_ht_addfind t_ht_move t_ht_remove t_ht_iter \
34 t_ht_flush t_ht_resize t_ht_free t_he_init \
38 test_harness_SOURCES = test-harness.c
41 t_ll_init_SOURCES = t_ll_init.c
42 t_ll_init_LDADD = ../libdbprim.la
43 t_ll_init_LDFLAGS = -static
45 t_ll_add_SOURCES = t_ll_add.c
46 t_ll_add_LDADD = ../libdbprim.la
47 t_ll_add_LDFLAGS = -static
49 t_ll_move_SOURCES = t_ll_move.c
50 t_ll_move_LDADD = ../libdbprim.la
51 t_ll_move_LDFLAGS = -static
53 t_ll_remove_SOURCES = t_ll_remove.c
54 t_ll_remove_LDADD = ../libdbprim.la
55 t_ll_remove_LDFLAGS = -static
57 t_ll_find_SOURCES = t_ll_find.c
58 t_ll_find_LDADD = ../libdbprim.la
59 t_ll_find_LDFLAGS = -static
61 t_ll_iter_SOURCES = t_ll_iter.c
62 t_ll_iter_LDADD = ../libdbprim.la
63 t_ll_iter_LDFLAGS = -static
65 t_ll_flush_SOURCES = t_ll_flush.c
66 t_ll_flush_LDADD = ../libdbprim.la
67 t_ll_flush_LDFLAGS = -static
69 t_le_init_SOURCES = t_le_init.c
70 t_le_init_LDADD = ../libdbprim.la
71 t_le_init_LDFLAGS = -static
73 t_ht_init_SOURCES = t_ht_init.c
74 t_ht_init_LDADD = ../libdbprim.la
75 t_ht_init_LDFLAGS = -static
77 t_ht_addfind_SOURCES = t_ht_addfind.c
78 t_ht_addfind_LDADD = ../libdbprim.la
79 t_ht_addfind_LDFLAGS = -static
81 t_ht_move_SOURCES = t_ht_move.c
82 t_ht_move_LDADD = ../libdbprim.la
83 t_ht_move_LDFLAGS = -static
85 t_ht_remove_SOURCES = t_ht_remove.c
86 t_ht_remove_LDADD = ../libdbprim.la
87 t_ht_remove_LDFLAGS = -static
89 t_ht_iter_SOURCES = t_ht_iter.c
90 t_ht_iter_LDADD = ../libdbprim.la
91 t_ht_iter_LDFLAGS = -static
93 t_ht_flush_SOURCES = t_ht_flush.c
94 t_ht_flush_LDADD = ../libdbprim.la
95 t_ht_flush_LDFLAGS = -static
97 t_ht_resize_SOURCES = t_ht_resize.c
98 t_ht_resize_LDADD = ../libdbprim.la
99 t_ht_resize_LDFLAGS = -static
101 t_ht_free_SOURCES = t_ht_free.c
102 t_ht_free_LDADD = ../libdbprim.la
103 t_ht_free_LDFLAGS = -static
105 t_he_init_SOURCES = t_he_init.c
106 t_he_init_LDADD = ../libdbprim.la
107 t_he_init_LDFLAGS = -static
109 t_st_init_SOURCES = t_st_init.c
110 t_st_init_LDADD = ../libdbprim.la
111 t_st_init_LDFLAGS = -static
113 EXTRA_DIST = test-harness.dat
115 check: $(EXTRA_PROGRAMS)
116 ./test-harness -I. -I$(srcdir) $(TEST_OPTIONS)