* coop.c (coop_finish): New function. Called at exit.
[bpt/guile.git] / libguile / Makefile.am
index e6e149b..e9f22e1 100644 (file)
@@ -50,7 +50,7 @@ libguile_la_SOURCES = \
     strports.c struct.c symbols.c tag.c throw.c variable.c     \
     vectors.c version.c vports.c weaks.c
 
-BUILT_SOURCES = \
+DOT_X_FILES = \
     cpp_err_symbols.c cpp_sig_symbols.c libpath.h alist.x arbiters.x   \
     async.x backtrace.x boolean.x chars.x continuations.x debug.x      \
     dynl.x dynwind.x eq.x error.x eval.x evalext.x feature.x filesys.x \
@@ -64,6 +64,10 @@ BUILT_SOURCES = \
     strports.x struct.x symbols.x tag.x threads.x throw.x unif.x       \
     variable.x vectors.x version.x vports.x weaks.x
 
+DOT_DOC_FILES = $(DOT_X_FILES:.x=.doc)
+
+BUILT_SOURCES = $(DOT_X_FILES) $(DOT_DOC_FILES)
+
 EXTRA_libguile_la_SOURCES = _scm.h             \
     alloca.c inet_aton.c memmove.c putenv.c strerror.c \
     threads.c regex-posix.c \
@@ -78,7 +82,7 @@ noinst_HEADERS = coop-threads.c coop-threads.h coop.c
 
 libguile_la_DEPENDENCIES = @LIBLOBJS@
 libguile_la_LIBADD = @LIBLOBJS@ $(LIBLTDL)
-libguile_la_LDFLAGS = -version-info 7:0 -export-dynamic
+libguile_la_LDFLAGS = -version-info 8:0 -export-dynamic
 
 include_HEADERS = libguile.h
 
@@ -91,7 +95,7 @@ modinclude_HEADERS = \
     __scm.h alist.h arbiters.h async.h backtrace.h boolean.h chars.h   \
     continuations.h debug.h dynl.h dynwind.h eq.h error.h eval.h       \
     evalext.h feature.h filesys.h fports.h gc.h gdb_interface.h                \
-    gdbint.h genio.h gsubr.h guardians.h hash.h hashtab.h init.h       \
+    gdbint.h gsubr.h guardians.h hash.h hashtab.h init.h               \
     ioext.h keywords.h kw.h lang.h list.h load.h macros.h mallocs.h    \
     modules.h net_db.h numbers.h objects.h objprop.h options.h pairs.h \
     ports.h posix.h regex-posix.h print.h procprop.h procs.h random.h  \
@@ -167,8 +171,7 @@ SUFFIXES = .x .doc
        PATH=.:${PATH} ./guile-doc-snarf $< $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $< \
         || { rm $@; false; }
 
-## GJB:FIXME:: this is ugly;  generate the *.doc files from the *.x file list, above
-guile-procedures.txt: *.doc
+guile-procedures.txt: $(DOT_DOC_FILES)
        cat *.doc > $@
 
 pkgdata_DATA = guile-procedures.txt