summaryrefslogtreecommitdiff
path: root/src/Makefile.in
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@raeburn.org>2000-07-05 19:33:00 +0000
committerKen Raeburn <raeburn@raeburn.org>2000-07-05 19:33:00 +0000
commit1881cf5ed1d1c3fb0df2d910a42297d689613b31 (patch)
tree6e1076bd8127d7164b23a9593c9a235ce5b4e529 /src/Makefile.in
parentc396024fa316fccc9ab7c107b9f1a560e11ae4a3 (diff)
downloademacs-1881cf5ed1d1c3fb0df2d910a42297d689613b31.tar.gz
Sound support for NetBSD through "Linux emulation" support:
* config.in (HAVE_SOUNDCARD_H): Undef. (HAVE_SOUND): Define if HAVE_SOUNDCARD_H. * Makefile.in (LIBSOUND): New variable. (LIBES): Include it. * sound.c [HAVE_SOUNDCARD_H]: Include <sys/ioctl.h> and <soundcard.h>. (DEFAULT_SOUND_DEVICE): Define to "/dev/dsp" if not defined elsewhere. (vox_open): Use DEFAULT_SOUND_DEVICE. * s/netbsd.h (DEFAULT_SOUND_DEVICE): Define to /dev/audio.
Diffstat (limited to 'src/Makefile.in')
-rw-r--r--src/Makefile.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Makefile.in b/src/Makefile.in
index fce7a652a59..58113d3441e 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -417,6 +417,8 @@ LIBX= $(LIBXMENU) LD_SWITCH_X_SITE -lX10 LIBX10_MACHINE LIBX10_SYSTEM
#endif /* not HAVE_X11 */
#endif /* not HAVE_X_WINDOWS */
+LIBSOUND= @LIBSOUND@
+
#ifndef ORDINARY_LINK
/* Fix linking if compiled with GCC. */
#ifdef __GNUC__
@@ -794,7 +796,8 @@ SOME_MACHINE_LISP = ${dotdot}/lisp/menu-bar.elc ${dotdot}/lisp/mouse.elc \
Note that SunOS needs -lm to come before -lc; otherwise, you get
duplicated symbols. If the standard libraries were compiled
with GCC, we might need gnulib again after them. */
-LIBES = $(LOADLIBES) $(LIBS) $(LIBX) LIBS_SYSTEM LIBS_MACHINE LIBS_TERMCAP \
+LIBES = $(LOADLIBES) $(LIBS) $(LIBX) $(LIBSOUND) \
+ LIBS_SYSTEM LIBS_MACHINE LIBS_TERMCAP \
LIBS_DEBUG $(GETLOADAVG_LIBS) $(GNULIB_VAR) LIB_MATH LIB_STANDARD \
$(GNULIB_VAR)