## Process this file with Automake to create Makefile.in
##
-## Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
+## Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
##
## This file is part of GUILE.
##
## <libguile/MUMBLE.h> will find MUMBLE.h in this dir when we're
## building. Also look for Gnulib headers in `lib'.
AM_CPPFLAGS = -DBUILDING_LIBGUILE=1 -I$(top_srcdir) -I$(top_builddir) \
- -I$(top_srcdir)/lib -I$(top_builddir)/lib
+ -I$(top_srcdir)/lib -I$(top_builddir)/lib $(LIBFFI_CFLAGS)
AM_CFLAGS = $(GCC_CFLAGS) $(CFLAG_VISIBILITY)
if [ "$(cross_compiling)" = "yes" ]; then \
$(CC_FOR_BUILD) $(DEFS) $(AM_CPPFLAGS) -c -o $@ $<; \
else \
- $(filter-out -Werror,$(COMPILE)) -c -o $@ $<; \
+ $(COMPILE) -c -o $@ $<; \
fi
## Override default rule; this should run on BUILD host.
bitvectors.c \
bytevectors.c \
chars.c \
+ control.c \
continuations.c \
debug.c \
deprecated.c \
extensions.c \
feature.c \
fluids.c \
+ foreign.c \
fports.c \
frames.c \
gc-malloc.c \
load.c \
macros.c \
mallocs.c \
+ memoize.c \
modules.c \
null-threads.c \
numbers.c \
objcodes.c \
- objects.c \
objprop.c \
options.c \
pairs.c \
procprop.c \
procs.c \
programs.c \
+ promises.c \
properties.c \
r6rs-ports.c \
random.c \
symbols.c \
threads.c \
throw.c \
+ trees.c \
uniform.c \
values.c \
variable.c \
bitvectors.x \
bytevectors.x \
chars.x \
+ control.x \
continuations.x \
debug.x \
deprecated.x \
extensions.x \
feature.x \
fluids.x \
+ foreign.x \
fports.x \
gc-malloc.x \
gc.x \
load.x \
macros.x \
mallocs.x \
+ memoize.x \
modules.x \
numbers.x \
- objects.x \
objprop.x \
options.x \
pairs.x \
print.x \
procprop.x \
procs.x \
+ promises.x \
properties.x \
r6rs-ports.x \
random.x \
symbols.x \
threads.x \
throw.x \
+ trees.x \
uniform.x \
values.x \
variable.x \
bitvectors.doc \
bytevectors.doc \
chars.doc \
+ control.doc \
continuations.doc \
debug.doc \
deprecated.doc \
extensions.doc \
feature.doc \
fluids.doc \
+ foreign.doc \
fports.doc \
gc-malloc.doc \
gc.doc \
load.doc \
macros.doc \
mallocs.doc \
+ memoize.doc \
modules.doc \
numbers.doc \
- objects.doc \
objprop.doc \
options.doc \
pairs.doc \
print.doc \
procprop.doc \
procs.doc \
+ promises.doc \
properties.doc \
r6rs-ports.doc \
random.doc \
symbols.doc \
threads.doc \
throw.doc \
+ trees.doc \
uniform.doc \
values.doc \
variable.doc \
DOT_I_FILES = vm-i-system.i vm-i-scheme.i vm-i-loader.i
.c.i:
- grep '^VM_DEFINE' $< > $@
+ $(GREP) '^VM_DEFINE' $< > $@
BUILT_SOURCES = cpp_err_symbols.c cpp_sig_symbols.c libpath.h \
version.h scmconfig.h \
$(DOT_I_FILES) $(DOT_X_FILES) $(EXTRA_DOT_X_FILES)
EXTRA_libguile_la_SOURCES = _scm.h \
- inet_aton.c memmove.c putenv.c strerror.c \
+ memmove.c strerror.c \
dynl.c regex-posix.c \
filesys.c posix.c net_db.c socket.c \
debug-malloc.c mkstemp.c \
## Perhaps we can deal with them normally once the merge seems to be
## working.
noinst_HEADERS = conv-integer.i.c conv-uinteger.i.c \
- eval.i.c ieee-754.h \
- srfi-4.i.c srfi-14.i.c \
+ ieee-754.h \
+ srfi-14.i.c \
quicksort.i.c \
win32-uname.h win32-dirent.h win32-socket.h \
- private-gc.h private-options.h
+ private-gc.h private-options.h
# vm instructions
noinst_HEADERS += vm-engine.c vm-i-system.c vm-i-scheme.c vm-i-loader.c
libguile_la_DEPENDENCIES = @LIBLOBJS@
-libguile_la_LIBADD = @LIBLOBJS@ $(gnulib_library) $(LTLIBGMP) $(LTLIBUNISTRING)
-libguile_la_LDFLAGS = \
- @LTLIBINTL@ \
+libguile_la_LIBADD = \
+ @LIBLOBJS@ $(gnulib_library) $(LTLIBGMP) \
+ $(LTLIBUNISTRING) $(LTLIBICONV) $(LTLIBINTL)
+libguile_la_LDFLAGS = \
+ @LTLIBINTL@ $(LIBFFI_LIBS) $(INET_NTOP_LIB) $(INET_PTON_LIB) \
+ $(GETADDRINFO_LIB) $(HOSTENT_LIB) $(SERVENT_LIB) \
-version-info @LIBGUILE_INTERFACE_CURRENT@:@LIBGUILE_INTERFACE_REVISION@:@LIBGUILE_INTERFACE_AGE@ \
- -export-dynamic -no-undefined \
+ -export-dynamic -no-undefined \
$(GNU_LD_FLAGS)
if HAVE_LD_VERSION_SCRIPT
bitvectors.h \
bytevectors.h \
chars.h \
+ control.h \
continuations.h \
debug-malloc.h \
debug.h \
feature.h \
filesys.h \
fluids.h \
+ foreign.h \
fports.h \
frames.h \
gc.h \
load.h \
macros.h \
mallocs.h \
+ memoize.h \
modules.h \
net_db.h \
null-threads.h \
numbers.h \
objcodes.h \
- objects.h \
objprop.h \
options.h \
pairs.h \
procprop.h \
procs.h \
programs.h \
+ promises.h \
properties.h \
pthread-threads.h \
r6rs-ports.h \
tags.h \
threads.h \
throw.h \
+ trees.h \
validate.h \
uniform.h \
values.h \
variable.h \
vectors.h \
- vm-bootstrap.h \
vm-engine.h \
vm-expand.h \
vm.h \
## We use @-...-@ as the substitution brackets here, instead of the
## usual @...@, so autoconf doesn't go and substitute the values
## directly into the left-hand sides of the sed substitutions. *sigh*
-version.h: version.h.in
+version.h: version.h.in $(top_builddir)/config.status
sed < $(srcdir)/version.h.in > $@.tmp \
-e s:@-GUILE_MAJOR_VERSION-@:${GUILE_MAJOR_VERSION}: \
-e s:@-GUILE_MINOR_VERSION-@:${GUILE_MINOR_VERSION}: \
## Create a new version of the cpp_sig_symbols.in file, including all SIGXXX
## macros defined on this platform.
check_signals:
- gcc -undef -dM -E $(srcdir)/cpp_signal.c | egrep ' SIG[A-Z]+' \
+ gcc -undef -dM -E $(srcdir)/cpp_signal.c | $(EGREP) ' SIG[A-Z]+' \
| cut -f2 -d' ' | sort > cpp_sig_symbols_here
diff -u $(srcdir)/cpp_sig_symbols.in cpp_sig_symbols_here \
- | egrep '^\+S' \
+ | $(EGREP) '^\+S' \
| cut -c2- > cpp_sig_symbols_diff
if test -s cpp_sig_symbols_diff ; then \
cat $(srcdir)/cpp_sig_symbols.in cpp_sig_symbols_diff \
## Likewise for cpp_err_symbols.in.
check_errnos:
- gcc -undef -dM -E $(srcdir)/cpp_errno.c | egrep ' E.+' \
+ gcc -undef -dM -E $(srcdir)/cpp_errno.c | $(EGREP) ' E.+' \
| cut -f2 -d' ' | sort > cpp_err_symbols_here
diff -u $(srcdir)/cpp_err_symbols.in cpp_err_symbols_here \
- | egrep '^\+E' \
+ | $(EGREP) '^\+E' \
| cut -c2- > cpp_err_symbols_diff
if test -s cpp_err_symbols_diff ; then \
cat $(srcdir)/cpp_err_symbols.in cpp_err_symbols_diff \