comparison src/Makefile.in @ 30079:1572612184fc

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.
author Ken Raeburn <raeburn@raeburn.org>
date Wed, 05 Jul 2000 19:33:00 +0000
parents 76975b5adf26
children 91a927c58efc
comparison
equal deleted inserted replaced
30078:58ce7aad3fff 30079:1572612184fc
414 LIBX= $(LIBXMENU) $(X11_LDFLAGS) $(LIBXT) LIB_X11_LIB LIBX11_MACHINE LIBX11_SYSTEM LIBXPM LIBTIFF LIBJPEG LIBPNG LIBGIF 414 LIBX= $(LIBXMENU) $(X11_LDFLAGS) $(LIBXT) LIB_X11_LIB LIBX11_MACHINE LIBX11_SYSTEM LIBXPM LIBTIFF LIBJPEG LIBPNG LIBGIF
415 #else /* not HAVE_X11 */ 415 #else /* not HAVE_X11 */
416 LIBX= $(LIBXMENU) LD_SWITCH_X_SITE -lX10 LIBX10_MACHINE LIBX10_SYSTEM 416 LIBX= $(LIBXMENU) LD_SWITCH_X_SITE -lX10 LIBX10_MACHINE LIBX10_SYSTEM
417 #endif /* not HAVE_X11 */ 417 #endif /* not HAVE_X11 */
418 #endif /* not HAVE_X_WINDOWS */ 418 #endif /* not HAVE_X_WINDOWS */
419
420 LIBSOUND= @LIBSOUND@
419 421
420 #ifndef ORDINARY_LINK 422 #ifndef ORDINARY_LINK
421 /* Fix linking if compiled with GCC. */ 423 /* Fix linking if compiled with GCC. */
422 #ifdef __GNUC__ 424 #ifdef __GNUC__
423 425
792 794
793 /* Construct full set of libraries to be linked. 795 /* Construct full set of libraries to be linked.
794 Note that SunOS needs -lm to come before -lc; otherwise, you get 796 Note that SunOS needs -lm to come before -lc; otherwise, you get
795 duplicated symbols. If the standard libraries were compiled 797 duplicated symbols. If the standard libraries were compiled
796 with GCC, we might need gnulib again after them. */ 798 with GCC, we might need gnulib again after them. */
797 LIBES = $(LOADLIBES) $(LIBS) $(LIBX) LIBS_SYSTEM LIBS_MACHINE LIBS_TERMCAP \ 799 LIBES = $(LOADLIBES) $(LIBS) $(LIBX) $(LIBSOUND) \
800 LIBS_SYSTEM LIBS_MACHINE LIBS_TERMCAP \
798 LIBS_DEBUG $(GETLOADAVG_LIBS) $(GNULIB_VAR) LIB_MATH LIB_STANDARD \ 801 LIBS_DEBUG $(GETLOADAVG_LIBS) $(GNULIB_VAR) LIB_MATH LIB_STANDARD \
799 $(GNULIB_VAR) 802 $(GNULIB_VAR)
800 803
801 /* Enable recompilation of certain other files depending on system type. */ 804 /* Enable recompilation of certain other files depending on system type. */
802 805