Mercurial > sdl-ios-xcode
view src/main/macosx/exports/Makefile @ 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 | 51b5e0be61c3 |
children | 6c7b69218276 |
line wrap: on
line source
EXPORTS = SDL.x HEADERS = \ ../../../../include/SDL.h \ ../../../../include/SDL_active.h \ ../../../../include/SDL_audio.h \ ../../../../include/SDL_byteorder.h \ ../../../../include/SDL_cdrom.h \ ../../../../include/SDL_copying.h \ ../../../../include/SDL_cpuinfo.h \ ../../../../include/SDL_endian.h \ ../../../../include/SDL_error.h \ ../../../../include/SDL_events.h \ ../../../../include/SDL_joystick.h \ ../../../../include/SDL_keyboard.h \ ../../../../include/SDL_keysym.h \ ../../../../include/SDL_loadso.h \ ../../../../include/SDL_mouse.h \ ../../../../include/SDL_mutex.h \ ../../../../include/SDL_quit.h \ ../../../../include/SDL_rwops.h \ ../../../../include/SDL_syswm.h \ ../../../../include/SDL_thread.h \ ../../../../include/SDL_timer.h \ ../../../../include/SDL_types.h \ ../../../../include/SDL_version.h \ ../../../../include/SDL_video.h all: $(EXPORTS) $(EXPORTS): $(HEADERS) perl gendef.pl $(HEADERS) >$@ || rm $@ clean: rm -f $(EXPORTS)