-EXTRA_libguile_la_SOURCES = _scm.h \
- strerror.c inet_aton.c putenv.c \
- threads.c alloca.c \
- regex-posix.c iselect.c
+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 \
+ filesys.c posix.c net_db.c socket.c \
+ ramap.c unif.c