* Makefile.am (EXTRA_libguile_la_SOURCES): New variable to hold
authorMarius Vollmer <mvo@zagadka.de>
Fri, 21 Feb 1997 18:21:53 +0000 (18:21 +0000)
committerMarius Vollmer <mvo@zagadka.de>
Fri, 21 Feb 1997 18:21:53 +0000 (18:21 +0000)
source files that are not always included in libguile but should
have their dependencies calculated by automake.  This variable is
recognized by automake, no further magic is needed.
(libguile_la_DEPENDENCIES): Changed to @LIBLOBJS@.  Libtool wants
to deal exclusively with *.lo files, as it seems.  The *.o files
are built automatically when the corresponding *.lo file gets
built.

libguile/Makefile.am
libguile/Makefile.in

index e2fff70..53b51d7 100644 (file)
@@ -19,7 +19,9 @@ read.c root.c scmsigs.c sequences.c simpos.c smob.c socket.c \
 stackchk.c stime.c strings.c strop.c strorder.c \
 strports.c struct.c symbols.c tag.c throw.c unif.c variable.c \
 vectors.c version.c vports.c weaks.c _scm.h
-libguile_la_DEPENDENCIES = @LIBOBJS@
+EXTRA_libguile_la_SOURCES = backtrace.c stacks.c debug.c srcprop.c \
+strerror.c inet_aton.c
+libguile_la_DEPENDENCIES = @LIBLOBJS@
 libguile_la_LDADD = @LIBLOBJS@
 libguile_la_LDFLAGS = -version-info 0:0 -rpath $(libdir)
 
@@ -62,11 +64,6 @@ SUFFIXES = .x
 .c.x:
        ./guile-snarf $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $< > $@
 
-## When dynamic linking is disabled, this dependency is not
-## automatically detected.
-
-dynl.o dynl.lo: dynl.x
-
 ## Add -MG to make the .x magic work with auto-dep code.
 MKDEP = gcc -M -MG $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
 
index 30c8bee..2932e08 100644 (file)
@@ -68,7 +68,9 @@ read.c root.c scmsigs.c sequences.c simpos.c smob.c socket.c \
 stackchk.c stime.c strings.c strop.c strorder.c \
 strports.c struct.c symbols.c tag.c throw.c unif.c variable.c \
 vectors.c version.c vports.c weaks.c _scm.h
-libguile_la_DEPENDENCIES = @LIBOBJS@
+EXTRA_libguile_la_SOURCES = backtrace.c stacks.c debug.c srcprop.c \
+strerror.c inet_aton.c
+libguile_la_DEPENDENCIES = @LIBLOBJS@
 libguile_la_LDADD = @LIBLOBJS@
 libguile_la_LDFLAGS = -version-info 0:0 -rpath $(libdir)
 
@@ -142,21 +144,23 @@ DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) \
 
 TAR = tar
 DEP_FILES =  .deps/alist.P .deps/append.P .deps/appinit.P \
-.deps/arbiters.P .deps/async.P .deps/boolean.P .deps/chars.P \
-.deps/continuations.P .deps/dynl.P .deps/dynwind.P .deps/eq.P \
-.deps/error.P .deps/eval.P .deps/extchrs.P .deps/feature.P \
-.deps/filesys.P .deps/fports.P .deps/gc.P .deps/gdbint.P .deps/genio.P \
-.deps/gsubr.P .deps/hash.P .deps/hashtab.P .deps/init.P .deps/ioext.P \
-.deps/kw.P .deps/list.P .deps/load.P .deps/mallocs.P .deps/markers.P \
-.deps/mbstrings.P .deps/net_db.P .deps/numbers.P .deps/objprop.P \
-.deps/options.P .deps/pairs.P .deps/ports.P .deps/posix.P .deps/print.P \
+.deps/arbiters.P .deps/async.P .deps/backtrace.P .deps/boolean.P \
+.deps/chars.P .deps/continuations.P .deps/debug.P .deps/dynl.P \
+.deps/dynwind.P .deps/eq.P .deps/error.P .deps/eval.P .deps/extchrs.P \
+.deps/feature.P .deps/filesys.P .deps/fports.P .deps/gc.P \
+.deps/gdbint.P .deps/genio.P .deps/gsubr.P .deps/hash.P .deps/hashtab.P \
+.deps/inet_aton.P .deps/init.P .deps/ioext.P .deps/kw.P .deps/list.P \
+.deps/load.P .deps/mallocs.P .deps/markers.P .deps/mbstrings.P \
+.deps/net_db.P .deps/numbers.P .deps/objprop.P .deps/options.P \
+.deps/pairs.P .deps/ports.P .deps/posix.P .deps/print.P \
 .deps/procprop.P .deps/procs.P .deps/ramap.P .deps/read.P .deps/root.P \
 .deps/scmsigs.P .deps/sequences.P .deps/simpos.P .deps/smob.P \
-.deps/socket.P .deps/stackchk.P .deps/stime.P .deps/strings.P \
-.deps/strop.P .deps/strorder.P .deps/strports.P .deps/struct.P \
-.deps/symbols.P .deps/tag.P .deps/throw.P .deps/unif.P .deps/variable.P \
-.deps/vectors.P .deps/version.P .deps/vports.P .deps/weaks.P
-SOURCES = $(libguile_la_SOURCES)
+.deps/socket.P .deps/srcprop.P .deps/stackchk.P .deps/stacks.P \
+.deps/stime.P .deps/strerror.P .deps/strings.P .deps/strop.P \
+.deps/strorder.P .deps/strports.P .deps/struct.P .deps/symbols.P \
+.deps/tag.P .deps/throw.P .deps/unif.P .deps/variable.P .deps/vectors.P \
+.deps/version.P .deps/vports.P .deps/weaks.P
+SOURCES = $(libguile_la_SOURCES) $(EXTRA_libguile_la_SOURCES)
 OBJECTS = $(libguile_la_OBJECTS)
 
 default: all
@@ -491,8 +495,6 @@ libpath.h: Makefile
 .c.x:
        ./guile-snarf $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $< > $@
 
-dynl.o dynl.lo: dynl.x
-
 errnos.list: $(srcdir)/errnos.default
        $(ERRNO_EXTRACT)