mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-31 22:25:35 -04:00
Big renaming - from sound to asound...
This commit is contained in:
parent
254d52fc84
commit
2ae16fb30d
20 changed files with 59 additions and 57 deletions
20
src/Makefile
20
src/Makefile
|
|
@ -5,10 +5,10 @@
|
|||
|
||||
include ../Makefile.conf
|
||||
|
||||
TARGET=../lib/libsound.a
|
||||
STARGET=../lib/libsound.so
|
||||
STARGETX=../lib/libsound.so.$(SND_LIB_VERSION)
|
||||
STARGETO=../lib/libsound.so.$(SND_LIB_MAJOR)
|
||||
TARGET=../lib/libasound.a
|
||||
STARGET=../lib/libasound.so
|
||||
STARGETX=../lib/libasound.so.$(SND_LIB_VERSION)
|
||||
STARGETO=../lib/libasound.so.$(SND_LIB_MAJOR)
|
||||
TARGETS=$(TARGET) $(STARGET)
|
||||
|
||||
STATIC_LIBS= control/libcontrol.a \
|
||||
|
|
@ -34,14 +34,14 @@ SOBJECTS=error.So
|
|||
all: $(TARGETS)
|
||||
|
||||
$(TARGET): .depend $(OBJECTS) $(STATIC_LIBS)
|
||||
rm -f ../lib/libsound.a
|
||||
rm -f ../lib/libasound.a
|
||||
$(LINKER) -r -o $(TARGET) $(STATIC_LIBS) $(OBJECTS)
|
||||
|
||||
$(STARGET): .depend $(SOBJECTS) $(DYNAMIC_LIBS)
|
||||
rm -f ../lib/libsound*.so*
|
||||
$(CC) -shared -Wl,-soname,libsound.so.$(SND_LIB_MAJOR) $(DYNAMIC_LIBS) $(SOBJECTS) -o $(STARGETX)
|
||||
ln -s libsound.so.$(SND_LIB_VERSION) $(STARGET)
|
||||
ln -s libsound.so.$(SND_LIB_VERSION) $(STARGETO)
|
||||
rm -f ../lib/libasound*.so*
|
||||
$(CC) -shared -Wl,-soname,libasound.so.$(SND_LIB_MAJOR) $(DYNAMIC_LIBS) $(SOBJECTS) -o $(STARGETX)
|
||||
ln -s libasound.so.$(SND_LIB_VERSION) $(STARGET)
|
||||
ln -s libasound.so.$(SND_LIB_VERSION) $(STARGETO)
|
||||
|
||||
control/libcontrol.a:
|
||||
$(MAKE) -C control
|
||||
|
|
@ -69,7 +69,7 @@ clean:
|
|||
$(MAKE) -C mixer clean
|
||||
$(MAKE) -C rawmidi clean
|
||||
rm -f core .depend *.o *.So *.orig *~
|
||||
rm -f ../lib/libsound.*
|
||||
rm -f ../lib/libasound.*
|
||||
|
||||
.depend:
|
||||
$(CPP) $(COPTS) $(INCLUDE) -M *.c > .depend
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@
|
|||
#include <ctype.h>
|
||||
#include <fcntl.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include "soundlib.h"
|
||||
#include "asoundlib.h"
|
||||
|
||||
#define SND_FILE_CONTROL "/dev/sndcontrol%i"
|
||||
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@
|
|||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include "soundlib.h"
|
||||
#include "asoundlib.h"
|
||||
|
||||
#define SND_FILE_CONTROL "/dev/snd/control%i"
|
||||
#define SND_CTL_VERSION_MAX SND_PROTOCOL_VERSION( 1, 0, 0 )
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@
|
|||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include "soundlib.h"
|
||||
#include "asoundlib.h"
|
||||
|
||||
static const char *snd_error_codes[] = {
|
||||
"Sound protocol isn't compatible"
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@
|
|||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include "soundlib.h"
|
||||
#include "asoundlib.h"
|
||||
|
||||
#define SND_FILE_MIXER "/dev/snd/mixer%i%i"
|
||||
#define SND_MIXER_VERSION_MAX SND_PROTOCOL_VERSION( 1, 0, 1 )
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@
|
|||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include "soundlib.h"
|
||||
#include "asoundlib.h"
|
||||
|
||||
#define SND_FILE_PCM "/dev/snd/pcm%i%i"
|
||||
#define SND_PCM_VERSION_MAX SND_PROTOCOL_VERSION( 1, 0, 0 )
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@
|
|||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include "soundlib.h"
|
||||
#include "asoundlib.h"
|
||||
|
||||
#define SND_FILE_RAWMIDI "/dev/snd/midi%i%i"
|
||||
#define SND_PCM_VERSION_MAX SND_PROTOCOL_VERSION( 1, 0, 0 )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue