Mercurial > sdl-ios-xcode
annotate src/video/x11/Makefile.am @ 865:92615154bb68
Date: Sun, 29 Feb 2004 15:14:22 +0200
From: Martin_Storsj
Subject: Dynamic loading of ALSA
I recently discovered that SDL can dynamically load ESD and aRts, and
made a patch which adds this same functionality to ALSA.
The update for configure.in isn't too good (it should e.g. look for
libasound.so in other directories than /usr/lib), because I'm not too
good at shellscripting and autoconf.
The reason for using dlfcn.h and dlopen instead of SDL_LoadLibrary and
SDL_LoadFunction is that libasound uses versioned symbols, and it is
necessary to load the correct version using dlvsym. This isn't probably
any real portability issue, because ALSA is linux-only.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Tue, 02 Mar 2004 12:49:16 +0000 |
parents | 74212992fb08 |
children | 045f186426e1 |
rev | line source |
---|---|
0 | 1 |
2 ## Makefile.am for SDL using the X11 video driver | |
3 | |
4 noinst_LTLIBRARIES = libvideo_x11.la | |
5 libvideo_x11_la_SOURCES = $(X11_SRCS) | |
6 | |
7 # The SDL X11 video driver sources | |
8 X11_SRCS = \ | |
9 SDL_x11dga.c \ | |
10 SDL_x11dga_c.h \ | |
11 SDL_x11events.c \ | |
12 SDL_x11events_c.h \ | |
13 SDL_x11gamma.c \ | |
14 SDL_x11gamma_c.h \ | |
15 SDL_x11gl.c \ | |
16 SDL_x11gl_c.h \ | |
17 SDL_x11image.c \ | |
18 SDL_x11image_c.h \ | |
19 SDL_x11modes.c \ | |
20 SDL_x11modes_c.h \ | |
21 SDL_x11mouse.c \ | |
22 SDL_x11mouse_c.h \ | |
23 SDL_x11video.c \ | |
24 SDL_x11video.h \ | |
25 SDL_x11wm.c \ | |
26 SDL_x11wm_c.h \ | |
27 SDL_x11yuv.c \ | |
28 SDL_x11yuv_c.h |