view src/joystick/Makefile.am @ 939:c7c04f811994

Date: Tue, 01 Jun 2004 15:27:44 +0300 From: Martin_Storsj Subject: Update for dynamic loading of ALSA I sent you a patch a few months ago which enables SDL to load ALSA dynamically. Now I've finally got time to tweak this yet some more. I've added code from alsa.m4 (from alsa's dev package) to acinclude.m4, and made the detection of the alsa library name a bit better. I've also fixed up the loading versioned symbols with dlvsym, so that it falls back to dlsym. I wouldn't say the configure script is complete yet, but this is how far I've come this time, and I'm no expert at those things.
author Sam Lantinga <slouken@libsdl.org>
date Sat, 21 Aug 2004 04:20:00 +0000
parents 550bccdf04bd
children
line wrap: on
line source


## Makefile.am for the SDL joystick library

noinst_LTLIBRARIES = libjoystick.la

# Define which subdirectories need to be built
SUBDIRS = @JOYSTICK_SUBDIRS@
DIST_SUBDIRS = dummy amigaos beos bsd darwin dc linux macos mint riscos win32

DRIVERS = @JOYSTICK_DRIVERS@

# Include the architecture-independent sources
COMMON_SRCS =			\
	SDL_joystick.c		\
	SDL_joystick_c.h	\
	SDL_sysjoystick.h

libjoystick_la_SOURCES = $(COMMON_SRCS)
libjoystick_la_LIBADD = $(DRIVERS)
libjoystick_la_DEPENDENCIES = $(DRIVERS)