1AUTOMAKE_OPTIONS = gnits 2 3include_HEADERS = avl.h avlt.h avltr.h rb.h 4 5lib_LIBRARIES = libavl.a 6libavl_a_SOURCES = avl.c avlt.c avltr.c rb.c 7 8info_TEXINFOS = avl.texinfo 9noinst_DATA = avl.html avl.text 10 11avl.text : avl.texinfo 12 $(MAKEINFO) $(srcdir)/avl.texinfo -o avl.text --no-headers 13 14avl.html: avl.texinfo 15 -texi2html -monolithic $(srcdir)/avl.texinfo 16 17EXTRA_PROGRAMS = avl-test avlt-test avltr-test thread-test rb-test 18DISTCLEANFILES = $(EXTRA_PROGRAMS) $(BUILT_SOURCES) 19 20BUILT_SOURCES = avl-test.c avlt-test.c avltr-test.c rb-test.c 21 22TESTS = avl-test avlt-test avltr-test thread-test rb-test 23avl-test.c avlt-test.c avltr-test.c rb-test.c: 24 rm -f $@ 25 echo '#define SELF_TEST 1' > $@ 26 echo '#include "'`echo $@ | sed s/-test//`'"' >> $@ 27 28thread_test_LDADD = libavl.a 29