* coop.c (coop_finish): New function. Called at exit.
[bpt/guile.git] / libguile / Makefile.am
index a8b04eb..e9f22e1 100644 (file)
@@ -1,6 +1,6 @@
 ## Process this file with Automake to create Makefile.in
 ##
-##     Copyright (C) 1998, 1999 Free Software Foundation, Inc.
+##     Copyright (C) 1998, 1999, 2000 Free Software Foundation, Inc.
 ##
 ##   This file is part of GUILE.
 ##   
@@ -42,7 +42,7 @@ libguile_la_SOURCES = \
     evalext.c feature.c fluids.c fports.c gc.c gdbint.c        \
     gh_data.c gh_eval.c gh_funcs.c gh_init.c gh_io.c gh_list.c         \
     gh_predicates.c gsubr.c guardians.c hash.c hashtab.c init.c                \
-    ioext.c keywords.c lang.c list.c load.c macros.c mallocs.c         \
+    ioext.c iselect.c keywords.c lang.c list.c load.c macros.c mallocs.c \
     modules.c numbers.c objects.c objprop.c options.c pairs.c  \
     ports.c print.c procprop.c procs.c random.c read.c \
     root.c scmsigs.c script.c simpos.c smob.c sort.c           \
@@ -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,9 +64,13 @@ 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 iselect.c \
+    threads.c regex-posix.c \
     filesys.c posix.c net_db.c socket.c \
     ramap.c unif.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